Skip to content

add dna command to print out efuse dna registers - #7

Open
ljones-source wants to merge 1 commit into
t0-crsfrom
efuse_dna
Open

add dna command to print out efuse dna registers#7
ljones-source wants to merge 1 commit into
t0-crsfrom
efuse_dna

Conversation

@ljones-source

Copy link
Copy Markdown

add a dna command to u-boot.
this makes it easy to find the 'fpga id', which is called the efuse dna 0,1, and 2 registers (three 32 bit registers). This requires u-boot to be patched to allow for the efuse registers to be "read". u-boot does not directly access them, it needs to ask the PMUFW to fetch them, but does not have the permission to do this by default.

ZynqMP> dna
40000000019675c745312205

without the dna command (still need permissions):

ZynqMP> zynqmp mmio_read 0xffcc100c
mmio read value at 0xffcc100c = 0x45312205
ZynqMP> zynqmp mmio_read 0xffcc1010
mmio read value at 0xffcc1010 = 0x19675c7
ZynqMP> zynqmp mmio_read 0xffcc1014
mmio read value at 0xffcc1014 = 0x40000000

The dna command is essentially just a shortcut for these three commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant