qba667 / FlySkyI6

14 channels FW modifications for FlySky I6
GNU General Public License v3.0
287 stars 72 forks source link

Edit Firmware #116

Open jan5650 opened 4 years ago

jan5650 commented 4 years ago

Dear qba667!

You did great job! I used your 1.7.6 firmaware. I like the Fast telemetry change!

But i want to translate some of text in the firmware. I opened the .bin file with HxD, i found the text i want to edit, changed it, saved it, and when i update the firmware into my remote its get Bricked.... I can solve the Bricked remote, but i cannot edit the text in firmware to not to beign bricked. Is there any way to translate some of text in firmware?

How can i do it?

Thank you!

hex

Yenya commented 4 years ago

@jan5650 - there seems to be some kind of checksum attached to the firmware, so that the bootloader can verify it. Look at the Makefile to see how it is computed.

jan5650 commented 4 years ago

Thank you Yenya for the Answer!

Sadly i am lack of this knowledge. I know what is crc, but i dunno how to calculate this, and attach to the file. Is there any program that can made it automaticly or how can i do it manually? Can yuo help me pls? Thank you!

Yenya commented 4 years ago

As I said, look at the Makefile, how the final .bin firmware is made from the original elf. The checksum is computed there and added to the firmware file.

dremugit commented 3 years ago

I do this by editing source\build\org.bin, then recompile on top. See http://www.slosh.com/rc/flysky/compile/