espressif / qemu

Fork of QEMU with Espressif patches. See Wiki for details.
https://github.com/espressif/esp-toolchain-docs/blob/main/qemu/README.md
Other
230 stars 61 forks source link

eFuse BLOCK0 MAC (QEMU-135) #76

Closed BG7YWL closed 1 year ago

BG7YWL commented 1 year ago

How to specify the MAC address of eFuse BLOCK0. The ID I obtained through machine.unique_id() is b'\x00\x00\x00\x00\x00\x00'

igrr commented 1 year ago

Could you please clarify what machine.unique_id() is? It looks like a function call, but in which language/environment/library?

BG7YWL commented 1 year ago

Could you please clarify what machine.unique_id() is? It looks like a function call, but in which language/environment/library?

ESP32-D0WD-V3,MicroPython Snipaste_2023-06-15_15-43-53

igrr commented 1 year ago

I see, in this case you need to do the following:

  1. Enable eFuse emulation: https://github.com/espressif/qemu/wiki#specifying-efuse-storage
  2. Generate eFuse binary, I have put a script here: https://gist.github.com/igrr/3537f8ddb03a50aa980e2e0c121c7581