On 20/04/2022 11:05, Oscar wrote:
El 2022-04-16 10:56, Stefan Seyfried escribió:
On 15.04.22 23:24, Oscar wrote:
Hi,

My UdooQuad board needs some extra modules added to initrd in order to boot (currently it hangs).

specify "modules".

Kernel modules or dracut modules?

Ooops, I meant kernel modules, sorry!

How can I add additional modules to the initrd with dracut and kiwi?
Is there any board that needs this too that I can check?

Dracut modules:
create a file /etc/dracut.conf.d/my_dracutmodule.conf that contains
add_dracutmodules+=" my_xyz_dracutmodule "

Kernel modules:
create a file /etc/dracut.conf.d/my_kernelmodule.conf that contains
drivers+=" my_kernelmodule "

Of course they can both go into the same file.
Note that the blanks at the beginning and the end of the "+=" string
are important.

Thanks Stefan. After adding more than 100 kernel modules to the initrd without luck, I have come to the conclusion that the problem is located in the dtb file as using the dtb file from Armbian project with the JeOS image the board boots fine :)

Welcome to openSUSE Tumbleweed 20220419 - Kernel 5.17.3-1-default (ttymxc1).

localhost login:

Any clue on how can I debug DTB issues? I suspect of the mmc config but I don't know where to start.


If you have both dtb files, you could get the description out of them with dtc:
dtc -I dtb -O dts -o <your-ourput.dts> <your-input.dtb>

Then you can diff the two *.dts files and see if there is anything relevant.

Hope that helps.
Matthias

Reply via email to