Skip to contentSkip to conversation

board: add support for VIA VAB-820/AMOS-820

PATCH New imrehg at gmail.com 2 participants 2 messages May 5, 2015 – May 7, 2015 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 board: add support for VIA VAB-820/AMOS-820

From: Gergely Imreh <[email protected]>

The VIA VAB-820 board (and the AMOS-820 system built around it) is based on Freescale i.MX6 for embedded and industrial computing.

---
Changes v2 -> v3:
- updated to kernel 3.10.17 (from 3.0.35), and u-boot 2013.04 (from 2009.08) from the latest BSP release
- added minimal patch to enable SD card default boot in updated u-boot
- removed post-build script and environment defaults that used to generate boot script as not needed with the updated u-boot anymore
- updated setup steps and information in readme.txt
- updated defconfig to generate suitable output for the new defaults (device tree and kernel), removed some settings where buildroot defaults now work

Changes v1 -> v2:
- fixed typos on in readme.txt and clarified setup steps
- updated defconfig kernel headers and rootfs settings (suggested by Thomas)

---
 .../uboot/default-to-boot-from-the-SD-card.patch   |  25 +++++
 board/via/imx6_vab820/readme.txt                   | 107 +++++++++++++++++++++
 configs/via_imx6_vab820_defconfig                  |  31 ++++++
 3 files changed, 163 insertions(+)
 create mode 100644 board/via/imx6_vab820/patches/uboot/default-to-boot-from-the-SD-card.patch
 create mode 100644 board/via/imx6_vab820/readme.txt
 create mode 100644 configs/via_imx6_vab820_defconfig
board/via/imx6_vab820/patches/uboot/default-to-boot-from-the-SD-card.patch new file +25 -0
new file mode 100644
index 0000000..9b219f7
@@ -0,0 +1,25 @@
+From 6e72bef18c928753c9861c1f6fc8c2c4dd5d1e97 Mon Sep 17 00:00:00 2001
+From: Gergely Imreh <[email protected]>
+Date: Thu, 30 Apr 2015 16:24:38 +0800
+Subject: [PATCH] default to boot from the SD card
+
+---
+ include/configs/mx6qvab820_common.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/configs/mx6qvab820_common.h b/include/configs/mx6qvab820_common.h
+index 99bc8a9..2e70c94 100644
+--- a/include/configs/mx6qvab820_common.h
++++ b/include/configs/mx6qvab820_common.h
+@@ -216,7 +216,7 @@
+ 	"bootcmd_mmc=setenv mmcdev 1; setenv rootdev 0; setenv mmcname mmc; run bootcmd_main;\0"
+ 
+ #define CONFIG_BOOTCOMMAND \
+-	"run bootcmd_mmc"
++	"run bootcmd_sd"
+ 
+ #define CONFIG_ARP_TIMEOUT     200UL
+ 
+-- 
+2.3.7
+
board/via/imx6_vab820/readme.txt new file +107 -0

107 lines not on this page · raw message

configs/via_imx6_vab820_defconfig new file +31 -0
new file mode 100644
index 0000000..8f24c65
@@ -0,0 +1,31 @@
+# Architecture
+BR2_arm=y
+BR2_cortex_a9=y
+BR2_ARM_EABIHF=y
+BR2_ARM_FPU_VFPV3=y
+
+# Toolchain
+BR2_KERNEL_HEADERS_VERSION=y
+BR2_DEFAULT_KERNEL_VERSION="3.10.17"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y
+BR2_GLOBAL_PATCH_DIR="board/via/imx6_vab820/patches"
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/viaembedded/vab820-kernel-bsp.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="via_3.10.17_2.0.1"
+BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
+BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
+BR2_LINUX_KERNEL_UIMAGE=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_USE_INTREE_DTS=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-vab820"
+
+# Bootloader
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="mx6qvab820"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/viaembedded/vab820-uboot-bsp.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="via_3.10.17_2.0.1"
+BR2_TARGET_UBOOT_FORMAT_IMX=y
Signature · 1 line
2.3.7
#1 lore raw

PATCH v3 1/1 board: add support for VIA VAB-820/AMOS-820

Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"imrehg" == imrehg <[email protected]> writes:

From: Gergely Imreh <[email protected]>
The VIA VAB-820 board (and the AMOS-820 system built around it) is based on Freescale i.MX6 for embedded and industrial computing.

---
Changes v2 -> v3:
- updated to kernel 3.10.17 (from 3.0.35), and u-boot 2013.04 (from 2009.08) from the latest BSP release
- added minimal patch to enable SD card default boot in updated u-boot
- removed post-build script and environment defaults that used to generate boot script as not needed with the updated u-boot anymore
- updated setup steps and information in readme.txt
- updated defconfig to generate suitable output for the new defaults (device tree and kernel), removed some settings where buildroot defaults now work

Quoted 3 lines

Changes v1 -> v2:
- fixed typos on in readme.txt and clarified setup steps
- updated defconfig kernel headers and rootfs settings (suggested by Thomas)

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard