Unable to build persist.img with all contents on android full build

289 views
Skip to first unread message

Vijay Suriyanarayanan

unread,
Dec 11, 2017, 3:59:27 PM12/11/17
to android-porting
I'm trying to build android source code (Version 7.1.1) after setting up the environment.
Every time I try to do a clean build, the persist image does not contain all the content present in the persist folder.
This is happening because the persist.img is being created before all files are copied to persist folder.
I have not observed this issue on other products using the same makefiles and configuration.
Any suggestions on what might be causing this? Below are the logs of the issue:

test=msm8953_64 (QC chipset)

[  0% 4/52527] Target persist fs image: out/target/product/test/persist.img
make_ext4fs -s -T -1 -l 33554432 -a persist out/target/product/test/persist.img out/target/product/test/persist
Creating filesystem with parameters:
    Size: 33554432
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 2048
    Inode size: 256
    Journal blocks: 1024
    Label: 
    Blocks: 8192
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 11/2048 inodes and 1166/8192 blocks
out/target/product/test/persist.img maxsize=34197504 blocksize=135168 total=4776108 reserve=405504
[  0% 5/52527] Install: out/target/product/test/persist/coresight/qdss.agent.sh
[  0% 6/52527] Copy: out/target/product/test/persist/WCNSS_qcom_wlan_nv.bin
[  0% 7/52527] Copy: out/target/product/test/persist/WCNSS_wlan_dictionary.dat
[  0% 8/52527] Install: out/target/product/test/persist/coresight/qdss.config.sh
[  0% 9/52527] Install: out/target/product/test/persist/coresight/qdss.functions.sh
[  0% 12/52527] Install: out/target/product/test/persist/sensors/aon_enable
[  0% 13/52527] Install: out/target/product/test/persist/sensors/sensors_settings

After the incomplete persist.img build, if another incremental build is triggered, all contents of the persist folder are available in persist.img and the filesystem contains 23/2048 inodes.

Vijay Suriyanarayanan

unread,
Dec 12, 2017, 11:02:57 AM12/12/17
to android-porting

Satish Patel

unread,
Dec 13, 2017, 1:24:45 PM12/13/17
to vijay.su...@gmail.com, android-porting
yes. sometimes clean build with make -jX make this guff ups.. I have seen in my old builds as well. What I do is 
- after first build, remove only .img files and run incremental build.

--
--
unsubscribe: android-porting+unsubscribe@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Regards,
satish patel
Reply all
Reply to author
Forward
0 new messages