diff --git a/config/boards/orangepi5-plus.conf b/config/boards/orangepi5-plus.conf index bd8ceb4c87..c70fa8ba0f 100644 --- a/config/boards/orangepi5-plus.conf +++ b/config/boards/orangepi5-plus.conf @@ -33,5 +33,5 @@ function post_family_tweaks__orangepi5plus_naming_audios() { function post_family_config__orangepi5plus_use_vendor_uboot() { BOOTSOURCE='https://github.com/orangepi-xunlong/u-boot-orangepi.git' BOOTBRANCH='branch:v2017.09-rk3588' - BOOTPATCHDIR="legacy" + BOOTPATCHDIR="legacy/u-boot-orangepi5-rk3588" } diff --git a/config/boards/orangepi5.conf b/config/boards/orangepi5.conf index 5f90823da1..06c21d7fc3 100644 --- a/config/boards/orangepi5.conf +++ b/config/boards/orangepi5.conf @@ -132,6 +132,6 @@ function post_family_config__orangepi5_use_vendor_uboot() { else BOOTSOURCE='https://github.com/orangepi-xunlong/u-boot-orangepi.git' BOOTBRANCH='branch:v2017.09-rk3588' - BOOTPATCHDIR="legacy" + BOOTPATCHDIR="legacy/u-boot-orangepi5-rk3588" fi } diff --git a/patch/u-boot/legacy/u-boot-orangepi5-rk3588/set-fixed-mac.patch b/patch/u-boot/legacy/u-boot-orangepi5-rk3588/set-fixed-mac.patch new file mode 100644 index 0000000000..4ce210e1b0 --- /dev/null +++ b/patch/u-boot/legacy/u-boot-orangepi5-rk3588/set-fixed-mac.patch @@ -0,0 +1,32 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Igor +Date: Sat, 24 Feb 2024 21:50:04 +0000 +Subject: Do not change MAC address randomly + +Signed-off-by: Igor +--- + common/fdt_support.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/common/fdt_support.c b/common/fdt_support.c +index e72aaf04e0..fa3d3e7af2 100644 +--- a/common/fdt_support.c ++++ b/common/fdt_support.c +@@ -703,12 +703,12 @@ void fdt_fixup_ethernet(void *fdt) + tmp = (*end) ? end + 1 : end; + } + + do_fixup_by_path(fdt, path, "mac-address", + &mac_addr, 6, 0); +- //do_fixup_by_path(fdt, path, "local-mac-address", +- // &mac_addr, 6, 1); ++ do_fixup_by_path(fdt, path, "local-mac-address", ++ &mac_addr, 6, 1); + } + } + } + + /* Resize the fdt to its actual size + a bit of padding */ +-- +Created with Armbian build tools https://github.com/armbian/build +