Initial Commit
- initial default booting image
This commit is contained in:
4
board/orangepi/orangepi-5-plus/extlinux.conf
Normal file
4
board/orangepi/orangepi-5-plus/extlinux.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
label OrangePi 5 Plus Linux
|
||||
kernel /boot/Image
|
||||
devicetreedir /boot
|
||||
append root=PARTLABEL=rootfs earlycon rootwait panic=10
|
||||
23
board/orangepi/orangepi-5-plus/genimage.cfg
Normal file
23
board/orangepi/orangepi-5-plus/genimage.cfg
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
9
board/orangepi/orangepi-5-plus/linux.fragment
Normal file
9
board/orangepi/orangepi-5-plus/linux.fragment
Normal file
@@ -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
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 06b35a3596b8417bf66f7bfdd7acd181bcb53fc36dc13216227b5cae154e0219 arm-trusted-firmware-v2.12-git4.tar.gz
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/orangepi/orangepi-5-plus/patches/linux/linux.hash
Normal file
2
board/orangepi/orangepi-5-plus/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 6f35f821433d8421be7167990747c7c4a0c451958fb96883446301af13d71152 linux-6.12.4.tar.xz
|
||||
2
board/orangepi/orangepi-5-plus/patches/uboot/uboot.hash
Normal file
2
board/orangepi/orangepi-5-plus/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
5
board/orangepi/orangepi-5-plus/post-build.sh
Executable file
5
board/orangepi/orangepi-5-plus/post-build.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname "$0")"
|
||||
|
||||
install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$TARGET_DIR"/boot/extlinux/extlinux.conf
|
||||
46
board/orangepi/orangepi-5-plus/readme.txt
Normal file
46
board/orangepi/orangepi-5-plus/readme.txt
Normal file
@@ -0,0 +1,46 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration allows to start experimenting with the Buildroot
|
||||
environment for the OrangePi 5 Plus board. Default configuration brings up
|
||||
the board and allows access through the serial console.
|
||||
|
||||
Orangepi 5 Plus links:
|
||||
- http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-plus-32GB.html
|
||||
|
||||
Upstream support
|
||||
================
|
||||
|
||||
Linux v6.12.x provides a good starting point for experiments with this board.
|
||||
All the basic features are already enabled including all the basic low-speed
|
||||
I2C/SPI/PWM peripherals, ethernet networking, USB 2.0, PCIe, eMMC, Audio.
|
||||
However advanced features such as graphics, display controllers, multimedia
|
||||
codecs, camera and image processing units are still in work. For details and
|
||||
updates check RK3588 hardware enablement status at Collabora gitlab, see:
|
||||
|
||||
- https://gitlab.collabora.com/hardware-enablement/rockchip-3588/notes-for-rockchip-3588/-/blob/main/mainline-status.md
|
||||
|
||||
Also keep an eye on RK3588 updates in kernel release announcements, e.g.
|
||||
- https://kernelnewbies.org/Linux_6.12
|
||||
|
||||
How to Build
|
||||
============
|
||||
$ make orangepi_5_plus_defconfig
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished there will be an image called
|
||||
"sdcard.img" in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX status=progress
|
||||
$ sudo sync
|
||||
|
||||
Insert the micro SDcard into the Orangepi 5 Plus board and power it up.
|
||||
The console is on the TTL Debug UART 3-pin connector which is located
|
||||
near RTC connector and Type-C Power port.
|
||||
|
||||
Note that baudrate for this board is 1500000 8N1.
|
||||
5
board/orangepi/orangepi-5-plus/u-boot.fragment
Normal file
5
board/orangepi/orangepi-5-plus/u-boot.fragment
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user