-
Notifications
You must be signed in to change notification settings - Fork 218
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
Rpi3: Use of USB keyboard to stop u-boot countdown #131
Comments
And I read this as you have the keyboard connected to the PI itself? I.e, no UART involved here? |
Yes, plain standard USB Keyboard connected to RPI3 USB port. |
Hi @msa2, When using default u-boot configuration (without manually specifying |
Ok, maybe I pulled some intermediate version at some point. I'm not constantly updating to the latest, because I need some stability for my own tests. What is the role of If this problem does not appear for others, it must be something in my specific version and setup (and as I said, I found a "work around"). |
I was wrong. I just checked my RPi3 setup once more - I have the same issue with a keyboard, seems that I was confused and all memories mixed up after I've been playing with Hikey and TI board setups for the last two days :) . It seems, that If you try to use
Pretty interesting, before this case I thought that default and custom environments are merged :) |
@msa2 so the only way to fix it - is to do what you did, just add needed vars to |
I think there is u-boot modification/addition, which reads the environment variables from a text file, if one with specific name uEnv.txt exists (actually haven't checked whether it is already supported) Adding this feature might be better approach than generating uboot.env at build time. |
@msa2 You can just add this lines to CONFIG_EXTRA_ENV_SETTINGS/CONFIG_BOOTCOMMAND defines in
In this case env definitions in uEnv.txt will be just added to your default configuration. |
I'm adding this as a "known issue" in the changelog, when we're about to make the |
Add support of kernel output both to connected monitor and UART Add "usb start" at pre-boot stage to be able to use a keyboard in U-Boot Fixes: OP-TEE/optee_os#1367 OP-TEE#131 Signed-off-by: Igor Opaniuk <[email protected]>
Add support of kernel output both to connected monitor and UART Add "usb start" at pre-boot stage to be able to use a keyboard in U-Boot Fixes: OP-TEE/optee_os#1367 OP-TEE#131 Acked-by: Jens Wiklander <[email protected]> Reviewed-by: Joakim Bech <[email protected]> Signed-off-by: Igor Opaniuk <[email protected]>
Add support of kernel output both to connected monitor and UART Add "usb start" at pre-boot stage to be able to use a keyboard in U-Boot Fixes: OP-TEE/optee_os#1367 #131 Acked-by: Jens Wiklander <[email protected]> Reviewed-by: Joakim Bech <[email protected]> Signed-off-by: Igor Opaniuk <[email protected]>
yes |
When I build rpi3 system, it seems that USB keyboard cannot be used to stop the u-boot timeout. However, u-boot/include/configs/rpi.h has line
#define CONFIG_PREBOOT "usb start"
but it appears not to be effective. When I added "preboot=usb start" environment and saved, USB keyboard started to work (now I can stop the count down). Could it be that your ./build/rpi3/firmware/uboot.env.txt somehow overrides the default u-boot build and preboot does not get defined?
[I'm using bleeding edge version retrieved at end of January this year]
The text was updated successfully, but these errors were encountered: