summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-07Bump SRCREVdunfell-5.x.yci.toradex
Bump SRCREV hashes as used in build of Wed 07 Feb 2024 07:36:42 PM UTC Matrix Build: image-tezi-dunfell-5.x.y-nightly-matrix 521 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tezi-dunfell-5.x.y-nightly-matrix/521 Signed-off-by: ci.toradex <cicd@toradex.com>
2024-02-06linux-toradex-mainline: bump to 5.4.264 stable versionMax Krummenacher
This bumps to the 5.4.264 stable kernel version and bumps the rt patch accordingly to 5.4.264-rt88. Related-to: ELB-5511 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-02-06Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Fri 26 Jan 2024 01:44:14 PM UTC Matrix Build: image-tezi-dunfell-5.x.y-nightly-matrix 514 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tezi-dunfell-5.x.y-nightly-matrix/514 Signed-off-by: ci.toradex <cicd@toradex.com>
2023-12-18Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Sat 18 Nov 2023 07:26:22 AM UTC Matrix Build: image-torizoncore-dunfell-5.x.y-nightly-matrix 764 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-torizoncore-dunfell-5.x.y-nightly-matrix/764 Signed-off-by: ci.toradex <cicd@toradex.com>
2023-07-27toradex-fitimage.bbclass: follow changed function definition in oeMax Krummenacher
openembedded-core commit e3eb79c0a1 ("kernel-fitimage: adding support for Initramfs bundle and u-boot script") is a backport to dunfell. A parameter was added in the middle of the parameter list of the shell function fitimage_emit_section_config(). Follow that and change the calls to it accordingly. Fixes colibri-imx6ull not booting from the fitimage for the lack of a default configuration setting. Related-to: TEI-1053 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-02-09u-boot: distro-boot-script: support booti automatic decompressionMarcel Ziswiler
Support booti automatic decompression with the following memory layout: - loadaddr=0x48200000 allows for 128MB area for uncompressing (ie FIT images, kernel_comp_addr_r, kernel_comp_size) - fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel - scriptaddr = fdt_addr_r + 512KB - allows for 512KB fdt - ramdisk_addr_r = scriptaddr + 512KB - allows for 512KB script Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-06-30Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Wed Jun 29 11:43:51 UTC 2022 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 706 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/706 Signed-off-by: ci.toradex <cicd@toradex.com>
2022-05-24Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Tue May 24 02:28:53 UTC 2022 Matrix Build: image-torizoncore-dunfell-5.x.y-nightly-matrix 621 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-torizoncore-dunfell-5.x.y-nightly-matrix/621 Signed-off-by: ci.toradex <cicd@toradex.com>
2022-05-19linux-toradex-mainline: update to patchlevel 5.4.193Philippe Schenker
Do also update RT-Patch Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2022-04-22u-boot: distro-boot-script: fix ordering of console argumentsPhilippe Schenker
systemd only prints to the last console= statement that it finds in the kernel arguments. Make sure that it prints to UART instead of display on tty1. Related-to: ELB-4435 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2022-04-04toradex-fitimage.bbclass: add hook to set the kernel typeMax Krummenacher
Allow to change the Type for the kernel section to 'kernel_noload' rather than using the default 'kernel'. Set UBOOT_KERNEL_TYPE to 'kernel_noload'. This is e.g. used for apalis-tk1 for TEZI. Related-to: ELB-4417 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-04-01toradex-fitimage.bbclass: introduce FIT_SUPPORTED_INITRAMFS_FSTYPESMing Liu
It was found when a end user wants to build a squashfs type initramfs into fitimage, it just fails without printing out any error or warning messages, which is not right. Introduce a FIT_SUPPORTED_INITRAMFS_FSTYPES variable to avoid hard-coding the supported initramfs types, and it could be overridden in config files. Also break the build when none of a supported initramfs type is found. A similar change has been merged into OE, reference: https://lore.kernel.org/all/20220328141551.571676-1-liu.ming50@gmail.com Related-to: TEI-1005 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-03-05libusbgx: fix device hot-plug use caseMarcel Ziswiler
Upon hot-plugging device (resp. un-plugging host) dwc3_gadget_init() does nicely get executed. However, for an actual gadget to get started, it also requires the libusbgx dance as well. Instead of only doing this upon boot aka after multi-user.target (which is fine only if the device is already there at boot), execute it after usb-gadget.target. This ensures dwc3_gadget_start() gets executed also during hot-plugging. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
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>