From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luigi 'Comio' Mantellini Date: Fri, 14 Mar 2008 15:54:22 +0100 Subject: [U-Boot-Users] [PATCH 02/20] [new uImage] Add support for new uImage format to mkimage tool In-Reply-To: <20080312201037.6444.12357.stgit@pollux.denx.de> References: <20080312201023.6444.52806.stgit@pollux.denx.de> <20080312201037.6444.12357.stgit@pollux.denx.de> Message-ID: <1205506462.21112.36.camel@localhost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi A, I'm trying to use the newimage patches but I cannot compile the mkimage tool because the uint8_t uint16_t, ... types are not defined into the fdt.h include file (that uses them). I just patched the fdt.h source adding the following code in the head: #ifndef __KERNEL__ typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned long long int uint64_t; #else #include #endif This is just a dirty approach... but it can be useful for who have the same problem. Anyway, can you correct the include/fdt.h source (or the tool/mkimage.c) to avoid this issue? Thanks a lot, luigi On mer, 2008-03-12 at 21:10 +0100, Bartlomiej Sieka wrote: > Support for the new uImage format (FIT) is added to mkimage tool. > Commandline syntax is appropriately extended: > > mkimage [-D dtc_options] -f fit-image.its fit-image > > mkimage (together with dtc) takes fit-image.its and referenced therein > binaries (like vmlinux.bin.gz) as inputs, and produces fit-image file -- the > final image that can be transferred to the target (e.g., via tftp) and then > booted using the bootm command in U-Boot. > -- ______ Luigi Mantellini .'______'. R&D - Software (.' '.) Industrie Dial Face S.p.A. ( :=----=: ) Via Canzo, 4 ('.______.') 20068 Peschiera Borromeo (MI), Italy '.______.' Tel.: +39 02 5167 2813 Fax: +39 02 5167 2459 Ind. Dial Face Email: luigi.mantellini at idf-hit.com www.idf-hit.com GPG fingerprint: 3DD1 7B71 FBDF 6376 1B4A B003 175F E979 907E 1650