Humility may need multi-image support improvements
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- rust
- Área
- devtools, embedded-iot
Línea de trabajo
Comienza reproduciendo los comandos humility -a ... tasks con archivos A/B coincidentes y no coincidentes, y después compara la salida de -s jefe. La tarea estará terminada cuando Humility detecte que los PCs observados están fuera de los objetos definidos de la imagen seleccionada e informe de ese estado en lugar de tratar los resultados como válidos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
It appears that, right now, you can:
- flash A/B firmware images onto a part
- Boot it into image A
- Run Humility using image B's archive
- Get weird results
e.g. using the correct archive:
$ humility -a target/rot-carrier/dist/a/build-rot-carrier.zip tasks
[2023-04-14T22:40:08Z WARN probe_rs::config::target] Using custom sequence for LPC55S69
humility: attached via CMSIS-DAP
system time = 29787
ID TASK GEN PRI STATE
0 jefe 0 0 recv, notif: fault timer(T+13)
1 idle 0 9 RUNNING
2 update_server 0 3 recv
3 syscon_driver 0 2 recv
4 gpio_driver 0 3 recv
5 user_leds 0 6 recv
6 usart_driver 0 5 recv, notif: usart-irq
7 rng_driver 0 5 recv
8 sprot 0 6 notif: spi-irq
9 swd 0 4 recv
10 dumper 0 5 recv
11 ping 37 8 wait: reply from usart_driver/gen0
12 pong 0 7 recv, notif: timer(T+213)
13 hiffy 0 6 notif: bit31(T+213)
14 sp_measure 0 6 not started
using the incorrect archive:
$ humility -a target/rot-carrier/dist/b/build-rot-carrier.zip tasks
[2023-04-14T22:40:03Z WARN probe_rs::config::target] Using custom sequence for LPC55S69
humility: attached via CMSIS-DAP
system time = 24628
ID TASK GEN PRI STATE
0 jefe 0 0 recv, notif: fault timer(T+72)
1 idle 0 9 RUNNING
2 update_server 0 3 recv
3 syscon_driver 0 2 recv
4 gpio_driver 0 3 recv
5 user_leds 0 6 recv
6 usart_driver 0 5 recv, notif: usart-irq
7 rng_driver 0 5 recv
8 sprot 0 6 notif: spi-irq
9 swd 0 4 recv
10 dumper 0 5 recv
11 ping 30 8 wait: reply from usart_driver/gen0
12 pong 0 7 recv, notif: timer(T+372)
13 hiffy 0 6 notif: bit31(T+101)
14 sp_measure 0 6 not started
but then add something like -s that requires PC knowledge and
$ humility -a target/rot-carrier/dist/b/build-rot-carrier.zip tasks -s jefe
[2023-04-14T22:42:26Z WARN probe_rs::config::target] Using custom sequence for LPC55S69
humility: attached via CMSIS-DAP
system time = 154021
ID TASK GEN PRI STATE
0 jefe 0 0 recv, notif: fault timer(T+79)
stack unwind failed: Do not have unwind info for the given address.
My guess is that every PC value being observed by Humility here is outside of any defined object, and it would be nice if Humility noticed that and reported it. (That would also catch cases where there's a valid Hubris kernel image leftover in RAM but the system's actually crashing in e.g. the bootloader after a reset, which also currently acts like things are fine.)
- Lenguaje dominante
- Rust
- Estrellas
- 587
- Forks
- 64
- Merge medio
- 2 d 15 h
- PR fusionados (30 d)
- 5
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de oxidecomputer/humility
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
oxidecomputer/humility#737 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
oxidecomputer/humility#730 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
oxidecomputer/humility#729 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
oxidecomputer/humility#723 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
oxidecomputer/humility#705 · 12 comentarios ·
Todos los issues de oxidecomputer/humility
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
ActivityWatch/aw-notify-rs#47 · 1 comentario ·
-
`inverse()` of a controlled `CUGate` drops the phase parameter γPosiblemente ocupada @rupasri118 la tomó hoy. Abiertobug mod: circuit
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Qiskit/qiskit#17223 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
Los mantenedores suelen responder en 2 días
-
agent:triaged bug bughunt pm:bundler priority:p1
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
SocketDev/socket-patch#1573 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
rustix::termios::Termios::OutputModes does not expost some const e.g. OLCUC for musl and macOSAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
bytecodealliance/rustix#1706 · 1 comentario ·
Los mantenedores suelen responder en 11 días