Are you on Android or Ubuntu?
I changed the variable in u-boot “androidboot.serialno”.
That’s ok on Android, but you need to rebuild the u-boot source code and reflash the u-boot.bin
####1. Modify the file in u-boot ‘board/khadas/configs/kvim.h’
so if I understood correctly (ok well, more guessing, based on own experience and doc what I’m not really able to read)
S905X has three area where data can be stored
eFuses (most likely OTP area in chip - needs atleast kernel driver)
Nand (not use in VIM, like spi/etc…)
EMMC (in use)
so Khadas team not writing anythying into eFuses, so every VIM get random mac every starts, till some “own” mac is written in special emmc area, but anytime you reflash emmc, you lost your settings, right?
so is there any plan implement patch or include support for that eFuses?
Unfortunately even if I hold ENTER, it boots Android… However, when I was holding POWER, then pressed RESET I was presented with Android Recovery menu, so I chose Reboot to Bootloader. Looks like I’m in uboot:
But now I can’t get out Reboot command keeps returning me back to this nasty bootloader and Android doesn’t boot…
Update:
Figured how to get out: from Android recovery choose to mount /system and then boot system - Android loads then.
Anyway, even though I’ve seen:
This MAC address is still not present on device when it boots
Interestingly only ethernet MAC address changes - it seems WLAN and Bluetooth addresses remains the same over reboots.
The only way I managed to successfully set up ethernet MAC address was executing following when Android was booted:
So the ethernet MAC was set, but it was reset after reboot