summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-01Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Mon Feb 28 21:59:31 UTC 2022 Matrix Build: image-tezi-dunfell-5.x.y-nightly-matrix 287 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tezi-dunfell-5.x.y-nightly-matrix/287 Signed-off-by: ci.toradex <cicd@toradex.com>
2022-02-24meta: use tdx overrides for Toradex specific changesMing Liu
Toradex NXP layer could be used by other external projects, so we should make sure Toradex specific changes dont impact them. Use 'tdx' overrides to ensure Toradex specific changes only valid for Toradex distros. Related-to: ELB-3046 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-02-24mtd-utils: fix a typoMing Liu
Drop "-" which is a typo. Related-to: ELB-3046 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-02-24util-linux: fix a typoMing Liu
Drop "-" which is a typo. Related-to: ELB-3046 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-02-24depmodwrapper-cross: some tiny fixesMing Liu
- Avoid to use ${} for a shell variable, it could be contaminated by bitbake variables. - Replace hard-coded /etc to ${sysconfdir}. Related-to: ELB-3046 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-02-24python3-docutils: drop bbappend recipeMing Liu
The changes to explicitly use python3 is not valid any more for dunfell branch, since python2 has been dropped. Related-to: ELB-3046 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-02-21libsoc: fix postinst scriptMarcel Ziswiler
If grep does not find anything the return code is non zero and given postinst scripts are being run with set -e that means the postinst script fails! Fix this by directly using fgrep in the if condition instead to properly continue the postinst script even in such case. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-02-01u-boot-distro-boot:boot.cmd.in: replace '@' to '-'Ming Liu
The separator of fitImage's config section has been changed from '@' to '-', let's adapt to that, or else fitImage could not boot. Related-to: TOR-1700 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-01-31Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Fri Jan 28 19:12:48 UTC 2022 Matrix Build: image-tezi-dunfell-5.x.y-nightly-matrix 258 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tezi-dunfell-5.x.y-nightly-matrix/258 Signed-off-by: ci.toradex <cicd@toradex.com>
2022-01-12linux-toradex-upstream: update to v5.4.161Denys Drozdov
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2022-01-03Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Mon Jan 3 13:17:19 UTC 2022 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 532 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/532 Signed-off-by: ci.toradex <cicd@toradex.com>
2021-12-29u-boot-distro-boot: fix bug if overlays.txt missingPhilippe Schenker
Without this commit it could happen, that U-Boot falls into strange behavior when overlays.txt is missing. This commit fixes this behavior with only executing "env import" if the previous load command returned success. Related-to: ELB-4246 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-12-21set-hostname: work around race conditionMax Krummenacher
This service sets the hostname on boot to the machine name amended by the serial number unless /etc/hostname already exists. systemd does also set a hostname, if none is available it uses 'localhost' and creates an empty /etc/hostname. This two mechanism have a race condition so that systemd might run before set-hostname was able to create /etc/hostname. Likely only seens a recent systemd update. Fix that by changing the conditions for executing set-hostname to run when there is no or an empty /etc/hostname file. Related-to: ELB-4277 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-12-01Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Thu Nov 18 13:51:53 UTC 2021 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 488 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/488 Signed-off-by: ci.toradex <cicd@toradex.com>
2021-11-29libusbgx: use https protocolMax Krummenacher
Github no longer allows a plain git protocol. https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-10apalis-imx8x: drop support for apalis imx8xMax Krummenacher
Apalis iMX8X is no longer supported and configuration dropped from recipe. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-08linux-toradex-mainline: bump version to patch-level 154Philippe Schenker
Related-to: ELB-4201 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-11-08Revert "linux-firmware: update to 20210818"Max Krummenacher
This reverts commit e25a9fb7c21c213cddda36b104979ad8eb22da23. The openembedded-core dunfell branch has the backports to build linux-firmware_20210919. So revert the commit which did the same in this layer and now clashes with the updated recipe in oe-core. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-10-28linux-firmware: update to 20210818Max Krummenacher
This updates among others the Wi-Fi firmware pcieusb8997_combo_v4.bin. Related-to: ELB-4208 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-10-27image_type_tezi: increase kernel NAND to 12MBFrancesco Dolcini
Increase the kernel partition size for rawnand from 8MB to 12MB, this allows to flash an upstream kernel with imx_v6_v7_defconfig. Related-to: ELB-1341 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2021-10-25machine: Drop legacy imx8x b0 silicon based machinesMax Krummenacher
Since the update to SCFW 1.7.4 the i.MX 8X modules, based on early b0-silicon chips do no longer work. This commit removes the machines that still where there in the transition phase to the newer c0-silicon Product revisions that no longer work with our BSP are: Colibri iMX8QXP 2GB WB IT V1.0B Colibri iMX8QXP 2GB IT V1.0B Colibri iMX8DX 1GB WB V1.0B Colibri iMX8DX 1GB V1.0B Apalis iMX8QXP 2GB WB IT V1.1A Apalis iMX8QXP 2GB ECC IT V1.1A Related-to: ELB-4215 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-10-11rngd-tools:disable jitterentropy to avoid high cpu usage at startupNaeem Khan
jitterentropy is now added by kernel as well https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux. git/commit/?id=50ee7529ec4500c88f8664560770a7a1b65db72b, so it can be disabled without any issue. Related-to: TOR-1079 Signed-off-by: Naeem Khan <naeem.khan@toradex.com> Ported from meta-toradex-torizon, commit 53fc29e ("rngd-tools:disable jitterentropy to avoid high cpu usage at startup") plus follow up e2c6c9b. Related-to: ELB-4133 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-09-30Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Wed Sep 29 22:33:16 UTC 2021 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 434 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/434 Signed-off-by: ci.toradex <cicd@toradex.com>
2021-09-02linux-toradex-mainline: use stable link to grab rt patchPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-09-01devicetree: MACHINE_PREFIX: add colibri-imx6ullOleksii Bidnichenko
Related-to: ELB-4065 Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com>
2021-08-30Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Fri Aug 20 22:39:56 UTC 2021 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 398 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/398 Signed-off-by: ci.toradex <cicd@toradex.com>
2021-08-14libusbgx: bump revisionMing Liu
To involve in the following fixes: ``` 1ee53e4 Copy ether_addr structs to avoid union pointer alignment issues 4852080 Delete embedded copies of libtool m4 files ccba65f Tell git which paths to ignore are directories 3a0f66a Tell git to ignore autotools cruft in the src functions subdirectory 37fcf90 Tell git to ignore generated usbg_version.h header 1e7161d Tell git to ignore the generated cmake config file b9a5b9c Tell git to ignore the right generated pkg-config .pc file e972b9e Document that the configfs Linux kernel module needs to be loaded 97b6477 Support printer function ad378b4 Fix --without-libconfig segment fault on gadget-hid attr setting 67605a0 libusbgx: examples: gadget-vid-pid-remove: fix exit code on success e0cdec8 Merge pull request #54 from mgrzeschik/gadget-vid-pid-remove 547a759 Merge pull request #55 from mgrzeschik/uvc 52aa5ed libusbgx: Add UVC support 852087a libusbgx: examples: gadget-vid-pid-remove: add dynamic vid pid support af2292c Fix typo in comment 664b7e6 Added support for CMake projects macros b5ad66e Fix #39 Compilation fails on gcc v8 283879d libusbgx: fix --without-libconfig build against glibc-2.28 45c14ef libusbgx: fix build with glibc-2.28 since <sys/sysmacros.h> is no more included by <sys/types.h> 6ffbb21 libusbgx: Fix doc build with new doxygen version dccb4f1 libusbgx: Fix out of tree compilation ``` especially the fix for: https://github.com/linux-usb-gadgets/libusbgx/issues/57 Related-to: TEI-924 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2021-08-12udev: colibri-imx6ull: provide emmc symlink rulesMax Krummenacher
The colibri-imx6ull is also used for the combined NAND/eMMC Toradex Easy Installer. Create symlinks if a eMMC is detected also here. For the BSP this does not have an effect as the controller is unused. Related-to: TEI-923 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-12udev: 99-toradex.rules: improve sd-card rulesPhilippe Schenker
ENV{DEVTYPE} has been found to not be present on apalis-imx6 sometimes. Since we see also some troubles on our lava setup this property is being removed from this rule as anyway disk and partition is already catched with the "p" in the KERNEL rule Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-08-05colibri-imx6ull-emmc: add machine specific overrides and filesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-05udev: toradex-adc.sh: correct typo in commentMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-03Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Thu Jul 15 22:53:20 UTC 2021 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 364 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/364 Signed-off-by: ci.toradex <cicd@toradex.com>
2021-07-22util-linux: add separate bbappend to support fstrim serviceDenys Drozdov
fstrim.service is disabled by default in openembedded-core layer. Add bbappend file to support fstrim.service for systemd Related-to: ELB-2356 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-07-15u-boot-distro-boot: fix nfs bootingMarcel Ziswiler
In the nfs-dhcp case we should not pass any NFS related settings from U-Boot as the Linux kernel will do its very own DHCP request where it will get all those settings and knows very well how to apply those. In the nfs-static case we should add a slash in front of the rootpath as otherwise an additional /tftpboot/ will be pre-fixed which likely is not what one wants. https://man7.org/linux/man-pages/man7/bootparam.7.html 'nfsroot=...' This sets the NFS root name to the given string. If this string does not begin with '/' or ',' or a digit, then it is prefixed by '/tftpboot/'. This root name is used in case of a net boot. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-07-14linux-toradex-mainline: bump the kernel version to 5.4.129Oleksandr Suvorov
Change versions, source path to the rt patch, SRCREV and checksums to bump the mainline kernel to the 5.4.129 stable version. Related-to: ELB-4007 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-07-07linux-toradex: integrate bbappend into the recipeMax Krummenacher
Move the content of the bbappend to meta-toradex-nxp, recipe linux-toradex_5.4-2.3.x.bb. That it were it belongs and through that we no longer interfere with the meta-freescale-3rdparty linux-toradex recipes which cannot cope with "-@" DTC parameter. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-07-07linux-toradex-mainline: integrate bbappend into the recipeMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-06-30Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Thu Jun 24 23:53:00 UTC 2021 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 343 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/343 Signed-off-by: ci.toradex <cicd@toradex.com>
2021-06-02udev: colibri-imx7: sync emmc and nand udev rulesOleksandr Suvorov
TEZI uses the same machine colibri-imx7 for both eMMC and NAND variants of the module. For correct work with Colibri iMX7 eMMC TEZI requires symlinks emmc* generated by toradex udev rules - it allows TEZI to unblock boot-partitions for writing operations on start. The udev "emmc*" rules are triggered by the block instances of the device usdhc@30b60000. The usdhc@30b60000 device disabled by default in the device tree for Colibri-iMX7 NAND SoM, so that the "emmc*" doesn't affect the NAND module. Adding "emmc*" rules to the 99-toradex.rules for colibri-imx7 machine fixes several TEZI issues for Colibri iMX7 eMMC, i.e. this one: Processing blockdev: "mmcblk0boot0" Running Command: "/usr/sbin/blkdiscard" ("/dev/mmcblk0boot0") Progress: "Toradex Embedded Linux Reference Minimal Image (UPSTREAM): Erasing partition" Output: "blkdiscard: /dev/mmcblk0boot0: BLKDISCARD ioctl failed: Operation not permitted\n" Finished with exit code: 1 Related-to: TEI-851 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-05-31Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Fri May 7 22:38:51 UTC 2021 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 297 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/297 Signed-off-by: ci.toradex <cicd@toradex.com>
2021-05-20recipes-core: udev: change sd-card symlinks to style of emmc rulesPhilippe Schenker
This commit does three things: - Use "-part<number>" instead of "-p" as it is with /dev/emmc symlinks - Use ENV{DEVTYPE} as it is used with /dev/emmc symlinks to for sure be able to distinguish partitions vs. disks - Use %n in stead of $attr{partition} as it is already used for emmc symlink rules Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-05-20image_type_tezi: handle emmc being mmcblk2Max Krummenacher
Note that we currently do not want to use the stable symlinks to the eMMC for modules were older version of the Toradex Easy Installer exist. Using the stable symlinks would require a Toradex Easy Instaler 5.3.0 or newer. For Verdin iMX8MP 5.3.0 is the first version and thus we can directly use the stable symlink name pointing to the eMMC. Related-to: TEI-750 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-05-17recipes-core: udev: add hardware stable symlinks for sd-cardPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-05-04toradex-sanity.bbclass: introduce bbclass fileMing Liu
I have observed a following OE build issue with the latest dunfell-5.x.y, as follows: ``` ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories: TMPDIR changed to include path filtering from the pseudo database. It is recommended to use a clean TMPDIR with the new pseudo path filtering so TMPDIR would need to be removed to continue. ``` this is due to the ABI VERSION changed in OE, usually we should remove the TMPDIR and rebuild when seeing this error, but it's not enough for Toradex builds, since we have split DEPLOY_DIR out of TMPDIR, so we should also check the ABI VERSION change in DEPLOY_DIR, or else it might not comply the OE layer. We should warn the end users about this risk, let's add a toradex sanity check bbclass for that. We can also add some other basic Toradex specific sanity checks, for instance, for fitimage, the end users must inherit toradex-fitimage rather than kernel-fitimage. Related-to: ELB-3944 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2021-05-03Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Mon Apr 19 22:46:50 UTC 2021 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 280 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/280 Signed-off-by: ci.toradex <cicd@toradex.com>
2021-04-28systemd-conf: decrease maximum journald storage usage to 16MSergio Prado
The current default value of 64M may be too much for some of Toradex's modules, so let's decrease it to 16M. Related-to: TOR-1780 Signed-off-by: Sergio Prado <sergio.prado@toradex.com>
2021-04-19image_type_tezi.bbclass: fix a typoMing Liu
A typo was introduced by commit 9e9859a9: [ image_type_tezi.bbclass: introduce TEZI_AUTO_INSTALL ] TEZI_USE_BOOTFILES should be TEZI_AUTO_INSTALL. Related-to: TEI-773 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2021-04-16image_type_tezi.bbclass: introduce TEZI_AUTO_INSTALLMing Liu
This makes it possible to build a image tarball with 'autoinstall' enabled. Related-to: TEI-773 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2021-04-08linux-toradex-mainline: uprev to get newest configMax Krummenacher
toradex-imx_v6_v7_defconfig now builds RTC drivers not used on Toradex HW as kernel modules to reduce the zImage size. With that the kernel fits again also on the raw NAND based modules. Related-to: ELB-3931 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-04-07Bump SRCREV hashes as used in build of Sat Apr 3 03:25:09 UTC 2021ci.toradex
Matrix Build: image-torizoncore-dunfell-5.x.y-nightly-matrix 262 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-torizoncore-dunfell-5.x.y-nightly-matrix/262 Signed-off-by: ci.toradex <cicd@toradex.com>