Age | Commit message (Collapse) | Author |
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Create a specific distro starting from the poky one and move all
Axxia specific settings from layer.conf and machine configuration
files in order give the posibility to use meta-axxia with other
layers without bloking each onther.
Update README with this change since the final user need to set
the Axxia distro in local.conf from now.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
As first step in creating a Bash Script to interactive
compile meta-axxia (for final users) - A0164, we add
customized bblayer and local.conf and common targets.
By sourcing poky/meta-axxia/axxia-env, TEMPLATECONF
variable will not point anymore to meta-poky templates
but will point to our customized ones from meta-axxia/conf.
That way, on sourcing poky/oe-init-build-env to create the
build setup, axxia common targets will be shown and customized
bblayer and local.conf will be populated in build directory.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
README.md file is required for web description of the layer.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Since in meta-axxia we have our lxc fragment, skip bbappends
from meta-virtualization which add lxc and some other fragments
for Yocto kernel.
Until now, this was done only for Github kernel.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Part of A0181 (Reorganize kernel recipes from meta-axxia):
Get rid of AXXIA_SRC variable and most of inc files from
/recipes-kernel/linux by having separate recipes for the Kernel
from Github named linux-axxia.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Also remove .inc files for Axxia/Github recipes.
Part of A0181 (Reorganize kernel recipes from meta-axxia):
Get rid of AXXIA_SRC variable and most of inc files from
/recipes-kernel/linux by having separate recipes for the Kernel
from Github named linux-axxia.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Part of A0181 (Reorganize kernel recipes from meta-axxia):
Get rid of AXXIA_SRC variable and most of inc files from
/recipes-kernel/linux by having separate recipes for the Kernel
from Github named linux-axxia.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Part of A0181 (Reorganize kernel recipes from meta-axxia):
Get rid of AXXIA_SRC variable and most of inc files from
/recipes-kernel/linux by having separate recipes for the Kernel
from Github named linux-axxia.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Also, delete unsupported axxiaarm fragments for 3.14.
Part of A0181 (Reorganize kernel recipes from meta-axxia):
Get rid of AXXIA_SRC variable and most of inc files from
/recipes-kernel/linux by having separate recipes for the Kernel
from Github named linux-axxia.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Also, delete unsupported axxiaarm defconfigs for 3.14.
Part of A0181 (Reorganize kernel recipes from meta-axxia):
Get rid of AXXIA_SRC variable and most of inc files from
/recipes-kernel/linux by having separate recipes for the Kernel
from Github named linux-axxia.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
In order to add support for /perf/tools (Coverity) on arm64,
python-dev is required.
More details in Trace:
A0176: Add the Equivalent of Ubuntu's 'python-dev' to Yocto
Also, add perf pkg because it was removed by mistake in commit:
commit 2b3e350e45632e85e33ef95030b323be0ff7aa6d
axxia-image: Sort alphabetically packages names and remove duplicates
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Even if the Kernel can be compiled with multiple jobs simultaneously,
when compile the fit images with more that 1 job, the build will fail
with strange and different errors such as:
mkimage -f fdt.its fdt.fit
mkimage -f multi.its multi.fit
FATAL ERROR: Couldn't open "multi.its": No such file or directory
FATAL ERROR: Couldn't open "fdt.its": No such file or directory
mkimage: Can't read multi.fit.tmp: Invalid argument
mkimage Can't add hashes to FIT blob
mkimage: Can't read fdt.fit.tmp: Invalid argument
mkimage Can't add hashes to FIT blob
GNUmakefile:71: recipe for target 'multi.fit' failed
make: *** [multi.fit] Error 255
make: *** Waiting for unfinished jobs....
GNUmakefile:65: recipe for target 'fdt.fit' failed
make: *** [fdt.fit] Error 255
Forcing to compile only the fit images with -j1 flag will fix this.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Because kernel hasn't problems running its make process in parallel,
remove the parallelism resetting line PARALLEL_MAKE = "" and use
the value defined in local.conf for the kernel too.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Enable IP_NF_FILTER and NETFILTER_XT_MATCH_STATE kernel options
to fix the following systemd error:
lxc-net[1969]: iptables v1.6.0: can't initialize iptables table
`filter': Table does not exist (do you need to insmod?)
lxc-net[1969]: Perhaps iptables or your kernel needs to be upgraded.
lxc-net[1969]: Failed to setup lxc-net.
systemd[1]: Started LXC network bridge setup.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
If NIS/YP is not fully configured, it will fail on starting by systemd.
Set a generic domain name which will need to be changed with a working
one.
[FAILED] Failed to start YP Bind.
ypbind[1946]: domainname not set - aborting.
Also, add -broadcast flag on /usr/sbin/ypbind call to only "send a
broadcast to request the information needed to bind to a specific NIS
server. With this option, /etc/yp.conf will be ignored." (man ypbind)
ypbind[2208]: No NIS server and no -broadcast option specified.
ypbind[2208]: Add a NIS server to the /etc/yp.conf configuration file,
ypbind[2208]: or start ypbind with the -broadcast option.
After NIS/YP is configured, the service need to be restarted:
$ systemctl restart ypbind.service
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
LXC service can't start and block the boot process because it's
started beyond run_postinsts service:
[ OK ] Stopped LXC network bridge setup.
[ *** ] A start job is running for Run pending postinsts (7s / no limit)
Fixed by creating an axxia specific systemd for lxc package which
add --no-block flag for systemctl.
Back-port an OE patch by Mark Asselstine:
https://patchwork.openembedded.org/patch/134317
The current class works fine when a recipe uses SYSTEMD_AUTO_ENABLE
'enable' and has no on device pkg_postinst(), ie when the postinst is
run as part of rootfs creation. However, when there is a component of
pkg_postinst() that is run on device the 'systemctl restart' is run as
part of the run_postinsts.service at boot. This results in the boot
spinning indefinitely with:
[ *** ] A start job is running for Run pending postinsts (7s / no limit)
The issue could potentially be that the packages service has an
'After' clause which comes later in the boot, beyond
run_postinsts.service, creating a chicken before the egg
scenario. Even service files without an 'After' clause cause this
situation however. Despite this not being the cause of the issue this
fix will prevent this scenario from happenning.
Using strace we are able to find that during boot, when
run_postinsts.service is running attempting to start or restart any
service will result in the call get stuck on poll(). Since the
run_postinsts.service does not monitor the outcome of the call to
restart we can work around this by using '--no-block'.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
|
|
Enable CONFIG_NFSD kernel option for the Yocto Kernel
to fix the following systemd error:
[FAILED] Failed to mount NFSD configuration filesystem.
systemd[1]: Mounting NFSD configuration filesystem...
mount[1041]: mount: unknown filesystem type 'nfsd'
systemd[1]: Failed to mount NFSD configuration filesystem.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Enable CONFIG_NFSD kernel option for the Github Kerne
to fix the following systemd error:
[FAILED] Failed to mount NFSD configuration filesystem.
systemd[1]: Mounting NFSD configuration filesystem...
mount[1041]: mount: unknown filesystem type 'nfsd'
systemd[1]: Failed to mount NFSD configuration filesystem.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
lxc add --bind-interfaces option for dnsmasq which fail on
initialization with teh following systemd error:
dnsmasq[2031]: cannot set --bind-interfaces and --bind-dynamic
systemd[1]: Failed to start DNS forwarder and DHCP server.
Remove dnsmasq options for lxc to match the metadata from upstream
(meta-virtualization from Yocto).
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
After moving from sysvinit to systemd, lxcbr0 is not created even if
lxc-net service starts successfully. It exit because of a OR condition
in /usr/libexec/lxc/lxc-net:
[ "x$USE_LXC_BRIDGE" = "xtrue" ] || { exit 0; }
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
domainname.service faild to start because of missing NIS
EnvironmentFile which should be in /etc.
Create and install in /etc nisdomainname configuration
file which will be completed with the NISDOMAINNAME.
[FAILED] Failed to start NIS Domainname.
systemd[1]: domainname.service: Failed to load environment files: No such file or directory
systemd[1]: domainname.service: Failed to run 'start' task: No such file or directory
systemd[1]: Failed to start NIS Domainname.
Also, remove unusefull ypbind-yocto init file. Use the one
from Yocto poky.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
For Github builds
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Also, remove sysvinit recipe from meta-axxia.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
This patch is in the kernel Yocto repository now.
This reverts commit 2d51126eddf99596d1af5de4844eade8e6f72af2.
|
|
Default cgroup-lite version from jethro branch (1.1) bring an
cgroup error on trying to start multiple containers simultaneous.
Even if no container is running, if one container was started
previously, cgoups were locked and can't be deleted:
lxc-start ERROR lxc_cgfs - cgfs.c:lxc_cgroupfs_create:901 -
Could not find writable mount point for cgroup hierarchy 7
while trying to create cgroup.
lxc-start ERROR lxc_cgfs - cgfs.c:cgroup_rmdir:209 - Device or
resource busy - cgroup_rmdir: failed to delete
/sys/fs/cgroup/...
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Axxia BSP for Powerpc from kernel 3.14 was ported to kenel 4.1.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Axxia BSP for Powerpc from kernel 3.14 was ported to kenel 4.1.
Add kernel fragments to use with the Github kernel.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Axxia BSP for Powerpc from kernel 3.14 was ported to kenel 4.1.
Add kernel fragments to use with the Yocto kernel.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Depending on the number of threads, sometimes at compile step
this error occurs:
kernel-source/tools/build/Makefile.build:91:
perf/1.0-r9/perf-1.0/pmu-events/jsmn.o' failed
|
|
base_contains is deprecated.
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Include dev sub-package for yp-tools in the large image to
include NIS shared libraries and to avoid the following error:
ypcat: error while loading shared libraries: libnis.so.1:
cannot open shared object file: No such file or directory
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|
|
Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
|