board: add support for ZII VF610 Development Board
PATCH 1/1 board: add support for ZII VF610 Development Board
Add support for the Rev. B of a Zodiac Inflight Innovations development board, mainly intended for DSA and ARINC 429 development work.
--- board/zii/vf610dev/genimage.cfg | 38 ++++++++++++++++++++++ board/zii/vf610dev/linux_defconfig | 65 ++++++++++++++++++++++++++++++++++++++ board/zii/vf610dev/post-image.sh | 20 ++++++++++++ board/zii/vf610dev/u-boot-env.txt | 3 ++ configs/zii_vf610dev_defconfig | 24 ++++++++++++++ 5 files changed, 150 insertions(+) create mode 100644 board/zii/vf610dev/genimage.cfg create mode 100644 board/zii/vf610dev/linux_defconfig create mode 100755 board/zii/vf610dev/post-image.sh create mode 100644 board/zii/vf610dev/u-boot-env.txt create mode 100644 configs/zii_vf610dev_defconfig
board/zii/vf610dev/genimage.cfg new file +38 -0
@@ -0,0 +1,38 @@ +image kernel.vfat { + vfat { + files = { + "uImage", + "vf610-zii-dev-rev-b.dtb", + } + } + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.imx" + offset = 1024 + } + + partition u-boot-env { + in-partition-table = "no" + image = "uboot-env.bin" + offset = 786432 + size = 8192 + } + + partition kernel { + partition-type = 0xc + image = "kernel.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +}
board/zii/vf610dev/linux_defconfig new file +65 -0
65 lines not on this page · raw message
board/zii/vf610dev/post-image.sh new file +20 -0
@@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +BOARD_DIR="$(dirname $0)" +GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" +GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" + +rm -rf "${GENIMAGE_TMP}" + +genimage \ + --rootpath "${TARGET_DIR}" \ + --tmppath "${GENIMAGE_TMP}" \ + --inputpath "${BINARIES_DIR}" \ + --outputpath "${BINARIES_DIR}" \ + --config "${GENIMAGE_CFG}" + +RET=${?} + +rm -f "${BINARIES_DIR}/kernel.vfat" + +exit ${RET}
board/zii/vf610dev/u-boot-env.txt new file +3 -0
@@ -0,0 +1,3 @@ +ethaddr=fe:ed:de:ad:be:ef +bootargs=console=ttyLP0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait +bootcmd=fatload mmc 0:1 0x81000000 uImage; fatload mmc 0:1 0x82000000 vf610-zii-dev-rev-b.dtb; bootm 0x81000000 - 0x82000000
configs/zii_vf610dev_defconfig new file +24 -0
@@ -0,0 +1,24 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_TARGET_GENERIC_HOSTNAME="vf610dev" +BR2_TARGET_GENERIC_ISSUE="Welcome to ZII VF610 Development Board" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zii/vf610dev/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/zii/vf610dev/linux_defconfig" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x80008000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="vf610-zii-dev-rev-b" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="zii-vf610-dev-rev-b" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://bitbucket.org/pid1solutions/zodiac-vybrid-uboot.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="ctt-fec" +BR2_TARGET_UBOOT_FORMAT_IMX=y +BR2_TARGET_UBOOT_ENVIMAGE=y +BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="board/zii/vf610dev/u-boot-env.txt" +BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x2000" +BR2_PACKAGE_HOST_GENIMAGE=y
Signature · 1 line
2.9.3
PATCH 1/1 board: add support for ZII VF610 Development Board
Hello,
Quoted 4 lines · Vivien Didelot
Add support for the Rev. B of a Zodiac Inflight Innovations development board, mainly intended for DSA and ARINC 429 development work.
Signed-off-by Vivien Didelot <[email protected]>
Is this board publicly available?
Your patch looks good and perfectly matches the Buildroot way of having minimal defconfigs. But if the board is not publicly available, I'm not sure we want a defconfig for it in Buildroot.
Also, we generally add a readme.txt that explains how to use the defconfig result (how to flash it and use it on the board), and this file often includes a link to a webpage with more details about the board.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/1 board: add support for ZII VF610 Development Board
Hi Thomas,
Quoted 5 lines · Thomas Petazzoni
Is this board publicly available?
Your patch looks good and perfectly matches the Buildroot way of having minimal defconfigs. But if the board is not publicly available, I'm not sure we want a defconfig for it in Buildroot.
This board is quite specific and not meant to be sold to the public, hovewer the Device Tree is opened and already mainlined. It is used as a reference platform for DSA with its 3 interconnected Marvell switches.
The bootloader and kernel support are available, so I saw no reason not to glue that all together. Given what you said, we can forget about this board. At least, its support is now in the wild ;-)
Thanks,
Vivien
PATCH 1/1 board: add support for ZII VF610 Development Board
Hello,
Quoted 6 lines · Vivien Didelot
Quoted 5 lines
Is this board publicly available?
Your patch looks good and perfectly matches the Buildroot way of having minimal defconfigs. But if the board is not publicly available, I'm not sure we want a defconfig for it in Buildroot.
Quoted 7 lines
This board is quite specific and not meant to be sold to the public, hovewer the Device Tree is opened and already mainlined. It is used as a reference platform for DSA with its 3 interconnected Marvell switches.
The bootloader and kernel support are available, so I saw no reason not to glue that all together. Given what you said, we can forget about this board. At least, its support is now in the wild ;-)
I don't know how much we want defconfig for such platforms in Buildroot, but my opinion on that is definitely not clear cut. So let's see what others have to say about this.
That being said, shall I gather from this that some products from Zodiac Aerospace are using Buildroot? :-)
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/1 board: add support for ZII VF610 Development Board
Hi Thomas,
Quoted 14 lines · Thomas Petazzoni
Quoted 6 lines
Quoted 5 lines
Is this board publicly available?
Your patch looks good and perfectly matches the Buildroot way of having minimal defconfigs. But if the board is not publicly available, I'm not sure we want a defconfig for it in Buildroot.
Quoted 7 lines
This board is quite specific and not meant to be sold to the public, hovewer the Device Tree is opened and already mainlined. It is used as a reference platform for DSA with its 3 interconnected Marvell switches.
The bootloader and kernel support are available, so I saw no reason not to glue that all together. Given what you said, we can forget about this board. At least, its support is now in the wild ;-)
Quoted 6 lines
I don't know how much we want defconfig for such platforms in Buildroot, but my opinion on that is definitely not clear cut. So let's see what others have to say about this.
That being said, shall I gather from this that some products from Zodiac Aerospace are using Buildroot? :-)
AFAICT, I don't think so... Today it's just me using Buildroot for my personal development.
Thanks,
Vivien