[U-Boot] [PATCH 0/8] Fixes compilation for the at91sam9m10g45ek

Alex Waterman awaterman at dawning.com
Thu Jun 30 21:32:59 CEST 2011


This patch set fixes the at91sam9mg45ek build for my set up. I have
only been able to test this patch on my own NAND booting 
at91sam9m10g45ek. Dataflash and norflash are untested. Anyway,
this is a rough approximation of a patch; I would need more input
from people with nor-flash, working at91bootstrapers, dataflash,
etc before I can get truely generic working at91sam9m10g45ek board
support.

Also, some notes:

I wrote my own boot strapper because I could not find a working
boot strapper. The boot strappers I found on the web either had their
own issues or did not enable the second bank of RAM. Thus I wrote my
own that works and enables the second bank of RAM. The patch here
expects that the second bank works. If you are using a working
at91bootstrapper or the like, I don't think that should cause this
u-boot patch to not work; just set the number of banks back to 1 in
the config file.

If I am not alone in having trouble with the existing at91bootstrap
projects, maybe we could merge my bootstrapper into (or the preexisting
at91bootstrapper proejcts) into the NAND SPL (for NAND booting boards)
section of U-Boot?

Alex Waterman (8):
  Remove old config stuff from Makefile
  Update at91sam9m10g45_devices.c to fix compile errors.
  Fix compile problem for some boards in the clock code.
  Updates the at91sam9mg45_matrix.h header to new defines.
  Updates the board specific files for the at91sam9mg45ek.
  Adds wait to atmel_usart serial_init function
  Updates the at91sam9m10g45ek.h config file.
  Updates the boards.cfg file

 Makefile                                           |   21 ---
 .../cpu/arm926ejs/at91/at91sam9m10g45_devices.c    |   26 ++--
 arch/arm/cpu/arm926ejs/at91/clock.c                |    4 +
 .../arm/include/asm/arch-at91/at91sam9g45_matrix.h |   84 +++++-----
 board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c    |  128 +++++++-------
 board/atmel/at91sam9m10g45ek/led.c                 |    6 +-
 boards.cfg                                         |    1 +
 drivers/serial/atmel_usart.c                       |    6 +
 include/configs/at91sam9m10g45ek.h                 |  188 ++++++++++++--------
 9 files changed, 246 insertions(+), 218 deletions(-)

-- 
1.7.4.4



More information about the U-Boot mailing list