Issue reading registers in u-boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue reading registers in u-boot

Jump to solution
3,935 Views
Ghouse
Contributor V

Hi, iam using LS1046ARDB eval board,

An iam working on secure boot,

The procudure to secure boot says : "Verify the SNVS register - HPSR to check whether OTPMK is fused already" by using command md $SNVS_HPSR_REG,

however when i execute above command in u boot iam getting below message

md - memory display

Usage:
md [.b, .w, .l, .q] address [# of objects]

but, when i read register w.r.t address (eg: md 0x01e80254 0x10) iam able to read it.

Let me know the exact syntax to read the register by providing register name in the u-boot console.

Thanks.

 

0 Kudos
Reply
1 Solution
3,881 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please use the following command.

=> md 0x1e90014

View solution in original post

0 Kudos
Reply
4 Replies
2,932 Views
John_volvo
Contributor I

if OTPMK is fused already, whether can use reset to default value? or need replace chip? 

0 Kudos
Reply
3,887 Views
Ghouse
Contributor V

Hi, any help for the above query?

Thanks.

0 Kudos
Reply
3,882 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please use the following command.

=> md 0x1e90014

0 Kudos
Reply
3,769 Views
tdemke
Contributor I

On my LS1046ardb board:

=> md 0x1e90014
01e90014: 002b0088 00000080 00000000 00000000    ..+.............

This is not inline with the documentation!

=> md $SNVS_HPSR_REG
88000900

So how can we check in u-boot if the OTPMK values are written?

0 Kudos
Reply