Jump to content

Elliot Woods

Members
  • Posts

    22
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Elliot Woods reacted to martinayotte in Opi lite MAC address   
    Assuming you have "dtc" installed (and keep a backup of the original /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb :
    dtc -I dtb -O dts -o sun8i-h2plus-orangepi-zero.dts-4.11.12 /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb Edit the DTS with "nano sun8i-h2plus-orangepi-zero.dts-4.11.12" and add 'ethernet0 = "/soc/ethernet@1c30000"; ' in the "aliases" section.
    Then, recompile the DTB :
    dtc -I dts -O dtb -o /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb sun8i-h2plus-orangepi-zero.dts-4.11.12  
  2. Like
    Elliot Woods reacted to martinayotte in Opi lite MAC address   
    Patch committed : https://github.com/armbian/build/commit/90b771cdf28b43cf6a857eeb10b204c38c7de82a
     
  3. Like
    Elliot Woods reacted to zador.blood.stained in Orange Pi Zero random MAC address (split from BPi R1 ...)   
    Apart from some migration issues, the hash from a fixed serial will be constant (Edit: well, it's not a hash in the true sense of the word since it uses part of the SID directly and crc32 of another part of the SID). Whether MAC address will be generated using that hash or not is the question, and, as I said, if the MAC is random, then it's due to the Device Tree configuration, and it is a board specific problem since each board uses its own Device Tree.
    Just for the reference: http://git.denx.de/?p=u-boot.git;a=blob;f=board/sunxi/board.c;h=800f412b383ddf9ac90972e50a684c534d40fea4;hb=HEAD#l656
     
    Random ones are not generated from a hash, obviously.
     
    For some reason I've spent wasted some time and found the exact reason why the MAC is random in some cases. I guess blaming systemd and NetworkManager without trying to understand and debug the problem is easier.
     
    Are you talking about stability in images that are marked "development" and "provided with no support"? For testing/development purposes random MAC is not an issue, completely broken Ethernet is not an issue, even missing CPU frequency scaling and thermal protection is not an issue. As long as it builds without issues and boots to a command prompt on a serial console it's working as intended, everything else is a nice bonus.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines