From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pink Boy Date: Sun, 11 Jan 2009 14:10:37 -0800 (PST) Subject: [U-Boot] [PATCH 2/5] ARM: Add/Improve support for Atmel AT91RM9200DK/E In-Reply-To: <20090111041938.GB14620@game.jcrosoft.org> Message-ID: <106924.13495.qm@web31801.mail.mud.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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