Skip to content

add support for the at91 based smartweb board

Heiko Schocher u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- add comment from Tom Rini:
- do not delete __maybe_unused
- remove preloader_console_init() in non SERIAL case
- squashed patch "lib/display_options: fix compiler warnings" into this patch.
- add Acked-by from Scott Wood
- rebase to 7853d76b0bdab9b

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3spl, common, serial: build SPL without serial supportarch/arm/lib/interrupts.c arch/arm/mach-at91/arm926ejs/cpu.c arch/arm/mach-at91/spl_at91.c +10 more+39 -101 reply
2/3nand, atmel: remove udelay in spl_nand_erase_one()drivers/mtd/nand/atmel_nand.c+0 -21 reply
3/3arm, at91: support for sam9260 based smwartweb boardarch/arm/include/asm/mach-types.h arch/arm/mach-at91/Kconfig arch/arm/mach-at91/Makefile +6 more+561 -01 reply
3/3arm, at91: support for sam9260 based smwartweb board+0 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchScott Wood
1/3
2/3A-b
3/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/3] add support for the at91 based smartweb board

add support for the at91sam9260 based board smartweb from siemens. SPL is used without serial support, as this SoC has only 4k sram for running SPL. Here a U-Boot bootlog:

RomBOOT

Quoted 1 line

U-Boot 2015.07-rc2-00109-g4ae828c (Jun 15 2015 - 09:31:16 +0200)

CPU: AT91SAM9260
Crystal frequency:   18.432 MHz
CPU clock        :  198.656 MHz
Master clock     :   99.328 MHz
       Watchdog enabled
DRAM:  64 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   macb0
Hit any key to stop autoboot:  0

U-Boot>

As this board is based on sam9260 SoC with 4k sram only, SPL must be small, so SPL is compiled without serial support. Therefore the code needs here and there some small fixes to support SPL compile without serial support.

Changes in v2:
- add comment from Tom Rini:
- do not delete __maybe_unused
- remove preloader_console_init() in non SERIAL case
- squashed patch "lib/display_options: fix compiler warnings" into this patch.
- add Acked-by from Scott Wood
- rebase to 7853d76b0bdab9b

Heiko Schocher (3):
spl, common, serial: build SPL without serial support nand, atmel: remove udelay in spl_nand_erase_one() arm, at91: support for sam9260 based smwartweb board

 arch/arm/include/asm/mach-types.h  |   1 +
 arch/arm/lib/interrupts.c          |   4 +-
 arch/arm/mach-at91/Kconfig         |   6 +
 arch/arm/mach-at91/Makefile        |   1 +
 arch/arm/mach-at91/arm926ejs/cpu.c |   2 +-
 arch/arm/mach-at91/spl_at91.c      |   3 +
 board/siemens/smartweb/Kconfig     |  12 ++
 board/siemens/smartweb/MAINTAINERS |   6 +
 board/siemens/smartweb/Makefile    |  20 +++
 board/siemens/smartweb/smartweb.c  | 220 ++++++++++++++++++++++++++++
 common/Makefile                    |   4 +
 common/cli_readline.c              |   2 +-
 common/cli_simple.c                |   2 +-
 common/image.c                     |   8 +-
 configs/smartweb_defconfig         |   6 +
 drivers/mtd/nand/atmel_nand.c      |   2 -
 include/common.h                   |   7 +
 include/configs/apf27.h            |   1 +
 include/configs/mx31pdk.h          |   1 +
 include/configs/mxs.h              |   1 +
 include/configs/smartweb.h         | 289 +++++++++++++++++++++++++++++++++++++
 include/configs/tx25.h             |   1 +
 lib/display_options.c              |  13 +-
 23 files changed, 600 insertions(+), 12 deletions(-)
 create mode 100644 board/siemens/smartweb/Kconfig
 create mode 100644 board/siemens/smartweb/MAINTAINERS
 create mode 100644 board/siemens/smartweb/Makefile
 create mode 100644 board/siemens/smartweb/smartweb.c
 create mode 100644 configs/smartweb_defconfig
 create mode 100644 include/configs/smartweb.h
Signature · 1 line
2.1.0