From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 20 Sep 2012 01:43:53 +0200 Subject: [U-Boot] [PATCH 1/6] h2200: Add support for iPAQ h2200 In-Reply-To: <505A56EB.9010806@gmail.com> References: <1348083538-16123-1-git-send-email-luk0104@gmail.com> <201209200125.11940.marex@denx.de> <505A56EB.9010806@gmail.com> Message-ID: <201209200143.53301.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 20.09.2012 01:25, Marek Vasut wrote: > > Dear ?ukasz Da?ek, > > > >> 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. > > > > What? Why? > > h2200 uses companion chip from Samsung. OneNAND ? > When device is powered on > chip loads 16kb of flash into internal SRAM and PXA executes it. > That program is 1st stage bootloader. Check OneNAND SPL > But u-boot for my device has ~180kb. So it's to big for SRAM. > > >> 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. > > > > these drivers are already in uboot > > I haven't seen any MediaQ 1178 drivers (LCD). oh it has separate LCD or it uses PXA LCDIF ? > Also SD card and FLASH controllers are embedded in companion chip. ASIC3 ? > Chip is based on S3C440 (or 410?) processor but needs some tweaks and > tests. Uhhh ? > ?ukasz Da?ek Best regards, Marek Vasut