u-boot/board/qualcomm/dragonboard410c
Stephan Gerhold ccb8de2387 board: dragonboard410c: Fix fastboot
At the moment pressing the volume down key does not actually launch
fastboot. This is because setting "bootdelay" to "-1" actually
disables autoboot and drops to the U-Boot console. It does not execute
the "bootcmd".

The correct value for "bootdelay" here would be "-2", which disables
the delay and key checking and would immediately execute the "bootcmd".

However, even better in this case is using "preboot" to trigger Fastboot.
The advantage is that running "fastboot continue" will actually continue
the autoboot process instead of ending up in the U-Boot shell.

Also make sure to unset "preboot" again immediately in case the user
saves the environment after triggering fastboot.

Cc: Ramon Fried <rfried.dev@gmail.com>
Fixes: aa043ee91a ("db410c: automatically launch fastboot")
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
2021-07-23 18:53:46 -04:00
..
dragonboard410c.c board: dragonboard410c: Fix fastboot 2021-07-23 18:53:46 -04:00
Kconfig
MAINTAINERS board: dragonboard410c: Load U-Boot directly without LK 2021-07-23 18:53:45 -04:00
Makefile board: dragonboard410c: Load U-Boot directly without LK 2021-07-23 18:53:45 -04:00
readme.txt board: dragonboard410c: Load U-Boot directly without LK 2021-07-23 18:53:45 -04:00

Documentation for DragonBoard 410c is now located at:
    doc/board/qualcomm/dragonboard410c.rst

Note that the installation method has changed: U-Boot is now installed into the
"aboot" partition (replacing Little Kernel/LK). It is no longer packaged into
an Android boot image and loaded through Qualcomm's LK bootloader.