cyanogenmod compile error boot.img too large

i fellow below page step by step

http://wiki.cyanogen…enMod_for_Bravo

it did very well , until when i input the command:

 

[font=monospace][size="3"]. build/envsetup.sh && brunch bravo[/size][/font]

 

about 1 hour, the Terminal print out

 

target Strip: libsimplejni (out/target/product/bravo/obj/lib/libsimplejni.so)
target Strip: libnfc (out/target/product/bravo/obj/lib/libnfc.so)
Target boot image: out/target/product/bravo/boot.img
Symlink: out/target/product/bravo/recovery/root/sbin/[ -> busybox
Symlink: out/target/product/bravo/recovery/root/sbin/[[ -> busybox
Symlink: out/target/product/bravo/recovery/root/sbin/ash -> busybox
out/target/product/bravo/boot.img total size is 3602432
error: out/target/product/bravo/boot.img too large (3602432 > [2703360 - 270336])
make: *** [out/target/product/bravo/boot.img] 错误 1
make: *** 正在删除文件“out/target/product/bravo/boot.img”
make: *** 正在等待未完成的任务....

 
i am new to compile the source,
i will appreciate if somebody can tell me why.

 

============================================

 

i found an similar error in next one .  http://permalink.gmane.org/gmane.comp.handhelds.android.platform/14679

 

Open BoardConfig.mk file. Change partition size.
If you don't have below contents then insert this.

NEED to CHANGE PARTITION_SIZE !!!
=====================================================

BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00500000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00500000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x06900000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x05000000
BOARD_FLASH_BLOCK_SIZE := $(BOARD_NAND_PAGE_SIZE) * 64
posted @ 2011-11-16 20:52  googlegis  阅读(819)  评论(0编辑  收藏  举报

坐标合肥,非典型GIS开发人员 GitHub