One Time Programmable memory map incorrect

Ouverte
#4,319 2 commentaires 0 réactions 2 personnes assignées Voir sur GitHub

@timg236 y travaille déjà.

Depuis le 25/8/2026.

Évaluation

Cette issue n'a pas encore été évaluée.

Description

white paper

Following the white paper for one-time programmable memory, the memory rows for RPi 5/ CM5 are listed as rows 74-84. The documentation page covering OTP in this repo lists rows 77-84 for BCM2712 devices. Recent testing confirms that for the CM5, the rows are 77-84. Additionally, the example in the white paper for programming (page 9) covers RPi4/ CM4 devices only with reference to rows 40-42. As the customer programmable memory rows start at 77 and not 74, the method for row determination is incorrect as described int he white paper.

Additionally, while trying to confirm the correct rows prior to writing to this region, I found a command in the vcio driver linux/drivers/char/broadcom/vcio.c on line 41
0x00030086, /* SET_CUSTOMER_OTP_LOCK */
which looks to be another possible lock command for OTP memory. I did not have the opportunity to test this command as I had already locked the region using the
0x00038021, /* SET_CUSTOMER_OTP */
command listed in the white paper and found it to work as expected. Still, might warrant investigation and clarity if this command has value.

Given that you only get one shot at writing to this region, it would be greatly appreciated if any documentation is highly specific and accurate.

Langage dominant
Python
Étoiles
5.6k
Forks
2.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de raspberrypi/documentation

Toutes les issues de raspberrypi/documentation

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.