public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Elie De Brauwer <eliedebrauwer@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Getting started with uboot
Date: Thu, 05 Aug 2010 16:34:14 +0200	[thread overview]
Message-ID: <4C5ACBE6.4000102@gmail.com> (raw)
In-Reply-To: <i3egu9$t2h$1@dough.gmane.org>

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

  reply	other threads:[~2010-08-05 14:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-04 18:47 [U-Boot] Getting started with uboot Thomas Heller
2010-08-04 19:26 ` Elie De Brauwer
2010-08-04 19:36 ` Wolfgang Denk
2010-08-04 20:08   ` Thomas Heller
2010-08-04 20:43     ` Wolfgang Denk
2010-08-05 14:13       ` Thomas Heller
2010-08-05 14:34         ` Elie De Brauwer [this message]
2010-08-05 16:31           ` Thomas Heller
2010-08-05 18:20         ` 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=4C5ACBE6.4000102@gmail.com \
    --to=eliedebrauwer@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox