Help: Upload instructions for custom rnode firmware #477
Replies: 2 comments 19 replies
-
Hopefully Mark will drop in and give pointers to 'a better way'...
Depends on what is installed and working on your board. The printouts in that section might help you when you try to enable your Lora radio. One of those sections will fail if the radio init fails. The above should let you run your 'make upload-xxxx' command. It will normally throw an error for the second step, but the two flashing phases before and after should run. The overrides in the firmware I showed will then allow the firmware to boot without failing the CRC and signing checks which you may not have in eeprom yet. To fully provision a radio locally, you will need to sign the firmware with rnodeconf. But I think you also need to modify rnodeconf to add proper product IDs, if you have an entirely new board type. |
Beta Was this translation helpful? Give feedback.
-
The firmware won't boot without a valid EEPROM config, but since The Either way, I just pushed a new commit to rnodeconf --rom --product f0 --model 43 --hwrev 1 The actual product and model codes will have to match what you used in the firmware, though! I just guessed from a quick look at your repo, but you may or may not have changed them or set them to something else. For the final version, choose a I hope that gets your firmware running correctly :) |
Beta Was this translation helpful? Give feedback.
-
Main goal
Make the rnode firmware compatible with diy hardware that contains the ebyte e22-900m30s 1w LoRa moden. In my case it's the hydra board: https://github.com/Hydra-Designs/project-hydra-meshtastic-pcb
My main idea was to bootstrap from the existing "generic esp32" device since it's technically the same thing, but different pins and different RF chipset/rxtx switching compared to the original design.
Current state of my efforts
my repo: https://github.com/azidoazid/RNode_Firmware
Error messages
This device has not been provisioned yet, cannot set firmware hash
Hardware Failure
Steps to reproduce
make firmware-mt_hydra
make upload-mt_hydra
Question
I have only limited coding experience, but as far as I understand there is some post-upload process involved that generates some checksums that are stored in flash memory. I also got the same error message on the OLED while using rnodeconf to install firmware on supported hardware, but only for a short period so there must be some step that I am missing.
Beta Was this translation helpful? Give feedback.
All reactions