Add support for NetCube Systems Kumquat
v2 cover Add support for NetCube Systems Kumquat
Changes in v2:
Rename some files to match those of other boards Add a post-build script to generate a partition uuid
for the rootfs partition and add it to the extlinux.conf
Switch to linux 6.8.7 which has been tested thoroughly on
the board
Fix typo in DEVELOPERS file
---
Lukas Schmid (1):
configs/netcube_kumquat_defconfig: new defconfig
DEVELOPERS | 4 + board/netcube/kumquat/extlinux.conf | 4 + board/netcube/kumquat/genimage.cfg | 40 + .../linux-dts/sun8i-v3s-netcube-kumquat.dts | 279 ++++ board/netcube/kumquat/linux.config | 155 ++ ...init-Try-to-load-macaddr-from-eeprom.patch | 114 ++ board/netcube/kumquat/post-build.sh | 7 + board/netcube/kumquat/readme.txt | 71 + .../kumquat/rootfs_overlay/etc/fw_env.config | 11 + .../rootfs_overlay/etc/init.d/S35esphosted | 71 + .../uboot-dts/sun8i-v3s-netcube-kumquat.dts | 279 ++++ board/netcube/kumquat/uboot.config | 56 + configs/netcube_kumquat_defconfig | 41 + ...cube_kumquat_defconfig-new-defconfig.patch | 1268 +++++++++++++++++ 14 files changed, 2400 insertions(+) create mode 100644 board/netcube/kumquat/extlinux.conf create mode 100644 board/netcube/kumquat/genimage.cfg create mode 100644 board/netcube/kumquat/linux-dts/sun8i-v3s-netcube-kumquat.dts create mode 100644 board/netcube/kumquat/linux.config create mode 100644 board/netcube/kumquat/patches/uboot/2024.10/0001-eth-sunxi-board-init-Try-to-load-macaddr-from-eeprom.patch create mode 100755 board/netcube/kumquat/post-build.sh create mode 100644 board/netcube/kumquat/readme.txt create mode 100644 board/netcube/kumquat/rootfs_overlay/etc/fw_env.config create mode 100755 board/netcube/kumquat/rootfs_overlay/etc/init.d/S35esphosted create mode 100644 board/netcube/kumquat/uboot-dts/sun8i-v3s-netcube-kumquat.dts create mode 100644 board/netcube/kumquat/uboot.config create mode 100644 configs/netcube_kumquat_defconfig create mode 100644 outgoing/0001-configs-netcube_kumquat_defconfig-new-defconfig.patch
Signature · 7 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 1/1 configs/netcube_kumquat_defconfig: new defconfig
Add the NetCube Systems Kumquat.
The Kumquat is a board based on the Allwinner V3s SoC, intended for IoT, IIoT and Smart Home type applications.
Features include:
- 64MB DDR2 included in SoC
- 10/100 Mbps Ethernet
- USB-C DRD
- Audio Codec
- Isolated CAN-FD
- ESP32 over SDIO
- 8MB SPI-NOR Flash for bootloader
- I2C EEPROM for MAC addresses
- SDIO Connector for eMMC or SD-Card
- 8x 12/24V IOs, 4x normally open relays
- DS3232 RTC
- QWIIC connectors for external I2C devices
--- DEVELOPERS | 4 + board/netcube/kumquat/extlinux.conf | 4 + board/netcube/kumquat/genimage.cfg | 40 + .../linux-dts/sun8i-v3s-netcube-kumquat.dts | 279 ++++ board/netcube/kumquat/linux.config | 155 ++ ...init-Try-to-load-macaddr-from-eeprom.patch | 114 ++ board/netcube/kumquat/post-build.sh | 7 + board/netcube/kumquat/readme.txt | 71 + .../kumquat/rootfs_overlay/etc/fw_env.config | 11 + .../rootfs_overlay/etc/init.d/S35esphosted | 71 + .../uboot-dts/sun8i-v3s-netcube-kumquat.dts | 279 ++++ board/netcube/kumquat/uboot.config | 56 + configs/netcube_kumquat_defconfig | 41 + ...cube_kumquat_defconfig-new-defconfig.patch | 1268 +++++++++++++++++ 14 files changed, 2400 insertions(+) create mode 100644 board/netcube/kumquat/extlinux.conf create mode 100644 board/netcube/kumquat/genimage.cfg create mode 100644 board/netcube/kumquat/linux-dts/sun8i-v3s-netcube-kumquat.dts create mode 100644 board/netcube/kumquat/linux.config create mode 100644 board/netcube/kumquat/patches/uboot/2024.10/0001-eth-sunxi-board-init-Try-to-load-macaddr-from-eeprom.patch create mode 100755 board/netcube/kumquat/post-build.sh create mode 100644 board/netcube/kumquat/readme.txt create mode 100644 board/netcube/kumquat/rootfs_overlay/etc/fw_env.config create mode 100755 board/netcube/kumquat/rootfs_overlay/etc/init.d/S35esphosted create mode 100644 board/netcube/kumquat/uboot-dts/sun8i-v3s-netcube-kumquat.dts create mode 100644 board/netcube/kumquat/uboot.config create mode 100644 configs/netcube_kumquat_defconfig create mode 100644 outgoing/0001-configs-netcube_kumquat_defconfig-new-defconfig.patch
DEVELOPERS +4 -0
@@ -2143,6 +2143,10 @@ F: support/legal-info/ N: Lucas De Marchi <[email protected]> F: package/fswebcam/ +N: Lukas Schmid <[email protected]> +F: board/netcube/ +F: configs/netcube_kumquat_defconfig + N: Lubomir Rintel <[email protected]> F: board/olpc/ F: configs/olpc_xo1_defconfig
board/netcube/kumquat/extlinux.conf new file +4 -0
@@ -0,0 +1,4 @@ +LABEL default + kernel /boot/zImage + fdt /boot/sun8i-v3s-netcube-kumquat.dtb + append root=PARTUUID=%PARTUUID% rootwait console=${console} rootfstype=ext4 panic=3 ${mtdparts}
board/netcube/kumquat/genimage.cfg new file +40 -0
@@ -0,0 +1,40 @@ +flash "w25q64" { + pebsize = 65536 + lebsize = 65408 + numpebs = 128 + minimum-io-unit-size = 1 + sub-page-size = 1 + vid-header-offset = 64 +} + +image nor-flash.img { + flash {} + flashtype = "w25q64" + + partition u-boot { + image = "u-boot-sunxi-with-spl.bin" + size = 1M + } + + partition u-boot-env1 { + image = "/dev/zero" + size = 512K + } + + partition u-boot-env2 { + image = "/dev/zero" + size = 512K + } +} + +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition rootfs { + bootable = "true" + image = "rootfs.ext4" + partition-uuid = %PARTUUID% + } +}
board/netcube/kumquat/linux-dts/sun8i-v3s-netcube-kumquat.dts new file +279 -0
279 lines not on this page · raw message
board/netcube/kumquat/linux.config new file +155 -0
155 lines not on this page · raw message
board/netcube/kumquat/patches/uboot/2024.10/0001-eth-sunxi-board-init-Try-to-load-macaddr-from-eeprom.patch new file +114 -0
114 lines not on this page · raw message
board/netcube/kumquat/post-build.sh new file +7 -0
@@ -0,0 +1,7 @@ +#!/bin/sh +BOARD_DIR="$(dirname "$0")" +PARTUUID="$("$HOST_DIR/bin/uuidgen")" + +install -d "$TARGET_DIR/boot/extlinux/" +sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf" +sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg" > "$BINARIES_DIR/genimage.cfg"
board/netcube/kumquat/readme.txt new file +71 -0
71 lines not on this page · raw message
board/netcube/kumquat/rootfs_overlay/etc/fw_env.config new file +11 -0
@@ -0,0 +1,11 @@ +# Configuration file for fw_(printenv/setenv) utility. +# Up to two entries are valid, in this case the redundant +# environment sector is assumed present. +# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. +# Futhermore, if the Flash sector size is omitted, this value is assumed to +# be the same as the Environment size, which is valid for NOR and SPI-dataflash +# Device offset must be prefixed with 0x to be parsed as a hexadecimal value. + +# MTD device name Device offset Env. size Flash sector size Number of sectors +/dev/mtd1 0x0000 0x40000 +/dev/mtd2 0x0000 0x40000
board/netcube/kumquat/rootfs_overlay/etc/init.d/S35esphosted new file +71 -0
71 lines not on this page · raw message
board/netcube/kumquat/uboot-dts/sun8i-v3s-netcube-kumquat.dts new file +279 -0
279 lines not on this page · raw message
board/netcube/kumquat/uboot.config new file +56 -0
56 lines not on this page · raw message
configs/netcube_kumquat_defconfig new file +41 -0
41 lines not on this page · raw message
outgoing/0001-configs-netcube_kumquat_defconfig-new-defconfig.patch new file +1268 -0
1,268 lines not on this page · raw message
Signature · 7 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot