Bit in reduntant OTP registers not updated if mayority vote is 0, but main register is 1.

オープン
#330 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
cpp

調査の方向性

Start with the picotool otp get CRIT1.SECURE_DEBUG_DISABLE and picotool otp set CRIT1.SECURE_DEBUG_DISABLE 1 commands shown in the report, then trace how redundant OTP rows are handled when the majority value is zero. Reproduce the warning and failed write, and confirm that the resulting behavior correctly updates the redundant registers without weakening the security semantics.

索引モデルが issue の本文から書いたものです。

説明

picotool otp get CRIT1.SECURE_DEBUG_DISABLE
ROW 0x0040: OTP_DATA_CRIT1
"Page 1 critical boot flags (RBIT-8)"
RAW_VALUE=0x000007;0x000005;0x000005;0x000005;0x000005;0x000005;0x000005;0x000005(WARNING - REDUNDANT ROWS AREN'T EQUAL)
VALUE 0x000005

field SECURE_DEBUG_DISABLE (bit 1) = 0
    "Disable Secure debug access"

picotool otp set CRIT1.SECURE_DEBUG_DISABLE 1
ROW 0x0040 OLD_VALUE=0x000007: OTP_DATA_CRIT1
"Page 1 critical boot flags (RBIT-8)"
field SECURE_DEBUG_DISABLE (bit 1)

I am unable to disable secure debug, as picotool refuses to write a 1 to the redundant registers. Any way to solve this?

主要言語
C++
スター
1k
フォーク
195
平均マージ
14日 8時間
マージ済み PR(30日)
3

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

raspberrypi/picotool のほかの issue

raspberrypi/picotool の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。