From: Thomas Heller <theller@ctypes.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Getting started with uboot
Date: Thu, 05 Aug 2010 18:31:42 +0200 [thread overview]
Message-ID: <i3ep1e$tlh$1@dough.gmane.org> (raw)
In-Reply-To: <4C5ACBE6.4000102@gmail.com>
Elie De Brauwer schrieb:
> 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?
>>
IIUC, mkimage only adds a header containing the information passed on
the command line to the file, or prints the header contained in the file.
But it doesn't compress the file, for example.
I found a few pages on the internet that described how to make uboot images,
for example this one:
http://www.beattie-home.net/beattie/DSM-G600/U-Boot-README.html
Quoting from this page:
* build a standard "vmlinux" kernel image (in ELF binary format):
* convert the kernel into a raw binary image:
${CROSS_COMPILE}-objcopy -O binary \
-R .note -R .comment \
-S vmlinux linux.bin
* compress the binary image:
gzip -9 linux.bin
* package compressed binary image for U-Boot:
mkimage -A ppc -O linux -T kernel -C gzip \
-a 0 -e 0 -n "Linux Kernel Image" \
-d linux.bin.gz uImage
But that doesn't work for me.
Running 'arm-linux-objcopy -O binary ...' on the vmlinux file creates
a HUGE file linux.bin (~3GB), so I suspect something is wrong.
Any idea?
Thanks,
Thomas
next prev parent reply other threads:[~2010-08-05 16:31 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
2010-08-05 16:31 ` Thomas Heller [this message]
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='i3ep1e$tlh$1@dough.gmane.org' \
--to=theller@ctypes.org \
--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