This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: About iPAQ H3870
- From: "Gary D. Thomas" <gary dot thomas at mind dot be>
- To: Sung-Nan Yao <catboy at ms63 dot url dot com dot tw>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 25 Apr 2003 16:32:34 +0200
- Subject: Re: [ECOS] About iPAQ H3870
- Organization:
- References: <3EA65BE3.60303@ms63.url.com.tw>
On Wed, 2003-04-23 at 11:24, Sung-Nan Yao wrote:
> Hi,
> 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
the 3870.
--
Gary D. Thomas <gary dot thomas at mind dot be>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss