From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-2?Q?=A3ukasz_Da=B3ek?= Date: Thu, 20 Sep 2012 01:20:15 +0200 Subject: [U-Boot] [PATCH 1/6] h2200: Add support for iPAQ h2200 In-Reply-To: <201209200109.12888.marex@denx.de> References: <1348083538-16123-1-git-send-email-luk0104@gmail.com> <201209200056.19950.marex@denx.de> <505A5027.7060706@gmail.com> <201209200109.12888.marex@denx.de> Message-ID: <505A532F.2040005@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 20.09.2012 01:09, Marek Vasut wrote: > Dear ?ukasz Da?ek, > >> On 20.09.2012 00:56, Marek Vasut wrote: >>>> That's why I use directive .word 0xea0003fe >>> Check some arm instruction quick ref for what 0xea0003fe really is and if >>> it really is necessary or anything else work just fine as well. >> 0xea0003fe is a branch instruction. 0x3fe is an offset (0x3fe<< 2 + 8 = >> 0x1000) >> And I will left it. Bootloader checks for 4 bytes which have to be equal >> 0xfe, 0x03, 0x00, 0xea and for 4 bytes at the offset 0x40 which have to >> be equal E, C, E, C > It checks the branch instruction? What a piece of crap ... can't you replace it > as well? I can't. I would have to prepare sth like x-loader used in ti omap processors. And I want to add driver for sdcard and flash and keyboard and lcd would be nice... So I will left it as it is for now. ?ukasz Da?ek