Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2318165pxb; Mon, 20 Sep 2021 18:40:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPVxxToH8NujxYjqB3LTyT/P7GI+XC18LKxc2j8tvf+QQA7mDHRFE+UZXYtFYr7DPRVHDy X-Received: by 2002:a05:6e02:1b89:: with SMTP id h9mr19234951ili.297.1632188409911; Mon, 20 Sep 2021 18:40:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632188409; cv=none; d=google.com; s=arc-20160816; b=AXj9w9JvYYnqA+rEGyow+nxT5uzc79G+3LszhHhYuajkcHF8zryUBqFpxE20D5Jgmg 6+ocI9i10zXQYZjJZpLN3sOvomFziavohP26kDkebJWUOCkWujY6NENkmvEFP8eIrxdC Xdu6gq7Z7vccYPezMpOFMR/fV9EZz43YKhZHshUS8GaPiXmKOg6guO/4xnoUjhhJ+Fn6 vmStC4PDVdky9HsuqkqLMm6Vp2/xqaEAMkkqRUprqcdfzTCB8J+EL8bTCrqWpAHTBRkd kdrzlVa4lHP/ArvNnWtlHJFLZDYgShi/5gdFjh2/8e9G+at8ZEEYfchYuehO3O07NSoD xU4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=yS7en13J7rnW4XQUJmNyAzrBQGHNd4sbRM9BKk+8/RQ=; b=iLHZwSYq6hIDsXUEXyl52kBdzFJ/s0jFBrEEHgkh3scNIHsmRvOLe0xQpsEfe4sQyn 6/PaOQylRozh3Gb2xBfx1rVoSxmnhWvg2ML10STYt8+D2RPIrKpMWeUg3CshRvbCv+R6 qDfBlY7BBNxD0URmS4z2KSlzwDe6imhbIjjkJMnlvU10zx37cXSeiq+eA1aghgvpSyY9 89ixFzOElJzaJQ+Hny5wKr3RyQkj24z03gcrWommWKlTXe4ih7TqvAm+ayNl4ZJIwnoY 1VJpt7pFYkl5yXmSehw8Yo2KlllHXoBW05nDzRbZd3CjkAy0U9kDu/HAjEkipUbc6+j7 Ci+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=0Usi7mEB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o12si16403706ilj.142.2021.09.20.18.39.59; Mon, 20 Sep 2021 18:40:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=0Usi7mEB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234630AbhITQSR (ORCPT + 99 others); Mon, 20 Sep 2021 12:18:17 -0400 Received: from phobos.denx.de ([85.214.62.61]:54364 "EHLO phobos.denx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242910AbhITQQY (ORCPT ); Mon, 20 Sep 2021 12:16:24 -0400 Received: from [IPv6:::1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 918D080EEA; Mon, 20 Sep 2021 18:14:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1632154496; bh=yS7en13J7rnW4XQUJmNyAzrBQGHNd4sbRM9BKk+8/RQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=0Usi7mEBrbAF92TAqjuUGCtU+1XQG2HXo0deDO7YIQiCqI+kuDmP2ro1lWIRqGm/b 5lZ68/WOSVpFnkjXQ6jWvoNZd0nYBwAkDVkDb7lBz4PzleNNmnS+Pk5T7JUXJisbCT JD+aqUPdiSVBdbeNN1yzHyHvD0O46N19UJWqBBC926MfphR3li+vReIXuyQMNVGGKz mA7IgKlLk5zYU/SNin00Wnm7vENzT9N2eS+/7zwE6G11EuFYyjGyv++7/nhUI/RgLF JfnIGhwYBLV6Z7ese3U96jBbLmlklms13sjVCz778wKbyl3JlPSeUEVXb1vTguw5DT 0xlmz0lRyVvrQ== Subject: Re: [PATCH v4 5/9] ARM: imx_v6_v7_defconfig: build imx sdma driver as module To: Marcel Ziswiler , "linux-arm-kernel@lists.infradead.org" Cc: "linux@armlinux.org.uk" , "andreas@kemnade.info" , "festevam@gmail.com" , "kernel@pengutronix.de" , "s.hauer@pengutronix.de" , "linux-imx@nxp.com" , "shawnguo@kernel.org" , "pzimmermann@dh-electronics.com" , "linux-kernel@vger.kernel.org" References: <20210920144938.314588-1-marcel@ziswiler.com> <20210920144938.314588-6-marcel@ziswiler.com> From: Marek Vasut Message-ID: Date: Mon, 20 Sep 2021 18:14:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/20/21 5:55 PM, Marcel Ziswiler wrote: > On Mon, 2021-09-20 at 16:52 +0200, Marek Vasut wrote: >> On 9/20/21 4:49 PM, Marcel Ziswiler wrote: >>> From: Marcel Ziswiler >>> >>> Build CONFIG_IMX_SDMA as a module to avoid the following boot issue: >>> >>> [    5.214751] imx-sdma 20ec000.sdma: Direct firmware load for >>>   imx/sdma/sdma-imx6q.bin failed with error -2 >>> [    5.215762] imx-sdma 20ec000.sdma: Falling back to sysfs fallback >>>   for: imx/sdma/sdma-imx6q.bin >> >> Isn't there some ROM-side SDMA firmware baked into the MX6 which is used >> as a fallback if loading newer one from filesystem fails ? I suspect the >> default ROM firmware might be buggy. > > I'm not so sure about this. At least it seems to fail if no external firmware can be loaded. See e.g. SDMA chapter in MX6SDLRM or similar, it does talk about 4k boot ROM, which contains scripts and utilities later referenced by scripts in RAM. It might be worth looking into that a bit further, but that seems like a separate topic from this patch.