All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Volkov <avolkov@varma-el.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] how to set env in u-boot to boot ramdisk?
Date: Fri, 30 Dec 2005 10:03:51 +0300	[thread overview]
Message-ID: <43B4DBD7.2000906@varma-el.com> (raw)
In-Reply-To: <50c9a2250512291906x6aab11f8pc37d9758364a9a86@mail.gmail.com>

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

      reply	other threads:[~2005-12-30  7:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43B4DBD7.2000906@varma-el.com \
    --to=avolkov@varma-el.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.