Skip to content

Commit

Permalink
Fix emmc parition sizes and add a dummy recovery into recovery.fstab …
Browse files Browse the repository at this point in the history
…to make build happy

Change-Id: Ifce575b496c43c0e5d348899595b3a21e8f60b7f
  • Loading branch information
nemith committed Jan 18, 2011
1 parent c099776 commit 8192bcc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 4 additions & 6 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion recovery.fstab
Original file line number Diff line number Diff line change
Expand Up @@ -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
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/recovery vfat recovery

0 comments on commit 8192bcc

Please sign in to comment.