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

Add "program_usb_timeout=1" entry to bootconfig in order to wait for larger (2TB) SSDs #4552

Open
oPFGKk9gtuw8nuHkzrQn opened this issue Apr 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@oPFGKk9gtuw8nuHkzrQn
Copy link

oPFGKk9gtuw8nuHkzrQn commented Apr 23, 2024

The current setup for Raspberry Pi 4/5 users utilizing USB hard drives larger than 1TB presents a potential issue as found in the source linked here:
https://www.elektronik-kompendium.de/sites/raspberry-pi/2603101.htm

Issue Description:

Users may encounter timeout errors without clear indication of the underlying cause. This can lead to frustration and unnecessary troubleshooting efforts. USB hard drives of 2Tb and larger sizes sometimes take longer to signal readiness to the Raspberry Pi, leading to timeout errors. This issue is exacerbated by the fact that USB ports on the Raspberry Pi only allow 2 seconds for devices to signal readiness, which may not be sufficient for larger hard drives.

Proposed Solution:

Implement a configurable USB timeout extension feature in the Raspiblitz firmware to adjust the timeout period.

Implementation Details:
Introduce a new line in the file "boot/firmware/config.txt" to specify the USB timeout period.

new line:

    # Extend USB Timeout
    program_usb_timeout=1

There is conflicting information out there regarding the actual timeout time and corresponding number. This source seems to be legit and claims, timeout=1 means "add 5 seconds"
https://www.raspberrypi.com/documentation/computers/raspberry-pi.html

@oPFGKk9gtuw8nuHkzrQn oPFGKk9gtuw8nuHkzrQn added the enhancement New feature or request label Apr 23, 2024
@rootzoll rootzoll added this to the 1.11.1 Release milestone Apr 23, 2024
@rootzoll
Copy link
Collaborator

Adding this towards v1.12.0 because this would be a sd card build change

@oPFGKk9gtuw8nuHkzrQn oPFGKk9gtuw8nuHkzrQn changed the title Add "program_usb_timeout=5" entry to bootconfig in order to wait for larger (2TB) SSDs Add "program_usb_timeout=1" entry to bootconfig in order to wait for larger (2TB) SSDs Apr 23, 2024
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

No branches or pull requests

2 participants