* [U-Boot] booting initramfs
@ 2008-09-17 13:07 cjjoy1980
2008-09-17 18:46 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: cjjoy1980 @ 2008-09-17 13:07 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] booting initramfs
2008-09-17 13:07 [U-Boot] booting initramfs cjjoy1980
@ 2008-09-17 18:46 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2008-09-17 18:46 UTC (permalink / raw)
To: u-boot
Dear cjjoy1980,
In message <19531737.post@talk.nabble.com> you wrote:
>
> 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:
...
> 1. Where am I going wrong. Can I not boot using Initramfs, or should I
> create Ramdisk image only for booting the board.
Initramfs != ramdisk.
> 2. If I need to create ramdisk using genext2fs is there any size
> restriction, that the file size should be
> less than 8 MB?
No.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Most people would like to be delivered from temptation but would
like it to keep in touch." - Robert Orben
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-17 18:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-17 13:07 [U-Boot] booting initramfs cjjoy1980
2008-09-17 18:46 ` Wolfgang Denk
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.