[U-Boot-Users] [GIT PULL] AVR32 relocation

Haavard Skinnemoen hskinnemoen at atmel.com
Mon Nov 20 18:05:17 CET 2006


Hi Wolfgang,

Please pull from the 'for-upstream' branch of

	git://www.atmel.no/~hskinnemoen/u-boot/avr32 for-upstream

to receive the following updates:

Haavard Skinnemoen (6):
      AVR32: Split start_u_boot into board_init_f and board_init_r
      AVR32: Use avr32-linux- cross-compilation prefix by default
      AVR32: Build position-independent u-boot
      AVR32: Clean up memory-map.h for at32ap7000
      AVR32: Resource management rewrite
      AVR32: Relocate u-boot to SDRAM

 Makefile                                       |    2 +-
 avr32_config.mk                                |    2 +-
 board/atmel/atstk1000/atstk1000.c              |   13 +
 board/atmel/atstk1000/flash.c                  |    2 +-
 board/atmel/atstk1000/u-boot.lds               |   21 +-
 cpu/at32ap/Makefile                            |    2 +-
 cpu/at32ap/at32ap7000/Makefile                 |    2 +-
 cpu/at32ap/at32ap7000/devices.c                |  448 ------------------------
 cpu/at32ap/at32ap7000/gpio.c                   |   77 ++++
 cpu/at32ap/at32ap7000/hebi.c                   |   38 --
 cpu/at32ap/cpu.c                               |   64 +++-
 cpu/at32ap/device.c                            |  126 -------
 cpu/at32ap/entry.S                             |    3 +-
 cpu/at32ap/exception.c                         |    7 +-
 cpu/at32ap/hsdramc.c                           |   43 +--
 cpu/at32ap/hsdramc1.h                          |    8 +-
 cpu/at32ap/hsmc3.h                             |    8 +-
 cpu/at32ap/interrupts.c                        |   14 +-
 cpu/at32ap/pio.c                               |   90 ++----
 cpu/at32ap/pio2.h                              |    8 +-
 cpu/at32ap/pm.c                                |  127 +-------
 cpu/at32ap/sm.h                                |    8 +-
 cpu/at32ap/start.S                             |  113 +++++--
 drivers/atmel_usart.c                          |   48 ++-
 drivers/atmel_usart.h                          |    8 +-
 include/asm-avr32/arch-at32ap7000/clk.h        |   58 +++
 include/asm-avr32/arch-at32ap7000/gpio.h       |  210 +++++++++++
 include/asm-avr32/arch-at32ap7000/hmatrix2.h   |    8 +-
 include/asm-avr32/arch-at32ap7000/memory-map.h |   81 +++--
 include/asm-avr32/arch-at32ap7000/platform.h   |  146 --------
 include/asm-avr32/global_data.h                |    3 +-
 include/configs/atstk1002.h                    |   17 +-
 lib_avr32/avr32_linux.c                        |    4 +-
 lib_avr32/board.c                              |  139 +++++++-
 34 files changed, 796 insertions(+), 1152 deletions(-)
 delete mode 100644 cpu/at32ap/at32ap7000/devices.c
 create mode 100644 cpu/at32ap/at32ap7000/gpio.c
 delete mode 100644 cpu/at32ap/at32ap7000/hebi.c
 delete mode 100644 cpu/at32ap/device.c
 create mode 100644 include/asm-avr32/arch-at32ap7000/clk.h
 create mode 100644 include/asm-avr32/arch-at32ap7000/gpio.h
 delete mode 100644 include/asm-avr32/arch-at32ap7000/platform.h

After this, the avr32 port will relocate itself to the end of DRAM like
the ppc port does. Attached is a combined diff with all the changes,
for your reference (too big to include inline.)

Quite a large number of files were touched. This is mostly early init
code which assumed the .data and .bss sections were available.

Now, I would like to use the cfi driver with the AT49BV6416 chip on
atstk1000 instead of the custom driver, but unfortunately, it doesn't
work. I'll have a closer look at it later (I think it's a combination
of the geometry reversal issue and a special non-intel unlocking
algorithm.)

Thanks,

Haavard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avr32-relocation.patch.gz
Type: application/x-gzip
Size: 15345 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20061120/bd944077/attachment.bin 


More information about the U-Boot mailing list