Age | Commit message (Collapse) | Author |
|
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
Or else the changes for systemd-conf recipe will be missed.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The systemd configuration has been split from the systemd recipe.
Thus we need to move our changes to the systemd configuration.
While at it drop the kmod packageconfig. This was only needed with angstrom.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
These machines use an old Nvidia provided downstream kernel 3.1.10. They no
longer much the way more recent sysroot components, e.g. libc, xserver et. al.
The maintance burden to keep the userspace components in their old version
becomes simply to high. Keep using the rocko based 2.8 BSP for these machines.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
With the removal of angstrom we can drop this workaround.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Drop bootfs_get_size since it has a obvious flaw, it's being called in
both do_image_teziimg and do_image_teziimg_distro but the boot files of
these two tasks are different.
Drop rootfs_get_size, it's trying to get the size of IMAGE_ROOTFS
directory, but in some cases, that is not correct, for instance, when
TEZI_ROOT_SUFFIX is 'ota.tar.gz', the rootfs directory should be
OTA_SYSROOT rather than IMAGE_ROOTFS.
Introduce get_uncompressed_size function, it reads the image size from
a image-size file in ${T} directory, and that image size is written into
this file by the image functions when they making the tarballs.
Also split the duplicated bootfs tarball creating code to a common
function create_bootfs, and it must run as a prefuncs before
rootfs_tezi_run_json and rootfs_tezi_run_distro_json, this ensures the
image size has been written to the file when the later functions run.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
[use _append for tar commands]
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Search made with the following regex: getVar ?\((.*), True\), this is
to be consistent with OE.
This is follows the fix upstream in oe-core commit 7c552996:
[ meta: remove True option to getVar calls ]
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
In some cases kernel and device tree may be a part of rootfs and in this
case we do not want to install anything related to kernel or device
tree.
Use TEZI_KERNEL_IMAGETYPE = "" to exclude kernel
Use TEZI_KERNEL_DEVICETREE = "" to exclude device tree
Signed-off-by: Luka Pivk <luka.pivk@toradex.com>
|
|
It's redundant to inherit image_types bbclass, it's already done in
image.bbclass.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
A main package being empty without setting ALLOW_EMPTY can lead to
errors in populate_sdk task. If it does not provide any packages then
we should let it inherit nopackages bbclass.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Before the latest changes eMMC was considered the default flash
type and therefor not specified for all machines. Make sure that
image_type_tezi.bbclass is backward compatible by setting
TORADEX_FLASH_TYPE to "emmc" by default.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Implement a separate teziimg class which support distro boot. This
image format uses a layout which allows distro boot on block devices
as well as raw NAND devices. It also support multi flash type images
by creating two image.json files for each flash type. It requires
machine specific meta data e.g.:
TORADEX_PRODUCT_IDS = "0032 0033 0039 0041"
TORADEX_PRODUCT_IDS[0032] = "imx7s-colibri-eval-v3.dtb,rawnand"
TORADEX_PRODUCT_IDS[0033] = "imx7d-colibri-eval-v3.dtb,rawnand"
TORADEX_PRODUCT_IDS[0039] = "imx7d-colibri-emmc-eval-v3.dtb,emmc"
TORADEX_PRODUCT_IDS[0041] = "imx7d-colibri-eval-v3.dtb,rawnand"
TORADEX_FLASH_TYPE = "rawnand emmc"
UBOOT_BINARY_TEZI_EMMC = "u-boot.imx-sd"
UBOOT_BINARY_TEZI_RAWNAND = "u-boot.imx-nd"
UBOOT_ENV_TEZI_EMMC = "uEnv-sd.txt"
UBOOT_ENV_TEZI_RAWNAND = "uEnv-nd.txt"
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Prefer the $() syntax, it is POSIX and allows nesting.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Allow to use a different U-Boot binary/environment file per
flash type. This prepares for a multi flash type image.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Add variables to customize which rootfs image type we use in
the Toradex Easy Installer image. Also allow custom root
filesystem label.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
This prepares support for images with multiple flash types.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
The whole tarball is built as part of the the teziimg CMD.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Break tar commands for better readability. No functional change.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Create a separate function to calculate bootfs size. This allows
to reuse bootfs size calculation for distro boot.
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
|
Now that OpenEmbedded core does not prefix dtb files names with
the type of the kernel image, we can get rid of our intermediate
KERNEL_DEVICETREE_FILES variable. Also the tar transformation
which removed kernel type prefix is no longer necessary.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This starts a service which inserts kernel modules on boot.
Updates in meta-angstrom removed this default packageconfig.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Keywords in udevd.service.in were changed upstream.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Replace a bunch of += assignments with = .
Put all RDEPENDS into one statement.
Cleanup indent to the prefered OE 4 spaces per level.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The following openembedded core commit dropped prefixing the dtb file
names with the type of the kernel image.
1860d9d3c62e2e94cd68a809385873ffd8270b6d
kernel-devicetree.bbclass: Fix and simplify instalation of DTB files
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This reverts commit e03cb81023c93697fa249dbfe079fb40e9bf20b7.
meta-openembedded now contains a later version.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
zstd recipe was provided by angstrom, drop the bbappend with the drop
of angstrom.
This reverts commit 836ad70cd669393eb2a830e955a7462f40635c11.
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
This fixes now two issues:
- The v1.3.3 tag being branchless (meaning a random otherwise orphaned
commit was tagged for release) requires nobranch=1 to be explicitly
specified to make OpenEmbedded happy not trying to checkout out the
master branch.
- Using tag="v1.3.3" would cause OpenEmbedded to re-fetch the entire
repo over and over again upon each build therefore hard-coding the
commit hash instead.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
When building with usrmerge, the firmware directory is in /usr/lib.
Make sure we pickup firmwares from nonarch_base_libdir.
This fixes a build warning when building Torizon:
* Problem 1/1:
* - nothing provides linux-firmware-rtl8188eu needed by linux-firmware-1:0.0+git0+d114732723-r0.all
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The update is mostly bugfixing, notably:
This fixes a build error with glibc 2.28.
<sys/sysmacros.h> is no more included by <sys/types.h>
additionally:
Add support for UAC2 function
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Update to latest git for imx6, imx7 and tegra support and integrate
automatic board configuration support.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add missing space in front of DEPENDS_append in order to avoid issues
caused by further appending.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Use IMAGE_NAME_SUFFIX variable rather than hardcoded value .rootfs
as suffix.
Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
[use Python in rootfs_tezi_(emmc|rawnand) to get image suffix]
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Update the slides shown during image installation. This updates
our presence in Japan.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
https://bugzilla.yoctoproject.org/show_bug.cgi?id=11372
With the fix available in rocko we can now replace the workaround
with the usual bitbake syntax.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
This works around bitbake throwing the following error:
| ERROR: When reparsing ...angstrom-lxqt-image.bb.do_image,
| the basehash value changed from b2871a71bd4873d31d3fe7de755c753f to 5cf887f9a6518e8cf668fd3f435d1fc1.
| The metadata is not deterministic and this needs to be fixed.
It looks like the vardepsexclude flag is ignored in general python functions.
Compare also with openembedded-core commit ecbc1db7ed1f9848dee69507de8eb289b8ddeba0
and follow-up extensions which uses a different workaround for the do_image code.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Libsoc is currently built with no directly enabled board config
(we will wait until all configs are available). All available
configs are nonetheless included in the rootfs and can be
symlinked to /etc/libsoc.conf to enable them. The library can be
otherwise used with the Linux GPIO numbers.
Signed-off-by: Gerard Salvatella <gerard.salvatella@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add module load options for MWiFiEx driver, so the driver
will create both uAP and station interfaces on boot.
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|