Setting a MAC on Rock64 U-Boot
#1
Hello everyone,

I just updated a cluster of Rock64 4G boards I have and they all forgot their MAC address now and have defaulted to 82:57:28:5d:f7:9d (no idea where this MAC comes from, the ones I had set where very different and started with "da:19:c8").

I was setting the MACs in the bootloader script via boot.txt and ./mkscr using this guide (wiki tab) but now that evidently does not work.

Asking that the OS side (forum post) did not produce much so I came here to ask:

How can I set the MAC of my Rock64s in uboot?

Thanks,
K
  Reply
#2
I don't know about u-boot, but you can fix this on OS level fairly easily.

nano /etc/systemd/network/00-default.link

Code:
[Match]
MACAddress= 12:ac:66:34:01:32

[Link]
MACAddress=12:ac:66:02:02:02
NamePolicy=kernel database onboard slot path

That "da:19:c8" was done during Kernel change from 4.19 to 5.1 i believe, as they had to build a new u-boot since the old one wasn't working with the new Kernel.
  Reply
#3
Oh! That works really well! I wasn't aware that I could do that! Thank You very much!!! :-D
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 won't boot dstallmo 0 182 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 439 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 423 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 7,645 10-12-2023, 05:14 PM
Last Post: tpaul
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 184,185 10-09-2023, 03:31 AM
Last Post: mara
  arch rock64 does not boot nemnob 0 450 07-09-2023, 03:28 AM
Last Post: nemnob
  RXDP from Win10 to Armbian on Rock64 Transportsicherung 0 500 05-27-2023, 06:11 AM
Last Post: Transportsicherung
  Disabling last mount time check on boot acwest 0 494 03-03-2023, 09:24 PM
Last Post: acwest
  DietPi OS for ROCK64 MichaIng 41 30,880 12-07-2022, 08:22 PM
Last Post: luminosity7
  Using multiple UART's on Rock64. ramprasad 0 852 08-29-2022, 01:22 PM
Last Post: ramprasad

Forum Jump:


Users browsing this thread: 1 Guest(s)