What goes wrong?

M. Warner Losh imp at bsdimp.com
Tue Feb 20 19:27:03 UTC 2007


In message: <45DADFCD.7000209 at bulinfo.net>
            Krassimir Slavchev <krassi at bulinfo.net> writes:
: Try to change the BOOT_FLAVOR in the /usr/src/sys/boot/arm/at91/Makefile
: 
: Soeren Straarup wrote:
: > Hi
: >
: > What goes wrong when i send via serial xmodem the bootspi to the arm board
: > and all i get back is some unreadable chars?
: > I'm doing this from windows via teraterm at 115200

The root cause of 'unreadable' characters usually is that your board
uses a different base oscillator than the board you've compiled the
defaults for.  The second cause can be bad memory parameters, but
that's less common (it usually manifests itself in the kernel failing
to print the right amount of memory).  Since the PLLs that run the
serial port are derived from the base christal frequency, bad things
happen downstream.

We should likely document these failings and how to work around them.
Better yet would be to 'bloat' the boot loader a little and have it
use the atmel facilities for discovering the base frequency.  Bloating
it to cope with different SDRAM would be a much harder task...

Warner


More information about the freebsd-arm mailing list