UV_K5_playground icon indicating copy to clipboard operation
UV_K5_playground copied to clipboard

Radio can not open after flash the rssi_sbar_encoded.bin that created by k5_v3.00.10_flashable.bin.

Open troilus opened this issue 2 years ago • 2 comments

Could you please help me with this situation:

The k5_v3.00.10_flashable.bin is this one: https://github.com/amnemonic/Quansheng_UV-K5_Firmware/blob/main/firmware/k5_v3.00.10_flashable.bin My steps:

  1. unpack k5_v3.00.10_flashable.bin and get k5_v3.00.10_flashable.dec.bin
  2. mv k5_v3.00.10_flashable.dec.bin to .\src\orginal_fw and rename to orginal_fw.bin
  3. mkdir build $ cd build $ cmake ../ -G Ninja $ ninja rssi_sbar_encoded
  4. Flash the rssi_sbar_encoded.bin to UV-K5 with official tool, the tool prompts upload success, but the radio can not open.

These are files: files.zip

troilus avatar Jul 15 '23 14:07 troilus

Maybe I should edit the addresses in libs/k5_uv_system/system.hpp?

troilus avatar Jul 15 '23 15:07 troilus

Maybe I should edit the addresses in libs/k5_uv_system/system.hpp?

exacly that should be done according to new location in original fw of all of this functions, and data.

also current build scripts assumes that orginal_fw.bin contains bootloader at first 4096 bytes, so you should manualy add bootloader org_bootloader.zip at the begining of your original_fw.bin file, or modify fw_decomposer.py and CMakeLists to discard generation of bootloader data objects , change vector table location to 0x0 and get rid of _with_bootloader targets

piotr022 avatar Jul 15 '23 21:07 piotr022