markqvist / rnodeconfigutil

MIT License
25 stars 11 forks source link

EEPROM initialization: missing information #4

Closed iw2lsi closed 3 years ago

iw2lsi commented 3 years ago

Hi...

first of all, thanks a lot for the great project!

it seems that eeprom initialization requires also to provide model, hardware revision and to generate a signing key... but the User Manual does not explain how to proceed and which values provide for model and hwrev...

In my case (custom board) I had to do something line:

rnodeconf /dev/ttyUSB0 --model a9 --hwrev 1 -k

but I'm sure about the meaning of the provided value ...

                Giampaolo
markqvist commented 3 years ago

I haven't really documented those features since they are not intended for normal users, but only for myself when manufacturing RNodes, and for people who build their own. But here is the general procedure for reference:

iw2lsi commented 3 years ago

thanks Mark…

I’ve not yet finished my boards but at least I was able to flash the firmware into the board…

 Giampaolo

Inviato da iPhone

Il giorno 6 set 2021, alle ore 14:48, Mark Qvist @.***> ha scritto:

 I haven't really documented those features since they are not intended for normal users, but only for myself when manufacturing RNodes, and for people who build their own. But here is the general procedure for reference:

To bootstrap your own boards, you should first generate your own signing key, just run "rnodeconf -k" by itself one time. The key will be saved and used to sign the EEPROM contents of RNodes you have built. After that you can flash the firmware and bootstrap the EEPROM in one step with: "rnodeconf /dev/ttyUSB0 --model a9 --hwrev 10". The model option refers to the model, a9 for 820-1020 MHz models, and a4 for 410-525 MHz models. The --hwrev would be a code for your own hardware version. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

markqvist commented 3 years ago

Cool! Wishing you success!