Skip to content

Commit

Permalink
revert orangepi disable set local-mac-address #274
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Riek committed Jul 23, 2023
1 parent a3fbb96 commit 8949f12
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/u-boot-orangepi/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
u-boot-orangepi-rk3588 (2017.09+20230704.git1f70ac3a-2) jammy; urgency=medium

* revert "Disable set local-mac-address"

-- Joshua Riek <[email protected]> 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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
From 5c29b088d647db40d29496b1516b7222f865a06f Mon Sep 17 00:00:00 2001
From: Joshua Riek <[email protected]>
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

1 change: 1 addition & 0 deletions packages/u-boot-orangepi/debian/patches/series
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
0001-fix-srctree-path.patch
0002-enable-set-local-mac-address.patch

0 comments on commit 8949f12

Please sign in to comment.