Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] make uImage
@ 2009-12-03 11:36 Jens Kleinhans
  2009-12-03 11:46 ` Daniel Mack
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jens Kleinhans @ 2009-12-03 11:36 UTC (permalink / raw)
  To: buildroot

I crosscompiled the kernel 2.6.20 and now I want to make a uImage out of the zImage. I found the following command for making uImage. But when I type only options are shown. How can I build the uImage the right way?

root at benjamin-laptop:/usr/src/linux/arch/arm/boot# ls
bootp  compressed  Image  install.sh  Makefile  zImage
root at benjamin-laptop:/usr/src/linux/arch/arm/boot# mkimage -A arm -O linux -C none -T kernel -a 20008000 -e 20008000 -n linux-2.6 -d arch/arm/boot/zImage uImage
mkimage [OPTIONS]

 Options:
 -f <MD5 name>       Specify an input MD5 file. MD5s must be in jigdo's
                     pseudo-base64 format
 -j <jigdo name>     Specify the input jigdo file
 -t <template name>  Specify the input template file
 -m <item=path>      Map <item> to <path> to find the files in the mirror
 -M <missing name>   Rather than try to build the image, just check that
                     all the needed files are available. If any are missing,
                     list them in this file.
 -v                  Make the output logging more verbose
 -l <logfile>        Specify a logfile to append to.
                     If not specified, will log to stderr
 -o <outfile>        Specify a file to write the ISO image to.
                     If not specified, will write to stdout
 -q                  Quick mode. Don't check MD5sums. Dangerous!
 -s <bytenum>        Start byte number; will start at 0 if not specified
 -e <bytenum>        End byte number; will end at EOF if not specified
 -z                  Don't attempt to rebuild the image; simply print its
                     size in bytes

-- 
Sarah Kreuz, die DSDS-Siegerin der Herzen, mit ihrem eindrucksvollen           
Deb?talbum "One Moment in Time". http://portal.gmx.net/de/go/musik

-- 
Sarah Kreuz, die DSDS-Siegerin der Herzen, mit ihrem eindrucksvollen           
Deb?talbum "One Moment in Time". http://portal.gmx.net/de/go/musik

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

* [Buildroot] make uImage
  2009-12-03 11:36 [Buildroot] make uImage Jens Kleinhans
@ 2009-12-03 11:46 ` Daniel Mack
  2009-12-03 12:05 ` tike64 at gmail.com
  2009-12-03 12:11 ` Joo Aun Saw
  2 siblings, 0 replies; 4+ messages in thread
From: Daniel Mack @ 2009-12-03 11:46 UTC (permalink / raw)
  To: buildroot

On Thu, Dec 03, 2009 at 12:36:49PM +0100, Jens Kleinhans wrote:
> I crosscompiled the kernel 2.6.20 and now I want to make a uImage out of the zImage. I found the following command for making uImage. But when I type only options are shown. How can I build the uImage the right way?
> 
> root at benjamin-laptop:/usr/src/linux/arch/arm/boot# ls
> bootp  compressed  Image  install.sh  Makefile  zImage
> root at benjamin-laptop:/usr/src/linux/arch/arm/boot# mkimage -A arm -O linux -C none -T kernel -a 20008000 -e 20008000 -n linux-2.6 -d arch/arm/boot/zImage uImage

Why don't you use the uImage target the Linux kernel offers?

And you should _really_ consider using a more recent kernel unless you
have a good reason not to do so. 2.6.20 is indeed ancient.

Daniel

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

