明远智睿技术论坛

标题: IMX6 Android5.1.1 编译system报错 [打印本页]

作者: guoggn    时间: 2018-1-18 15:54
标题: IMX6 Android5.1.1 编译system报错
Combining NOTICE files into HTML
Combining NOTICE files into text
Installed file list: out/target/product/myimx6ek_6dq/installed-files.txt
Target system fs image: out/target/product/myimx6ek_6dq/obj/PACKAGING/systemimage_intermediates/system.img
Running:  mkuserimg.sh -s out/target/product/myimx6ek_6dq/system out/target/product/myimx6ek_6dq/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 520122368 out/target/product/myimx6ek_6dq/root/file_contexts
make_ext4fs -s -T -1 -S out/target/product/myimx6ek_6dq/root/file_contexts -l 520122368 -a system out/target/product/myimx6ek_6dq/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/myimx6ek_6dq/system
Creating filesystem with parameters:
    Size: 520122368
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7952
    Inode size: 256
    Journal blocks: 1984
    Label:
    Blocks: 126983
    Block groups: 4
    Reserved block group size: 31
Created filesystem with 1454/31808 inodes and 109200/126983 blocks
build_verity_tree -A aee087a5be3b982978c923f566a94613496b417f2af592639bc80d141e34dfe7 out/target/product/myimx6ek_6dq/obj/PACKAGING/systemimage_intermediates/system.img /tmp/tmpWc7oO1_verity_images/verity.img
system/extras/verity/build_verity_metadata.py 520122368 /tmp/tmpWc7oO1_verity_images/verity_metadata.img a2ec7bc3c973eb8386b9057655b73a115033c7c6b4a1d397fea5a42b63dff675 aee087a5be3b982978c923f566a94613496b417f2af592639bc80d141e34dfe7 /dev/block/mmcblk3p5 out/host/linux-x86/bin/verity_signer build/target/product/security/verity.pk8
append2simg out/target/product/myimx6ek_6dq/obj/PACKAGING/systemimage_intermediates/system.img /tmp/tmpWc7oO1_verity_images/verity_metadata.img
append2simg out/target/product/myimx6ek_6dq/obj/PACKAGING/systemimage_intermediates/system.img /tmp/tmpWc7oO1_verity_images/verity.img

卡在这个位置8个小时了,不动!!!!!!!
这么办?



修改过以下位置

1. build/core/dex_preopt_libart.mk

      # start of image reserved address space
      LIBART_IMG_HOST_BASE_ADDRESS   := 0x60000000
     -LIBART_IMG_TARGET_BASE_ADDRESS := 0x50000000
     +LIBART_IMG_TARGET_BASE_ADDRESS := 0x70000000

2. device/myzr/myimx6ek_6dq/BoardConfig.mk

      PRODUCT_MODEL := SABRESD-MX6DQ     
    +WITH_DEXPREOPT := true     

      TARGET_RELEASETOOLS_EXTENSIONS := device/fsl/imx6

3. device/myzr/imx6/BoardConfigCommon.mk

     -BOARD_SYSTEMIMAGE_PARTITION_SIZE := 377487360
     +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 524288000






作者: 清风    时间: 2020-7-9 09:18
请问问题解决了么?




欢迎光临 明远智睿技术论坛 (http://bbs.myzr.com.cn/) Powered by Discuz! X3.2