Skip to content
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

Fix the vold.fstab entry for nandi #4

Open
wants to merge 1 commit into
base: jellybean
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 268435456
BOARD_USERDATAIMAGE_PARTITION_SIZE := 1073741824
BOARD_FLASH_BLOCK_SIZE := 4096

# The nand usually has 9+ partitions. vold only allows 4 by default, so we
# have to raise this so that it can mount nandi.
BOARD_VOLD_MAX_PARTITIONS := 16

#EGL stuff
BOARD_EGL_CFG := device/allwinner/common/egl.cfg
USE_OPENGL_RENDERER := true
Expand Down
2 changes: 1 addition & 1 deletion vold.fstab
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dev_mount sdcard /storage/sdcard0 auto /devices/virtual/block/nandi
dev_mount sdcard /storage/sdcard0 9 /devices/virtual/block/nand nonremovable
dev_mount extsd /storage/sdcard1 auto /devices/platform/sunxi-mmc.1/mmc_host /devices/platform/sunxi-mmc.0/mmc_host
dev_mount usbhost1 /storage/sdcard2 auto /devices/platform/sw-ehci.1 /devices/platform/sw_hcd_host0 /devices/platform/sw-ehci.2 /devices/platform/sw-ohci.1 /devices/platform/sw-ohci.2