Hi Prabhu,
Thank you for the information.
Regards,
Andy
From: T Prabhu, Vignesh [mailto:vignesh.t.prabhu@intel.com]
Sent: Thursday, July 30, 2020 6:05 PM
To: Andy Ho 賀紹華 <andyh(a)crete.com.tw>; celadon(a)lists.01.org
Subject: RE: [
01.org Celadon] Re: Questions about build Celadon
Hi Andy,
Glad to hear that the steps shared earlier helped you to sync and build.
Regarding the git-lfs error in the log file, it is because of git-lfs
configuration in your environment. MediaSDK repo seems to have issues when
git-lfs related configuration is present in the system. Kindly follow the
below commands to remove any git-lfs related configuration to fix this
particular issue.
1. sudo git lfs uninstall –system”
2. # confirm all git lfs settings are gone
git config -l | grep lfs
3. In case, it exists, check .gitconfig or .lfsconfig file in your
$HOME directory and remove LFS related configuration.
Regarding the lunch command, as you mentioned, “lunch caas-userdebug” is
supposed to work without any issues. If target is not mentioned, then
ideally you should be getting the menu listed for different lunch targets.
Looking into the issue, we could find that if TARGET_PRODUCT environment
variable is set, then you do get the error shared by you as can be seen
below.
# export TARGET_PRODUCT=celadon
# lunch
You're building on Linux
Lunch menu... pick a combo:
build/make/core/product_config.mk:223: error: Can not locate config makefile
for product "celadon".
09:57:54 dumpvars failed with: exit status 1
Hence please ensure that TARGET_PRODUCT environment variable is unset in
case you are not giving any lunch target along with lunch command.
Again thank you for trying out celadon and reaching out to us.
Regards,
Vignesh Prabhu
From: Andy Ho 賀紹華 <andyh(a)crete.com.tw <mailto:andyh@crete.com.tw>
Sent: Thursday, July 30, 2020 2:17 PM
To: T Prabhu, Vignesh <vignesh.t.prabhu(a)intel.com
<mailto:vignesh.t.prabhu@intel.com> >; celadon(a)lists.01.org
<mailto:celadon@lists.01.org
Subject: RE: [
01.org Celadon] Re:
Questions about build Celadon
Hi Prabhu,
I have tried to download bsp follow the same procedure you provide several
time, each sync will stop because different failure, please check the log.
Finally I can build the BSP successfully, the lunch will fail if the target
is not assigned, lunch caas-userdebug will not cause such issue.
android@ubuntu:~/Desktop/celadonciv_android10$ lunch
You're building on Linux
Lunch menu... pick a combo:
build/make/core/product_config.mk:223: error: Can not locate config makefile
for product "celadon".
20:40:26 dumpvars failed with: exit status 1
Thank you for your help.
Andy
From: T Prabhu, Vignesh [mailto:vignesh.t.prabhu@intel.com]
Sent: Thursday, July 23, 2020 8:15 PM
To: Andy Ho 賀紹華 <andyh(a)crete.com.tw <mailto:andyh@crete.com.tw> >;
celadon(a)lists.01.org <mailto:celadon@lists.01.org
Subject:
[
01.org Celadon] Re: Questions about build Celadon
Hi Andy,
Can you please follow the following steps in a fresh workspace to build
Celadon In VM image based on Android 10 and let us know whether it helps:
1. repo init -u
https://github.com/projectceladon/manifest -b master -m
default.xml
<
https://github.com/projectceladon/manifest%20-b%20master%20-m%20default.xml
2. repo sync -j10
3. source build/envsetup.sh
4. lunch caas-userdebug
5. make flashfiles -j $(nproc)
Please ensure that this is tried in a fresh workspace.
Regards,
Vignesh Prabhu
From: Andy Ho 賀紹華 <andyh(a)crete.com.tw <mailto:andyh@crete.com.tw>
Sent: Thursday, July 23, 2020 12:27 PM
To: T Prabhu, Vignesh <vignesh.t.prabhu(a)intel.com
<mailto:vignesh.t.prabhu@intel.com> >; celadon(a)lists.01.org
<mailto:celadon@lists.01.org
Subject: RE: [
01.org Celadon] Re:
Questions about build Celadon
Hi Prabhu,
Thank you very much for your help.
1.I have been reinstall ubuntu 18.04 and repo celadon bsp for 3 times, the
build still failed.
Compare to my successful build before under ubuntu 16.04 for Celadon
android9 bare metal, the build failed is caused “ system.img is not found.
“
So I can’t find system.img under
out/target/product/caas/obj/PACKAGING/systemimage_intermediates/system.img
either.
[ 2% 7/350] Target system fs image:
out/target/product/caas/obj/PACKAGING/systemimage_intermediates/system.img
FAILED:
out/target/product/caas/obj/PACKAGING/systemimage_intermediates/system.img
I can’t find related info in /build/core/main.mk,and Makefile for
system.img,
Now I reinstall ubuntu and repo celadon bsp again using the command you
suggested.
After that if the build is still fail, what could be the possible reason? or
where is the system.img processed?
2. For bare metal build, I remember there are some steps to deploy images to
target platform, like
1.Add SPARE-XXXX to make command to generate images like files in
<
https://github.com/projectceladon/celadon-binary/blob/master/CELADON_01.20.
01.12_A09/cel_kbl-flashfiles-eng.build.zip>
cel_kbl-flashfiles-eng.build.zip, (otherwise those image will not generated)
2.Copy xxxxx to a UEFI bootable usb disk.
3.………etc
now those important information for bare metal has been removed from Celadon
website, I can’t find it anymore, where can find those detail steps again?
Regards,
Andy
From: T Prabhu, Vignesh [mailto:vignesh.t.prabhu@intel.com]
Sent: Thursday, July 23, 2020 1:29 PM
To: Andy Ho 賀紹華 <andyh(a)crete.com.tw <mailto:andyh@crete.com.tw> >;
celadon(a)lists.01.org <mailto:celadon@lists.01.org
Subject:
[
01.org Celadon] Re: Questions about build Celadon
Hi Andy,
Thank you for trying out Celadon and reaching out to us. My replies for
question 1 and 2 inline below:
1. Build fail (Ubuntu 18.04)
<snip>
The below three repo command are perfectly right and should be able to build
successfully.
repo init -u
https://github.com/projectceladon/manifest -b
celadon/master/2020q1 -m default.xml
<
https://github.com/projectceladon/manifest%20-b%20celadon/master/2020q1%20-
m%20default.xml
repo init -u
https://github.com/projectceladon/manifest -b
celadon/p/mr0/master -m cic
repo init -u
https://github.com/projectceladon/manifest -b
celadon/p/mr0/2020q1 -m cic
The build always fail ( see attached log), and the fail log show the system.
img is not found, how to solve it?
This seems to be very specific to your build environment. The error points
to “./bin/find” command not being found. Is it possible that the find
command was aliased in your system or not available for some reason.
2. How to download specified version of bsp?
<snip>
so I have try to download bsp using
repo init -u
https://github.com/projectceladon/manifest -b
celadon/master/2020q1 -m CELADON_01.20.01.12_A09.xml
<
https://github.com/projectceladon/manifest%20-b%20celadon/master/2020q1%20-
m%20CELADON_01.20.01.12_A09.xml
repo init -u
https://github.com/projectceladon/manifest -b
celadon/master/2020q1 -m master/stable-build/CELADON_01.20.01.12_A09.xml
<
https://github.com/projectceladon/manifest%20-b%20celadon/master/2020q1%20-
m%20CELADON_01.20.01.12_A09.xml
but without success, please guide the correct way to check out the code for
each release.
The right repo init command is below:
repo init -u
https://github.com/projectceladon/manifest -m
stable-build/CELADON_01.20.01.12_A09.xml
<
https://github.com/projectceladon/manifest%20-m%20stable-build/CELADON_01.2
0.01.12_A09.xml
<snip>
Regards,
Vignesh Prabhu