oxidecomputer / humility

Debugger for Hubris
Mozilla Public License 2.0
529 stars 51 forks source link

"humility rebootleby" may have missed a memo? #498

Open jclulow opened 3 months ago

jclulow commented 3 months ago

It seems like the structure of bootleby archives has changed some time between v1.1.0 and v1.2.0:

$ unzip -t staging/dev/gimlet/bootleby-v1.1.0-staging-dev-gimlet-onlydev.zip
Archive:  staging/dev/gimlet/bootleby-v1.1.0-staging-dev-gimlet-onlydev.zip
    testing: bootleby.bin             OK
    testing: cfpa.bin                 OK
    testing: cmpa.bin                 OK
No errors detected in compressed data of staging/dev/gimlet/bootleby-v1.1.0-staging-dev-gimlet-onlydev.zip.
$ unzip -t staging/dev/gimlet/bootleby-v1.2.0-staging-dev-gimlet.zip
Archive:  staging/dev/gimlet/bootleby-v1.2.0-staging-dev-gimlet.zip
hubris build archive v0
    testing: app.toml                 OK
    testing: elf/kernel               OK
    testing: git-rev                  OK
    testing: build_cfg/board_config.toml   OK
    testing: build_cfg/build_config.toml   OK
    testing: build_cfg/keys.toml      OK
    testing: build_cfg/mfg_cfg.toml   OK
    testing: cfpa.bin                 OK
    testing: cmpa.bin                 OK
    testing: img/final.bin            OK
    testing: img/final.elf            OK
No errors detected in compressed data of staging/dev/gimlet/bootleby-v1.2.0-staging-dev-gimlet.zip.

It does not appear that humility rebootleby has been updated to handle the new format:

humility: attached to 1fc9:0143:0NCTG3HM1MC5J via CMSIS-DAP
humility rebootleby failed: can't find bootleby.bin in bundle

This is with...

$ humility --version
humility 0.11.9