Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2011 19:47:26 +0100
From:      Daan Vreeken <Daan@vitsch.nl>
To:        freebsd-arm@freebsd.org
Subject:   Re: Stamp9261
Message-ID:  <201102181947.26208.Daan@vitsch.nl>
In-Reply-To: <201102181217.51577.Daan@vitsch.nl>
References:  <201102180028.34539.Daan@vitsch.nl> <20110218101425.GA52167@ci0.org> <201102181217.51577.Daan@vitsch.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi All,

Just a quick update...

On Friday 18 February 2011 12:17:51 Daan Vreeken wrote:
> Hi Olivier,
>
> Thanks for the quick reply!
>
> On Friday 18 February 2011 11:14:25 Olivier Houchard wrote:
> > Hi Dean,
> >
> > On Fri, Feb 18, 2011 at 12:28:34AM +0100, Daan Vreeken wrote:
> > > The board's (64MB of) SDRAM is located at 0x20000000. After tftp-ing
> > > the kernel.bin image to 0x20000000 with u-boot and starting it the
> > > board seems to hang. By printing bytes to the DBGU serial port I've
> > > been able to trace the execution through "arm/locore.S" up to the point
> > > where the MMU is enabled with the following code:
...
> > That said, there were an issue which I fixed on 02/13 with rev 218666,
> > which would make any board freezing at boot, so I'd suggest trying to
> > update your sources :)
>
> I've just rebased the code base to today's -CURRENT and that indeed fixes
> the freeze. The board now gets past :
...

After a day of hacking around, adding lots of onboard peripherals and 
borrowing/adapting lots of code a lot more is happening :

	at91sam92600: <AT91SAM9261> on atmelarm0
	at91_pmc0: <PMC> mem 0xdffffc00-0xdffffcff irq 1 on atmelarm0
	at91_pmc0: Primary: 18432000 Hz PLLA: 199 MHz CPU: 199 MHz MCK: 99 MHz
	at91_pit0: <AT91SAM9 PIT> mem 0xdffffd30-0xdffffd39 irq 1 on atmelarm0
	Timecounter "AT91SAM9 timer" frequency 6249600 Hz quality 1000
	at91_pio0: <PIOA> mem 0xdffff400-0xdffff5ff irq 2 on atmelarm0
	at91_pio0: ABSR: 0xc0000000 OSR: 0 PSR:0x3ffff9ff ODSR: 0
	at91_pio1: <PIOB> mem 0xdffff600-0xdffff7ff irq 3 on atmelarm0
	at91_pio1: ABSR: 0 OSR: 0 PSR:0xffffffff ODSR: 0
	at91_pio2: <PIOC> mem 0xdffff800-0xdffff9ff irq 4 on atmelarm0
	at91_pio2: ABSR: 0 OSR: 0x2 PSR:0xfff7 ODSR: 0
	uart0: <DBGU> mem 0xdffff200-0xdffff3ff irq 1 on atmelarm0
	uart0: console (115200,n,8,1)
	uart1: <USART0> mem 0xdffb0000-0xdffb3fff irq 6 on atmelarm0
	uart2: <USART1> mem 0xdffb4000-0xdffb7fff irq 7 on atmelarm0
	uart3: <USART2> mem 0xdffb8000-0xdffbbfff irq 8 on atmelarm0
	DAAN: dme_probe()
	dme0 mem 0xdffc4000-0xdffc7fff irq 21 on atmelarm0
	DAAN: dme_attach()
	dme0: attaching PHY failed
	device_attach: dme0 attach returned 6
	ohci0: <AT91 integrated OHCI controller> mem 0xdfc00000-0xdfcfffff irq 20 on
	  atmelarm0

But enough for today. More next week.


Regards,
-- 
Daan Vreeken
Vitsch Electronics
http://Vitsch.nl
tel: +31-(0)40-7113050 / +31-(0)6-46210825
KvK nr: 17174380



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102181947.26208.Daan>