Skip to contentSkip to conversation

ARM: mx6: Add support for Kosagi Novena

PATCH Superseded Marek Vasut 3 participants 4 messages Oct 24, 2014 – Oct 30, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v8 1/1 ARM: mx6: Add support for Kosagi Novena

Add support for the Kosagi Novena board. Currently supported are:
- I2C busses
- FEC Ethernet
- MMC0, MMC1, Booting from MMC
- SATA
- USB ports
- USB Ethernet

Cc Stefano Babic <[email protected]>
Cc Sean Cross <[email protected]>
Cc Nikolay Dimitrov <[email protected]>
---
 arch/arm/Kconfig                 |   4 +
 board/kosagi/novena/Kconfig      |  18 ++
 board/kosagi/novena/Makefile     |  11 +
 board/kosagi/novena/novena.c     | 343 ++++++++++++++++++++++++
 board/kosagi/novena/novena_spl.c | 556 +++++++++++++++++++++++++++++++++++++++
 board/kosagi/novena/setup.cfg    |  47 ++++
 configs/novena_defconfig         |   4 +
 include/configs/imx6_spl.h       |   2 +-
 include/configs/novena.h         | 298 +++++++++++++++++++++
 9 files changed, 1282 insertions(+), 1 deletion(-)
 create mode 100644 board/kosagi/novena/Kconfig
 create mode 100644 board/kosagi/novena/Makefile
 create mode 100644 board/kosagi/novena/novena.c
 create mode 100644 board/kosagi/novena/novena_spl.c
 create mode 100644 board/kosagi/novena/setup.cfg
 create mode 100644 configs/novena_defconfig
 create mode 100644 include/configs/novena.h

V2: - Drop the tegra_keyboard_init() comment altogether
- Immediatelly return from the SD controller probe function on failure
- Rename PFUZE100_PMIC to just PFUZE100
- Fix the IMX OTP support with CMD_FUSE
- Enabling LVDS clock is still in place, since this is coming soon.
V3: - Zap rootpath builtin env
V4: - Zap the checkpatch issues
- Update comments
V5: - Don't configure VGEN1
- Set FPGA into reset in SPL
- Drop ECSPI1 and add ECSPI3 mux
- Drop UART1 and add UART3, UART4 muxes
- Add separate mux option for the RGMII pins which doesn't set SPEED field
- Move the configuration of RGMII after they were configured in GPIO mode
V6: - Drop 'string' prop from Kconfig
- Zap uSD card detect
- Add bigSD write-protect detection
- Zap USB hub reset GPIO
V7: - Zap USB hub reset GPIO configuration
- Remove unnecessary zeroing of GD in SPL
V8: - Zap the root= env var again
- Zap CONFIG_SYS_MX6_HCLK and CONFIG_SYS_MX6_CLK32
- Enable PCIe

arch/arm/Kconfig +4 -0
index 72558b8..bef298f 100644
@@ -414,6 +414,9 @@ config TARGET_GW_VENTANA
 config TARGET_HUMMINGBOARD
 	bool "Support hummingboard"
 
+config TARGET_KOSAGI_NOVENA
+	bool "Support Kosagi Novena"
+
 config TARGET_TQMA6
 	bool "TQ Systems TQMa6 board"
 
@@ -646,6 +649,7 @@ source "board/imx31_phycore/Kconfig"
 source "board/isee/igep0033/Kconfig"
 source "board/jornada/Kconfig"
 source "board/karo/tx25/Kconfig"
+source "board/kosagi/novena/Kconfig"
 source "board/logicpd/imx27lite/Kconfig"
 source "board/logicpd/imx31_litekit/Kconfig"
 source "board/mpl/vcma9/Kconfig"
