From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Volkov Date: Fri, 30 Dec 2005 10:03:51 +0300 Subject: [U-Boot-Users] how to set env in u-boot to boot ramdisk? In-Reply-To: <50c9a2250512291906x6aab11f8pc37d9758364a9a86@mail.gmail.com> References: <50c9a2250512291906x6aab11f8pc37d9758364a9a86@mail.gmail.com> Message-ID: <43B4DBD7.2000906@varma-el.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Try this: root=01:00 or root=0100 (i.e. point major:minor) zhuzhenhua wrote: > 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 > -- Regards Andrey Volkov