diff options
author | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2024-11-30 21:50:33 +0300 |
---|---|---|
committer | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2024-11-30 22:31:16 +0300 |
commit | 3dd77b33a720b77386c67a8489aa410dc8be427a (patch) | |
tree | acce90289c904b1d4d80703e9d6fa5ce045a38d4 /config/u-boot/gru_kevin | |
parent | ba772eb6acd854d6a90f97823ca98b2f1d2eb656 (diff) |
u-boot: Enable USB with a preboot command
We need to initialize the USB subsystem before we can use USB devices
like keyboards and external disks, by running `usb start`. Use the
PREBOOT config option to run the necessary command before U-Boot tries
to automatically boot anything. It's already enabled for boards other
than gru_kevin and gru_bob, so just update those two configs.
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Diffstat (limited to 'config/u-boot/gru_kevin')
-rw-r--r-- | config/u-boot/gru_kevin/config/default | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/u-boot/gru_kevin/config/default b/config/u-boot/gru_kevin/config/default index 397e387a..1e14cdba 100644 --- a/config/u-boot/gru_kevin/config/default +++ b/config/u-boot/gru_kevin/config/default @@ -476,7 +476,9 @@ CONFIG_ARCH_FIXUP_FDT_MEMORY=y # CONFIG_BOOTARGS_SUBST is not set CONFIG_USE_BOOTCOMMAND=y CONFIG_BOOTCOMMAND="bootflow scan -lb" -# CONFIG_USE_PREBOOT is not set +CONFIG_USE_PREBOOT=y +CONFIG_PREBOOT="usb start" +CONFIG_PREBOOT_DEFINED=y CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-gru-kevin.dtb" # CONFIG_SAVE_PREV_BL_FDT_ADDR is not set # CONFIG_SAVE_PREV_BL_INITRAMFS_START_ADDR is not set |