Add support for radxa rk3399 and rk3399pro based targets
v2 cover Add support for radxa rk3399 and rk3399pro based targets
This patch series adds support for targets based on rk3399 SOC from radxa.
Here is the previous version of this series[1].
patch #1, adds support for rockpi_n10 base board hosting a RK3399pro SOM. patch #2, adds support for rockpi_4 targets(Model A, B, C) based on rk3399 SOC.
Changes for v2:
- renamed and updated defconfig from rockpi_4c to rock_pi_4 and board folder from rockpi-4c to rockpi-4, so that this will be valid to board Models A, B, C.
- renamed defconfig from rockpi_n10 to rock_pi_n10
- Changed commit description.
- updated gitlab-ci.yml.
- updated DEVELOPERS.
- updated readme.
- updated extlinux.conf.
[1] http://patchwork.ozlabs.org/project/buildroot/cover/1592369606-14872-1-git-send-email-sunil at amarulasolutions.com/
Suniel Mahesh (2):
configs/rock_pi_n10: new defconfig
configs/rock_pi_4: new defconfig
.gitlab-ci.yml | 2 ++ DEVELOPERS | 4 +++ board/radxa/rockpi-4/extlinux.conf | 4 +++ board/radxa/rockpi-4/genimage.cfg | 39 +++++++++++++++++++++++ board/radxa/rockpi-4/post-build.sh | 5 +++ board/radxa/rockpi-4/readme.txt | 61 ++++++++++++++++++++++++++++++++++++ board/radxa/rockpi-n10/extlinux.conf | 4 +++ board/radxa/rockpi-n10/genimage.cfg | 39 +++++++++++++++++++++++ board/radxa/rockpi-n10/post-build.sh | 5 +++ board/radxa/rockpi-n10/readme.txt | 56 +++++++++++++++++++++++++++++++++ configs/rock_pi_4_defconfig | 57 +++++++++++++++++++++++++++++++++ configs/rock_pi_n10_defconfig | 57 +++++++++++++++++++++++++++++++++ 12 files changed, 333 insertions(+) create mode 100644 board/radxa/rockpi-4/extlinux.conf create mode 100644 board/radxa/rockpi-4/genimage.cfg create mode 100755 board/radxa/rockpi-4/post-build.sh create mode 100644 board/radxa/rockpi-4/readme.txt create mode 100644 board/radxa/rockpi-n10/extlinux.conf create mode 100644 board/radxa/rockpi-n10/genimage.cfg create mode 100755 board/radxa/rockpi-n10/post-build.sh create mode 100644 board/radxa/rockpi-n10/readme.txt create mode 100644 configs/rock_pi_4_defconfig create mode 100644 configs/rock_pi_n10_defconfig
Signature · 1 line
2.7.4
PATCH v2 1/2 configs/rock_pi_n10: new defconfig
Add initial support for RK3399PRO SOM based rockpi-n10 target with below features:
- Custom U-Boot 2020.07-rc4
https://github.com/amarula/u-boot-amarula.git
branch rock-pi
- Linux 5.7.2
- GPT partition layout is being used
- Default packages from buildroot
---
Changes for v2:
- renamed defconfig from rockpi_n10 to rock_pi_n10
- updated gitlab-ci.yml
- updated DEVELOPERS
- updated readme
- updated extlinux.conf
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/radxa/rockpi-n10/extlinux.conf | 4 +++ board/radxa/rockpi-n10/genimage.cfg | 39 ++++++++++++++++++++++++ board/radxa/rockpi-n10/post-build.sh | 5 ++++ board/radxa/rockpi-n10/readme.txt | 56 +++++++++++++++++++++++++++++++++++ configs/rock_pi_n10_defconfig | 57 ++++++++++++++++++++++++++++++++++++ 7 files changed, 164 insertions(+) create mode 100644 board/radxa/rockpi-n10/extlinux.conf create mode 100644 board/radxa/rockpi-n10/genimage.cfg create mode 100755 board/radxa/rockpi-n10/post-build.sh create mode 100644 board/radxa/rockpi-n10/readme.txt create mode 100644 configs/rock_pi_n10_defconfig
.gitlab-ci.yml +1 -0
@@ -323,6 +323,7 @@ riotboard_defconfig: { extends: .defconfig } roc_pc_rk3399_defconfig: { extends: .defconfig } rock64_defconfig: { extends: .defconfig } rockpro64_defconfig: { extends: .defconfig } +rock_pi_n10_defconfig: { extends: .defconfig } roseapplepi_defconfig: { extends: .defconfig } s6lx9_microboard_defconfig: { extends: .defconfig } sheevaplug_defconfig: { extends: .defconfig }
DEVELOPERS +2 -0
@@ -2396,11 +2396,13 @@ F: board/firefly/ F: board/friendlyarm/nanopc-t4 F: board/friendlyarm/nanopi-m4 F: board/orangepi/orangepi-rk3399 +F: board/radxa/rockpi-n10 F: board/pine64/rockpro64 F: configs/nanopc_t4_defconfig F: configs/nanopi_m4_defconfig F: configs/orangepi_rk3399_defconfig F: configs/roc_pc_rk3399_defconfig +F: configs/rock_pi_n10_defconfig F: configs/rockpro64_defconfig F: package/arm-gnu-a-toolchain/
board/radxa/rockpi-n10/extlinux.conf new file +4 -0
@@ -0,0 +1,4 @@ +label RK3399_ROCK_PI_N10 linux + kernel /Image + devicetree /rk3399pro-rock-pi-n10.dtb + append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk0p4 rw rootwait
board/radxa/rockpi-n10/genimage.cfg new file +39 -0
@@ -0,0 +1,39 @@ +image boot.vfat { + vfat { + files = { + "Image", + "rk3399pro-rock-pi-n10.dtb", + "extlinux" + } + } + size = 112M +} + +image sdcard.img { + + hdimage { + gpt = true + } + + partition loader1 { + image = "idbloader.img" + offset = 32K + } + + partition loader2 { + image = "u-boot.itb" + offset = 8M + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 16M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/radxa/rockpi-n10/post-build.sh new file +5 -0
@@ -0,0 +1,5 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
board/radxa/rockpi-n10/readme.txt new file +56 -0
56 lines not on this page · raw message
configs/rock_pi_n10_defconfig new file +57 -0
57 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH v2 2/2 configs/rock_pi_4: new defconfig
In reply to Suniel MaheshAdd initial support for RK3399 based rockpi-4 targets (model A, B, C) with below features:
- Custom U-Boot 2020.07-rc4
https://github.com/amarula/u-boot-amarula.git
branch rock-pi
- Linux 5.4.46
- GPT partition layout is being used
- Default packages from buildroot
---
Changes for v2:
- renamed and updated defconfig from rockpi_4c to rock_pi_4 and board folder from rockpi-4c to rockpi-4, so that this will be valid to board Models A, B, C.
- Changed commit description.
- updated gitlab-ci.yml.
- updated DEVELOPERS.
- updated readme.
- updated extlinux.conf.
--- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/radxa/rockpi-4/extlinux.conf | 4 +++ board/radxa/rockpi-4/genimage.cfg | 39 ++++++++++++++++++++++++ board/radxa/rockpi-4/post-build.sh | 5 ++++ board/radxa/rockpi-4/readme.txt | 61 ++++++++++++++++++++++++++++++++++++++ configs/rock_pi_4_defconfig | 57 +++++++++++++++++++++++++++++++++++ 7 files changed, 169 insertions(+) create mode 100644 board/radxa/rockpi-4/extlinux.conf create mode 100644 board/radxa/rockpi-4/genimage.cfg create mode 100755 board/radxa/rockpi-4/post-build.sh create mode 100644 board/radxa/rockpi-4/readme.txt create mode 100644 configs/rock_pi_4_defconfig
.gitlab-ci.yml +1 -0
@@ -323,6 +323,7 @@ riotboard_defconfig: { extends: .defconfig } roc_pc_rk3399_defconfig: { extends: .defconfig } rock64_defconfig: { extends: .defconfig } rockpro64_defconfig: { extends: .defconfig } +rock_pi_4_defconfig: { extends: .defconfig } rock_pi_n10_defconfig: { extends: .defconfig } roseapplepi_defconfig: { extends: .defconfig } s6lx9_microboard_defconfig: { extends: .defconfig }
DEVELOPERS +2 -0
@@ -2396,12 +2396,14 @@ F: board/firefly/ F: board/friendlyarm/nanopc-t4 F: board/friendlyarm/nanopi-m4 F: board/orangepi/orangepi-rk3399 +F: board/radxa/rockpi-4 F: board/radxa/rockpi-n10 F: board/pine64/rockpro64 F: configs/nanopc_t4_defconfig F: configs/nanopi_m4_defconfig F: configs/orangepi_rk3399_defconfig F: configs/roc_pc_rk3399_defconfig +F: configs/rock_pi_4_defconfig F: configs/rock_pi_n10_defconfig F: configs/rockpro64_defconfig F: package/arm-gnu-a-toolchain/
board/radxa/rockpi-4/extlinux.conf new file +4 -0
@@ -0,0 +1,4 @@ +label RK3399_ROCK_PI_4 linux + kernel /Image + devicetree /rk3399-rock-pi-4.dtb + append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk1p4 rw rootwait
board/radxa/rockpi-4/genimage.cfg new file +39 -0
@@ -0,0 +1,39 @@ +image boot.vfat { + vfat { + files = { + "Image", + "rk3399-rock-pi-4.dtb", + "extlinux" + } + } + size = 112M +} + +image sdcard.img { + + hdimage { + gpt = true + } + + partition loader1 { + image = "idbloader.img" + offset = 32K + } + + partition loader2 { + image = "u-boot.itb" + offset = 8M + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 16M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/radxa/rockpi-4/post-build.sh new file +5 -0
@@ -0,0 +1,5 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
board/radxa/rockpi-4/readme.txt new file +61 -0
61 lines not on this page · raw message
configs/rock_pi_4_defconfig new file +57 -0
57 lines not on this page · raw message
Signature · 1 line
2.7.4