-
Notifications
You must be signed in to change notification settings - Fork 22
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
Remove 1s boot delay from parallella-next? #5
Comments
@smunaut |
@afaerber Boot delay in default image is already set to 0. Maybe -2 is the correct value then? #define CONFIG_BOOTDELAY 0 /* -2 to autoboot with no delay and not check for abort */ https://github.com/parallella/parallella-uboot/blob/parallella-gen1/include/configs/parallella.h#L77 |
How often ? Well everytime pretty much. It just won't boot if my serial cable isn't connected. |
@olajep: I set the bootdelay environment variable to something like 3 with the stock firmware. The trick for doing so was powering on without an SD card inserted, then the default boot fails, dropping back to a prompt, where setenv and saveenv can be used to modify the environment. My assumption was that the RX pin is incompletely configured by U-Boot. It probably needs to be configured to have a safe value by default. |
Ok, then it seems CONFIG_BOOTDELAY = 0 will work. Thanks, |
You really should fix the cause of this, or the next input after U-Boot (e.g., grub2 boot menu with any-key timeout) may be affected just as well. Ctrl-C does not seem to be a common thing in U-Boot, is there a config to enable such behavior or would you be hacking that in yourself? Deviating from other U-Boot boards/platforms would not be good. |
I added a 1 second boot delay to parallella-uboot/parallella-next.
3e9bf5c#diff-dfe3aa552f2a30fd1c63469710ada33fR38
The boot-flash images in https://github.com/parallella/parallella-flash are based on the parallella-next u-boot branch (https://github.com/parallella/parallella-uboot/tree/parallella-next).
However according to this below that was not a good idea:
https://github.com/parallella/parallella-examples/blob/master/rpi-camera/README#L29
I think we could emulate this by adding:
to the boot env. Which should be ok since Ctrl-C is unlikely to be in the garbage.
The text was updated successfully, but these errors were encountered: