Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2007 12:23:51 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        krassi@bulinfo.net
Cc:        freebsd-arm@freebsd.org
Subject:   Re: What goes wrong?
Message-ID:  <20070220.122351.-432837306.imp@bsdimp.com>
In-Reply-To: <45DADFCD.7000209@bulinfo.net>
References:  <20070220075204.GI66059@x12.dk> <45DADFCD.7000209@bulinfo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <45DADFCD.7000209@bulinfo.net>
            Krassimir Slavchev <krassi@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



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