[U-Boot] [PATCH 1/6] h2200: Add support for iPAQ h2200

Marek Vasut marex at denx.de
Thu Sep 20 01:43:53 CEST 2012


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


More information about the U-Boot mailing list