Skip to contentSkip to conversation

Add Nanobone board support

PATCH Superseded Mark Jackson 2 participants 3 messages Aug 14, 2013 – Aug 21, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 Add Nanobone board support

NanoBone Specification:
-----------------------
CPU:
TI AM335x

Memory:
256MB DDR3
64MB NOR flash
256MB NAND flash
128KB FRAM

Ethernet:
2 x 10/100 connected to SMSC LAN8710 PHY

USB:
1 x USB2.0 Type A

I2C:
2Kbit EEPROM (Microchip 24AA02)
RTC (Maxim DS1338)
GPIO Expander (Microchip MCP23017)

Expansion connector:
6 x UART
1 x MMC/SD
1 x USB2.0

---
Changes in v4:
- Tweaked after comments from Tom Rini
- LEDs now initialised

Changes in v3:
- Rebased on TI U-Boot

Changes in v2:
- Tweaked after comments from Tom Rini

 MAINTAINERS                       |    4 +
 board/newflow/nanobone/Makefile   |   38 +++++
 board/newflow/nanobone/board.c    |  298 +++++++++++++++++++++++++++++++++++++
 board/newflow/nanobone/mux.c      |  195 ++++++++++++++++++++++++
 board/newflow/nanobone/u-boot.lds |   98 ++++++++++++
 boards.cfg                        |    2 +
 include/configs/nanobone.h        |  295 ++++++++++++++++++++++++++++++++++++
 7 files changed, 930 insertions(+)
 create mode 100644 board/newflow/nanobone/Makefile
 create mode 100644 board/newflow/nanobone/board.c
 create mode 100644 board/newflow/nanobone/mux.c
 create mode 100644 board/newflow/nanobone/u-boot.lds
 create mode 100644 include/configs/nanobone.h
MAINTAINERS +4 -0
index 081cf96..4f44e8f 100644
@@ -717,6 +717,10 @@ Ilko Iliev <[email protected]>
 	PM9263		AT91SAM9263
 	PM9G45		ARM926EJS (AT91SAM9G45 SoC)
 
+Mark Jackson <[email protected]>
+
+	NANOBONE	ARM ARMV7 (AM33xx Soc)
+
 Michael Jones <[email protected]>
 
 	omap3_mvblx	ARM ARMV7 (OMAP3xx SoC)
board/newflow/nanobone/Makefile new file +38 -0
new file mode 100644
index 0000000..3dbeeda
@@ -0,0 +1,38 @@
+#
+# Makefile
+#
+# Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+include $(TOPDIR)/config.mk
+
+LIB	= $(obj)lib$(BOARD).o
+
+ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_NOR_BOOT),y)
+COBJS	:= mux.o
+endif
+
+COBJS	+= board.o
+SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS	:= $(addprefix $(obj),$(COBJS))
+SOBJS	:= $(addprefix $(obj),$(SOBJS))
+
+$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
+	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
+
+clean:
+	rm -f $(SOBJS) $(OBJS)
+
+distclean:	clean
+	rm -f $(LIB) core *.bak $(obj).depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
board/newflow/nanobone/board.c new file +298 -0

298 lines not on this page · raw message

board/newflow/nanobone/mux.c new file +195 -0

195 lines not on this page · raw message

board/newflow/nanobone/u-boot.lds new file +98 -0

98 lines not on this page · raw message

boards.cfg +2 -0
index 211ed58..1e5ca5d 100644
@@ -252,6 +252,8 @@ am335x_evm_uart4             arm         armv7       am335x              ti
 am335x_evm_uart5             arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL6,CONS_INDEX=1,NAND
 am335x_evm_usbspl            arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL1,CONS_INDEX=1,NAND,SPL_USBETH_SUPPORT
 am335x_boneblack             arm         armv7       am335x              ti             am33xx      am335x_evm:SERIAL1,CONS_INDEX=1,EMMC_BOOT
+nanobone                     arm         armv7       nanobone            newflow        am33xx      nanobone:NOR_BOOT
+nanobone_sdboot              arm         armv7       nanobone            newflow        am33xx      nanobone:SD_BOOT
 ti814x_evm                   arm         armv7       ti814x              ti             am33xx
 pcm051                       arm         armv7       pcm051              phytec         am33xx      pcm051
 sama5d3xek_mmc               arm         armv7       sama5d3xek          atmel          at91        sama5d3xek:SAMA5D3,SYS_USE_MMC
include/configs/nanobone.h new file +295 -0

295 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v4 1/1 Add Nanobone board support

Quoted 22 lines · Mark Jackson

NanoBone Specification:
-----------------------
CPU:
TI AM335x

Memory:
256MB DDR3
64MB NOR flash
256MB NAND flash
128KB FRAM

Ethernet:
2 x 10/100 connected to SMSC LAN8710 PHY

USB:
1 x USB2.0 Type A

I2C:
2Kbit EEPROM (Microchip 24AA02)
RTC (Maxim DS1338)
GPIO Expander (Microchip MCP23017)

Quoted 6 lines

Expansion connector:
6 x UART
1 x MMC/SD
1 x USB2.0

Any comments on this board support patch ?

#2 lore raw

PATCH v4 1/1 Add Nanobone board support

Quoted 23 lines · Mark Jackson
Quoted 22 lines · Mark Jackson

NanoBone Specification:
-----------------------
CPU:
TI AM335x

Memory:
256MB DDR3
64MB NOR flash
256MB NAND flash
128KB FRAM

Ethernet:
2 x 10/100 connected to SMSC LAN8710 PHY

USB:
1 x USB2.0 Type A

I2C:
2Kbit EEPROM (Microchip 24AA02)
RTC (Maxim DS1338)
GPIO Expander (Microchip MCP23017)

Quoted 8 lines
Quoted 6 lines

Expansion connector:
6 x UART
1 x MMC/SD
1 x USB2.0

Any comments on this board support patch ?

Needs re-basing for s_init consolidation into arch/arm/cpu/armv7/am33xx/board.c from Heiko being merged to master, sorry. But otherwise looks good.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130821/dbd505f3/attachment.pgp>