[U-Boot] Using initramfs instead of an initrd image ?
Martin Krause
Martin.Krause at tqs.de
Wed Apr 7 13:40:09 CEST 2010
Hi Chip,
u-boot-bounces at lists.denx.de wrote on Tuesday, April 06, 2010 11:38 PM:
> Greetings,
>
> Is there a way making uboot use initramfs images instead of initrd ?
>
> I have a glacier AMCC460GT PPC board. I generate my initramfs image
> from my rootfs directory as:
>
> $ cd rootfs
> $ find . | cpio -o -H newc | gzip > ../rootfs.img
[...]
> then i tried packing the initramfs into a ramdisk image format
>
> $ mkimage -A ppc -O linux -T ramdisk -a 0x1900000 -n "ramdisk" -d
> rootfs.img rootfs2.img
> Image Name: ramdisk
> Created: Tue Apr 6 17:33:56 2010
> Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
> Data Size: 3332660 Bytes = 3254.55 kB = 3.18 MB
> Load Address: 0x01900000
> Entry Point: 0x01900000
>
> => tftp 19000000 glacier/rootfs2.img
>
> still no luck
I use the option "-C none" with mkimage, so U-Boot does not try
to decompress the initramfs image, because the kernel does this
by itself, later in the bootprocess.
Regards,
Martin
More information about the U-Boot
mailing list