[ECOS] About iPAQ H3870
Gary D. Thomas
Fri Apr 25 15:33:00 GMT 2003
On Wed, 2003-04-23 at 11:24, Sung-Nan Yao wrote:
> After tracing the Linux code for H3800,
> I found the memory mapped I/O between the iPAQ H3800 and
> iPAQ H6000 is different.
> So I think some code in eCos won`t work on H3870.
> For example,
> the RS232_ON is different between them.
> In linux,
> #define H3800_ASIC1_GPIO_OUT 0x49001e68
> #define GPIO1_RS232_ON (1 << 2)
> In eCos,
> #define EGPIOBase 0x49000000
> #define EGPIO_BITSY_RS232_ON (1 << 7)
> In InitUART3 macro in eCos,it initializes the UART3.
> In the end of the macro,it turns on the RS232_ON by setting the EGPIOBase.
> But in the linux,it sets the H3800_ASIC1_GPIO_OUT.
> So I change the EGPIOBase to 0x49001e68 and
> EGPIO_BITSY_RS232_ON to (1 << 7).
> In the test on my H3870,the Serial Port can work.
> Does anyone find the problem or do the porting?
As far as I know, no one has ever tried to get eCos/RedBoot running on
Gary D. Thomas <firstname.lastname@example.org>
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss