Initial Commit
- initial default booting image
This commit is contained in:
4
board/orangepi/common/extlinux.conf
Normal file
4
board/orangepi/common/extlinux.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
LABEL default
|
||||
kernel /boot/%LINUXIMAGE%
|
||||
devicetreedir /boot
|
||||
append root=PARTUUID=%PARTUUID% rootwait console=${console} rootfstype=ext4 quiet panic=10
|
||||
20
board/orangepi/common/genimage.cfg
Normal file
20
board/orangepi/common/genimage.cfg
Normal file
@@ -0,0 +1,20 @@
|
||||
image sdcard.img {
|
||||
partition u-boot {
|
||||
in-partition-table = false
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8K
|
||||
size = 1000K # 1MB - 8KB(offset) - 16KB(GPT)
|
||||
}
|
||||
|
||||
hdimage {
|
||||
partition-table-type = "gpt"
|
||||
gpt-location = 1008K # 1MB - 16KB(GPT)
|
||||
gpt-no-backup = true
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
offset = 1M
|
||||
image = "rootfs.ext4"
|
||||
partition-uuid = %PARTUUID%
|
||||
}
|
||||
}
|
||||
34
board/orangepi/common/post-build.sh
Executable file
34
board/orangepi/common/post-build.sh
Executable file
@@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
linux_image()
|
||||
{
|
||||
if grep -Eq "^BR2_LINUX_KERNEL_UIMAGE=y$" ${BR2_CONFIG}; then
|
||||
echo "uImage"
|
||||
elif grep -Eq "^BR2_LINUX_KERNEL_IMAGE=y$" ${BR2_CONFIG}; then
|
||||
echo "Image"
|
||||
elif grep -Eq "^BR2_LINUX_KERNEL_IMAGEGZ=y$" ${BR2_CONFIG}; then
|
||||
echo "Image.gz"
|
||||
else
|
||||
echo "zImage"
|
||||
fi
|
||||
}
|
||||
|
||||
generic_getty()
|
||||
{
|
||||
if grep -Eq "^BR2_TARGET_GENERIC_GETTY=y$" ${BR2_CONFIG}; then
|
||||
echo ""
|
||||
else
|
||||
echo "s/\s*console=\S*//"
|
||||
fi
|
||||
}
|
||||
|
||||
PARTUUID="$($HOST_DIR/bin/uuidgen)"
|
||||
|
||||
install -d "$TARGET_DIR/boot/extlinux/"
|
||||
|
||||
sed -e "$(generic_getty)" \
|
||||
-e "s/%LINUXIMAGE%/$(linux_image)/g" \
|
||||
-e "s/%PARTUUID%/$PARTUUID/g" \
|
||||
"board/orangepi/common/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf"
|
||||
|
||||
sed "s/%PARTUUID%/$PARTUUID/g" "board/orangepi/common/genimage.cfg" > "$BINARIES_DIR/genimage.cfg"
|
||||
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
|
||||
15
board/orangepi/orangepi-lite/linux-extras.config
Normal file
15
board/orangepi/orangepi-lite/linux-extras.config
Normal file
@@ -0,0 +1,15 @@
|
||||
# wireless core
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_MAC80211=y
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
|
||||
# wireless drivers
|
||||
CONFIG_WLAN=y
|
||||
|
||||
# hdmi
|
||||
CONFIG_DRM_SUN8I_DW_HDMI=y
|
||||
CONFIG_SUN8I_DE2_CCU=y
|
||||
|
||||
# analog audio
|
||||
CONFIG_SND_SUN8I_CODEC_ANALOG=y
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/orangepi/orangepi-lite/patches/linux/linux.hash
Normal file
2
board/orangepi/orangepi-lite/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b21d5795a3bead4f112916423222faa8a0f519e4201df343e3eb88dc9e4aaa30 linux-6.6.16.tar.xz
|
||||
2
board/orangepi/orangepi-lite/patches/uboot/uboot.hash
Normal file
2
board/orangepi/orangepi-lite/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 u-boot-2024.01.tar.bz2
|
||||
29
board/orangepi/orangepi-lite/readme.txt
Normal file
29
board/orangepi/orangepi-lite/readme.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
OrangePi Lite
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the OrangePi Lite. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make orangepi_lite_defconfig
|
||||
|
||||
Compile everything and build the SD card image:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have 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
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/orangepi/orangepi-one/patches/linux/linux.hash
Normal file
2
board/orangepi/orangepi-one/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 c89809cc777d50f1ea484a118630281a26383707a0e752c96fd834f6e765deae linux-6.12.3.tar.xz
|
||||
2
board/orangepi/orangepi-one/patches/uboot/uboot.hash
Normal file
2
board/orangepi/orangepi-one/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
29
board/orangepi/orangepi-one/readme.txt
Normal file
29
board/orangepi/orangepi-one/readme.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
OrangePi One
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the OrangePi One. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make orangepi_one_defconfig
|
||||
|
||||
Compile everything and build the SD card image:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have 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
|
||||
8
board/orangepi/orangepi-pc-plus/linux-extras.config
Normal file
8
board/orangepi/orangepi-pc-plus/linux-extras.config
Normal file
@@ -0,0 +1,8 @@
|
||||
# wireless core
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_MAC80211=y
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
|
||||
# wireless drivers
|
||||
CONFIG_WLAN=y
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/orangepi/orangepi-pc-plus/patches/linux/linux.hash
Normal file
2
board/orangepi/orangepi-pc-plus/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 c89809cc777d50f1ea484a118630281a26383707a0e752c96fd834f6e765deae linux-6.12.3.tar.xz
|
||||
2
board/orangepi/orangepi-pc-plus/patches/uboot/uboot.hash
Normal file
2
board/orangepi/orangepi-pc-plus/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
29
board/orangepi/orangepi-pc-plus/readme.txt
Normal file
29
board/orangepi/orangepi-pc-plus/readme.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
OrangePi PC Plus
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the OrangePi PC Plus. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make orangepi_pc_plus_defconfig
|
||||
|
||||
Compile everything and build the SD card image:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have 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
|
||||
3
board/orangepi/orangepi-pc/linux.fragment
Normal file
3
board/orangepi/orangepi-pc/linux.fragment
Normal file
@@ -0,0 +1,3 @@
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
|
||||
CONFIG_REGULATOR_SY8106A=y
|
||||
CONFIG_SUN8I_DE2_CCU=y
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/orangepi/orangepi-pc/patches/linux/linux.hash
Normal file
2
board/orangepi/orangepi-pc/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 880ace63ca2291b8b639e9bd862cc828649d3e1e00ccfee5861473debd2e4dec linux-6.1.91.tar.xz
|
||||
2
board/orangepi/orangepi-pc/patches/uboot/uboot.hash
Normal file
2
board/orangepi/orangepi-pc/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 u-boot-2024.01.tar.bz2
|
||||
29
board/orangepi/orangepi-pc/readme.txt
Normal file
29
board/orangepi/orangepi-pc/readme.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
OrangePi PC
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the OrangePi PC. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make orangepi_pc_defconfig
|
||||
|
||||
Compile everything and build the SD card image:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have 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
|
||||
37
board/orangepi/orangepi-pc2/readme.txt
Normal file
37
board/orangepi/orangepi-pc2/readme.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the Orangepi PC2. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
Orangepi PC2 link:
|
||||
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-PC-2.html
|
||||
|
||||
Sunxi Wiki link:
|
||||
https://linux-sunxi.org/Xunlong_Orange_Pi_PC_2
|
||||
|
||||
This configuration uses U-Boot mainline and kernel mainline.
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make orangepi_pc2_defconfig
|
||||
$ make
|
||||
|
||||
Note: you will need access to the internet to download the required
|
||||
sources.
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have 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
|
||||
$ sudo sync
|
||||
|
||||
Insert the micro SDcard in your Orangepi PC2 and power it up. The console
|
||||
is on the serial line, 115200 8N1.
|
||||
8
board/orangepi/orangepi-r1/boot.cmd
Normal file
8
board/orangepi/orangepi-r1/boot.cmd
Normal file
@@ -0,0 +1,8 @@
|
||||
setenv fdt_high ffffffff
|
||||
|
||||
setenv bootargs console=ttyS0,115200 earlyprintk root=PARTLABEL=rootfs rootwait
|
||||
|
||||
fatload mmc 0 $kernel_addr_r zImage
|
||||
fatload mmc 0 $fdt_addr_r sun8i-h2-plus-orangepi-r1.dtb
|
||||
|
||||
bootz $kernel_addr_r - $fdt_addr_r
|
||||
43
board/orangepi/orangepi-r1/genimage.cfg
Normal file
43
board/orangepi/orangepi-r1/genimage.cfg
Normal file
@@ -0,0 +1,43 @@
|
||||
# Minimal SD card image for the OrangePi R1
|
||||
#
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"sun8i-h2-plus-orangepi-r1.dtb",
|
||||
"boot.scr"
|
||||
}
|
||||
}
|
||||
|
||||
size = 10M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
# for root=PARTLABEL support
|
||||
partition-table-type = "gpt"
|
||||
# default GPT location conflicts with spl, move it after
|
||||
gpt-location = 1M
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8K
|
||||
size = 1016K # 1MB - 8KB
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type-uuid = F
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
# 'rootfs' will be used as the partition label, used
|
||||
# with root=PARTLABEL=rootfs kernel command line
|
||||
partition rootfs {
|
||||
partition-type-uuid = L
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
11
board/orangepi/orangepi-r1/linux-extras.config
Normal file
11
board/orangepi/orangepi-r1/linux-extras.config
Normal file
@@ -0,0 +1,11 @@
|
||||
# spi nor
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_OF_PARTS=y
|
||||
CONFIG_MTD_SPI_NOR=y
|
||||
CONFIG_MTD_M25P80=y
|
||||
|
||||
# ondemand cpufreq governor
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
|
||||
|
||||
# USB ethernet
|
||||
CONFIG_USB_RTL8152=y
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/orangepi/orangepi-r1/patches/linux/linux.hash
Normal file
2
board/orangepi/orangepi-r1/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 d6ecff966f8c95ec4cb3bb303904f757b7de6a6bcfef0d0771cb852158e61c20 linux-6.6.31.tar.xz
|
||||
2
board/orangepi/orangepi-r1/patches/uboot/uboot.hash
Normal file
2
board/orangepi/orangepi-r1/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 u-boot-2024.01.tar.bz2
|
||||
29
board/orangepi/orangepi-r1/readme.txt
Normal file
29
board/orangepi/orangepi-r1/readme.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
OrangePi R1
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the OrangePi R1. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make orangepi_r1_defconfig
|
||||
|
||||
Compile everything and build the SD card image:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have 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
|
||||
34
board/orangepi/orangepi-zero-plus/readme.txt
Normal file
34
board/orangepi/orangepi-zero-plus/readme.txt
Normal file
@@ -0,0 +1,34 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the Orangepi Zero Plus. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
Orangepi Zero Plus link:
|
||||
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-Plus.html
|
||||
|
||||
This configuration uses U-Boot mainline and kernel mainline.
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make orangepi_zero_plus_defconfig
|
||||
$ make
|
||||
|
||||
Note: you will need access to the internet to download the required
|
||||
sources.
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have 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
|
||||
$ sudo sync
|
||||
|
||||
Insert the micro SDcard in your Orangepi Zero Plus and power it up. The console
|
||||
is on the serial line, 115200 8N1.
|
||||
10
board/orangepi/orangepi-zero-plus2/linux-extras.config
Normal file
10
board/orangepi/orangepi-zero-plus2/linux-extras.config
Normal file
@@ -0,0 +1,10 @@
|
||||
# wireless core
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_MAC80211=y
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
|
||||
# wireless drivers
|
||||
CONFIG_WLAN=y
|
||||
CONFIG_WLAN_VENDOR_BROADCOM=y
|
||||
CONFIG_BRCMFMAC=m
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 c89809cc777d50f1ea484a118630281a26383707a0e752c96fd834f6e765deae linux-6.12.3.tar.xz
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
37
board/orangepi/orangepi-zero-plus2/readme.txt
Normal file
37
board/orangepi/orangepi-zero-plus2/readme.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the Orangepi Zero Plus2. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
Orangepi Zero Plus2 link:
|
||||
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-Plus-2.html
|
||||
|
||||
Wiki link:
|
||||
https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Zero+Plus2
|
||||
|
||||
This configuration uses U-Boot mainline and kernel mainline.
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make orangepi_zero_plus2_defconfig
|
||||
$ make
|
||||
|
||||
Note: you will need access to the internet to download the required
|
||||
sources.
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have 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
|
||||
$ sudo sync
|
||||
|
||||
Insert the micro SDcard in your Orangepi Zero Plus2 and power it up. The console
|
||||
is on the serial line, 115200 8N1.
|
||||
@@ -0,0 +1,54 @@
|
||||
#AP6212_NVRAM_V1.0_20140603
|
||||
# 2.4 GHz, 20 MHz BW mode
|
||||
|
||||
# The following parameter values are just placeholders, need to be updated.
|
||||
manfid=0x2d0
|
||||
prodid=0x0726
|
||||
vendid=0x14e4
|
||||
devid=0x43e2
|
||||
boardtype=0x0726
|
||||
boardrev=0x1101
|
||||
boardnum=22
|
||||
macaddr=00:90:4c:c5:12:38
|
||||
sromrev=11
|
||||
boardflags=0x00404201
|
||||
xtalfreq=26000
|
||||
nocrc=1
|
||||
ag0=255
|
||||
aa2g=1
|
||||
ccode=ALL
|
||||
|
||||
pa0itssit=0x20
|
||||
extpagain2g=0
|
||||
|
||||
#PA parameters for 2.4GHz, measured at CHIP OUTPUT
|
||||
pa2ga0=-168,7161,-820
|
||||
AvVmid_c0=0x0,0xc8
|
||||
cckpwroffset0=5
|
||||
|
||||
# PPR params
|
||||
maxp2ga0=90
|
||||
txpwrbckof=6
|
||||
cckbw202gpo=0x5555
|
||||
legofdmbw202gpo=0x77777777
|
||||
mcsbw202gpo=0xaaaaaaaa
|
||||
|
||||
# OFDM IIR :
|
||||
ofdmdigfilttype=7
|
||||
# PAPD mode:
|
||||
papdmode=2
|
||||
|
||||
il0macaddr=00:90:4c:c5:12:38
|
||||
wl0id=0x431b
|
||||
|
||||
#OOB parameters
|
||||
hostwake=0x40
|
||||
hostrdy=0x41
|
||||
usbrdy=0x03
|
||||
usbrdydelay=100
|
||||
deadman_to=0xffffffff
|
||||
# muxenab: 0x1 for UART enable, 0x10 for Host awake
|
||||
muxenab=0x10
|
||||
# CLDO PWM voltage settings - 0x4 - 1.1 volt
|
||||
#cldo_pwm=0x4
|
||||
|
||||
20
board/orangepi/orangepi-zero/linux-extras.fragment
Normal file
20
board/orangepi/orangepi-zero/linux-extras.fragment
Normal file
@@ -0,0 +1,20 @@
|
||||
# spidev
|
||||
CONFIG_SPI_SPIDEV=y
|
||||
|
||||
# spi nor
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_OF_PARTS=y
|
||||
CONFIG_MTD_SPI_NOR=y
|
||||
CONFIG_MTD_M25P80=y
|
||||
|
||||
# wireless core
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_MAC80211=y
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
|
||||
# wireless drivers
|
||||
CONFIG_WLAN=y
|
||||
|
||||
# ondemand cpufreq governor
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
@@ -0,0 +1,34 @@
|
||||
From 7a24ce9f5045ac6faf66a08bbb814f3a82c919b1 Mon Sep 17 00:00:00 2001
|
||||
From: Sergey Matyukevich <geomatsi@gmail.com>
|
||||
Date: Fri, 19 May 2017 23:39:48 +0300
|
||||
Subject: [PATCH] ARM: dts: orange-pi-zero: specify XR819 WiFi chip interrupts
|
||||
|
||||
The orange-pi-zero board has Allwinner XR819 SDIO wifi chip. The board
|
||||
dts file provides a node enabling mmc1 controller. Together with an
|
||||
out-of-tree driver https://github.com/fifteenhex/xradio this node
|
||||
enables using the wifi chip.
|
||||
|
||||
This commit specifies XR819 interrupt configuration for the driver.
|
||||
|
||||
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
index 2a45770f7b83..667038973bb7 100644
|
||||
--- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
+++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
@@ -152,6 +152,9 @@ &mmc1 {
|
||||
*/
|
||||
xr819: wifi@1 {
|
||||
reg = <1>;
|
||||
+ compatible = "xradio,xr819";
|
||||
+ interrupt-parent = <&pio>;
|
||||
+ interrupts = <6 10 IRQ_TYPE_EDGE_RISING>;
|
||||
};
|
||||
};
|
||||
|
||||
--
|
||||
2.47.1
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
From ddc295a04269437e5c726f63239689786354d44b Mon Sep 17 00:00:00 2001
|
||||
From: Sergey Matyukevich <geomatsi@gmail.com>
|
||||
Date: Sat, 20 May 2017 11:24:26 +0300
|
||||
Subject: [PATCH] ARM: dts: orange-pi-zero: enable SPI NOR
|
||||
|
||||
Enable SPI NOR on orange-pi-zero board.
|
||||
|
||||
For more information see:
|
||||
- http://linux-sunxi.org/Orange_Pi_Zero#SPI_NOR_flash
|
||||
|
||||
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
|
||||
[Dario: make the patch to be applied with fuzz factor 0]
|
||||
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
|
||||
---
|
||||
.../boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | 8 ++++++--
|
||||
1 file changed, 6 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
index 6b74cc923e16..4012f8712cd7 100644
|
||||
--- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
+++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
@@ -167,14 +167,18 @@ &ohci1 {
|
||||
|
||||
&spi0 {
|
||||
/* Disable SPI NOR by default: it optional on Orange Pi Zero boards */
|
||||
- status = "disabled";
|
||||
+ status = "okay";
|
||||
|
||||
flash@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
- compatible = "mxicy,mx25l1606e", "jedec,spi-nor";
|
||||
+ compatible = "mxicy,mx25l1606e", "winbond,w25q128";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <40000000>;
|
||||
+
|
||||
+ partition@00000000 {
|
||||
+ reg = <0x00000000 0x200000>; /* 2Mb */
|
||||
+ };
|
||||
};
|
||||
};
|
||||
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
From 208b13119fc0f709935fc2fc13c0295b19edbbf5 Mon Sep 17 00:00:00 2001
|
||||
From: Sergey Matyukevich <geomatsi@gmail.com>
|
||||
Date: Sat, 20 May 2017 15:36:51 +0300
|
||||
Subject: [PATCH] ARM: dts: orange-pi-zero: enable spidev
|
||||
|
||||
On orange-pi-zero board SPI1 pins are accessible via GPIO expansion port.
|
||||
This patch enables spidev driver for SPI1.
|
||||
|
||||
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
|
||||
[Dario: make the patch to be applied with fuzz factor 0]
|
||||
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
|
||||
---
|
||||
.../dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | 11 +++++++++++
|
||||
1 file changed, 11 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
index 4012f8712cd7..3552eb312747 100644
|
||||
--- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
+++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
@@ -59,6 +59,7 @@ aliases {
|
||||
/* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
|
||||
ethernet0 = &emac;
|
||||
ethernet1 = &xr819;
|
||||
+ spi1 = &spi1;
|
||||
};
|
||||
|
||||
chosen {
|
||||
@@ -182,6 +183,16 @@ partition@00000000 {
|
||||
};
|
||||
};
|
||||
|
||||
+&spi1 {
|
||||
+ status = "okay";
|
||||
+
|
||||
+ spidev@0 {
|
||||
+ compatible = "rohm,dh2228fv";
|
||||
+ reg = <0>;
|
||||
+ spi-max-frequency = <10000000>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
&uart0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart0_pa_pins>;
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From e8768cc1f0f1231cbd4864417de629330e21222d Mon Sep 17 00:00:00 2001
|
||||
From: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
|
||||
Date: Sun, 21 Nov 2021 00:58:32 +0300
|
||||
Subject: [PATCH] ARM: dts: orange-pi-zero: enable uart
|
||||
|
||||
Enable uart1 and uart2 on orange-pi-zero board.
|
||||
|
||||
Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
index f19ed981da9d..03acf166ab70 100644
|
||||
--- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
+++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
|
||||
@@ -184,13 +184,13 @@ &uart0 {
|
||||
&uart1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart1_pins>;
|
||||
- status = "disabled";
|
||||
+ status = "okay";
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart2_pins>;
|
||||
- status = "disabled";
|
||||
+ status = "okay";
|
||||
};
|
||||
|
||||
&usb_otg {
|
||||
--
|
||||
2.32.0
|
||||
|
||||
2
board/orangepi/orangepi-zero/patches/linux/linux.hash
Normal file
2
board/orangepi/orangepi-zero/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 c89809cc777d50f1ea484a118630281a26383707a0e752c96fd834f6e765deae linux-6.12.3.tar.xz
|
||||
2
board/orangepi/orangepi-zero/patches/uboot/uboot.hash
Normal file
2
board/orangepi/orangepi-zero/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
29
board/orangepi/orangepi-zero/readme.txt
Normal file
29
board/orangepi/orangepi-zero/readme.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
OrangePi Zero
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the OrangePi Zero. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make orangepi_zero_defconfig
|
||||
|
||||
Compile everything and build the SD card image:
|
||||
|
||||
$ make
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have 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
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/orangepi/orangepi-zero2w/patches/linux/linux.hash
Normal file
2
board/orangepi/orangepi-zero2w/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 c89809cc777d50f1ea484a118630281a26383707a0e752c96fd834f6e765deae linux-6.12.3.tar.xz
|
||||
2
board/orangepi/orangepi-zero2w/patches/uboot/uboot.hash
Normal file
2
board/orangepi/orangepi-zero2w/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
32
board/orangepi/orangepi-zero2w/readme.txt
Normal file
32
board/orangepi/orangepi-zero2w/readme.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the OrangePi Zero2W. Current configuration will
|
||||
bring-up the board and allow access through the serial console.
|
||||
|
||||
Orangepi Zero 2W links:
|
||||
- http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-2W.html
|
||||
- https://linux-sunxi.org/Xunlong_Orange_Pi_Zero2W
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make orangepi_zero2w_defconfig
|
||||
$ make
|
||||
|
||||
Note: you will need access to the internet to download the required sources.
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have 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
|
||||
$ sudo sync
|
||||
|
||||
Insert the micro SDcard in your Orangepi Zero2W and power it up. The console
|
||||
is on the serial line, 115200 8N1.
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/orangepi/orangepi-zero3/patches/linux/linux.hash
Normal file
2
board/orangepi/orangepi-zero3/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 d450ab215de4e1f8bb85e0f4216760fa33fd024b4526b144f4ce0d9012b29c9e linux-6.12.6.tar.xz
|
||||
2
board/orangepi/orangepi-zero3/patches/uboot/uboot.hash
Normal file
2
board/orangepi/orangepi-zero3/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
34
board/orangepi/orangepi-zero3/readme.txt
Normal file
34
board/orangepi/orangepi-zero3/readme.txt
Normal file
@@ -0,0 +1,34 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the Orangepi Zero3. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
Orangepi Zero3 link:
|
||||
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-3.html
|
||||
|
||||
This configuration uses Orangepi's fork of U-Boot and Linux kernel.
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make orangepi_zero3_defconfig
|
||||
$ make
|
||||
|
||||
Note: you will need access to the internet to download the required
|
||||
sources.
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have 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
|
||||
$ sudo sync
|
||||
|
||||
Insert the micro SDcard in your Orangepi Zero3 and power it up. The console
|
||||
is on the serial line, 115200 8N1.
|
||||
Reference in New Issue
Block a user