Hi Chip, u-boot-boun...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot