On Fri, Mar 27, 2009 at 10:12:44AM +0000, Christopher Friedt wrote:
> Hi Kevin,
> 
> You seem to be the principle maintainer for haret right now, so I
> thought I'd direct my question to you. So far, haret loads my kernel
> but I'm not getting anything on the 'debug port'.

Make sure early debugging is enabled in linux and that it is setup to
use the correct port.

> The 'debug port' on my handheld is actually connected to the STUART
> (it's a marvell pxa270 chip), and after checking out the code in
> uart.cpp, I noticed that HaRET actually uses the FFUART.

I think you got bitten by dead code - the code in uart.cpp is unused
as far as I know.  Haret doesn't support writing to serial at this
point - it would be a nice feature to add.

> ... I've already done most of the leg-work in arch/arm/mach/(my
> machine)/, although I might not have all of the correct GPIO settings.
> My guess is that my gpio-state is not being preserved after the kernel
> initializes, so I can't see anything on the STUART. I'll stick the
> contents of 'dump gpiost' into include/asm/arch/(my machine)-init.h .
> 
> Do you have any other suggestions, or do I basically sound like I'm on track?

I recommend trying to get some serial output from Linux as the first
step.  Once you get feedback from Linux, the remaining work becomes
much easier.

-Kevin
_______________________________________________
Haret mailing list
[email protected]
https://handhelds.org/mailman/listinfo/haret

Reply via email to