From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Thu, 20 Sep 2012 08:36:28 +0200 Subject: [U-Boot] [PATCH 0/6] iPAQ h2200 support In-Reply-To: <1348083538-16123-1-git-send-email-luk0104@gmail.com> References: <1348083538-16123-1-git-send-email-luk0104@gmail.com> Message-ID: <505AB96C.5040604@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear ?ukasz Da?ek, On 19.09.12 21:38, ?ukasz Da?ek wrote: > Device's 1st stage bootloader requires from 2nd stage loader > specific header which I've defined in file h2200-header.S. > For now it is build to h2200-header.bin which has to be concatenated > with u-boot.bin (cat h2200-header.bin u-boot.bin > u-boot.rdy). > I don't know how I can do this another way. Others added this feature to mkimage (imximage, omapimage, kwbimage, ...) > One more, can I add to device folder program which generates packed > binary with header which device's rescue bootloader can flash > into memory? I think mkimage is the right place. Just add a rule to Makefiles to finalize your u-boot.bin to a whatever called binary by utilizing mkimage. Best regards Andreas Bie?mann