forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
239 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
|
||
RELEASE=$1 | ||
LINUXFAMILY=$2 | ||
BOARD=$3 | ||
BUILD_DESKTOP=$4 | ||
|
||
Main() { | ||
# Set product hostname. | ||
echo "dmbpro" > /etc/hostname | ||
|
||
# Update and install necessary packages. | ||
apt-get update -y | ||
apt-get install -y systemd-repart libubootenv-tool chromium-browser vim rauc | ||
|
||
# Copy overlay files. | ||
cp -r /tmp/overlay/rootfs/* / | ||
cp /tmp/overlay/cert.pem /etc/rauc | ||
|
||
# Enable system services. | ||
systemctl enable ssh | ||
|
||
# Setup WiFi/Bluetooth drivers for Orange Pi 5B. At this time, Armbian | ||
# doesn't support the board natively, so must configure this manually. | ||
echo "overlays=orangepi-5-ap6275p" >> /boot/armbianEnv.txt | ||
sed -i '/fdtfile/c fdtfile=rockchip/rk3588s-orangepi-5b.dtb' /boot/armbianEnv.txt # Set Orange Pi 5B device tree | ||
} | ||
|
||
Main "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
BOOTFS_TYPE="fat" | ||
INCLUDE_HOME_DIR="yes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIGCTCCA/GgAwIBAgIUUEtKyRSffjbL1n+7ZFvPwmsdnFYwDQYJKoZIhvcNAQEL | ||
BQAwgZIxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVUZXhhczEUMBIGA1UEBwwLU2Fu | ||
IEFudG9uaW8xIzAhBgNVBAoMGkRpZ2l0YWwgTW92aWUgQm9hcmRzLCBMTEMuMRUw | ||
EwYDVQQDDAxYYXZpZXIgQnJvd24xITAfBgkqhkiG9w0BCQEWEnhhdmllcnFiQHBy | ||
b3Rvbi5tZTAgFw0yNDA2MDkyMDAxNTFaGA8yMTEyMDEyMDIwMDE1MVowgZIxCzAJ | ||
BgNVBAYTAlVTMQ4wDAYDVQQIDAVUZXhhczEUMBIGA1UEBwwLU2FuIEFudG9uaW8x | ||
IzAhBgNVBAoMGkRpZ2l0YWwgTW92aWUgQm9hcmRzLCBMTEMuMRUwEwYDVQQDDAxY | ||
YXZpZXIgQnJvd24xITAfBgkqhkiG9w0BCQEWEnhhdmllcnFiQHByb3Rvbi5tZTCC | ||
AiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKpMA7cDyTczl8mykSRQl/rt | ||
3oqIXB2emkFOs1AmDrguILmdrd15dB8Ttai+mt28dQco5PpTH7AwB4j44K61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bJG858tBnRWh58DuloEu8hZxJc8 | ||
iB40UGPUaJ0lt0y/TF7YemFVFgv/O+had0k48iGiFpPmVB6ewXZiBsTP3ltNEflB | ||
66cO2RP41d/IOdrDHZPgB71nuRqTRtmkeS8TijxVqEk7rm7WvZ0C4RN9VDYZCppa | ||
UqEnTKGycDI7T8CCxWDeXevymAnoJYaAK6qMfp+soQrlkEMVYYtc+ouscEY+2bh+ | ||
maYB+JPtxOVeUeqAGDIoGZInHfr5uWZxU/aohnIDRGz8cdj7YzzREiAxXyKvoX6D | ||
8rABv/w40pEf6zReRNPbr+/JKLCBFTc3jYrumfzbtwr1MUQa8afTr6SLE9QbHbXJ | ||
JK8YA1mOxlcVsGYfuNDwiTwFaw+ZfGKFqQzRDqKeWYArlbDuVGQUIj3v6gSgiSBQ | ||
WZuNP6+a6761F8GgiA== | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/boot/uboot.env 0x0 0x8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[system] | ||
compatible=DMB Pro Orange Pi 5B | ||
bootloader=uboot | ||
|
||
[keyring] | ||
path=/etc/rauc/cert.pem | ||
|
||
[slot.rootfs.0] | ||
device=/dev/mmcblk1p2 | ||
type=ext4 | ||
bootname=A | ||
|
||
[slot.rootfs.1] | ||
device=/dev/mmcblk1p3 | ||
type=ext4 | ||
bootname=B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Partition] | ||
Type=linux-generic | ||
Label=dmbp-root-a | ||
SizeMinBytes=16G | ||
SizeMaxBytes=16G |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[Partition] | ||
Type=linux-generic | ||
Label=dmbp-root-b | ||
Format=ext4 | ||
SizeMinBytes=16G | ||
SizeMaxBytes=16G |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Partition] | ||
Type=linux-generic | ||
Label=dmbp-media | ||
Format=vfat | ||
SizeMinBytes=2G |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[Default] | ||
defaults=gid=33,uid=33 | ||
allow=gid=33,uid=33 |
64 changes: 64 additions & 0 deletions
64
userpatches/overlay/rootfs/usr/share/plymouth/themes/armbian/armbian.plymouth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
[Plymouth Theme] | ||
Name=Armbian | ||
Description=Armbian logo | ||
ModuleName=two-step | ||
|
||
[two-step] | ||
Font=DejaVu Sans 15 | ||
TitleFont=DejaVu Sans Mono Bold 30 | ||
ImageDir=/usr/share/plymouth/themes/armbian | ||
DialogHorizontalAlignment=.5 | ||
DialogVerticalAlignment=.7 | ||
TitleHorizontalAlignment=.5 | ||
TitleVerticalAlignment=.382 | ||
HorizontalAlignment=.6 | ||
VerticalAlignment=.5 | ||
WatermarkHorizontalAlignment=.5 | ||
WatermarkVerticalAlignment=.5 | ||
Transition=none | ||
TransitionDuration=0.0 | ||
BackgroundStartColor=0x000000 | ||
BackgroundEndColor=0x000000 | ||
ProgressBarBackgroundColor=0x606060 | ||
ProgressBarForegroundColor=0xffffff | ||
DialogClearsFirmwareBackground=false | ||
MessageBelowAnimation=true | ||
|
||
[boot-up] | ||
UseEndAnimation=false | ||
UseFirmwareBackground=false | ||
|
||
[shutdown] | ||
UseEndAnimation=false | ||
UseFirmwareBackground=false | ||
|
||
[reboot] | ||
UseEndAnimation=false | ||
UseFirmwareBackground=false | ||
|
||
[updates] | ||
SuppressMessages=true | ||
ProgressBarShowPercentComplete=true | ||
UseProgressBar=true | ||
Title=Installing Updates... | ||
_Title=Installing Updates... | ||
SubTitle=Do not turn off your computer | ||
_SubTitle=Do not turn off your computer | ||
|
||
[system-upgrade] | ||
SuppressMessages=true | ||
ProgressBarShowPercentComplete=true | ||
UseProgressBar=true | ||
Title=Upgrading System... | ||
_Title=Upgrading System... | ||
SubTitle=Do not turn off your computer | ||
_SubTitle=Do not turn off your computer | ||
|
||
[firmware-upgrade] | ||
SuppressMessages=true | ||
ProgressBarShowPercentComplete=true | ||
UseProgressBar=true | ||
Title=Upgrading Firmware... | ||
_Title=Upgrading Firmware... | ||
SubTitle=Do not turn off your computer | ||
_SubTitle=Do not turn off your computer |
Binary file added
BIN
+72.4 KB
userpatches/overlay/rootfs/usr/share/plymouth/themes/armbian/watermark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
userpatches/u-boot/v2024.01/board_orangepi5/0015-persist-env.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/configs/orangepi_5_defconfig b/configs/orangepi_5_defconfig | ||
index 2e289992b..c4f76ddec 100644 | ||
--- a/configs/orangepi_5_defconfig | ||
+++ b/configs/orangepi_5_defconfig | ||
@@ -254,3 +254,8 @@ CONFIG_SCSI_AHCI=y | ||
CONFIG_SCSI=y | ||
CONFIG_USING_KERNEL_DTB_V2=y | ||
CONFIG_MTD_BLK_U_BOOT_OFFS=0x400 | ||
+CONFIG_ENV_IS_IN_FAT=y | ||
+CONFIG_ENV_FAT_INTERFACE="mmc" | ||
+CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" | ||
+CONFIG_ENV_FAT_FILE="uboot.env" | ||
+CONFIG_FAT_WRITE=y |