[U-Boot] [PATCH] at91: Add support for taskit AT91SAM9G20 boards.

Markus Hubig
2012-08-06T16:03:45Z

On Mon, Aug 06, 2012 at 02:49:51PM +0200, Andreas Bie?mann wrote:
> On 02.08.2012 16:14, Markus Hubig wrote:
> > On Wed, Aug 01, 2012 at 11:58:22AM +0200, Andreas Bie?mann wrote:
> >> On 30.07.12 20:01, Markus Hubig wrote:
> >
> > PC9 is somewhat strange. If I set it to 0 I don't have a console!
>
> can you please ask at taskit what function this pin has and document it
> here?

I'm already waiting for an aswer ...

> > So I tried to put both
> >
> > | at91_set_gpio_output(AT91_PIN_PC9, 1);
> > | at91_seriald_hw_init();
> >
> > into board_early_init_f() to avoid the strange characters at boot time,
> > but again no console output ...
> >
> > Further tests showed that It seems that I can't use at91_set_gpio_output()
> > inside board_early_init_f(). Switching on the red LED with PC5 also do not
> > work in board_early_init_f() ...
> >
> > Any ideas?
>
> Not currently. Maybe the PC9 has some vital functionality for UART to
> work (some switch, power, ...) and is reset by another part running
> after board_early_init_f()?

But how can I reset this PIN without using 'AT91_PIN_PC9'? I'm grep'ed all
over the source code but don't find nothing! Is there another way of setting
the PIO pins?

Cheers, Markus