public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] how to set env in u-boot to boot ramdisk?
@ 2005-12-30  3:06 zhuzhenhua
  2005-12-30  7:03 ` Andrey Volkov
  0 siblings, 1 reply; 2+ messages in thread
From: zhuzhenhua @ 2005-12-30  3:06 UTC (permalink / raw)
  To: u-boot

i can run the kernel and ramdisk correct when i embedded ramdisk in
kernel,and i use
bootm can bootm them correctly.

but if i make vmlinux and ramdisk as two image to bootm
it get VFS panic can't find root device

as follow is my use of mkimage
  mips_fp_le-objcopy -O binary -R .note -R.comment -S vmlinux linux.bin
  gzip -9 linux.bin	
./mkimage -A mips -O linux -T kernel -C gzip -a 0x80008000 -e
0x80170040 -n "Linux" -d linux.bin.gz uImage
./mkimage -n 'Simple Initrd Image' -A mips -O linux -T ramdisk -C gzip
 -d initrd.bin initrd

and i set bootargs root=/dev/ram0
and load uImage to 0x80600000, ramdisk.gz to 0x80700000
and then bootm 0x80600000 0x80700000



Best regards

zhuzhenhua

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-30  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-30  3:06 [U-Boot-Users] how to set env in u-boot to boot ramdisk? zhuzhenhua
2005-12-30  7:03 ` Andrey Volkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox