I'm trying to compile AOSP 10 for an old Tablet with Intel Atom Z2520 (32-bit architecture).
Question 1: What lunch option should I use, to compile for that Tablet + SoC combination?
Current offered options are:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_blueline-userdebug
4. aosp_bonito-userdebug
5. aosp_car_arm-userdebug
6. aosp_car_arm64-userdebug
7. aosp_car_x86-userdebug
8. aosp_car_x86_64-userdebug
9. aosp_cf_arm64_phone-userdebug
10. aosp_cf_x86_64_phone-userdebug
11. aosp_cf_x86_auto-userdebug
12. aosp_cf_x86_phone-userdebug
13. aosp_cf_x86_tv-userdebug
14. aosp_coral-userdebug
15. aosp_crosshatch-userdebug
16. aosp_flame-userdebug
17. aosp_marlin-userdebug
18. aosp_sailfish-userdebug
19. aosp_sargo-userdebug
20. aosp_taimen-userdebug
21. aosp_walleye-userdebug
22. aosp_walleye_test-userdebug
23. aosp_x86-eng
24. aosp_x86_64-eng
25. beagle_x15-userdebug
26. fuchsia_arm64-eng
27. fuchsia_x86_64-eng
28. hikey-userdebug
29. hikey64_only-userdebug
30. hikey960-userdebug
31. hikey960_tv-userdebug
32. hikey_tv-userdebug
33. m_e_arm-userdebug
34. mini_emulator_arm64-userdebug
35. mini_emulator_x86-userdebug
36. mini_emulator_x86_64-userdebug
37. poplar-eng
38. poplar-user
39. poplar-userdebug
40. qemu_trusty_arm64-userdebug
41. uml-userdebug
Question 2: Although the list provided above offers lots of options, it doesn't list them all.
Is there a way to list every single option?
Question 3: Android on Intel Platform seems to have renamed to "Project Celadon".
So I tried using the following manifest:
I'm not sure if this Celadon manifest is the one I need for my Intel Tablet.
Even if I use the lunch combination "celadon-user" I still get the following error:
...
...
...
...
Skipped fetching project platform/hardware/qcom/msm8998 (already have persistent ref)
Skipped fetching project device/google/marlin-kernel (already have persistent ref)
Skipped fetching project platform/test/vts-testcase/hal (already have persistent ref)
Skipped fetching project platform/external/f2fs-tools (already have persistent ref)
Skipped fetching project platform/tools/security (already have persistent ref)
Skipped fetching project platform/external/python/httplib2 (already have persistent ref)
Skipped fetching project platform/external/libhevc (already have persistent ref)
Fetching projects: 99% (796/804) platform/external/python/httplib2Skipped fetching project platform/frameworks/opt/setupwizard (already have persistent ref)
Skipped fetching project device/generic/car (already have persistent ref)
Skipped fetching project platform/external/iperf3 (already have persistent ref)
Skipped fetching project platform/packages/apps/CertInstaller (already have persistent ref)
Skipped fetching project platform/tools/apkzlib (already have persistent ref)
Fetching projects: 100% (804/804), done.
Checking out projects: 4% (33/803) device/generic/x86_64error: Cannot checkout device/google/bonito-kernel: GitError: device/google/bonito-kernel rev-list ('^eebd2aa4f12a59eec71188a59f5b67a1d9418251', 'HEAD', '--'): fatal: bad object HEAD
Traceback (most recent call last):
File "/home/agostinho/AOSP/Build1/.repo/repo/main.py", line 530, in <module>
_Main(sys.argv[1:])
File "/home/agostinho/AOSP/Build1/.repo/repo/main.py", line 505, in _Main
result = run()
File "/home/agostinho/AOSP/Build1/.repo/repo/main.py", line 498, in <lambda>
run = lambda: repo._Run(name, gopts, argv) or 0
File "/home/agostinho/AOSP/Build1/.repo/repo/main.py", line 201, in _Run
result = cmd.Execute(copts, cargs)
File "/home/agostinho/AOSP/Build1/.repo/repo/subcmds/sync.py", line 994, in Execute
self._Checkout(all_projects, opt)
File "/home/agostinho/AOSP/Build1/.repo/repo/subcmds/sync.py", line 553, in _Checkout
self._CheckoutWorker(**kwargs)
File "/home/agostinho/AOSP/Build1/.repo/repo/subcmds/sync.py", line 435, in _CheckoutWorker
return self._CheckoutOne(opt, project, *args, **kwargs)
File "/home/agostinho/AOSP/Build1/.repo/repo/subcmds/sync.py", line 469, in _CheckoutOne
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/home/agostinho/AOSP/Build1/.repo/repo/project.py", line 1571, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/agostinho/AOSP/Build1/.repo/repo/project.py", line 2797, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/agostinho/AOSP/Build1/.repo/repo/project.py", line 2991, in rev_list
(self._project.name, str(args), p.stderr))
error.GitError: device/google/bonito-kernel rev-list ('^eebd2aa4f12a59eec71188a59f5b67a1d9418251', 'HEAD', '--'): fatal: bad object HEAD
Done!
Initialize the environment with the envsetup.sh script.
Done!
Choose which target to build with lunch command.
You're building on Linux
Lunch menu... pick a combo:
10:00:46 Build sandboxing disabled due to nsjail error. This may become fatal in the future.
10:00:46 Please let us know why nsjail doesn't work in your environment at:
10:00:46 https://groups.google.com/forum/#!forum/android-building
10:00:46 https://issuetracker.google.com/issues/new?component=381517
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_blueline-userdebug
4. aosp_bonito-userdebug
5. aosp_car_arm-userdebug
6. aosp_car_arm64-userdebug
7. aosp_car_x86-userdebug
8. aosp_car_x86_64-userdebug
9. aosp_cf_arm64_phone-userdebug
10. aosp_cf_x86_64_phone-userdebug
11. aosp_cf_x86_auto-userdebug
12. aosp_cf_x86_phone-userdebug
13. aosp_cf_x86_tv-userdebug
14. aosp_coral-userdebug
15. aosp_crosshatch-userdebug
16. aosp_flame-userdebug
17. aosp_marlin-userdebug
18. aosp_sailfish-userdebug
19. aosp_sargo-userdebug
20. aosp_taimen-userdebug
21. aosp_walleye-userdebug
22. aosp_walleye_test-userdebug
23. aosp_x86-eng
24. aosp_x86_64-eng
25. beagle_x15-userdebug
26. fuchsia_arm64-eng
27. fuchsia_x86_64-eng
28. hikey-userdebug
29. hikey64_only-userdebug
30. hikey960-userdebug
31. hikey960_tv-userdebug
32. hikey_tv-userdebug
33. m_e_arm-userdebug
34. mini_emulator_arm64-userdebug
35. mini_emulator_x86-userdebug
36. mini_emulator_x86_64-userdebug
37. poplar-eng
38. poplar-user
39. poplar-userdebug
40. qemu_trusty_arm64-userdebug
41. uml-userdebug
Which would you like? [aosp_arm-eng] celadon-user
10:01:27 Build sandboxing disabled due to nsjail error. This may become fatal in the future.
10:01:27 Please let us know why nsjail doesn't work in your environment at:
10:01:27 https://groups.google.com/forum/#!forum/android-building
10:01:27 https://issuetracker.google.com/issues/new?component=381517
build/make/core/product_config.mk:223: error: Can not locate config makefile for product "celadon".
10:01:28 dumpvars failed with: exit status 1
Looking at the above output, it seems that I have a GitError and also a bad lunch option "celadon-user".
Does anyone know where I could get more manifests or more info about building AOSP on Intel Platforms?
Any help on these questions, would be much apreciated.
Agostinho Carvalho