From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Ramdisk with u-boot
Date: 24 Sep 2003 17:02:56 +0200 [thread overview]
Message-ID: <874qz2fcv3.fsf@deepthought.outer.space.org> (raw)
In-Reply-To: <F509E6111989D311B63700805FA761DA09F28A0D@dbde01.itg.ti.com>
Hi Kshitij,
> I am trying to boot the linux kernel with ramdisk support.
>
> The details of the ramdisk image are
> Image Name: RAm Disk
> Created: Wed Sep 24 11:55:02 2003
> Image Type: ARM Linux RAMDisk Image (gzip compressed)
> Data Size: 3038830 Bytes = 2967.61 kB = 2.90 MB
> Load Address: 0x10800000
> Entry Point: 0x10800000
>
> The kernel is
> Image Name: Linux Kernel Image
> Created: Wed Sep 24 11:56:19 2003
> Image Type: ARM Linux Kernel Image (gzip compressed)
> Data Size: 686909 Bytes = 670.81 kB = 0.66 MB
> Load Address: 0x10C08000
> Entry Point: 0x10C08000
>
> The bootargs :
> setenv bootargs console=ttyS0,115200n8 initrd=0x10800000,8M root=/dev/ram
> ip=off
If you use U-Boot (at least on PowerPC) you do _not_ need an "initrd"
argument, the RAM disk address is passed by U-Boot for you if a second
parameter to bootm appears.
> The kernel is compiled with ramdisk support. I store my kernel in the flash
> at location 0x100000 and I download the ramdisk in the ram at location
> 0x10000000 ( this is starting of my RAM). Now when I boot the kernel with
> the
>
> $ bootm 0x100000 0x10000000
You are aware that U-Boot takes its input in hexadecimal per default,
so this should rather be "bootm 100000 10000000". But as a kernel is
started this might be a copy and paste problem.
> I get the following error
>
> RAMDISK: Couldn'find valid RAM disk image starting at 0.
Address 0 - looks bogus.
> Freeing initrd memory: 8192K
> cramfs: wrong magic
> Kernel panic: Unable to mount root fs on 01:00
>
> Am I missing some thing in my steps ?? Any comments will be greatly
> appreciated.
It would help a lot if you could provide us with a complete transcript
of the failing attempt.
Cheers
Detlev
--
Life is complex. It has real and imaginary components.
next prev parent reply other threads:[~2003-09-24 15:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-24 6:15 [U-Boot-Users] Ramdisk with u-boot Gupta, Kshitij
2003-09-24 15:02 ` Detlev Zundel [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-09-25 4:52 Gupta, Kshitij
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=874qz2fcv3.fsf@deepthought.outer.space.org \
--to=dzu@denx.de \
--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