From mboxrd@z Thu Jan 1 00:00:00 1970 From: Elie De Brauwer Date: Thu, 05 Aug 2010 16:34:14 +0200 Subject: [U-Boot] Getting started with uboot In-Reply-To: References: <20100804193629.DDD33CDE29A@gemini.denx.de> <20100804204320.1A4C6CDE29A@gemini.denx.de> Message-ID: <4C5ACBE6.4000102@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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