From 8949f12a2cf06d421c11ed2d201524d568c50caa Mon Sep 17 00:00:00 2001 From: Joshua Riek Date: Sun, 23 Jul 2023 17:12:38 -0400 Subject: [PATCH] revert orangepi disable set local-mac-address #274 --- packages/u-boot-orangepi/debian/changelog | 6 +++++ .../0002-enable-set-local-mac-address.patch | 27 +++++++++++++++++++ .../u-boot-orangepi/debian/patches/series | 1 + 3 files changed, 34 insertions(+) create mode 100644 packages/u-boot-orangepi/debian/patches/0002-enable-set-local-mac-address.patch diff --git a/packages/u-boot-orangepi/debian/changelog b/packages/u-boot-orangepi/debian/changelog index 6eb426d9..5ff881d1 100644 --- a/packages/u-boot-orangepi/debian/changelog +++ b/packages/u-boot-orangepi/debian/changelog @@ -1,3 +1,9 @@ +u-boot-orangepi-rk3588 (2017.09+20230704.git1f70ac3a-2) jammy; urgency=medium + + * revert "Disable set local-mac-address" + + -- Joshua Riek Sun, 23 Jul 2023 17:10:03 -0400 + u-boot-orangepi-rk3588 (2017.09+20230704.git1f70ac3a-1) jammy; urgency=medium * renamed orangepi5, orangepi5b, and orangepi5plus packages diff --git a/packages/u-boot-orangepi/debian/patches/0002-enable-set-local-mac-address.patch b/packages/u-boot-orangepi/debian/patches/0002-enable-set-local-mac-address.patch new file mode 100644 index 00000000..cf83eac9 --- /dev/null +++ b/packages/u-boot-orangepi/debian/patches/0002-enable-set-local-mac-address.patch @@ -0,0 +1,27 @@ +From 5c29b088d647db40d29496b1516b7222f865a06f Mon Sep 17 00:00:00 2001 +From: Joshua Riek +Date: Sun, 23 Jul 2023 17:02:39 -0400 +Subject: [PATCH] enable set local-mac-address + +--- + 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 e72aaf04..fa3d3e7a 100644 +--- a/common/fdt_support.c ++++ b/common/fdt_support.c +@@ -705,8 +705,8 @@ void fdt_fixup_ethernet(void *fdt) + + 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); + } + } + } +-- +2.25.1 + diff --git a/packages/u-boot-orangepi/debian/patches/series b/packages/u-boot-orangepi/debian/patches/series index cfeaa97f..03192085 100644 --- a/packages/u-boot-orangepi/debian/patches/series +++ b/packages/u-boot-orangepi/debian/patches/series @@ -1 +1,2 @@ 0001-fix-srctree-path.patch +0002-enable-set-local-mac-address.patch