From 8192bcc2e7fb631883df8b84a74bac35a60623d2 Mon Sep 17 00:00:00 2001 From: Brandon Bennett Date: Tue, 18 Jan 2011 12:22:33 -0700 Subject: [PATCH] Fix emmc parition sizes and add a dummy recovery into recovery.fstab to make build happy Change-Id: Ifce575b496c43c0e5d348899595b3a21e8f60b7f --- BoardConfig.mk | 10 ++++------ recovery.fstab | 3 ++- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 3499a44..8dae0d7 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -17,12 +17,10 @@ BOARD_KERNEL_CMDLINE := no_console_suspend=1 msmsdcc_sdioirq=1 wire.search_count BOARD_KERNEL_BASE := 0x20000000 BOARD_PAGE_SIZE := 0x00000800 -# fix this up by examining /proc/mtd on a running device -BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00380000 -BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00480000 -BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x08c60000 -BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000 -BOARD_FLASH_BLOCK_SIZE := 131072 +TARGET_USERIMAGES_USE_EXT4 := true +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 461942784 +BOARD_USERDATAIMAGE_PARTITION_SIZE := 987648000 +BOARD_FLASH_BLOCK_SIZE := 4096 TARGET_PREBUILT_KERNEL := device/bn/encore/uImage diff --git a/recovery.fstab b/recovery.fstab index b8b8cfc..fb4c962 100644 --- a/recovery.fstab +++ b/recovery.fstab @@ -5,4 +5,5 @@ /data ext4 /dev/block/mmcblk0p6 /cache ext4 /dev/block/mmcblk0p7 /emmc vfat /dev/block/mmcblk0p8 -/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 \ No newline at end of file +/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 +/recovery vfat recovery \ No newline at end of file