Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use single firmware bundle for updating all ZuluSCSI platforms #477

Merged
merged 4 commits into from
Dec 2, 2024

Conversation

morio
Copy link
Collaborator

@morio morio commented Dec 2, 2024

This usability enhancement simplifies the firmware upgrade process for all end users by removing the need to choose and download the platform-specific binary file that's specific to your ZuluSCSI model, and allows for updating of ZuluSCSI firmware for all current and future ZuluSCSI model variants by using a single unified .zip file, which will serve as the new format for all future ZuluSCSI firmware updates.

The ZuluSCSI firmware itself will now extract the appropriate .bin file from the container zip file, then remove the container zip and then reboot the board. Once the board has been rebooted, the existing custom bootloader functionality detects the presence of the .bin file and re-flashes the ZuluSCSI firmware.

This will update the ZuluSCSI by placing a zip file with the prefix
`zuluscsi-fw` in the root directory of the SD card.

The firmware will extract the appropriate bin file from the container
zip, delete the container zip and then reboot the board. Once the
board has been rebooted, the bootloader installs the bin file.

This is a initial attempt. Currently if the zip file is compressed
with deflate, the code will install the compressed data which will
crash the board.
It was decided that deflate will not be supported in the initial
release of using zip file packages for firmware releases.

If the parser sees any method besides uncompressed it returns an error.
@morio morio marked this pull request as ready for review December 2, 2024 21:35
Switched from a lower case zuluscsi-fw prefix for the zip package to
ZuluSCSI-FW and the extracted bin file to ZuluSCSI.bin
@aperezbios aperezbios added the enhancement New feature or request label Dec 2, 2024
@aperezbios aperezbios changed the title Use single zip file to update any ZuluSCSI Use unified zip file for updating ZuluSCSI firmware Dec 2, 2024
@aperezbios aperezbios changed the title Use unified zip file for updating ZuluSCSI firmware Use single firmware bundle for updating all ZuluSCSI platforms Dec 2, 2024
@aperezbios aperezbios merged commit f9cc823 into main Dec 2, 2024
2 checks passed
@aperezbios aperezbios deleted the feature/common-file-update branch December 2, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants