* IMX zImage with ramdisk
@ 2019-06-06 0:20 JH
2019-06-17 7:22 ` Stefan Agner
0 siblings, 1 reply; 2+ messages in thread
From: JH @ 2019-06-06 0:20 UTC (permalink / raw)
To: Meta Freescale
Hi,
I build i.MX6 image, I can install imx.wic.gz to an SD card and run it
well i.MX EVK, now I need to build i.MX6 image with ramdisk to install
it to the RAM of a customized i.MX processor board, the download and
boot was via USB HID using iMX uuu, bootz with zImage, I got following
error:
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: run mfgtool_args; if test ${tee} = yes; then bootm ${tee_addr};
Hit any key to stop autoboot: 0
Kernel image @ 0x80800000 [ 0x000000 - 0x89e1d8 ]
Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid
Apparently, the zImage needs be compiled with ramdisk, I can see
several initramfs recipes but I cannot find any ramdisk recipes, could
anyone advise how to build the zImage with ramdisk not initramfs? Or
should it be a separate process to command line manually creat ramdisk
on zImage? Should I also modify the kernel defconfig for supporting
zImage ramdisk format? If so, which device driver needs be enabled in
defconfig?
Thank you.
Kind regards,
- jupiter
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: IMX zImage with ramdisk
2019-06-06 0:20 IMX zImage with ramdisk JH
@ 2019-06-17 7:22 ` Stefan Agner
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Agner @ 2019-06-17 7:22 UTC (permalink / raw)
To: JH; +Cc: Meta Freescale
On 06.06.2019 02:20, JH wrote:
> Hi,
>
> I build i.MX6 image, I can install imx.wic.gz to an SD card and run it
> well i.MX EVK, now I need to build i.MX6 image with ramdisk to install
> it to the RAM of a customized i.MX processor board, the download and
> boot was via USB HID using iMX uuu, bootz with zImage, I got following
> error:
>
> Boot from USB for mfgtools
> Use default environment for mfgtools
> Run bootcmd_mfg: run mfgtool_args; if test ${tee} = yes; then bootm ${tee_addr};
> Hit any key to stop autoboot: 0
> Kernel image @ 0x80800000 [ 0x000000 - 0x89e1d8 ]
> Wrong Ramdisk Image Format
> Ramdisk image is corrupt or invalid
>
> Apparently, the zImage needs be compiled with ramdisk, I can see
> several initramfs recipes but I cannot find any ramdisk recipes, could
> anyone advise how to build the zImage with ramdisk not initramfs? Or
> should it be a separate process to command line manually creat ramdisk
> on zImage? Should I also modify the kernel defconfig for supporting
> zImage ramdisk format? If so, which device driver needs be enabled in
> defconfig?
Those messages are printed by U-Boot, so it is U-Boot which does not
like the ramdisk.
By default U-Boot expects the ramdisk to be in a U-Boot image. Make sure
to enable CONFIG_SUPPORT_RAW_INITRD=y if you want support for a "naked"
initrd.
--
Stefan
>
> Thank you.
>
> Kind regards,
>
> - jupiter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-17 7:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06 0:20 IMX zImage with ramdisk JH
2019-06-17 7:22 ` Stefan Agner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.