-
-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert orangepi disable set local-mac-address #274
- Loading branch information
1 parent
a3fbb96
commit 8949f12
Showing
3 changed files
with
34 additions
and
0 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
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 | ||
|
27 changes: 27 additions & 0 deletions
27
packages/u-boot-orangepi/debian/patches/0002-enable-set-local-mac-address.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,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 | ||
|
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
0001-fix-srctree-path.patch | ||
0002-enable-set-local-mac-address.patch |