From: Michael Sprauve <mike_sprauve@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Problems loading ramdisk
Date: Sat, 10 Jun 2006 21:36:43 -0700 (PDT) [thread overview]
Message-ID: <20060611043643.794.qmail@web37104.mail.mud.yahoo.com> (raw)
In-Reply-To: <20060609225108.C20063535E0@atlas.denx.de>
Hi,
So just make sure I understand your response
1)The 50180000 address that I pass to the bootloader
is the location of where I stored my ramdisk image in
flash
2)When I create the ramdisk.bin using mkimage, the
load address I used (using the -a option) is pass to
the kernel using the ATAG method along the size of the
ramdisk
3)Because of that, I won't need to use the "initrd"
parameter in my bootargs
If I understand all of that is correct, then I must be
missing something else, since after setting my
bootargs to "console=ttyS0,115200 root=/dev/ram0
mem=16M" I still the same error, where it seems the
kernel can't find the ramdisk location
"Kernel panic - not syncing: VFS: Unable to mount root
fs on unknown-block(1,0)"
--- Wolfgang Denk <wd@denx.de> wrote:
> In message
>
<20060609221556.35601.qmail@web37110.mail.mud.yahoo.com>
> you wrote:
> >
> > I have a very simple and somewhat embarassing
> question
> > regarding u-boot and loading a ramdisk. I am
> trying to
> ...
> > bootm 50040000 50180000
> ...
> ## Loading Ramdisk Image at 50180000 ...
> ^^^^^^^^
>
> The bootm command will pass the address of the
> ramdisk to the Linux
> kernel using the appropriate ATAGS for this.
> It also passes the
> correct memory size to use.
>
> > Kernel command line: console=ttyS0,115200
> > root=/dev/ram0 initrd=0x00800000,8M me
> ^^^^^^^^
> > m=64M at 0x00000000 hdc=noprobe hdd=noprobe
>
> ...thus you should not pass any initrd= and mem=
> options on the
> commandline unless you know *exactly* what you are
> doing.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime
> Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80
> Email: wd at denx.de
> No problem is insoluble.
> -- Dr. Janet Wallace, "The Deadly Years", stardate
> 3479.4
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
next prev parent reply other threads:[~2006-06-11 4:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-09 22:15 [U-Boot-Users] Problems loading ramdisk Michael Sprauve
2006-06-09 22:51 ` Wolfgang Denk
2006-06-11 4:36 ` Michael Sprauve [this message]
2006-06-12 13:01 ` Randy Smith
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=20060611043643.794.qmail@web37104.mail.mud.yahoo.com \
--to=mike_sprauve@yahoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox