Skip to contentSkip to conversation

How to properly boot without a separate initrd

DISCUSSION [email protected] 2 participants 3 messages Jun 10, 2020 – Jun 12, 2020

lore
Share & tools
lore
#0 lore raw

Hi,
I have a kernel image which already contains an initramfs, I don't know how to properly boot that with uboot .

The bootm syntax is
bootm start <os> <initrd> <fdtaddr>

which implies that the user always has a 2 separate files for the kernel and the initrd, I have an Image file with kernel+initramfs and a dtb/fdt file : how do I boot ? I have not found a proper way/command to achieve this under uboot .
should I set the initrd address to 0 ?

#1 lore raw

H-,

Quoted 9 lines · On 10/06/2020 18:07, [email protected] wrote:

Hi,
I have a kernel image which already contains an initramfs, I don't know how to properly boot that with uboot .

The bootm syntax is
bootm start <os> <initrd> <fdtaddr>

which implies that the user always has a 2 separate files for the kernel and the initrd, I have an Image file with kernel+initramfs and a dtb/fdt file : how do I boot ? I have not found a proper way/command to achieve this under uboot .
should I set the initrd address to 0 ?

you can replace the value with "-" and its ignored :

bootm <os> - <fdtaddr>

Neil

Quoted 3 lines