-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only trim serial number for hostname
Serial numbers previously were limited to 8 characters everywhere. This changes the configuration so that they're only limited for hostnames where there's some benefit of making them easier to type. Everywhere else can use the whole serial number or decide what part of it they want.
- Loading branch information
Showing
2 changed files
with
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# boardid.config | ||
|
||
# Read the D1's SID and use the last 8 digits (turns out 4 isn't sufficient) | ||
# Read the D1's SID | ||
# NOTE: I couldn't find good information on how reliable this method was in | ||
# producing a unique ID. The SID info in the D1's datasheet was on | ||
# accessing the SID and not on how the eFuse's were programmed. Please | ||
# let me know if you find definitive info on this. | ||
-b binfile -f /sys/bus/nvmem/devices/sunxi-sid0/nvmem -l 16 -k 0 -n 8 | ||
-b binfile -f /sys/bus/nvmem/devices/sunxi-sid0/nvmem -l 16 -k 0 |
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