cancel
Showing results for 
Search instead for 
Did you mean: 

Purpose of board ID field in OTP

stefankempf
Associate

Hello,

U-Boot has an stboard command that writes a board ID into OTP (word 59 on STM32MP15x lines, word 60 on 13x lines).

TF-A displays this board ID if a device tree label "board_id" is present in the bsec node.

Could you please explain the purpose of the board ID field and how it should be used when developing a custom product/board with a STM32MP1 CPU? Is it intended that we give our products a board ID in the structure as evaluated/printed in the TF-A code?

Or is this just a field for ST eval boards and irrelevant for custom product developments?

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hi @stefankempf 

This is pure ST custom to allows to support more than one board with a single SW (e.g. automated device tree choice for uBoot/Linux or during board production tests).

Although I'm not sure it is used like this. At least it allows to print the board name during ST starter package boot.

On your own development, the related OTP could be used for other purposes.

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
PatrickF
ST Employee

Hi @stefankempf 

This is pure ST custom to allows to support more than one board with a single SW (e.g. automated device tree choice for uBoot/Linux or during board production tests).

Although I'm not sure it is used like this. At least it allows to print the board name during ST starter package boot.

On your own development, the related OTP could be used for other purposes.

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
stefankempf
Associate

Thank you, that clear it up for me.