From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 19 Sep 2012 23:43:22 +0200 Subject: [U-Boot] [PATCH 1/6] h2200: Add support for iPAQ h2200 In-Reply-To: <505A3B2B.6080907@gmail.com> References: <1348083538-16123-1-git-send-email-luk0104@gmail.com> <201209192302.49597.marex@denx.de> <505A3B2B.6080907@gmail.com> Message-ID: <201209192343.22532.marex@denx.de> 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.2012 23:02, Marek Vasut wrote: > >> + > >> + .org 0x40 > >> + .ascii "ECEC" > > > > ECEC ... looks familiar, what is it though? WinCE bootloader signature ? > > Yes. > > >> +#endif > >> + > >> + return 0; > >> +} > >> + > >> +/* > >> + * iPAQ h2200 has two stage bootloader. > >> + * We only replace 2nd stage, so u-boot needs to be > >> + * adpopted to the way how 1st stage bootloader works. > >> + * Firstly, code needs to have first 4 bytes equal to > >> + * 0xea0003fe (arm instruction b 0x1000) > > > > GCC/GAS won't generate it so you use .word ? > > No. GCC generates sth else than 0xea0003fe. Try b 0x9098 ... is that it ? Please keep CC Best regards, Marek Vasut