VE2NCK wrote: ↑Wed Jan 25, 2023 9:09 pm
well i have to admit i might need a little walkthru with using radio_tool to wrap and flash
there is a few generic examples but i can't find documentation
I've not used that tool, but looking at the documentation, to wrap (which means encode and add the header needed for the official loader), the Example command seems to be
./radio_tool --wrap -o wrapped.bin -r DM1701 -s 0x0800C000:main.bin
I checked and the offset address of 0x800C000 is correct for the UV380.
I presume the radio the is
MD-UV380
So the wrap command would be something like
./radio_tool --wrap -o wrapped_OpenMDUV380.bin -r MD-UV380-s 0x0800C000:OpenMDUV380.bin
Then in theory you can use the offical loader
However, if the firmware still won't run, then the problem could be the way the radio_tool 'wrapped' the firmware, or the firmware its self
To confirm radio_tool works OK, you'd need to compile OpenRTX from source and use radio_tool to wrap it and then load it with the loader.
However, you'd need to install the build toolchain for OpenRTX which I think uses something called Meson, which I think requires Python, and you'll all need the cross-compiler and any other dependancies etc etc
I don't think I've ever built openRTX
And AFIK, they don't publish a raw binary file, that you could send to radio_tool to wrap
Actually, if you make a wrapped file, emial it to me and I'll try loading it onto my RT3S using the official loader, because if it runs OK, then radio_tool is wrapping the file correctly