configs/orangepi_5_plus: new board
PATCH 1/1 configs/orangepi_5_plus: new board
This patch adds basic support for the new OrangePi 5 Plus board:
- http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-plus-32GB.html
Brief summary of the board features:
- RK3588 Rockchip SoC
- Quad-Core ARM Cortex-A76 Processor 2.4GHz
- Quad-Core ARM Cortex-A55 Processor 1.8GHz
- Mali G610 GPU
- NPU 6 Tops INT4/INT8/INT16/FP16
- LPDDR4x: 8GB/16GB/32GB
- 2x USB 2.0
- 2x USB 3.0
- 2x HDMI out
- PCIe M.2 M-key socket (e.g. for NVMe)
- PCIe M.2 E-key socket (e.g. for WiFi/BT)
- 40-pin expansion interface (GPIO / UART / I2C / SPI / PWM / CAN / I2S)
- and much much more ...
BSP includes the following components:
- mainline ATF v2.12
- mainline U-Boot v2024.10
- mainline Linux kernel v6.12.x
Unlike all the other boards from board/orangepi directory, this board is not based on an Allwinner SoC. It is based on Rockchip RK3588 SoC. So custom scripts and configs are used instead of common options from the board/orangepi/common directory. Suggested scripts and configs are based on those of Radxa Rock5B board.
--- DEVELOPERS | 2 + board/orangepi/orangepi-5-plus/extlinux.conf | 4 ++ board/orangepi/orangepi-5-plus/genimage.cfg | 23 ++++++++ board/orangepi/orangepi-5-plus/linux.fragment | 9 +++ .../patches/linux-headers/linux-headers.hash | 1 + .../orangepi-5-plus/patches/linux/linux.hash | 2 + .../orangepi-5-plus/patches/uboot/uboot.hash | 2 + board/orangepi/orangepi-5-plus/post-build.sh | 5 ++ board/orangepi/orangepi-5-plus/readme.txt | 46 ++++++++++++++++ .../orangepi/orangepi-5-plus/u-boot.fragment | 5 ++ configs/orangepi_5_plus_defconfig | 55 +++++++++++++++++++ 11 files changed, 154 insertions(+) create mode 100644 board/orangepi/orangepi-5-plus/extlinux.conf create mode 100644 board/orangepi/orangepi-5-plus/genimage.cfg create mode 100644 board/orangepi/orangepi-5-plus/linux.fragment create mode 120000 board/orangepi/orangepi-5-plus/patches/linux-headers/linux-headers.hash create mode 100644 board/orangepi/orangepi-5-plus/patches/linux/linux.hash create mode 100644 board/orangepi/orangepi-5-plus/patches/uboot/uboot.hash create mode 100755 board/orangepi/orangepi-5-plus/post-build.sh create mode 100644 board/orangepi/orangepi-5-plus/readme.txt create mode 100644 board/orangepi/orangepi-5-plus/u-boot.fragment create mode 100644 configs/orangepi_5_plus_defconfig
DEVELOPERS +2 -0
@@ -2944,12 +2944,14 @@ F: package/sdbus-cpp/ N: Sergey Matyukevich <[email protected]> F: boot/arm-trusted-firmware/ F: board/linksprite/pcduino +F: board/orangepi/orangepi-5-plus F: board/orangepi/orangepi-zero F: board/orangepi/orangepi-one F: board/orangepi/orangepi-pc-plus/ F: board/orangepi/orangepi-zero-plus2/ F: board/orangepi/orangepi-zero2w/ F: configs/linksprite_pcduino_defconfig +F: configs/orangepi_5_plus_defconfig F: configs/orangepi_one_defconfig F: configs/orangepi_pc_plus_defconfig F: configs/orangepi_zero_defconfig
board/orangepi/orangepi-5-plus/extlinux.conf new file +4 -0
@@ -0,0 +1,4 @@ +label OrangePi 5 Plus Linux + kernel /boot/Image + devicetreedir /boot + append root=PARTLABEL=rootfs earlycon rootwait panic=10
board/orangepi/orangepi-5-plus/genimage.cfg new file +23 -0
@@ -0,0 +1,23 @@ +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition uboot { + in-partition-table = "false" + image = "u-boot-rockchip.bin" + offset = 32K + } + + partition uboot-env { + partition-type-uuid = 3de21764-95bd-54bd-a5c3-4abe786f38a8 + offset = 16M + size = 64K + } + + partition rootfs { + partition-type-uuid = L + image = "rootfs.ext2" + bootable = true + } +}
board/orangepi/orangepi-5-plus/linux.fragment new file +9 -0
@@ -0,0 +1,9 @@ +# net +CONFIG_R8169=y +CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=y + +# usbcam +CONFIG_MEDIA_CAMERA_SUPPORT=y +CONFIG_MEDIA_USB_SUPPORT=y +CONFIG_USB_VIDEO_CLASS=y +CONFIG_UVC_COMMON=y
board/orangepi/orangepi-5-plus/patches/linux-headers/linux-headers.hash new file +1 -0
@@ -0,0 +1 @@ +../linux/linux.hash
board/orangepi/orangepi-5-plus/patches/linux/linux.hash new file +2 -0
@@ -0,0 +1,2 @@ +# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc +sha256 6f35f821433d8421be7167990747c7c4a0c451958fb96883446301af13d71152 linux-6.12.4.tar.xz
board/orangepi/orangepi-5-plus/patches/uboot/uboot.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
board/orangepi/orangepi-5-plus/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 "$TARGET_DIR"/boot/extlinux/extlinux.conf
board/orangepi/orangepi-5-plus/readme.txt new file +46 -0
46 lines not on this page · raw message
board/orangepi/orangepi-5-plus/u-boot.fragment new file +5 -0
@@ -0,0 +1,5 @@ +CONFIG_ENV_SIZE=0x10000 +CONFIG_PARTITION_TYPE_GUID=y +# CONFIG_ENV_IS_NOWHERE is not set +CONFIG_ENV_IS_IN_MMC=y +CONFIG_SYS_MMC_ENV_DEV=1
configs/orangepi_5_plus_defconfig new file +55 -0
55 lines not on this page · raw message
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 25 lines · Sergey Matyukevich
This patch adds basic support for the new OrangePi 5 Plus board:
-
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-plus-32GB.htmlBrief summary of the board features:
- RK3588 Rockchip SoC
- Quad-Core ARM Cortex-A76 Processor 2.4GHz
- Quad-Core ARM Cortex-A55 Processor 1.8GHz
- Mali G610 GPU
- NPU 6 Tops INT4/INT8/INT16/FP16
- LPDDR4x: 8GB/16GB/32GB
- 2x USB 2.0
- 2x USB 3.0
- 2x HDMI out
- PCIe M.2 M-key socket (e.g. for NVMe)
- PCIe M.2 E-key socket (e.g. for WiFi/BT)
- 40-pin expansion interface (GPIO / UART / I2C / SPI / PWM / CAN / I2S)
- and much much more ...BSP includes the following components:
- mainline ATF v2.12
- mainline U-Boot v2024.10
- mainline Linux kernel v6.12.x
Quoted 7 lines
Unlike all the other boards from board/orangepi directory, this board is not based on an Allwinner SoC. It is based on Rockchip RK3588 SoC. So custom scripts and configs are used instead of common options from the board/orangepi/common directory. Suggested scripts and configs are based on those of Radxa Rock5B board.
Signed-off-by Sergey Matyukevich <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 30 lines · Julien Olivain
Quoted 29 lines · Sergey Matyukevich
This patch adds basic support for the new OrangePi 5 Plus board:
- http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-plus-32GB.htmlBrief summary of the board features:
- RK3588 Rockchip SoC
- Quad-Core ARM Cortex-A76 Processor 2.4GHz
- Quad-Core ARM Cortex-A55 Processor 1.8GHz
- Mali G610 GPU
- NPU 6 Tops INT4/INT8/INT16/FP16
- LPDDR4x: 8GB/16GB/32GB
- 2x USB 2.0
- 2x USB 3.0
- 2x HDMI out
- PCIe M.2 M-key socket (e.g. for NVMe)
- PCIe M.2 E-key socket (e.g. for WiFi/BT)
- 40-pin expansion interface (GPIO / UART / I2C / SPI / PWM / CAN / I2S)
- and much much more ...BSP includes the following components:
- mainline ATF v2.12
- mainline U-Boot v2024.10
- mainline Linux kernel v6.12.xUnlike all the other boards from board/orangepi directory, this board is not based on an Allwinner SoC. It is based on Rockchip RK3588 SoC. So custom scripts and configs are used instead of common options from the board/orangepi/common directory. Suggested scripts and configs are based on those of Radxa Rock5B board.
Quoted 3 lines
Quoted 1 line
Signed-off-by Sergey Matyukevich <[email protected]>Applied to master, thanks.
Thanks !
Unfortunately, your minor cleanup 'switch to human readable genimage.cfg partition type uuid' breaks the build:
: >>> Executing post-image script support/scripts/genimage.sh
: ...
: ERROR: hdimage(sdcard.img): part uboot-env has invalid type shortcut: u-boot-env
Latest available genimage release does not yet provide the GUID shortcut for 'u-boot-env'. So I sent a fixup to keep using the GUID value directly:
- https://lore.kernel.org/buildroot/[email protected]/T/#u
Regards,
Sergey
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Sergey,
Quoted 44 lines · Sergey Matyukevich
Quoted 30 lines · Julien Olivain
Quoted 29 lines · Sergey Matyukevich
This patch adds basic support for the new OrangePi 5 Plus board:
- http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-plus-32GB.htmlBrief summary of the board features:
- RK3588 Rockchip SoC
- Quad-Core ARM Cortex-A76 Processor 2.4GHz
- Quad-Core ARM Cortex-A55 Processor 1.8GHz
- Mali G610 GPU
- NPU 6 Tops INT4/INT8/INT16/FP16
- LPDDR4x: 8GB/16GB/32GB
- 2x USB 2.0
- 2x USB 3.0
- 2x HDMI out
- PCIe M.2 M-key socket (e.g. for NVMe)
- PCIe M.2 E-key socket (e.g. for WiFi/BT)
- 40-pin expansion interface (GPIO / UART / I2C / SPI / PWM / CAN / I2S)
- and much much more ...BSP includes the following components:
- mainline ATF v2.12
- mainline U-Boot v2024.10
- mainline Linux kernel v6.12.xUnlike all the other boards from board/orangepi directory, this board is not based on an Allwinner SoC. It is based on Rockchip RK3588 SoC. So custom scripts and configs are used instead of common options from the board/orangepi/common directory. Suggested scripts and configs are based on those of Radxa Rock5B board.
Quoted 3 lines
Quoted 1 line
Signed-off-by Sergey Matyukevich <[email protected]>Applied to master, thanks.
Thanks !
Unfortunately, your minor cleanup 'switch to human readable genimage.cfg partition type uuid' breaks the build:
: >>> Executing post-image script
support/scripts/genimage.sh
: ...
: ERROR: hdimage(sdcard.img): part uboot-env has invalid type shortcut: u-boot-env
Quoted 5 lines
Latest available genimage release does not yet provide the GUID shortcut for 'u-boot-env'. So I sent a fixup to keep using the GUID value directly:
Sorry for my non-improvement ;) and thanks for the fix!
Quoted 2 lines
Regards,
Sergey
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot