Skip to contentSkip to conversation

board: add support for Vision System's Baltos Industrial PC

PATCH New Yegor Yefremov 2 participants 2 messages May 29, 2015 – Jun 13, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 board: add support for Vision System's Baltos Industrial PC

Vision Systems's Baltos is based on AM335x SoC
from Texas Instruments. This patch adds support
such Industrial PCs in mainline u-boot.

[ balbi at ti.com: updated original patch to current u-boot ]

---
Changes:
- rename board name to Baltos
- s/is_valid_ether_addr/is_valid_ethaddr

 arch/arm/Kconfig                |    9 +
 board/vscom/baltos/Kconfig      |   24 ++
 board/vscom/baltos/Makefile     |   13 +
 board/vscom/baltos/README       |    1 +
 board/vscom/baltos/board.c      |  474 +++++++++++++++++++++++++++++++++++++++
 board/vscom/baltos/board.h      |   90 ++++++++
 board/vscom/baltos/mux.c        |  194 ++++++++++++++++
 board/vscom/baltos/u-boot.lds   |  128 +++++++++++
 configs/am335x_baltos_defconfig |    7 +
 include/configs/baltos.h        |  340 ++++++++++++++++++++++++++++
 10 files changed, 1280 insertions(+), 0 deletions(-)
 create mode 100644 board/vscom/baltos/Kconfig
 create mode 100644 board/vscom/baltos/Makefile
 create mode 100644 board/vscom/baltos/README
 create mode 100644 board/vscom/baltos/board.c
 create mode 100644 board/vscom/baltos/board.h
 create mode 100644 board/vscom/baltos/mux.c
 create mode 100644 board/vscom/baltos/u-boot.lds
 create mode 100644 configs/am335x_baltos_defconfig
 create mode 100644 include/configs/baltos.h
arch/arm/Kconfig +9 -0
index b62842f..c059188 100644
@@ -369,6 +369,14 @@ config TARGET_PENGWYN
 	select DM_SERIAL
 	select DM_GPIO
 
+config TARGET_AM335X_BALTOS
+	bool "Support am335x_baltos"
+	select CPU_V7
+	select SUPPORT_SPL
+	select DM
+	select DM_SERIAL
+	select DM_GPIO
+
 config TARGET_AM335X_EVM
 	bool "Support am335x_evm"
 	select CPU_V7
@@ -946,6 +954,7 @@ source "board/st/stv0991/Kconfig"
 source "board/sunxi/Kconfig"
 source "board/syteco/zmx25/Kconfig"
 source "board/tbs/tbs2910/Kconfig"
+source "board/vscom/baltos/Kconfig"
 source "board/ti/am335x/Kconfig"
 source "board/ti/am43xx/Kconfig"
 source "board/birdland/bav335x/Kconfig"
board/vscom/baltos/Kconfig new file +24 -0
new file mode 100644
index 0000000..bc1edcf
@@ -0,0 +1,24 @@
+if TARGET_AM335X_BALTOS
+
+config SYS_BOARD
+	default "baltos"
+
+config SYS_VENDOR
+	default "vscom"
+
+config SYS_SOC
+	default "am33xx"
+
+config SYS_CONFIG_NAME
+	default "baltos"
+
+config CONS_INDEX
+	int "UART used for console"
+	range 1 6
+	default 1
+	help
+	  The AM335x SoC has a total of 6 UARTs (UART0 to UART5 as referenced
+	  in documentation, etc) available to it.  Depending on your specific
+	  board you may want something other than UART0.
+
+endif
board/vscom/baltos/Makefile new file +13 -0
new file mode 100644
index 0000000..804ac37
@@ -0,0 +1,13 @@
+#
+# Makefile
+#
+# Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+ifeq ($(CONFIG_SKIP_LOWLEVEL_INIT),)
+obj-y	:= mux.o
+endif
+
+obj-y	+= board.o
board/vscom/baltos/README new file +1 -0
new file mode 100644
index 0000000..f744ace
@@ -0,0 +1 @@
+BSP for VScom OnRISC Balios family devices, like Balios iR 5221.
board/vscom/baltos/board.c new file +474 -0

474 lines not on this page · raw message

board/vscom/baltos/board.h new file +90 -0

90 lines not on this page · raw message

board/vscom/baltos/mux.c new file +194 -0

194 lines not on this page · raw message

board/vscom/baltos/u-boot.lds new file +128 -0

128 lines not on this page · raw message

configs/am335x_baltos_defconfig new file +7 -0
new file mode 100644
index 0000000..679b04f
@@ -0,0 +1,7 @@
+CONFIG_SPL=y
+CONFIG_SPL_STACK_R=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_SYS_EXTRA_OPTIONS="NAND"
+CONFIG_CONS_INDEX=1
+CONFIG_ARM=y
+CONFIG_TARGET_AM335X_BALTOS=y
include/configs/baltos.h new file +340 -0

340 lines not on this page · raw message

Signature · 1 line
1.7.7
#1 lore raw

PATCH v2 1/1 board: add support for Vision System's Baltos Industrial PC

Quoted 8 lines · Yegor Yefremov

Vision Systems's Baltos is based on AM335x SoC from Texas Instruments. This patch adds support such Industrial PCs in mainline u-boot.

[ balbi at ti.com: updated original patch to current u-boot ]

Applied to u-boot/master, thanks!

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