linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Combine kernel and ramdisk image.
@ 2003-02-11  6:49 rekha gvv
  2003-02-11  8:03 ` Wolfgang Denk
  2003-02-11  8:25 ` wolfgang.grandegger
  0 siblings, 2 replies; 3+ messages in thread
From: rekha gvv @ 2003-02-11  6:49 UTC (permalink / raw)
  To: linuxppc-embedded


Hi all,
I want to combine the Linux kernel Image and the
ramdisk image.I had used the mkimage tool for doing
this
./mkimage -A ppc -O Linux -T multi  -C gzip \
-n 'Linux-2.4.4-2002-03-21 Multiboot-Image' -e 0 -a 0
\
-d /SELF/build/linux-2.4.4-2002-03-21/arch/ppc/
coffboot/vmlinux.gz:/SELF/build/ramdisk_image.gz \
/SELF/images/pMulti

PMulti is the Combined kernal image ..
wheni download it to the powerpc board using ppcboot I
get this .

bootm
## Booting image at 00100000 ...
   Image Name:   Linux-2.4.4-2002-03-21 Multiboot
   Image Type:   PowerPC Linux Multi-File Image (gzip
compressed)
   Data Size:    1580442 Bytes = 1543 kB = 1 MB
   Load Address: 00000000
   Entry Point:  00000000
   Contents:
   Image 0:   530861 Bytes = 518 kB = 0 MB
   Image 1:  1049566 Bytes = 1024 kB = 1 MB
   Verifying Checksum ... OK
   Uncompressing Multi-File Image ... OK
   Loading Ramdisk to 6fabe000, end 0075a4bc ...



what could be the error....
when i downlaod the kernel and  the ramdisk separately
then the ramdisk gets loaded at this address

Loading Ramdisk to 0065a000, end 0075a3de ... OK
Linux version 2.4.4 (root@UCLinuxServer.embedded) (gcc
version 2.95.3 20010315
.................

Thankyou.








Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Combine kernel and ramdisk image.
  2003-02-11  6:49 Combine kernel and ramdisk image rekha gvv
@ 2003-02-11  8:03 ` Wolfgang Denk
  2003-02-11  8:25 ` wolfgang.grandegger
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2003-02-11  8:03 UTC (permalink / raw)
  To: rekha gvv; +Cc: linuxppc-embedded


In message <20030211064911.50039.qmail@web8007.mail.in.yahoo.com> you wrote:
>
> PMulti is the Combined kernal image ..
> wheni download it to the powerpc board using ppcboot I
> get this .
>
> bootm
> ## Booting image at 00100000 ...

----------------------^^^^^^^^

Your load address is too low. You will overwrite the  image  contents
while it's uncompressing.

...
>    Loading Ramdisk to 6fabe000, end 0075a4bc ...

This is why you see garbage here.

> what could be the error....

Chose a higher load address, something like "bootm 400000".



And again, this is basicly off topic here.


Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Anyone who doesn't believe in miracles is not a realist.
                                                   - David Ben Gurion

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Combine kernel and ramdisk image.
  2003-02-11  6:49 Combine kernel and ramdisk image rekha gvv
  2003-02-11  8:03 ` Wolfgang Denk
@ 2003-02-11  8:25 ` wolfgang.grandegger
  1 sibling, 0 replies; 3+ messages in thread
From: wolfgang.grandegger @ 2003-02-11  8:25 UTC (permalink / raw)
  To: rekha gvv, linuxppc-embedded


>-- Original Message --
>Date: Mon, 10 Feb 2003 22:49:11 -0800 (PST)
>From: rekha gvv <rekhagvvc@yahoo.co.in>
>Subject: Combine kernel and ramdisk image.
>To: linuxppc-embedded@lists.linuxppc.org
>
>
>
>Hi all,
>I want to combine the Linux kernel Image and the
>ramdisk image.I had used the mkimage tool for doing
>this
>./mkimage -A ppc -O Linux -T multi  -C gzip \
>-n 'Linux-2.4.4-2002-03-21 Multiboot-Image' -e 0 -a 0
>\
>-d /SELF/build/linux-2.4.4-2002-03-21/arch/ppc/
>coffboot/vmlinux.gz:/SELF/build/ramdisk_image.gz \
>/SELF/images/pMulti
>
>PMulti is the Combined kernal image ..
>wheni download it to the powerpc board using ppcboot I
>get this .
>
>bootm
>## Booting image at 00100000 ...
>   Image Name:   Linux-2.4.4-2002-03-21 Multiboot
>   Image Type:   PowerPC Linux Multi-File Image (gzip
>compressed)
>   Data Size:    1580442 Bytes = 1543 kB = 1 MB
>   Load Address: 00000000
>   Entry Point:  00000000
>   Contents:
>   Image 0:   530861 Bytes = 518 kB = 0 MB
>   Image 1:  1049566 Bytes = 1024 kB = 1 MB
>   Verifying Checksum ... OK
>   Uncompressing Multi-File Image ... OK
>   Loading Ramdisk to 6fabe000, end 0075a4bc ...
>
>
>
>what could be the error....
>when i downlaod the kernel and  the ramdisk separately
>then the ramdisk gets loaded at this address
>
>Loading Ramdisk to 0065a000, end 0075a3de ... OK
>Linux version 2.4.4 (root@UCLinuxServer.embedded) (gcc
>version 2.95.3 20010315
>.................

Load the pMulti at 0x200000 to avoid data getting
overwritten.

Good luck,

Wolfgang.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-11  8:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-11  6:49 Combine kernel and ramdisk image rekha gvv
2003-02-11  8:03 ` Wolfgang Denk
2003-02-11  8:25 ` wolfgang.grandegger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).