Skip to contentSkip to conversation

arm, at91: support for the taurus, axm and corvus board

PATCH New Heiko Schocher 2 participants 5 messages Dec 2, 2013 – Dec 9, 2013

lore
Share & tools
lore
#0 lore raw

v3 cover arm, at91: support for the taurus, axm and corvus board

add support for the AT91SAM9G20 boards from siemens. The patches are checkpatch clean, and a "./MAKEALL -s at91" compiles clean. Resending this patchset now without switching to the 'ATMEL_LEGACY' PIO API (Are there some patches I missed?)

I hope I find time for sending the patches for booting this boards with SPL code soon ...

The 2 needed patches from previous patchseries:

arm926ejs, at91: add common phy_reset function
http://git.denx.de/?p=u-boot/u-boot-atmel.git;a=commit;h=4535a24c0c06e367bc40c43b4807bdb335513a1a

at91: add defines for reset type
http://git.denx.de/?p=u-boot/u-boot-atmel.git;a=commit;h=c12f941bece9ed79efccfe9e4a9fd977da6975f9

found there way to mainline :-)

Heiko Schocher (2):
arm, at91: add Siemens board taurus and axm
arm, at91: add siemens corvus board

 board/siemens/corvus/Makefile |  18 ++++
 board/siemens/corvus/board.c  | 195 ++++++++++++++++++++++++++++++++++++++++++
 board/siemens/taurus/Makefile |  18 ++++
 board/siemens/taurus/taurus.c | 160 ++++++++++++++++++++++++++++++++++
 boards.cfg                    |   3 +
 include/configs/corvus.h      | 165 +++++++++++++++++++++++++++++++++++
 include/configs/taurus.h      | 160 ++++++++++++++++++++++++++++++++++
 7 files changed, 719 insertions(+)
 create mode 100644 board/siemens/corvus/Makefile
 create mode 100644 board/siemens/corvus/board.c
 create mode 100644 board/siemens/taurus/Makefile
 create mode 100644 board/siemens/taurus/taurus.c
 create mode 100644 include/configs/corvus.h
 create mode 100644 include/configs/taurus.h
Cc Bo Shen <[email protected]>
Cc Andreas Bie?mann <[email protected]>
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH v3 1/2 arm, at91: add Siemens board taurus and axm

enable support for the siemens AT91SAM9G20 based boards taurus and axm.

---
- changes for v2:
- add comments from bo shen
- use gpio api
- remove unneccessary comment
- use at91_wait_for_reset()
- remove unneccessary code in board file
- Coding Style cleanup (tabs and unneccessary 1 after config define removed)
- add commit message
- add comments from Andreas Bie?mann <[email protected]>:
- detect sdram size on startup without read dram setting
- get rid of MACH_TYPE definition in config file
- changes for v3:
- add comments from Andreas Bie?mann:
- remove empty line
- move at91_seriald_hw_init to early_init
- include <net.h> unconditionally
- rebased against current commit

    2cee0408e5c6f5dbdfa89fb40168ba2ead3f61a6
  - rebased based on the spl patches from Bo Shen, see:
    http://lists.denx.de/pipermail/u-boot/2013-November/166272.html
  - add CONFIG_AT91_WANTS_COMMON_PHY
---
 board/siemens/taurus/Makefile |  18 +++++
 board/siemens/taurus/taurus.c | 160 ++++++++++++++++++++++++++++++++++++++++++
 boards.cfg                    |   2 +
 include/configs/taurus.h      | 160 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 340 insertions(+)
 create mode 100644 board/siemens/taurus/Makefile
 create mode 100644 board/siemens/taurus/taurus.c
 create mode 100644 include/configs/taurus.h
board/siemens/taurus/Makefile new file +18 -0
new file mode 100644
index 0000000..a26fb92
@@ -0,0 +1,18 @@
+#
+# Makefile for Siemens TAURUS (AT91SAM9G20) based board
+# (C) Copyright 2013 Siemens AG
+#
+# Based on:
+# U-Boot file: board/atmel/at91sam9260ek/Makefile
+#
+# (C) Copyright 2003-2008
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# (C) Copyright 2008
+# Stelian Pop <[email protected]>
+# Lead Tech Design <www.leadtechdesign.com>
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y	+= taurus.o
board/siemens/taurus/taurus.c new file +160 -0

160 lines not on this page · raw message

boards.cfg +2 -0
index e742746..202457a 100644
@@ -139,6 +139,8 @@ Active  arm         arm926ejs      at91        ronetix         pm9263
 Active  arm         arm926ejs      at91        ronetix         pm9g45              pm9g45                               pm9g45:AT91SAM9G45                                                                                                                Ilko Iliev <[email protected]>
 Active  arm         arm926ejs      at91        taskit          stamp9g20           portuxg20                            stamp9g20:AT91SAM9G20,PORTUXG20                                                                                                   Markus Hubig <[email protected]>
 Active  arm         arm926ejs      at91        taskit          stamp9g20           stamp9g20                            stamp9g20:AT91SAM9G20                                                                                                             Markus Hubig <[email protected]>
+Active  arm         arm926ejs      at91        siemens         taurus              axm                                  taurus:AT91SAM9G20,MACH_TYPE=2068,BOARD_AXM                                                                                       Heiko Schocher <[email protected]>
+Active  arm         arm926ejs      at91        siemens         taurus              taurus                               taurus:AT91SAM9G20,MACH_TYPE=2067,BOARD_TAURUS                                                                                    Heiko Schocher <[email protected]>
 Active  arm         arm926ejs      davinci     ait             cam_enc_4xx         cam_enc_4xx                          cam_enc_4xx                                                                                                                       Heiko Schocher <[email protected]>
 Active  arm         arm926ejs      davinci     Barix           ipam390             ipam390                              -                                                                                                                                 Heiko Schocher <[email protected]>
 Active  arm         arm926ejs      davinci     davinci         da8xxevm            da830evm                             -                                                                                                                                 Nick Thompson <[email protected]>
include/configs/taurus.h new file +160 -0

160 lines not on this page · raw message

Signature · 1 line
1.8.3.1
#2 lore raw

PATCH v3 1/2 arm, at91: add Siemens board taurus and axm

Dear Heiko Schocher,

Quoted 37 lines · Heiko Schocher

enable support for the siemens AT91SAM9G20 based boards taurus and axm.

---
- changes for v2:
- add comments from bo shen
- use gpio api
- remove unneccessary comment
- use at91_wait_for_reset()
- remove unneccessary code in board file
- Coding Style cleanup (tabs and unneccessary 1 after config define removed)
- add commit message
- add comments from Andreas Bie?mann <[email protected]>:
- detect sdram size on startup without read dram setting
- get rid of MACH_TYPE definition in config file
- changes for v3:
- add comments from Andreas Bie?mann:
- remove empty line
- move at91_seriald_hw_init to early_init
- include <net.h> unconditionally
- rebased against current commit 2cee0408e5c6f5dbdfa89fb40168ba2ead3f61a6
- rebased based on the spl patches from Bo Shen, see:

   http://lists.denx.de/pipermail/u-boot/2013-November/166272.html
 - add CONFIG_AT91_WANTS_COMMON_PHY
---
board/siemens/taurus/Makefile |  18 +++++
board/siemens/taurus/taurus.c | 160 ++++++++++++++++++++++++++++++++++++++++++
boards.cfg                    |   2 +
include/configs/taurus.h      | 160 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 340 insertions(+)
Quoted 3 lines

create mode 100644 board/siemens/taurus/Makefile create mode 100644 board/siemens/taurus/taurus.c create mode 100644 include/configs/taurus.h

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bie?mann

#3 lore raw

PATCH v3 2/2 arm, at91: add siemens corvus board

In reply to Heiko Schocher

enable support for the siemens AT91SAM9G20 based board corvus.

---
- changes for v2:
- add comments from Bo Shen
- use gpio api
- remove unneccessary comment
- use at91_wait_for_reset()
- remove unneccessary code in board file
- Coding Style cleanup (tabs and unneccessary 1 after config define removed, use ".xxx = x" notation for initializing structs)
- remove reset_phy()
- remove CONFIG_SYS_MEMTEST_x defines, as mtest command is not used on this board.
- changes load address
- delete lcd support
- add comments from Andreas Bie?mann:
- rearrange some init calls
- remove some unneeded ifdef
- changes for v3:
- add comments from Andreas Bie?mann:
- removed at91sam9m10g45ek_usb_hw_init() call
- removed empty reset_phy
- removed unneccessary tab
- use at91_phy_reset()
- rebased against current commit

    2cee0408e5c6f5dbdfa89fb40168ba2ead3f61a6
  - add CONFIG_AT91_WANTS_COMMON_PHY
