Skip to content

Updates for atevk1100 support

Gunnar Rangoy u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6AVR32: Make GPIO implmentation cpu dependentcpu/at32uc/portmux-gpio.c include/asm-avr32/arch-at32ap700x/gpio-impl.h include/asm-avr32/arch-at32uc3a0xxx/gpio-impl.h +1 more+150 -1110 replies
2/6AVR32: Support for external SRAM on at32uc3cpu/at32uc/Makefile cpu/at32uc/smc.c cpu/at32uc/smc.h +1 more+201 -00 replies
3/6AVR32: Use SRAM as main memory on the atevk1100 boardboard/atmel/atevk1100/atevk1100.c include/configs/atevk1100.h+50 -270 replies
4/6AVR32: Enable relocation of code for at32uc3board/atmel/atevk1100/u-boot.lds cpu/at32uc/start.S lib_avr32/board.c+1 -210 replies
5/6AVR32: Support for writing to internal flash on at32uc3cpu/at32uc/flashc.c cpu/at32uc/flashc.h include/configs/atevk1100.h+84 -40 replies
6/6AVR32: Set boot parameters for atevk1100include/configs/atevk1100.h+4 -40 replies

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/6] Updates for atevk1100 support

These patches makes it possible to load code into external SRAM on the atevk1100.

Also included is a patch to use the internal flash. Before this can be done, U-Boot must be relocated to SRAM.

The GPIO implementation is made cpu dependent due to differences between at32uc and ap700x.

Gunnar Rangoy (6):
AVR32: Make GPIO implmentation cpu dependent
AVR32: Support for external SRAM on at32uc3
AVR32: Use SRAM as main memory on the atevk1100 board
AVR32: Enable relocation of code for at32uc3
AVR32: Support for writing to internal flash on at32uc3
AVR32: Set boot parameters for atevk1100

 board/atmel/atevk1100/atevk1100.c               |   65 +++++++++-----
 board/atmel/atevk1100/u-boot.lds                |    2 -
 cpu/at32uc/Makefile                             |    1 +
 cpu/at32uc/flashc.c                             |   69 ++++++++++++++-
 cpu/at32uc/flashc.h                             |   17 ++++
 cpu/at32uc/portmux-gpio.c                       |   30 -------
 cpu/at32uc/smc.c                                |   61 +++++++++++++
 cpu/at32uc/smc.h                                |  105 +++++++++++++++++++++++
 cpu/at32uc/start.S                              |   15 +---
 include/asm-avr32/arch-at32ap700x/gpio-impl.h   |   86 ++++++++++++++++++
 include/asm-avr32/arch-at32uc3a0xxx/gpio-impl.h |   62 +++++++++++++
 include/asm-avr32/arch-common/portmux-gpio.h    |   83 +-----------------
 include/asm-avr32/sram.h                        |   34 +++++++
 include/configs/atevk1100.h                     |   22 +++--
 lib_avr32/board.c                               |    5 -
 15 files changed, 490 insertions(+), 167 deletions(-)
 create mode 100644 cpu/at32uc/smc.c
 create mode 100644 cpu/at32uc/smc.h
 create mode 100644 include/asm-avr32/arch-at32ap700x/gpio-impl.h
 create mode 100644 include/asm-avr32/arch-at32uc3a0xxx/gpio-impl.h
 create mode 100644 include/asm-avr32/sram.h