I built the AOSP Master branch yesterday with no errors.
Originally i tried to build it on a laptop that simply did not have the power to do it.
When trying to build on the laptop i did see the xmlpool,h error.
I have access to a 24 core server with 24 gb ram now and successfully built AOSP on the server with zero errors. Used j-20.
So it seems the main issue is trying to build on a system that just cant build it.
I want to build the standalone kernel and boot.img.
The compile instructions here provides a link for the defconfig.
https://www.96boards.org/documentation/consumer/dragonboard/dragonboard410c/guides/aosp.md.html
http://snapshots.linaro.org/96boards/dragonboard410c/linaro/aosp/kernel/latest/defconfig
The file is not at that link.
From here there are 4 kernel config files.
http://snapshots.linaro.org/96boards/dragonboard410c/linaro/aosp/kernel/latest/
I reviewed this thread
Finding
pundiramit
Nov '18
Also going forward, yes we do need out of tree Android config fragments to build db410c kernel for AOSP. Plan is to use qcom_defconfig as base config and enable Android config fragments https://android.googlesource.com/kernel/configs/ at build time.
So there is still no answer to what files to use for the kernel config.
I understand that fragments are going to be used now.
What all files do i need to generate the config.
The closest i can find to an answer is this post.
ndec
Apr '18
the kernel used for the Linaro AOSP project on Dragonboard is this one:
https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/log/?h=release/android/qcomlt-4.14
e.g. branch name is release/android/qcomlt-4.14, and the defconfig files we use to build are: “qcom_defconfig android-base.config android-recommended.config”
We publish the kernel and boot image here:
http://snapshots.linaro.org/96boards/dragonboard410c/linaro/aosp/kernel/latest/
The binaries there are generated from this Jenkins job:
https://git.linaro.org/ci/job/configs.git/tree/lt-qcom-linux-aosp.yaml
If you unroll all scripts you will be able to find the instructions we use to build.
So is it correct that these are the fragments.
“files we use to build are: “qcom_defconfig android-base.config android-recommended.config”
And we use scripts/kconfig/merge_config.sh
to generate the defconfig ???