[U-Boot] [PATCH 2/5] ARM: Add/Improve support for Atmel AT91RM9200DK/E
Pink Boy
dasfoo at yahoo.com
Sun Jan 11 23:10:37 CET 2009
I checked out the latest snapshot of the AT91 branch and
was able to build, a working version of u-boot. The Flash
CFI support works in that I was able to write both the
AT91RM9200EK's flash, and the AT49BV642D flash on my board.
The snapshot I used was this one.
http://git.denx.de/?p=u-boot/u-boot-at91.git;a=commit;h=df362482d656c1e17221845ab628467bbd9d0ef7
However few points. The board comes from the factory with
a boot loader (BOOT.BIN) that decompresses and u-boot from
address 10010000 and then executes it.
In order for this to work you need to define
#define CONFIG_SKIP_LOWLEVEL_INIT
to disable the low level init since it has already been
done BY BOOT.BIN, and the boot loader is running out of
ram, SO doing it again will result in a hang.
Note as well to builD the code I had to follow the these
instructions.
> mkdir at91rm9200ek
> make O=at91rm9200ek at91rm9200ek_config
> make O=at91rm9200ek
This puts all the object files in the output directory
at91rm9200ek. Otherwise I got a error complaining
that make couldn't find /include/tools/mach-types.h
This probably only applies to this branch, not the main.
Anyways, thanks bunches to Ulf and Jean-Christophe.
PS: You can download an u-boot via xmodem through the
debug port. However this version of u-boot is too big
to download via this way (limit seems to be 128k. In
order to get the binary small enough I had to remove
USB support.
Matt Harper
Tehama Wireless.
---
Oppressing electrons since 1908
More information about the U-Boot
mailing list