board/friendlyarm: Add initial support for NanoPc T4 board
PATCH v3 1/1 board/friendlyarm: Add initial support for NanoPc T4 board
This initial support includes:
Linux 5.1
Custom U-Boot
Arm Trusted Firmware v2.0
Buildroot default packages
---
Changelogs:V1->V2: Use linux 5.1
Add empty line after section header
Add space after # in defconfig
Fix alphabetical order in DEVELOPERS file
V2->V3: Fix alphabetical order in DEVELOPERS file
--- .gitlab-ci.yml | 1 + DEVELOPERS | 10 +++--- board/friendlyarm/nanopc-t4/extlinux.conf | 4 +++ board/friendlyarm/nanopc-t4/genimage.cfg | 22 +++++++++++++ board/friendlyarm/nanopc-t4/post-build.sh | 8 +++++ board/friendlyarm/nanopc-t4/readme.txt | 49 +++++++++++++++++++++++++++ configs/nanopc_t4_defconfig | 55 +++++++++++++++++++++++++++++++ 7 files changed, 145 insertions(+), 4 deletions(-) create mode 100644 board/friendlyarm/nanopc-t4/extlinux.conf create mode 100644 board/friendlyarm/nanopc-t4/genimage.cfg create mode 100755 board/friendlyarm/nanopc-t4/post-build.sh create mode 100644 board/friendlyarm/nanopc-t4/readme.txt create mode 100644 configs/nanopc_t4_defconfig
.gitlab-ci.yml +1 -0
@@ -176,6 +176,7 @@ mx53loco_defconfig: { extends: .defconfig } mx6cubox_defconfig: { extends: .defconfig } mx6sx_udoo_neo_defconfig: { extends: .defconfig } mx6udoo_defconfig: { extends: .defconfig } +nanopc_t4_defconfig: { extends: .defconfig } nanopi_m1_defconfig: { extends: .defconfig } nanopi_m1_plus_defconfig: { extends: .defconfig } nanopi_m4_defconfig: { extends: .defconfig }
DEVELOPERS +6 -4
@@ -2042,12 +2042,14 @@ F: package/ubus/ F: package/wolfssl/ N: Shyam Saini <[email protected]> -F: board/friendlyarm/nanopi-m4/ -F: configs/nanopi_m4_defconfig -F: board/orangepi/orangepi-rk3399/ -F: configs/orangepi_rk3399_defconfig +F: board/friendlyarm/nanopc-t4/ +F: board/friendlyarm/nanopi-m4/ F: board/olimex/a33_olinuxino/ +F: board/orangepi/orangepi-rk3399/ +F: configs/nanopc_t4_defconfig +F: configs/nanopi_m4_defconfig F: configs/olimex_a33_olinuxino_defconfig +F: configs/orangepi_rk3399_defconfig N: Simon Dawson <[email protected]> F: boot/at91bootstrap3/
board/friendlyarm/nanopc-t4/extlinux.conf new file +4 -0
@@ -0,0 +1,4 @@ +label NanoPc T4 + kernel /boot/Image + devicetree /boot/rk3399-nanopc-t4.dtb + append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk1p1 rootwait
board/friendlyarm/nanopc-t4/genimage.cfg new file +22 -0
@@ -0,0 +1,22 @@ +image sdcard.img { + hdimage { + } + + partition u-boot-spl-dtb { + in-partition-table = "no" + image = "u-boot-spl-dtb.img" + offset = 32K + } + + partition u-boot-dtb { + in-partition-table = "no" + image = "u-boot.itb" + offset = 8M + size = 30M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/friendlyarm/nanopc-t4/post-build.sh new file +8 -0
@@ -0,0 +1,8 @@ +#!/bin/sh + +MKIMAGE=$HOST_DIR/bin/mkimage +BOARD_DIR="$(dirname $0)" + +$MKIMAGE -n rk3399 -T rksd -d $BINARIES_DIR/u-boot-spl-dtb.bin $BINARIES_DIR/u-boot-spl-dtb.img + +install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf
board/friendlyarm/nanopc-t4/readme.txt new file +49 -0
49 lines not on this page · raw message
configs/nanopc_t4_defconfig new file +55 -0
55 lines not on this page · raw message
Signature · 1 line
2.11.0
PATCH v3 1/1 board/friendlyarm: Add initial support for NanoPc T4 board
Hello Shyam,
Quoted 6 lines · On Tue, 4 Jun 2019 13:20:37 +0530 Shyam Saini…
This initial support includes:
Linux 5.1
Custom U-Boot
Arm Trusted Firmware v2.0
Buildroot default packages
Quoted 7 lines
Signed-off-by Shyam Saini <[email protected]>---
Changelogs:V1->V2: Use linux 5.1
Add empty line after section header
Add space after # in defconfig
Fix alphabetical order in DEVELOPERS file
I've applied, after fixing the commit title, switching to BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1=y, and using the default ext2 filesystem size.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com