Skip to contentSkip to conversation

Support for the Calao USB-A9260/USB-A9G20 boards

PATCH New Gregory Hermant 2 participants 2 messages Feb 8, 2010 – Feb 9, 2010 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Support for the Calao USB-A9260/USB-A9G20 boards

The Calao USB-A9260 and USB-9G20 boards are manufactured and sold by Calao Systems
<http://www.calao-systems.com>. They are built around an AT91SAM9260 ARM SoC running at 180MHz and an AT91SAM9G20 ARM SoC running at 400MHz respectively. They feature an Ethernet port, 64Mo of SDRAM, 256Mo of NAND flash, two USB host ports, and an USB device port. They also feature a FTDI2232 converter which provides the ability to use the DBGU serial port & the JTAG port over a USB interface.

---
 MAINTAINERS                       |    5 +
 MAKEALL                           |    2 +
 Makefile                          |    5 +
 board/calao/usb_a9260/Makefile    |   55 ++++++++++
 board/calao/usb_a9260/config.mk   |    1 +
 board/calao/usb_a9260/spi.c       |   50 ++++++++++
 board/calao/usb_a9260/usb_a9260.c |  197 +++++++++++++++++++++++++++++++++++++
 include/configs/usb_a9260.h       |  178 +++++++++++++++++++++++++++++++++
 8 files changed, 493 insertions(+), 0 deletions(-)
 create mode 100644 board/calao/usb_a9260/Makefile
 create mode 100644 board/calao/usb_a9260/config.mk
 create mode 100644 board/calao/usb_a9260/spi.c
 create mode 100644 board/calao/usb_a9260/usb_a9260.c
 create mode 100644 include/configs/usb_a9260.h
MAINTAINERS +5 -0
index fe63a9f..34d2877 100644
@@ -587,6 +587,11 @@ Kshitij Gupta <[email protected]>
 	omap1510inn	ARM925T
 	omap1610inn	ARM926EJS
 
+Gregory Hermant <[email protected]>
+
+	usb_a9260	ARM926EJS (AT91SAM9G20 SoC)
+	usb_a9g20	ARM926EJS (AT91SAM9G20 SoC)
+
 Grazvydas Ignotas <[email protected]>
 
 	omap3_pandora	ARM CORTEX-A8 (OMAP3xx SoC)
MAKEALL +2 -0
index 684db67..0de72e1 100755
@@ -664,6 +664,8 @@ LIST_at91="			\
 	SBC35_A9G20		\
 	TNY_A9260		\
 	TNY_A9G20		\
+	USB_A9260		\
+	USB_A9G20		\
 "
 
 #########################################################################
Makefile +5 -0
index e4431f7..893f882 100644
@@ -2890,6 +2890,11 @@ TNY_A9260_config	:	unconfig
 	@echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
 	@$(MKCONFIG) -a tny_a9260 arm arm926ejs tny_a9260 calao at91
 
+USB_A9G20_config \
+USB_A9260_config	:	unconfig
+	@mkdir -p $(obj)include
+	@echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
+	@$(MKCONFIG) -a usb_a9260 arm arm926ejs usb_a9260 calao at91
 ########################################################################
 ## ARM Integrator boards - see doc/README-integrator for more info.
 integratorap_config	\
board/calao/usb_a9260/Makefile new file +55 -0

55 lines not on this page · raw message

board/calao/usb_a9260/config.mk new file +1 -0
new file mode 100644
index 0000000..ff2cfd1
@@ -0,0 +1 @@
+TEXT_BASE = 0x23f00000
board/calao/usb_a9260/spi.c new file +50 -0

50 lines not on this page · raw message

board/calao/usb_a9260/usb_a9260.c new file +197 -0

197 lines not on this page · raw message

include/configs/usb_a9260.h new file +178 -0

178 lines not on this page · raw message

Signature · 1 line
1.5.6.3
#1 lore raw

PATCH 1/1 Support for the Calao USB-A9260/USB-A9G20 boards

Dear Gregory Hermant,

Quoted 9 lines · In message <1265637776-21295-1-git-send-email-gregory.hermant@calao-systems.com…

The Calao USB-A9260 and USB-9G20 boards are manufactured and sold by Calao Systems
<http://www.calao-systems.com>. They are built around an AT91SAM9260 ARM SoC running at 180MHz and an AT91SAM9G20 ARM SoC running at 400MHz respectively. They feature an Ethernet port, 64Mo of SDRAM, 256Mo of NAND flash, two USB host ports, and an USB device port. They also feature a FTDI2232 converter which provides the ability to use the DBGU serial port & the JTAG port over a USB interface.

---

...

include/configs/usb_a9260.h line 82

Quoted 7 lines
include/configs/usb_a9260.h new file +7 -0
+#include <config_cmd_default.h>
+#undef CONFIG_CMD_BDI
+#undef CONFIG_CMD_FPGA
+#undef CONFIG_CMD_IMI
+#undef CONFIG_CMD_IMLS
+#undef CONFIG_CMD_LOADS
+#undef CONFIG_CMD_SOURCE

Is there any special reason for disabling these commands? They are usually considered pretty useful, and from the rest of your configuration I don't believe you try to minimize the memory footprint of the U-Boot image?

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Time is a drug. Too much of it kills you.
                                      - Terry Pratchett, _Small Gods_