[U-Boot] Getting started with uboot

Elie De Brauwer eliedebrauwer at gmail.com
Thu Aug 5 16:34:14 CEST 2010


On 08/05/10 16:13, Thomas Heller wrote:
> Thanks again for the help, it works now.
>
> Next question:
>
> 'make uImage' in the linux kernel tree builds a linux kernel image
> that u-boot can use.  How can I change the compression that is used?
>

Take a look at mkimage (apt-get install uboot-mkimage on Debian and 
friends), this way you can look at the image:

$ mkimage -l   uImage
Image Name:   Linux-2.6.32-00114-g7ddb551
Created:      Wed Mar 31 07:46:05 2010
Image Type:   PowerPC Linux Kernel Image (gzip compressed)
Data Size:    3146319 Bytes = 3072.58 kB = 3.00 MB
Load Address: 0x00000000
Entry Point:  0x00000000

But also compress it (starting from the uncrompressed kernel)
$ sudo mkimage -C lzma   -d vmlinux  bla
Image Name:
Created:      Thu Aug  5 16:28:36 2010
Image Type:   PowerPC Linux Kernel Image (lzma compressed)
Data Size:    8363830 Bytes = 8167.80 kB = 7.98 MB
Load Address: 0x00000000
Entry Point:  0x00000000
$ mkimage -l bla
Image Name:
Created:      Thu Aug  5 16:28:36 2010
Image Type:   PowerPC Linux Kernel Image (lzma compressed)
Data Size:    8363830 Bytes = 8167.80 kB = 7.98 MB
Load Address: 0x00000000
Entry Point:  0x00000000

gr
E.

-- 
Elie De Brauwer



More information about the U-Boot mailing list