* [Buildroot] make uImage
  2009-12-03 11:36 [Buildroot] make uImage Jens Kleinhans
  2009-12-03 11:46 ` Daniel Mack
@ 2009-12-03 12:05 ` tike64 at gmail.com
  2009-12-03 12:11 ` Joo Aun Saw
  2 siblings, 0 replies; 4+ messages in thread
From: tike64 at gmail.com @ 2009-12-03 12:05 UTC (permalink / raw)
  To: buildroot

Jens Kleinhans wrote:
> root at benjamin-laptop:/usr/src/linux/arch/arm/boot# mkimage -A arm -O linux
> -C none -T kernel -a 20008000 -e 20008000 -n linux-2.6 -d
> arch/arm/boot/zImage uImage mkimage [OPTIONS]
> 
> Options: -f <MD5 name> ...

This seems not to be u-boot's mkimage. Check that the correct mkimage is found
in your path first. Also he path for the zImage seems not to be correct 
regarding your current working directory.

--

Timo

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

* [Buildroot] make uImage
  2009-12-03 11:36 [Buildroot] make uImage Jens Kleinhans
  2009-12-03 11:46 ` Daniel Mack
  2009-12-03 12:05 ` tike64 at gmail.com
@ 2009-12-03 12:11 ` Joo Aun Saw
  2 siblings, 0 replies; 4+ messages in thread
From: Joo Aun Saw @ 2009-12-03 12:11 UTC (permalink / raw)
  To: buildroot

Install mkimage from your host linux package manager and uImage will be built automatically, together with the zImage. Make sure mkimage is in your search path. In your linux menuconfig or buildroot menuconfig, configure it to use uImage instead of zImage.




----- Original Message ----
From: Jens Kleinhans <Jens.Kleinhans@gmx.de>
To: Buildroot  <buildroot@busybox.net>; RTAI  <rtai@rtai.org>
Sent: Thu, 3 December, 2009 10:36:49 PM
Subject: [Buildroot] make uImage

I crosscompiled the kernel 2.6.20 and now I want to make a uImage out of the zImage. I found the following command for making uImage. But when I type only options are shown. How can I build the uImage the right way?

root at benjamin-laptop:/usr/src/linux/arch/arm/boot# ls
bootp  compressed  Image  install.sh  Makefile  zImage
root at benjamin-laptop:/usr/src/linux/arch/arm/boot# mkimage -A arm -O linux -C none -T kernel -a 20008000 -e 20008000 -n linux-2.6 -d arch/arm/boot/zImage uImage
mkimage [OPTIONS]

Options:
-f <MD5 name>       Specify an input MD5 file. MD5s must be in jigdo's
                     pseudo-base64 format
-j <jigdo name>     Specify the input jigdo file
-t <template name>  Specify the input template file
-m <item=path>      Map <item> to <path> to find the files in the mirror
-M <missing name>   Rather than try to build the image, just check that
                     all the needed files are available. If any are missing,
                     list them in this file.
-v                  Make the output logging more verbose
-l <logfile>        Specify a logfile to append to.
                     If not specified, will log to stderr
-o <outfile>        Specify a file to write the ISO image to.
                     If not specified, will write to stdout
-q                  Quick mode. Don't check MD5sums. Dangerous!
-s <bytenum>        Start byte number; will start at 0 if not specified
-e <bytenum>        End byte number; will end at EOF if not specified
-z                  Don't attempt to rebuild the image; simply print its
                     size in bytes

-- 
Sarah Kreuz, die DSDS-Siegerin der Herzen, mit ihrem eindrucksvollen          
Deb?talbum "One Moment in Time". http://portal.gmx.net/de/go/musik

-- 
Sarah Kreuz, die DSDS-Siegerin der Herzen, mit ihrem eindrucksvollen          
Deb?talbum "One Moment in Time". http://portal.gmx.net/de/go/musik
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot



      __________________________________________________________________________________
See what's on at the movies in your area. Find out now: http://au.movies.yahoo.com/session-times/

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

end of thread, other threads:[~2009-12-03 12:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 11:36 [Buildroot] make uImage Jens Kleinhans
2009-12-03 11:46 ` Daniel Mack
2009-12-03 12:05 ` tike64 at gmail.com
2009-12-03 12:11 ` Joo Aun Saw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox