mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
Shanling Q1: Disable recovery kernel boot option
The Q1 handles firmware updates by unpacking the firmware image from the player app, then rebooting into the recovery kernel. The recovery kernel reflashes the player kernel and rootfs with the unpacked update files on the SD card. Booting the recovery kernel directly is therefore not useful to the vast majority of users; remove the option from the recovery menu and remove the key combo. Change-Id: I6cebfb6a3514ff2ae7d6f3904ac93b481773799b
This commit is contained in:
parent
a5b08d0af7
commit
b4e7c60c6d
1 changed files with 3 additions and 2 deletions
|
@ -80,12 +80,13 @@ struct uimage_header;
|
|||
# define OF_PLAYER_ARGS OF_RECOVERY_ARGS \
|
||||
" init=/linuxrc ubi.mtd=5 root=ubi0:rootfs ubi.mtd=6 rootfstype=ubifs rw"
|
||||
# define OF_PLAYER_BTN BUTTON_PREV
|
||||
# define OF_RECOVERY_NAME "Shanling recovery"
|
||||
/* Hide recovery kernel, it needs the OF player to initiate the update. */
|
||||
//# define OF_RECOVERY_NAME "Shanling recovery"
|
||||
# define OF_RECOVERY_ADDR 0x940000
|
||||
# define OF_RECOVERY_LENGTH (10 * 1024 * 1024)
|
||||
# define OF_RECOVERY_ARGS \
|
||||
"mem=64M@0x0 no_console_suspend console=ttyS2,115200n8 lpj=5009408 ip=off"
|
||||
# define OF_RECOVERY_BTN (BUTTON_PREV|BUTTON_NEXT)
|
||||
//# define OF_RECOVERY_BTN (BUTTON_PREV|BUTTON_NEXT)
|
||||
#elif defined(EROS_QN)
|
||||
# define BL_RECOVERY BUTTON_VOL_UP
|
||||
# define BL_UP BUTTON_SCROLL_BACK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue