-
Notifications
You must be signed in to change notification settings - Fork 123
unable to boot from USB devices due to bus enumeration delays #165
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
Comments
Clone https://github.com/gokrazy/kernel locally and add a |
BTW, this general process of working with modules and the replace directive is also documented at https://gokrazy.org/development/modules/. Let me know if you run into issues — I have previously successfully added rootdelay= when it was needed (for a USB memory stick). |
thanks for the advice, for context I'm currently bootstrapping one of these using the rtr7 kernel: I've tried the rtr7-recover tool but it didn't seem to succeed transferring the UEFI bootloader, the device supports UEFI HTTP Boot, so if you are planning a refresh of rtr7-recover, supporting that would negate the need for tftp/pxe for devices that support it. |
I have installed my https://michael.stapelberg.ch/posts/2021-07-10-linux-25gbit-internet-router-pc-build/ using UEFI network boot with rtr7-recover. Have you tried connecting both devices to a switch instead of connecting them with a direct cable? I found that this can make the difference with some devices… If you know what exactly needs fixing or improvements in rtr7-recover, please let me know |
the local fork of the kernel worked so I can now do OTA updates using gok. as far as I know with UEFI HTTP Booting it should be a matter of handling an additional class identifier and sending it an http url pointing to the EFI payload. |
Platform
I’m using:
Observed behavior
when booting from a USB device, root device isn't always available until USB bus enumeration is completed, leading to being unable to mount the rootfs and panics
Expected behavior
ideally be able to specify a rootdelay value to permit the USB bus enumeration to complete before attempting to mount rootfs.
I had a quick look at the source and can't see an obvious way to provide additional kernel cmdline args, is it currently possible today?
The text was updated successfully, but these errors were encountered: