summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-04meta: drop True option to getVar callsMing Liu
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>
2019-03-04image_type_tezi: add option to ignore kernel and device treeLuka Pivk
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>
2019-03-04image_type_tezi.bbclass: drop image_types inheritanceMing Liu
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>
2019-03-04tezi-metadata: inherit nopackagesMing Liu
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>
2019-03-04image_type_tezi: make eMMC the default flash typeStefan Agner
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>
2019-03-04image_type_tezi: implement teziimg for distro bootStefan Agner
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>
2019-03-04image_type_tezi: use $() instead of backticksStefan Agner
Prefer the $() syntax, it is POSIX and allows nesting. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-03-04image_type_tezi: allow per flash type U-BootStefan Agner
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>
2019-03-04image_type_tezi: allow custom rootfs image type and labelStefan Agner
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>
2019-03-04image_type_tezi: generate image.json per flash typeStefan Agner
This prepares support for images with multiple flash types. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-03-04image_type_tezi: improve message during Tezi image buildStefan Agner
The whole tarball is built as part of the the teziimg CMD. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-03-04image_type_tezi: break tar commands into multiple linesStefan Agner
Break tar commands for better readability. No functional change. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-03-04image_type_tezi: move bootfs size calculationStefan Agner
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>
2019-03-04image_type_tezi: use KERNEL_DEVICETREE variable directlyStefan Agner
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>
2019-03-04layer.conf: Add thud to LAYERSERIES_COMPATMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-04systemd: bbappend: add kmod packageconfigMax Krummenacher
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>
2019-03-04pkg_postinst: move to the ontarget syntaxMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-04systemd: forward port patchMax Krummenacher
Keywords in udevd.service.in were changed upstream. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-04snapd: cleanupMax Krummenacher
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>
2019-03-04image_type_tezi: follow dropped kernel type prefixMax Krummenacher
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>
2019-03-04Revert "xfsprogs: 4.11.0 with build time fix"Max Krummenacher
This reverts commit e03cb81023c93697fa249dbfe079fb40e9bf20b7. meta-openembedded now contains a later version. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-04layer: add LAYERSERIES_COMPATMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-04tdx_version: increment thud version to 3.0b1Marcel Ziswiler
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-04Revert "zstd: fix build being branchless"Max Krummenacher
zstd recipe was provided by angstrom, drop the bbappend with the drop of angstrom. This reverts commit 836ad70cd669393eb2a830e955a7462f40635c11.
2019-03-04image_type_tezi: address basehash/taskhash mismatchMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-03-04zstd: fix build being branchlessMarcel Ziswiler
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>
2019-03-04tdx_version: increment rocko version to 2.8b6Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-12-18linux-firmware: use nonarch_base_libdirColibri-iMX7_LXDE-Image_2.8b5.156-20181228Colibri-iMX6_LXDE-Image_2.8b5.156-20181228Colibri-iMX6ULL_LXDE-Image_2.8b5.156-20181228Colibri-VF_LXDE-Image_2.8b5.156-20181228Colibri-T30_LXDE-Image_2.8b5.156-20181228Colibri-T20_LXDE-Image_2.8b5.156-20181228Apalis-iMX6_LXDE-Image_2.8b5.156-20181228Apalis-TK1_LXDE-Image_2.8b5.156-20181228Apalis-TK1-Mainline_LXDE-Image_2.8b5.156-20181228Apalis-T30_LXDE-Image_2.8b5.156-20181228Stefan Agner
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>
2018-10-09tdx_version: increment rocko version to 2.8b5Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-09-27linux-firmware: add marvell sd8997_uapsta.binColibri-iMX7_LXDE-Image_2.8b4.129-20181005Colibri-iMX6_LXDE-Image_2.8b4.129-20181005Colibri-iMX6ULL_LXDE-Image_2.8b4.129-20181005Colibri-VF_LXDE-Image_2.8b4.129-20181005Colibri-T30_LXDE-Image_2.8b4.129-20181005Colibri-T20_LXDE-Image_2.8b4.129-20181005Apalis-iMX6_LXDE-Image_2.8b4.129-20181005Apalis-TK1_LXDE-Image_2.8b4.129-20181005Apalis-TK1-Mainline_LXDE-Image_2.8b4.129-20181005Apalis-T30_LXDE-Image_2.8b4.129-20181005Dominik Sliwa
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-09-27libusbgx: update to 0.2.0 + gitMax Krummenacher
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>
2018-09-27backports: switch to 4.18 kernel based backportsDominik Sliwa
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-09-27libsoc: imx6, imx7 and tegra and auto board config supportMarcel Ziswiler
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>
2018-09-27backports: add missing space in front of appendMarcel Ziswiler
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>
2018-09-27image_type_tezi: Use IMAGE_NAME_SUFFIX variableDrew Moseley
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>
2018-09-27tdx_version: increment rocko version to 2.8b4Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-06-26tezi-metadata: add new slidesColibri-iMX7_LXDE-Image_2.8b3.111-20180627Colibri-iMX6_LXDE-Image_2.8b3.111-20180627Colibri-iMX6ULL_LXDE-Image_2.8b3.111-20180627Colibri-VF_LXDE-Image_2.8b3.111-20180626Colibri-T30_LXDE-Image_2.8b3.111-20180627Colibri-T20_LXDE-Image_2.8b3.111-20180626Apalis-iMX6_LXDE-Image_2.8b3.111-20180626Apalis-TK1_LXDE-Image_2.8b3.111-20180626Apalis-TK1-Mainline_LXDE-Image_2.8b3.111-20180627Apalis-T30_LXDE-Image_2.8b3.111-20180626Stefan Agner
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>
2018-06-18README: change dependencies to use branch rockoMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-06-18image_type_tezi: remove workaround to set prefuncsMax Krummenacher
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>
2018-06-18image_type_tezi: move DATE dereferencing into IMAGE_CMD_teziimgMax Krummenacher
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>
2018-06-18libsoc: libsoc custom recipe addedGerard Salvatella
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>
2018-06-18mwifiex: mwifiex module optionsDominik Sliwa
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>
2018-06-18tezi-metadata: add apalis-t30 to compatible machineStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-06-18image_type_tezi: set apalis t30 cbootimageMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2018-06-18image_type_tezi: make emmc root file system type configurableMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2018-06-18image_type_tezi: make device tree optionalStefan Agner
Apalis T30 does not require a device tree. Do not try to deploy device trees if none are specified. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-06-18libusbgx: make conversion of product ID to decimal value portableStefan Agner
Using "10#" to treat the product ID as a decimal value does not work with the BusyBox shell. Use eval productid + 0 which works well with bash and BusyBox to convert to a decimal value. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-06-18backports: make sure backport packages are considered availableStefan Agner
Since kernel module packages are generated dynamically, the dependency resolution fails when one requests a specific package which is generated at build time. Use PACKAGES_DYNAMIC to tell the build system that backport-kernel-module-* packages can be considered available. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-06-18tdx_version: increment rocko version to 2.8b3Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2018-03-28image_type_tezi: write uEnv.txt as default U-Boot environmentColibri-iMX7_LXDE-Image_2.8b2.97-20180331Colibri-iMX6_LXDE-Image_2.8b2.97-20180331Colibri-iMX6ULL_LXDE-Image_2.8b2.97-20180331Colibri-VF_LXDE-Image_2.8b2.97-20180331Colibri-T30_LXDE-Image_2.8b2.97-20180331Colibri-T20_LXDE-Image_2.8b2.97-20180331Apalis-iMX6_LXDE-Image_2.8b2.97-20180331Apalis-TK1_LXDE-Image_2.8b2.97-20180331Apalis-TK1-Mainline_LXDE-Image_2.8b2.97-20180331Apalis-T30_LXDE-Image_2.8b2.97-20180331Stefan Agner
Use the "u_boot_env" property to write uEnv.txt to flash by default. With that the Toradex Easy Installer will make sure that the default environment of the shipped U-Boot is written on flash. Especially since with 2.8b2 we transition to using zImage, this change will make sure that a correct U-Boot environment is written on flash to boot the zImage. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>