Skip to content

Fixes compilation for the at91sam9m10g45ek

Thomas Petazzoni u-boot 1 version New

Get series with b4
b4 am 20110802101934.6443a8ff@skate

Versions newest first

  1. v1 Latest0 of 8 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 8 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Hello Alex,

I am interested in seeing this work merged into U-Boot. Will you have the time to fix the issues pointed out by Reinhard Meyer and post an updated version, or would you accept if somebody else takes over your patch set and posts an updated version ?

Thanks,

Thomas

Le Thu, 30 Jun 2011 15:32:59 -0400,
Alex Waterman <[email protected]> a ?crit :

Quoted 46 lines

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(-)

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com