Hi,
Does the HiKey board have a unique ID in the SoC that can be read out and that allows identifying different boards in software (e.g. in UBoot, Linux...)? Anything that is quasi-fixed in the hardware would be nice, e.g. a serial number in ROM or fuses that can be read directly. A unique root key in a peripheral that can be used to generate something would also work. Where does the MAC of board's ethernet port comes from actually?
Axel
On 23 February 2016 at 11:36, Axel Heider axelheider@gmx.de wrote:
Hi,
Does the HiKey board have a unique ID in the SoC that can be read out and that allows identifying different boards in software (e.g. in UBoot, Linux...)? Anything that is quasi-fixed in the hardware would be nice, e.g. a serial number in ROM or fuses that can be read directly. A unique root key in a peripheral that can be used to generate something would also work. Where does the MAC of board's ethernet port comes from actually?
Ehm, ethernet port? You mean wifi, right? I wish it had ethernet!
Koen,
Where does the MAC of board's ethernet port comes from actually?
Ehm, ethernet port? You mean wifi, right? I wish it had ethernet!
Shame on me, should have done a reality sync before adding that thought about the MAC. But it seems the MAC comes from config data in flash anyway, so not really what I'm looking for.
Axel
Hi Axel
eMMC has a 32-bit serial number in it. The DB410C uses this to generate a MAC address if it can't find one another way[1]. You should be able to access it directly from userspace. Something like:
cat /sys/bus/mmc/devices/mmc0:0001/serial
Daniel.
[1]: Although sadly it doesn't get cute and generate a MAC address commencing 0x96... I was rather pleased when I realized that would be valid locally assigned address.
On 23/02/16 11:21, Axel Heider wrote:
Koen,
Where does the MAC of board's ethernet port comes from actually?
Ehm, ethernet port? You mean wifi, right? I wish it had ethernet!
Shame on me, should have done a reality sync before adding that thought about the MAC. But it seems the MAC comes from config data in flash anyway, so not really what I'm looking for.
Axel
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Hi Axel,
On 02/23/2016 07:36 PM, Axel Heider wrote:
Does the HiKey board have a unique ID in the SoC that can be read out and that allows identifying different boards in software (e.g. in UBoot, Linux...)?On 02/23/2016 07:36 PM, Axel Heider wrote: Does the HiKey board have a unique ID in the SoC that can be read out and that allows identifying different boards in software (e.g. in UBoot, Linux...)?
On 02/24/2016 03:46 AM, Daniel Thompson wrote:
Hi Axel
eMMC has a 32-bit serial number in it. The DB410C uses this to generate a MAC address if it can't find one another way[1]. You should be able to access it directly from userspace. Something like:
cat /sys/bus/mmc/devices/mmc0:0001/serial
I tried above on two of my HiKey.
HiKey1
root@linaro-alip:~# cat /sys/bus/mmc/devices/mmc0:0001/serial 0x8654f095
HiKey2
root@linaro-alip:~# cat /sys/bus/mmc/devices/mmc0:0001/serial 0xfe544087
They are able to obtain unique ID for every board.
Does this work for you?
Akira
Daniel.
[1]: Although sadly it doesn't get cute and generate a MAC address commencing 0x96... I was rather pleased when I realized that would be valid locally assigned address.
On 23/02/16 11:21, Axel Heider wrote:
Koen,
Where does the MAC of board's ethernet port comes from actually?
Ehm, ethernet port? You mean wifi, right? I wish it had ethernet!
Shame on me, should have done a reality sync before adding that thought about the MAC. But it seems the MAC comes from config data in flash anyway, so not really what I'm looking for.
Axel
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev
在 02/23/2016 06:36 PM, Axel Heider 写道:
Hi,
Does the HiKey board have a unique ID in the SoC that can be read out and that allows identifying different boards in software (e.g. in UBoot, Linux...)?
https://github.com/96boards/documentation/wiki/HiKeyUEFI#set-serial-number-i...
We could program serial number in recovery mode on HiKey.
Anything that is quasi-fixed in the hardware would be nice, e.g. a serial number in ROM or fuses that can be read directly. A unique root key in a peripheral that can be used to generate something would also work. Where does the MAC of board's ethernet port comes from actually?
Axel _______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev