Re: [PATCH] dmaengine: imx-sdma: Add MODULE_FIRMWARE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2017-12-18 4:23 GMT+01:00 Vinod Koul <vinod.koul@xxxxxxxxx>:
> On Wed, Dec 13, 2017 at 04:50:33PM +0100, Nicolas Chauvet wrote:
>> This avoid the following error when using an initramfs on wandboard quad
>> Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
>
> Are you sure this fixes with latest kernel as the firmware in kernel has
> been removed with commit 5620a0d1aacd: ("firmware: delete in-kernel
> firmware")
Hi ,

Thx for your review.

I've only tested on Fedora kernel 4.14+. This kernel compiles mostly
everything as a module (specially imx-sdma) and (as I understand), it
relies on the separate linux-firmware repository for any (imx-sdma)
firmware.
This patch is only relevant when imx-sdma is compiled as a module (and
harmless if not) and the rootfs isn't available when sdma-imx is
loaded. This typically happens when the imx-sdma is bundled within an
initramfs, but the related firmware is missing from there.
Using the MODULE_FIRMWARE tag will instruct the initramfs builder
(here dracut in my case) to fetch the related firmware once imx-sdma
is selected. (if ever the firmware is missing, it shoudn't produce any
error).

I hope this description is clear enough. Please let me know if anything missing.

Thx

-- 
-

Nicolas (kwizart)
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux