Skip to content

No device found after initial deployment #726

@jojoke

Description

@jojoke

Hi everyone !
I hope you are doing well.

I don't quite understand why after initial flashing, my board isn't found by ./tools/configure.py.

My env :

  • Host OS : Ubuntu 24.04
  • Python 3.9 (a 3.12 is also installed, but forced the default one to be 3.9)
  • Board : nrf52840-DK

My command prompt :

git clone -b develop https://github.com/google/OpenSK.git
(skipped all the verbose stuff)
cd OpenSK
./setup.sh
(skipped to keep it readable)
sudo cp rules.d/55-opensk.rules /etc/udev/rules.d/
sudo udevadm control --reload
(disconnect then reconnect the board)

./tools/configure.py \
    --certificate=crypto_data/opensk_cert.pem \
    --private-key=crypto_data/opensk.key
(device not found, but it's normal since it hasn't been flashed yet)

./deploy.py --board=nrf52840dk_opensk --opensk
Identité d'auteur inconnue

*** Veuillez me dire qui vous êtes.

Lancez

  git config --global user.email "[email protected]"
  git config --global user.name "Votre Nom"

pour régler l'identité par défaut de votre compte.
Éliminez --global pour ne faire les réglages que dans ce dépôt.

fatal: impossible de détecter automatiquement l'adresse ('jojoke@jojoke-Thinkpad.(none)' trouvé)
info: Building Tock OS for board nrf52840dk_opensk
    Finished release [optimized + debuginfo] target(s) in 0.06s
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
info: Building OpenSK application
Testing invariants in customization.rs...
   Compiling ctap2 v1.0.0 (/home/jojoke/github/OpenSK)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 9.75s
     Running unittests src/lib.rs (target/debug/deps/ctap2-5b5be3478ea56b46)
   Compiling ctap2 v1.0.0 (/home/jojoke/github/OpenSK)
    Finished `release` profile [optimized] target(s) in 6.17s
info: Generating Tock TAB file for application/example ctap2
info: Erasing all installed applications
info: Flashing padding application
info: Installing Tock application ctap2
WARNING:root:Unknown TLV block in TBF header.
WARNING:root:You might want to update tockloader.
WARNING:root:Unknown TLV block in TBF header.
WARNING:root:You might want to update tockloader.
info: Configuring device.
info: Your device is not yet configured, and lacks some functionality. You can check its configuration status with:

./tools/configure.py

If you run into issues, this command might help:

./tools/configure.py \
    --certificate=crypto_data/opensk_cert.pem \
    --private-key=crypto_data/opensk.key

Please read the Certificate considerations in docs/customization.md to understand the privacy trade-off.
fatal: No device to configure found.

I understand that, at first ./tools/configure.py shouldn't work, but why after tockos and opensk was flashed, does tools/configure still not show ?

Thanks in advance :)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions