configs/globalscale_espressobin: new defconfig
PATCH 1/1 configs/globalscale_espressobin: new defconfig
Basic support for the Marvell ESPRESSObin, by Globalscale Technologies.
The kernel config has been extended with a fragment to enable switchcore support, DSA drivers, and VLAN filtering in the bridge. To make use of this you need a custom libnl based application, or the iproute2 suite rather than the brctl tools, which don't support the VLAN filtering.
--- .gitlab-ci.yml | 1 + DEVELOPERS | 4 + board/globalscale/espressobin/genimage.cfg | 11 +++ .../espressobin/linux-extras.config | 14 +++ board/globalscale/espressobin/readme.txt | 90 +++++++++++++++++++ configs/globalscale_espressobin_defconfig | 26 ++++++ 6 files changed, 146 insertions(+) create mode 100644 board/globalscale/espressobin/genimage.cfg create mode 100644 board/globalscale/espressobin/linux-extras.config create mode 100644 board/globalscale/espressobin/readme.txt create mode 100644 configs/globalscale_espressobin_defconfig
.gitlab-ci.yml +1 -0
@@ -197,6 +197,7 @@ friendlyarm_nanopi_a64_defconfig: { extends: .defconfig } friendlyarm_nanopi_neo2_defconfig: { extends: .defconfig } friendlyarm_nanopi_neo_plus2_defconfig: { extends: .defconfig } galileo_defconfig: { extends: .defconfig } +globalscale_espressobin_defconfig: { extends: .defconfig } grinn_chiliboard_defconfig: { extends: .defconfig } grinn_liteboard_defconfig: { extends: .defconfig } hifive_unleashed_defconfig: { extends: .defconfig }
DEVELOPERS +4 -0
@@ -1291,6 +1291,10 @@ F: package/libuhttpd/ F: package/libuwsc/ F: package/rtty/ +N: Joachim Nilsson <[email protected]> +F: configs/globalscale_espressobin_defconfig +F: board/globalscale/espressobin/ + N: Joao Pinto <[email protected]> F: board/synopsys/vdk/ F: configs/snps_aarch64_vdk_defconfig
board/globalscale/espressobin/genimage.cfg new file +11 -0
@@ -0,0 +1,11 @@ +# Minimal image, no U-boot since v3/v5 cannot boot from sdcard, see +# readme.txt for details on configuring the on-board u-boot. +image sdcard.img { + hdimage { + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/globalscale/espressobin/linux-extras.config new file +14 -0
@@ -0,0 +1,14 @@ +# +# The Espressobin has a switchcore with full support in the kernel. +# This fragment enables DSA and its drivers, inclding VLAN aware bridge +# support to allow users to easily set up a LAN switch + WAN interface. +# +CONFIG_NET_DSA=m +CONFIG_VLAN_8021Q=y + +CONFIG_BRIDGE=m +CONFIG_BRIDGE_IGMP_SNOOPING=y +CONFIG_BRIDGE_VLAN_FILTERING=y + +CONFIG_NET_DSA_MV88E6XXX=m +CONFIG_NET_DSA_MV88E6XXX_PTP=y
board/globalscale/espressobin/readme.txt new file +90 -0
90 lines not on this page · raw message
configs/globalscale_espressobin_defconfig new file +26 -0
@@ -0,0 +1,26 @@ +BR2_aarch64=y +BR2_cortex_a53=y +BR2_ARM_FPU_VFPV4=y + +# Linux headers same as kernel, a 5.6 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.11" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/globalscale/espressobin/linux-extras.config" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="marvell/armada-3720-espressobin marvell/armada-3720-espressobin-emmc marvell/armada-3720-espressobin-v7 marvell/armada-3720-espressobin-v7-emmc" +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# Filesystem +BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Marvell ESPRESSObin" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_ROOTFS_TAR_GZIP=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/globalscale/espressobin/genimage.cfg"
Signature · 1 line
2.25.1
Thomas Petazzoni
AppliedPATCH 1/1 configs/globalscale_espressobin: new defconfig
Quoted 10 lines · On Fri, 8 May 2020 11:45:09 +0200 Joachim Nilsson <[email protected]> wrote:
Basic support for the Marvell ESPRESSObin, by Globalscale Technologies.
The kernel config has been extended with a fragment to enable switchcore support, DSA drivers, and VLAN filtering in the bridge. To make use of this you need a custom libnl based application, or the iproute2 suite rather than the brctl tools, which don't support the VLAN filtering.
Signed-off-by Joachim Nilsson <[email protected]>
Quoted 12 lines
--- .gitlab-ci.yml | 1 + DEVELOPERS | 4 + board/globalscale/espressobin/genimage.cfg | 11 +++ .../espressobin/linux-extras.config | 14 +++ board/globalscale/espressobin/readme.txt | 90 +++++++++++++++++++ configs/globalscale_espressobin_defconfig | 26 ++++++ 6 files changed, 146 insertions(+) create mode 100644 board/globalscale/espressobin/genimage.cfg create mode 100644 board/globalscale/espressobin/linux-extras.config create mode 100644 board/globalscale/espressobin/readme.txt create mode 100644 configs/globalscale_espressobin_defconfig
Thanks, applied !
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com