From: cjjoy1980 <cjjoy1980@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] booting initramfs
Date: Wed, 17 Sep 2008 06:07:54 -0700 (PDT) [thread overview]
Message-ID: <19531737.post@talk.nabble.com> (raw)
Hi all!
I am trying to boot my board with initramfs file system. After loading the
kernel image and initramfs onto uboot, executing bootm command gave me
errors of "bad magic number". Then I tried to append header information
using
mkimage, here's what I executed:
/tools/mkimage -A ppc -O linux -T filesystem -C gzip -n 'Initramfs root
file' -d /exports/myinitramfs.cpio.gz myramfs
Image Name: Initramfs root file
Created: Tue Sep 16 21:28:41 2008
Image Type: PowerPC Linux Filesystem Image (gzip compressed)
Data Size: 51685255 Bytes = 50473.88 kB = 49.29 MB
Load Address: 0x00000000
Entry Point: 0x00000000
When I try to boot this image, I am getting "No Linux PPC Ramdisk Image"
## Loading RAMDisk Image at 00900000 ...
Image Name: Initramfs root file
Image Type: PowerPC Linux Unknown Image (gzip compressed)
Data Size: 51685255 Bytes = 49.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
No Linux PPC Ramdisk Image
(u-boot restarts after this)
1. Where am I going wrong. Can I not boot using Initramfs, or should I
create Ramdisk image only for booting the board.
2. If I need to create ramdisk using genext2fs is there any size
restriction, that the file size should be
less than 8 MB?
Please let me know.
Thanks,
joy
--
View this message in context: http://www.nabble.com/booting-initramfs-tp19531737p19531737.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
next reply other threads:[~2008-09-17 13:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-17 13:07 cjjoy1980 [this message]
2008-09-17 18:46 ` [U-Boot] booting initramfs Wolfgang Denk
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=19531737.post@talk.nabble.com \
--to=cjjoy1980@gmail.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.