---
 board/siemens/corvus/Makefile |  18 ++++
 board/siemens/corvus/board.c  | 195 ++++++++++++++++++++++++++++++++++++++++++
 boards.cfg                    |   1 +
 include/configs/corvus.h      | 165 +++++++++++++++++++++++++++++++++++
 4 files changed, 379 insertions(+)
 create mode 100644 board/siemens/corvus/Makefile
 create mode 100644 board/siemens/corvus/board.c
 create mode 100644 include/configs/corvus.h
board/siemens/corvus/Makefile new file +18 -0
new file mode 100644
index 0000000..f3ebf77
@@ -0,0 +1,18 @@
+#
+# Makefile for siemens CORVUS (AT91SAM9G45) based board
+# (C) Copyright 2013 Siemens AG
+#
+# Based on:
+# U-Boot file: board/atmel/at91sam9m10g45ek/Makefile
+#
+# (C) Copyright 2003-2008
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# (C) Copyright 2008
+# Stelian Pop <[email protected]>
+# Lead Tech Design <www.leadtechdesign.com>
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y += board.o
board/siemens/corvus/board.c new file +195 -0

195 lines not on this page · raw message

boards.cfg +1 -0
index 202457a..deb3293 100644
@@ -140,6 +140,7 @@ Active  arm         arm926ejs      at91        ronetix         pm9g45
 Active  arm         arm926ejs      at91        taskit          stamp9g20           portuxg20                            stamp9g20:AT91SAM9G20,PORTUXG20                                                                                                   Markus Hubig <[email protected]>
 Active  arm         arm926ejs      at91        taskit          stamp9g20           stamp9g20                            stamp9g20:AT91SAM9G20                                                                                                             Markus Hubig <[email protected]>
 Active  arm         arm926ejs      at91        siemens         taurus              axm                                  taurus:AT91SAM9G20,MACH_TYPE=2068,BOARD_AXM                                                                                       Heiko Schocher <[email protected]>
+Active  arm         arm926ejs      at91        siemens         corvus              corvus                               corvus:AT91SAM9M10G45,SYS_USE_NANDFLASH                                                                                           Heiko Schocher <[email protected]>
 Active  arm         arm926ejs      at91        siemens         taurus              taurus                               taurus:AT91SAM9G20,MACH_TYPE=2067,BOARD_TAURUS                                                                                    Heiko Schocher <[email protected]>
 Active  arm         arm926ejs      davinci     ait             cam_enc_4xx         cam_enc_4xx                          cam_enc_4xx                                                                                                                       Heiko Schocher <[email protected]>
 Active  arm         arm926ejs      davinci     Barix           ipam390             ipam390                              -                                                                                                                                 Heiko Schocher <[email protected]>
include/configs/corvus.h new file +165 -0

165 lines not on this page · raw message

Signature · 1 line
1.8.3.1
#4 lore raw

PATCH v3 2/2 arm, at91: add siemens corvus board

Dear Heiko Schocher,

Quoted 34 lines · Heiko Schocher

enable support for the siemens AT91SAM9G20 based board corvus.

---
- changes for v2:
- add comments from Bo Shen
- use gpio api
- remove unneccessary comment
- use at91_wait_for_reset()
- remove unneccessary code in board file
- Coding Style cleanup (tabs and unneccessary 1 after config define removed, use ".xxx = x" notation for initializing structs)
- remove reset_phy()
- remove CONFIG_SYS_MEMTEST_x defines, as mtest command is not used on this board.
- changes load address
- delete lcd support
- add comments from Andreas Bie?mann:
- rearrange some init calls
- remove some unneeded ifdef
- changes for v3:
- add comments from Andreas Bie?mann:
- removed at91sam9m10g45ek_usb_hw_init() call
- removed empty reset_phy
- removed unneccessary tab
- use at91_phy_reset()
- rebased against current commit 2cee0408e5c6f5dbdfa89fb40168ba2ead3f61a6
- add CONFIG_AT91_WANTS_COMMON_PHY
---

Quoted 8 lines
board/siemens/corvus/Makefile |  18 ++++
board/siemens/corvus/board.c  | 195 ++++++++++++++++++++++++++++++++++++++++++
boards.cfg                    |   1 +
include/configs/corvus.h      | 165 +++++++++++++++++++++++++++++++++++
4 files changed, 379 insertions(+)

create mode 100644 board/siemens/corvus/Makefile
create mode 100644 board/siemens/corvus/board.c
create mode 100644 include/configs/corvus.h

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bie?mann