board/kosagi/novena/Kconfig new file +18 -0
new file mode 100644
index 0000000..4ba6399
@@ -0,0 +1,18 @@
+if TARGET_KOSAGI_NOVENA
+
+config SYS_CPU
+	default "armv7"
+
+config SYS_BOARD
+	default "novena"
+
+config SYS_VENDOR
+	default "kosagi"
+
+config SYS_SOC
+	default "mx6"
+
+config SYS_CONFIG_NAME
+	default "novena"
+
+endif
board/kosagi/novena/Makefile new file +11 -0
new file mode 100644
index 0000000..6fba177
@@ -0,0 +1,11 @@
+#
+# Copyright (C) 2014 Marek Vasut <[email protected]>
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+ifdef CONFIG_SPL_BUILD
+obj-y	:= novena_spl.o
+else
+obj-y	:= novena.o
+endif
board/kosagi/novena/novena.c new file +343 -0

343 lines not on this page · raw message

board/kosagi/novena/novena_spl.c new file +556 -0

556 lines not on this page · raw message

board/kosagi/novena/setup.cfg new file +47 -0

47 lines not on this page · raw message

configs/novena_defconfig new file +4 -0
new file mode 100644
index 0000000..a560afb
@@ -0,0 +1,4 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/kosagi/novena/setup.cfg,MX6Q,SPL"
++S:CONFIG_ARM=y
++S:CONFIG_TARGET_KOSAGI_NOVENA=y
include/configs/imx6_spl.h +1 -1
index 970460d..52fe9cf 100644
@@ -27,7 +27,7 @@
 #define CONFIG_SYS_THUMB_BUILD
 #define CONFIG_SPL_LDSCRIPT	"arch/arm/cpu/armv7/omap-common/u-boot-spl.lds"
 #define CONFIG_SPL_TEXT_BASE		0x00908000
-#define CONFIG_SPL_MAX_SIZE		(64 * 1024)
+#define CONFIG_SPL_MAX_SIZE		0x10000
 #define CONFIG_SPL_START_S_PATH		"arch/arm/cpu/armv7"
 #define CONFIG_SPL_STACK		0x0091FFB8
 #define CONFIG_SPL_LIBCOMMON_SUPPORT
include/configs/novena.h new file +298 -0

298 lines not on this page · raw message

Signature · 1 line
2.0.0
#1 lore raw

PATCH v8 1/1 ARM: mx6: Add support for Kosagi Novena

Quoted 8 lines · Marek Vasut

Add support for the Kosagi Novena board. Currently supported are:
- I2C busses
- FEC Ethernet
- MMC0, MMC1, Booting from MMC
- SATA
- USB ports
- USB Ethernet

Quoted 4 lines
Cc Stefano Babic <[email protected]>
Cc Sean Cross <[email protected]>
Cc Nikolay Dimitrov <[email protected]>

Regards,
Nikolay

#2 lore raw

PATCH v8 1/1 ARM: mx6: Add support for Kosagi Novena

Quoted 9 lines · Nikolay Dimitrov
Quoted 8 lines · Marek Vasut

Add support for the Kosagi Novena board. Currently supported are:
- I2C busses
- FEC Ethernet
- MMC0, MMC1, Booting from MMC
- SATA
- USB ports
- USB Ethernet

Quoted 6 lines
Quoted 4 lines
Cc Stefano Babic <[email protected]>
Cc Sean Cross <[email protected]>
Cc Nikolay Dimitrov <[email protected]>

Thanks. I hope we can get this in finally so the heavy lifting is out of the way ;-)

Best regards,
Marek Vasut

#3 lore raw

PATCH v8 1/1 ARM: mx6: Add support for Kosagi Novena

In reply to Marek Vasut
Quoted 8 lines · Marek Vasut

Add support for the Kosagi Novena board. Currently supported are:
- I2C busses
- FEC Ethernet
- MMC0, MMC1, Booting from MMC
- SATA
- USB ports
- USB Ethernet

Quoted 5 lines
Cc Stefano Babic <[email protected]>
Cc Sean Cross <[email protected]>
Cc Nikolay Dimitrov <[email protected]>

---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

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-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================