Skip to content

firmware update / state indication improvement#513

Merged
ligenxxxx merged 9 commits intohd-zero:mainfrom
pitts-mo:main
May 26, 2025
Merged

firmware update / state indication improvement#513
ligenxxxx merged 9 commits intohd-zero:mainfrom
pitts-mo:main

Conversation

@pitts-mo
Copy link
Copy Markdown
Contributor

@pitts-mo pitts-mo commented May 2, 2025

firmware update / state indicator improvements:
-prevent soft bricking VA / RX (very rare)
-add start, success and failure beeps to existing end beep indicator of recovery flash
-add beep indication for failure during gui flash
-silenced beep indications for successful gui flash
-erase entire mtd before write
-fix gui status bar indication
-simplified scripts to improve consistency
-display distinct RX versions (indicate RX firmware issue/mismatch)


You SHOULD never see a mismatch in RX versions. However, It did happen to me at least once.

I had considered displaying both RX versions only when a mismatch is detected. However, it is more accurate and appears to promote user awareness to persistently report the distinct RX versions.

pitts-mo added 5 commits May 2, 2025 15:06
-simplified
-notable change: now erase entire mtd before write (prior code only erased initial 65536 of rx mtd)
-disable mtd write success beeps
-simplified
-notable change: now erase entire mtd before write (prior code only erased initial 65536 of rx mtd)
@pitts-mo pitts-mo changed the title display distinct RX versions display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update May 10, 2025
@pitts-mo pitts-mo changed the title display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update -do not merge May 10, 2025
@pitts-mo pitts-mo changed the title display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update -do not merge display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update May 10, 2025
@pitts-mo pitts-mo changed the title display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update do not merge -display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update May 10, 2025
@pitts-mo pitts-mo changed the title do not merge -display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update May 10, 2025
@pitts-mo pitts-mo marked this pull request as draft May 10, 2025 15:45
@pitts-mo pitts-mo changed the title display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update do not merge -display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update May 10, 2025
@pitts-mo pitts-mo marked this pull request as ready for review May 10, 2025 17:02
@pitts-mo
Copy link
Copy Markdown
Contributor Author

tested:
-install from gui
-reinstall from gui
-boot with VA/RX bins and DONOTREMOVE.txt updates VA/RX and leaves VA/RX files on SD card
-boot with VA/RX bins without DONOTREMOVE.txt updates VA/RX and removes VA/RX files from SD card

@pitts-mo
Copy link
Copy Markdown
Contributor Author

notable change: now erase entire mtd before write (prior code only erased initial 65536 of rx mtd)

@pitts-mo pitts-mo changed the title do not merge -display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update May 10, 2025
@pitts-mo pitts-mo changed the title display distinct RX versions -simplify update scripts -disable mtd write success beeps durring normal update simplify update scripts -disable mtd write success beeps durring normal update -display distinct RX versions May 10, 2025
@pitts-mo pitts-mo changed the title simplify update scripts -disable mtd write success beeps durring normal update -display distinct RX versions simplify update scripts -disable success beeps durring gui update -display distinct RX versions May 10, 2025
@pitts-mo pitts-mo changed the title simplify update scripts -disable success beeps durring gui update -display distinct RX versions firmware update / state indicator improvement May 11, 2025
@pitts-mo
Copy link
Copy Markdown
Contributor Author

This resolves failure of gui status bar during mtd flash and disables successful mtd flash beeps during normal gui update introduced by PR #495.

I think this is now good enough to consider for merge.

Potential items for future enhancement:
-detailed failure indications in gui?
-automatic failure logging to SD?

@pitts-mo pitts-mo changed the title firmware update / state indicator improvement firmware update / state indication improvement May 11, 2025
@ligenxxxx ligenxxxx merged commit 4266ef5 into hd-zero:main May 26, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants