Stamp9261

Olivier Houchard mlfbsd at ci0.org
Fri Feb 18 10:13:58 UTC 2011


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:
> 
> 	/* Enable MMU */
> 	mrc     p15, 0, r0, c1, c0, 0
> 	orr     r0, r0, #CPU_CONTROL_MMU_ENABLE
> 	mcr     p15, 0, r0, c1, c0, 0
> 	nop
> 	nop
> 	nop
> 	CPWAIT(r0)
> 
> Either the CPU halts somewhere in this piece of code, or my DBGU printing 
> macro doesn't work after enabling the MMU and the code halts somewhere 
> else. ;-)
> 


Well nothing maps the DBGU at this points, so trying to access to it won't
work :)
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 :)

Regards,

Olivier


More information about the freebsd-arm mailing list