adlink / meta-adlink-ampere Goto Github PK
View Code? Open in Web Editor NEWSingle Yocto layer for all Ampere Altra Arm 64-bit based Computer on Modules (COM-HPC)
License: Other
Single Yocto layer for all Ampere Altra Arm 64-bit based Computer on Modules (COM-HPC)
License: Other
As you know exactly what hardware this BSP is aimed at, you can do better than just TUNE_FEATURES ?= "aarch64 "
https://github.com/ADLINK/meta-adlink-ampere/blob/main/conf/machine/include/ampere.inc#L19
You should never set DISTRO_FEATURES
in a machine configuration.
It would be great to have a mickledore branch and allow downstream projects to use it instead of master.
Relates to #33.
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
Don't do that.
This is bad practise:
IMAGE_INSTALL_append = " kernel-modules"
(https://github.com/ADLINK/meta-adlink-ampere/blob/main/conf/machine/include/ampere.inc#L25)
As if someone wants to build a minimal image with just the kernel modules they need, the can't. Think initramfs.
The idiom for this is to set MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
.
https://github.com/ADLINK/meta-adlink-ampere/blob/main/conf/machine/include/ampere.inc#L19
DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
The machine BSP has no need to force the init system used. Don't do this in the BSP.
I followed the instructions in Autoware's AD-kit-Start-Guide (link). The command kas build ComHpc.yml
failed with this error below. The full log is shown in the end of the post.
ERROR: Nothing PROVIDES 'ewaol-image'. Close matches:
ewaol-guest-vm-image
meta-oe-image
It run on the settings below:
kas 3.0.2 (configuration format version 11, earliest compatible version 1)
The instructions on Autoware might work at the moment it was written.
The problem is it does not tell the version of dependent meta-ewaol
repo.
A good practice is to use git-submodule to pin the 3rd party repo to a specific commit.
Full kas log:
2022-05-27 01:23:28 - INFO - kas 3.0.2 started
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere$ git rev-parse --show-toplevel
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere$ git rev-parse --show-toplevel
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere$ git rev-parse --show-toplevel
2022-05-27 01:23:28 - INFO - Using /path/to/meta-adlink-ampere as root for repository meta-adlink-ampere
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere$ git rev-parse --show-toplevel
2022-05-27 01:23:28 - INFO - Using /path/to/meta-adlink-ampere as root for repository meta-adlink-ampere
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere$ git rev-parse --show-toplevel
2022-05-27 01:23:28 - INFO - Using /path/to/meta-adlink-ampere as root for repository meta-adlink-ampere
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-arm$ git remote set-url origin https://git.yoctoproject.org/git/meta-arm
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-openembedded$ git remote set-url origin https://git.openembedded.org/meta-openembedded
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-virtualization$ git remote set-url origin https://git.yoctoproject.org/git/meta-virtualization
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/poky$ git remote set-url origin https://git.yoctoproject.org/git/poky
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-arm$ git cat-file -t fc09cc0e8db287600625e64905170a6de24f2686
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-openembedded$ git cat-file -t 166ef8dbb14ad98b2094a77fcf352f6c63d5abf2
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-virtualization$ git cat-file -t 2fae71cdf0e8c6f398f51219bdf31eac76c662ec
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/poky$ git cat-file -t 453be4d258f71855205f45599eea04589eb4a369
2022-05-27 01:23:28 - INFO - Repository meta-arm already contains fc09cc0e8db287600625e64905170a6de24f2686 as commit
2022-05-27 01:23:28 - INFO - Repository meta-openembedded already contains 166ef8dbb14ad98b2094a77fcf352f6c63d5abf2 as commit
2022-05-27 01:23:28 - INFO - Repository meta-virtualization already contains 2fae71cdf0e8c6f398f51219bdf31eac76c662ec as commit
2022-05-27 01:23:28 - INFO - Repository poky already contains 453be4d258f71855205f45599eea04589eb4a369 as commit
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere$ git rev-parse --show-toplevel
2022-05-27 01:23:28 - INFO - Using /path/to/meta-adlink-ampere as root for repository meta-adlink-ampere
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-arm$ git status -s
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-arm$ git rev-parse --verify -q origin/fc09cc0e8db287600625e64905170a6de24f2686
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-arm$ git checkout -q fc09cc0e8db287600625e64905170a6de24f2686
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-openembedded$ git status -s
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-openembedded$ git rev-parse --verify -q origin/166ef8dbb14ad98b2094a77fcf352f6c63d5abf2
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-openembedded$ git checkout -q 166ef8dbb14ad98b2094a77fcf352f6c63d5abf2
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-virtualization$ git status -s
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-virtualization$ git rev-parse --verify -q origin/2fae71cdf0e8c6f398f51219bdf31eac76c662ec
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/meta-virtualization$ git checkout -q 2fae71cdf0e8c6f398f51219bdf31eac76c662ec
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/poky$ git status -s
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/poky$ git rev-parse --verify -q origin/453be4d258f71855205f45599eea04589eb4a369
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/poky$ git checkout -q 453be4d258f71855205f45599eea04589eb4a369
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere$ git rev-parse --show-toplevel
2022-05-27 01:23:28 - INFO - Using /path/to/meta-adlink-ampere as root for repository meta-adlink-ampere
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere$ git rev-parse --show-toplevel
2022-05-27 01:23:28 - INFO - Using /path/to/meta-adlink-ampere as root for repository meta-adlink-ampere
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/layers/poky$ /tmp/tmp4m0uovpm/get_bb_env /path/to/meta-adlink-ampere/build
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere$ git rev-parse --show-toplevel
2022-05-27 01:23:28 - INFO - Using /path/to/meta-adlink-ampere as root for repository meta-adlink-ampere
2022-05-27 01:23:28 - INFO - /path/to/meta-adlink-ampere/build$ /path/to/meta-adlink-ampere/layers/poky/bitbake/bin/bitbake -c build ewaol-image
Loading cache: 100% |##########################################################################################################################################################| Time: 0:00:00
Loaded 4115 entries from dependency cache.
WARNING: No bb files in default matched BBFILE_PATTERN_meta-ewaol-distro '^/path/to/meta-adlink-ampere/meta-ewaol/meta-ewaol-distro/'
ERROR: Nothing PROVIDES 'ewaol-image'. Close matches:
ewaol-guest-vm-image
meta-oe-image
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.