Skip to content

Commit 9e30c89

Browse files
committed
add partitions for future bootmenu use
1 parent 05c6fc1 commit 9e30c89

File tree

3 files changed

+20
-7
lines changed

3 files changed

+20
-7
lines changed

BoardConfig.mk

+9-1
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,19 @@ BOARD_CUSTOM_RECOVERY_KEYMAPPING:= ../../device/motorola/jordan/recovery_ui.c
8282
BOARD_HAS_NO_MISC_PARTITION := true
8383
BOARD_RECOVERY_IGNORE_BOOTABLES := true
8484
BOARD_HAS_SMALL_RECOVERY := true
85+
BOARD_HAS_LARGE_FILESYSTEM := true
86+
BOARD_HAS_NO_SELECT_BUTTON := true
87+
88+
BOARD_SDCARD_DEVICE_PRIMARY := /dev/block/mmcblk0p1
89+
BOARD_SDCARD_DEVICE_SECONDARY := /dev/block/mmcblk0
90+
BOARD_SDEXT_DEVICE := /dev/block/mmcblk0p2
91+
BOARD_SYSTEM_DEVICE := /dev/block/mmcblk1p21
92+
BOARD_DATA_DEVICE := /dev/block/mmcblk1p25
93+
8594
BOARD_NEVER_UMOUNT_SYSTEM := true
8695
#TARGET_RECOVERY_UI_LIB := librecovery_ui_generic
8796
#TARGET_RECOVERY_UPDATER_LIBS += librecovery_updater_generic
8897

89-
9098
# Override cyanogen squisher to customize our update zip package
9199
TARGET_CUSTOM_RELEASETOOL := ./device/motorola/jordan/releasetools/squisher
92100

recovery.fstab

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# This file is used to build the different partitions
2+
# dont change this file, it is not related to recovery
3+
#
4+
# the recovery one : bootmenu/recovery/recovery.fstab
5+
# the busybox fstab : prebuilt/etc/busybox.fstab
6+
#
27
# mount point fstype device
8+
/boot mtd boot
9+
/recovery mtd recovery
10+
/system ext3 system
11+
/data ext3 userdata
312

4-
/boot mtd /dev/block/mmcblk1p15
5-
/recovery mtd /dev/block/mmcblk1p16
6-
/system ext3 /dev/block/mmcblk1p21
7-
/data ext3 /dev/block/mmcblk1p25

vendorsetup.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2008 The Android Open Source Project
2+
# Copyright (C) 2011 The Android Open Source Project
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -20,5 +20,5 @@
2020
# In particular, you can add lunch options with the add_lunch_combo
2121
# function: add_lunch_combo generic-eng
2222

23-
add_lunch_combo generic_jordan-userdebug
23+
# add_lunch_combo generic_jordan-userdebug
2424

0 commit comments

Comments
 (0)