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

ERROR: Firmware file block too large #214

Open
jonathancross opened this issue Jun 11, 2023 · 1 comment
Open

ERROR: Firmware file block too large #214

jonathancross opened this issue Jun 11, 2023 · 1 comment

Comments

@jonathancross
Copy link

Linux desktop GUI: v5.3.6 (App is up-to-date)
Firmware installed: v2.1.0-prodc
Bootloader: UNLOCKED BOOTLOADERv1

Issue:

When I try to upgrade to any of the firmware versions, I get an error message:

Last message received: UNLOCKED BOOTLOADERv1
RECEIVED OKFWUPDATE
Error firmware file block too large

The desktop app then tells me the device is locked and to input my PIN, but it was not upgraded.

I checked the SHA-256 checksum, so I know the downloaded firmware file (Signed_OnlyKey_3_0_4_STD.txt - 429,285 bytes) was correct.
I also tried with 4 earlier versions and got the same error.

Workaround:

I was able to upgrade via these steps:

  1. Put the device into config mode
  2. try to update (leading me to the backup step).
    • Note: The backup step seems to be a potential source of error -- skipping it seems to allow the firmware update to proceed, but I don't have enough info to determine cause-effect.
  3. Instead of supplying a backup passphrase, I Close the desktop app
  4. Restart the desktop app (OK still shows white light)
  5. Then try to update the firmware and it goes forward.

Related: #134

@Ian2020
Copy link

Ian2020 commented Oct 20, 2023

Some discussion about this same issue here:

https://onlykey.discourse.group/t/firmware-2-1-2-file-block-too-large/760

I got it working using from inside a Debian VM. Another user found this workaround:

When you put the onlykey in the computer, and it goes to the setup guide, if you have already entered a backup phrase…ignore it. Pull out the onlykey, put back in. Now it goes straight to load firmware, skipping the setup guide and this time it does update.

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

No branches or pull requests

2 participants