1
0
Fork 0
forked from len0rd/rockbox

ibasso: Implement proper PIVOT_ROOT filesystem access

Including direct use of the external SD card mount

Known issue:  If SD card is inserted at startup, it must be
              ejected and reinserted to be registered.

Change-Id: I5f420160bda32135cbb088c1e8b04b6e3a73018e
This commit is contained in:
Solomon Peachy 2021-04-11 09:10:55 -04:00
parent e4345f2db8
commit b6fce99046
5 changed files with 75 additions and 5 deletions

View file

@ -140,9 +140,14 @@
/* Define this if a programmable hotkey is mapped */
#define HAVE_HOTKEY
/* No special storage */
#define CONFIG_STORAGE STORAGE_HOSTFS
/* Supports internal and microSD storage */
#define CONFIG_STORAGE (STORAGE_HOSTFS|STORAGE_SD)
#define HOSTFS_VOL_DEC "Internal"
#define HAVE_STORAGE_FLUSH
#define HAVE_MULTIDRIVE /* But _not_ CONFIG_STORAGE_MULTI */
#define NUM_DRIVES 2
#define HAVE_HOTSWAP
#define MULTIDRIVE_DIR "/mnt/external_sd"
/* More common stuff */
#define BATTERY_DEV_NAME "battery"

View file

@ -137,9 +137,14 @@
/* Define this if a programmable hotkey is mapped */
#define HAVE_HOTKEY
/* No special storage */
#define CONFIG_STORAGE STORAGE_HOSTFS
/* Supports internal and microSD storage */
#define CONFIG_STORAGE (STORAGE_HOSTFS|STORAGE_SD)
#define HOSTFS_VOL_DEC "Internal"
#define HAVE_STORAGE_FLUSH
#define HAVE_MULTIDRIVE /* But _not_ CONFIG_STORAGE_MULTI */
#define NUM_DRIVES 2
#define HAVE_HOTSWAP
#define MULTIDRIVE_DIR "/mnt/external_sd"
/* More common stuff */
#define BATTERY_DEV_NAME "battery"