summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-14image_type_tezi: fix machine overlay with carrier postfix deploymentMax Krummenacher
We have machine overlay where the machine name is postfixed with the carrier board name, e.g. colibri-imx7-aster_atmel-mxt_overlay.dts. No longer require an '_' after the machine name to deploy also overlays with a postfix after the machine name. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-10-14image_type_tezi: colibri-imx7-emmc fix overlay deploymentMax Krummenacher
For the colibri-imx7-emmc machine we need the overlays prefixed with colibri-imx7. Due to the changed machine name the machine specific overlays did not get deployed into a image. Fix that. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-10-14image_type_tezi: i.mx 8x fix overlay deployment for b0 siliconMax Krummenacher
We have separate machines for the now deprecated i.MX 8X B0 silicon based modules. Due to the changed machine name the machine specific overlays did not get deployed into a image. Fix that. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-10-06class: image_type_tezi: use tezi config format 4 for mx8Philippe Schenker
On i.MX8 processors there was a bug in Tezi that leaked an old u-boot environment into newly installed image. This got fixed and can be enforced by using Tezi config format number 4. Make use of that. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-10-01Revert "boot.cmd: workaround kernel_image getting set to ancient default"Philippe Schenker
This commit was intended as a last-minute fix for apalis-imx8 which cannot boot because tezi writes the environment faulty. This commit however also caused to set kernel_image to Image.gz which is also used on TK1 and there this does not work at all. This reverts commit 6d6828218c4c4ecea2c44c114a711fe19359b408. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-09-30boot.cmd: workaround kernel_image getting set to ancient defaultMarcel Ziswiler
Workaround a Toradex Easy Installer issue causing kernel_image to be wrongly set to an ancient default. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-09-29Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Tue Sep 29 12:07:53 UTC 2020 Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 81 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/81 Signed-off-by: ci.toradex <cicd@toradex.com>
2020-09-28boot.cmd: Fix a licenseOleksandr Suvorov
The second license should be MIT instead of X11. Fix it. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-09-27boot.cmd: add independent boot/root settingsOleksandr Suvorov
Add an ability to independently set device type, num and partition for boot and root partitions. Makes script able to boot kernel via tftp/dhcp. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-09-25udev: use spi naming from new 5.4 kernelPhilippe Schenker
In 5.4 kernel the naming changed from lpspi to spi. Address this in all i.MX8 udev rules Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-09-23linux-toradex-mainline: tegra: enable can_j1939Max Krummenacher
Add CAN_J1939 as a module. and run savedefconfig. This is a copy of tegra_defconfig from the kernel sources. Related-to: ELB-3023 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-09-23linux-toradex-mainline: imx 32bit: use a common defconfig and enable can_j1939Max Krummenacher
Use the common defconfig from the kernel sources toradex-imx_v6_v7_defconfig. This increases the kernel size for the so far smallest kernel by about 200k. We need a file for each machine as we do not have a common override to use in the use-mainline-bsp case. This additionally adds CAN_J1939 as a kernel module. Related-to: ELB-3023 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-09-14verdin-imx8m: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Verdin iMX8M Mini ADC channels, standardizing names as verdin-adcX, according to the Verdin signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 29191ec028148f41eab3f2ccb143bcede9e8224e)
2020-09-14colibri-imx8x: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Colibri iMX6 ADC channels, standardizing names as colibri-ainX, according to the Colibri signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 6ba70eb580167611f8a5b061a9552eba25b34d6c)
2020-09-14colibri-imx7: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Colibri iMX7/iMX7-eMMC ADC channels, standardizing names as colibri-ainX, according to the Colibri signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit f627f20a298d441b5d94ba4ab80a1121065f1f75)
2020-09-14colibri-imx6ull: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Colibri iMX6ULL ADC channels, standardizing names as colibri-ainX, according to the Colibri signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 26f58c5c34bac69c1a9b312242e92decd532cd14)
2020-09-14colibri-imx6: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Colibri iMX6 ADC channels, standardizing names as colibri-ainX, according to the Colibri signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit eaf8ba320beef0b0ad59e7911b4684c793b0a4f3)
2020-09-14apalis-imx8x: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Apalis iMX8QXP ADC channels, standardizing names as apalis-adcX, according to the Apalis signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 22950c7feac191bbff58e9137612e525982e2fbe)
2020-09-14apalis-imx8: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Apalis iMX8 ADC channels, standardizing names as apalis-adcX, according to the Apalis signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit a98861ebc9d2a26f458a57f674b53cb81405da64)
2020-09-14apalis-imx6: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Apalis iMX6 ADC channels, standardizing names as apalis-adcX, according to the Apalis signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 41ebdf6d19a1b8af2e06f274d711823bdb345f29)
2020-09-10linux-toradex-mainline: update to 5.4.61 and 5.4.61-rt37 respectivelyMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-09-07u-boot-distro-boot: provide proper KERNEL_IMAGE valueIgor Opaniuk
Provide KERNEL_IMAGE value for boot.scr. Use Image.gz for imx8 machines. Relates-to: ELB-1372 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
2020-09-07boot.cmd: add support Image.gz boot imageIgor Opaniuk
1. Provide information about kernel image format instead of using that information from U-Boot env. 2. Unpack kernel image before calling boot cmd, in case Image.gz is used. Relates-to: ELB-1372 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
2020-09-03device-tree-overlays-mainline: update to latestMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-09-03libubootenv: drop bbappendMax Krummenacher
This has been applied to the openembedded-core layer's master and dunfell branch. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-09-01Revert "image_type_tezi: drop device-tree-overlays"Max Krummenacher
The device-tree overlays have been reworked. Reenable the build and deployment. This reverts commit 1914b33f70f13b5460152daaf49de7511e4990ee. Related-to: ELB-2943 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-27systemd: replace patch with sed scriptMax Krummenacher
the configuration file keeps beeing changed with each version requiring a refresh of the patch frequently. Replace the patch with a sed script which should be more stable. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-17image_type_tezi: drop device-tree-overlaysMax Krummenacher
They currently do not build against the downstream kernel, drop them if building for a downstream kernel for now. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-09image_type_tezi.bbclass: drop UBOOT_BINARYMing Liu
It's useless and would be overridden by the same definition in imx-base.inc of meta-freescale layer. Related-to: ELB-2553 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-08-09image_type_tezi.bbclass: change u-boot env file nameMing Liu
The default u-boot env file name has changed to u-boot-initial-env in OE layer, adapt to it. Related-to: ELB-2553 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-08-09u-boot-toradex: drop u-boot-toradex-initial-env.incMing Liu
The initial env has been implemented in OE, we dont need maintain this. Related-to: ELB-2553 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-08-09libubootenv: fix several issuesMing Liu
- We dont want to store to device when fw_setenv is called and there is no value change, to avoid flash wear-out. - We are using symbolic links in /etc/fw_env.config, libubootenv should handle that. - u-boot-default-env is being referred by libubootenv, add it to RRECOMMENDS_${PN}-bin tor target build. Related-to: ELB-2552 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-08-06linux-toradex-mainline: fix src_uri nameMax Krummenacher
Add the accidently dropped file reference name so the checksums are found. fixes 9b13de4 ("linux-toradex-mainline: update to latest") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-06linux-toradex-mainline: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit cf3aca30b171672fe011b404d0c12378b7c79f5d)
2020-08-06linux-toradex-mainline-5.4: enable GPIO/serial sources for PPSOleksandr Suvorov
Enable GPIO and serial-port (CD-signal) sources for the PPS (pulse-per-second) module. Related-to: ELB-2837 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit b736ab934b1067d032c1ac61bb753a8039222096)
2020-08-06recipes-core: udev: add systemd link file to disable wifi-if-renamingPhilippe Schenker
Related-to: ELB-2760 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit fc137a7916fe004f476688b1e03dadd074e749b3)
2020-07-11linux-toradex-mainline: add lzop-native to DEPENDSMing Liu
This fixes a following compilation error when compiling zImage: | /bin/sh: lzop: command not found Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-07-06linux-firmware: use mrvl sdsd8997_combo_v4 from linux-firmwareMax Krummenacher
The firmware for Marvell 8997 using SDIO as the interface is also available from the regular linux-firmware repo, although with an other filename. Use that one and provide a symlink to cope with the old name. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-07-06image_type_tezi: rename overlays folderIgor Opaniuk
Rename destination "devicetree" with dtb overlays (on bootfs) to "overlays". Relates-to: ELB-2807 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> (cherry picked from commit 288b7e41f508e0dcde66b536953d014dd4497971)
2020-06-30linux-toradex-mainline: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 5c82f9ec57e0676de240acaa40b78ce4d3cd2181)
2020-06-30device-tree-overlays: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 14ccfef1cb6334ca165cae84173476cb6d961383)
2020-06-30image_type_tezi.bbclass: increase min boot partition size to 3x payloadMarcel Ziswiler
If using upstream variants kernel itself is close to 8 MB and one can barely keep a backup copy in the resulting 16 MB! Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit aae74f006cd02717df3b047b59940196de53c105)
2020-06-30linux-toradex-mainline: enable adv7180 configMarcel Ziswiler
This driver is also applicable to the ADV7280 e.g. as found on our Analogue Camera Adapter V2.0B. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 441c2eec6c7b59331642395e5d962540b214aaae)
2020-06-30linux-toradex-mainline-rt: drop obsolete recipeStefan Agner
With the addition of preempt-rt support using the 5.4 mainline based kernel tree the 4.19 mainline based preempt-rt kernel tree can be considered obsolete. Drop the recipe. Related-to: ELB-2631 Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 5f773cd50f387c92f9511c173cb08a8af8263075)
2020-06-30apalis/colibri-imx6: add i2c-ddc rule for mainline kernelOleksandr Suvorov
The I2C DDC channel serves by HDMI driver in the mainline kernel. Add udev rules to make a symlink for this device. Related-to: ELB-2784 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 3790efed5871f28b8fd969a5bbe29cf776af112e)
2020-06-3099-toradex.rules: rename *-ttyX to *-uartXOleksandr Suvorov
According to the internal document "Hardware interfaces standardization", the UART interfaces should be accessed via device nodes named with the module family and matching the signal name used in the module datasheet. Modify udev rules for UART devices accordingly. Related-to: ELB-2787 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 2e2be094e62bb61c9e58a115b5d89d5b960eed50)
2020-06-30colibri-imx6: fix (ec)spi ruleOleksandr Suvorov
There are 2 different names for spi use by downstream and upstream kernel. Fix the udev rules to match both variants. Related-to: ELB-2784 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit e13aa11315c57980816d6a68f9c5216b455ee017)
2020-06-30colibri-imx7/emmc: fix (ec)spi ruleOleksandr Suvorov
There are 2 different names for spi use by downstream and upstream kernel. Fix the udev rules to match both variants. Related-to: ELB-2784 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit bbdee96d17e5a69e832197dedc587e45737892be)
2020-06-3099-toradex.rules: fix (ec)spi ruleOleksandr Suvorov
There are 2 different names for spi use by downstream and upstream kernel. Fix the udev rules to match both variants. Related-to: ELB-2784 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 9109e68f1b0a8cb9228e7ff39bc41b5d0f209cbf)
2020-06-30linux-toradex-mainline: fix adding symbols to dtb filesOleksandr Suvorov
There is a dead code in the linux-toradex-mainline.inc, that doesn't really install dtb files into the final image. Remove this code add add the option to compile dtb files with symbols in the proper place. Related-to: ELB-2797 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit e0beff9f048259b24b147b21f49c1463ebd70511)