• 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
  • 相关阅读:
    Pycharm中 import 引入同级文件失败问题
    Python实现 K_Means聚类算法
    Python 的 Matplotlib 画图库
    Numpy库应用实例——GPS定位
    Python 的 Numpy 库
    Python 各种库的安装
    Python 的 pandas 实践
    方差、协方差、协方差矩阵
    Python实现梯度下降法
    Vue 不睡觉教程3
  • 原文地址:https://www.cnblogs.com/googlegis/p/2978808.html
Copyright © 2020-2023  润新知