`otp get`: device selection given after the row/field selector is silently ignored
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 66/100
Direzione di ricerca
Inizia leggendo l’analisi degli argomenti del comando otp get e confrontala con gli esempi di otp load, otp white-label e otp set menzionati nell’issue. Riproduci il problema con due dispositivi RP2350 in modalità BOOTSEL, poi verifica che le opzioni di selezione inserite dopo il selettore di riga o di campo vengano rispettate o rifiutate chiaramente. Il lavoro è completato quando sia --bus/--address sia --ser si comportano in modo coerente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Title
otp get: device selection given after the row/field selector is silently ignored
Body
Environment
picotool v2.3.1 (Linux), two RP2350s in BOOTSEL on the same host.
Steps to reproduce
$ picotool otp get --raw OTP_DATA_BOOTKEY0_0 --bus 1 --address 49
ERROR: Command requires a single RP-series device to be targeted. # exit 248
$ picotool otp get --raw --bus 1 --address 49 OTP_DATA_BOOTKEY0_0
VALUE 0x2cd845 # works
$ picotool otp get -n OTP_DATA_BOOT_FLAGS1.KEY_VALID --bus 1 --address 49
ERROR: Command requires a single RP-series device to be targeted.
--ser behaves the same way.
Expected
Either the selection is honoured wherever it appears, as it is for otp load FILE --ser …, otp white-label … --ser … and otp set ROW VALUE --ser …, or the command rejects the stray options.
Actual
The device-selection options after the selector are dropped without a warning. That only shows up once a second device is connected: the same command line works with one device and fails with two. Scripts that ran fine on a single-board bench break in the field.
- Lingua principale
- C++
- Stelle
- 1k
- Fork
- 194
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di raspberrypi/picotool
-
partition create writes the wrong extra family count when a partition has two custom family IDsForse già presa @sebxt l’ha presa 13 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
raspberrypi/picotool#368 · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
raspberrypi/picotool#365 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
raspberrypi/picotool#347 ·
-
`--ser` with several RP2350s on USB sends PICOBOOT requests to the wrong interfaceForse già presa @will-v-pi l’ha presa 10 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
raspberrypi/picotool#370 · 2 commenti ·
-
`picotool config -s <field> 0` fails to write zero value to device.Forse già presa @will-v-pi l’ha presa 20 giorni fa. Aperta
raspberrypi/picotool#364 · 1 commento · 1 assegnatario ·
Tutte le issue di raspberrypi/picotool
Issue simili
-
Issue-Bug Needs-Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
microsoft/winget-cli#6645 ·
I maintainer di solito rispondono entro 2 giorni
-
cleanup help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
ESPresense/ESPresense#2602 ·
I maintainer di solito rispondono entro 1 giorno
-
devex good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
artifact:simulation-scenario domain:physics good first issue help wanted role:validation testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 3 giorni