fix cpu internal ethernet on nanopi-r4se standard version without EEPROM #7739
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Like nanopi-r4s, nanopi-r4se has two variants1: enterprise and standard version. The difference between the two variants is that the enterprise version has an extra EEPROM to store globally unique MAC address for rk3399's internal ethernet. Currently Armbian r4se device tree is based on r4s-enterprise device tree, which breaks cpu internal ethernet on the standard version due to lack of valid MAC address from EEPROM.
Kernel logs
Since Armbian only maintains image for nanopi-r4s standard version (runs on enterprise board too, just ignoring the unique MAC address), I think it's reasonable to do the same for r4se.
How Has This Been Tested?
Tested on my nanopi-r4se standard version, by installing the dtb package built with
./compile.sh kernel-dtb BOARD=nanopi-r4se BRANCH=edge
Footnotes
Although not well documented like r4s, you could see the empty EEPROM paste at the front of r4se board in their wiki. ↩