summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-14linux-toradex-mainline: update to 5.4.61 and 5.4.61-rt37 respectivelyzeusMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 9de495e99756b66fc2a5d5599a26339fcca5cc53)
2020-08-10verdin-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>
2020-08-10colibri-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>
2020-08-10colibri-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>
2020-08-10colibri-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>
2020-08-10colibri-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>
2020-08-10apalis-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>
2020-08-10apalis-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>
2020-08-10apalis-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>
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> (cherry picked from commit cdcf6c6c538f4458e798530762d9d1b0db510f7a)
2020-08-06linux-toradex-mainline: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-07-15linux-toradex-mainline-rt-4.19: 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>
2020-07-15linux-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>
2020-07-08recipes-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>
2020-06-30image_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>
2020-06-29linux-toradex-mainline: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-06-29device-tree-overlays: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-06-29image_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>
2020-06-29linux-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>
2020-06-26linux-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>
2020-06-26apalis/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>
2020-06-2599-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>
2020-06-23colibri-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>
2020-06-23colibri-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>
2020-06-2299-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>
2020-06-19linux-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>
2020-06-19image_type_tezi.bbclass: remove quotes from u-boot variableOleksandr Suvorov
Iterating through the variable don't interpret quotes at and they act as a part of variable. It leads to iterate with the wrong filenames [1]. Removing quotes fixes overlay names. [1] ----------------- PC $ cat overlays.txt fdt_overlays="1 2 3" Apalis iMX6 # env import -t ${loadaddr} overlays.txt Apalis iMX6 # print fdt_overlays fdt_overlays="1 2 3" Apalis iMX6 # for overlay_file in ${fdt_overlays}; do echo "file=${overlay_file}"; done file="1 file=2 file=3" ----------------- Related-to: ELB-2797 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-06-19boot.cmd: clean up the variable on "for" loopOleksandr Suvorov
In some situation "for" loop don't alterate the non-empty iteration variable [1]. Clean up the iteration var at the end of each loop. [1] ------------------ Apalis iMX6 # load ${devtype} ${devnum}:${distro_bootpart} ${loadaddr} ${overlays_file}; env import -t ${loadaddr} ${filesize} 107 bytes read in 11 ms (8.8 KiB/s) Apalis iMX6 # print fdt_overlays fdt_overlays="devicetree/apalis-imx6_parallel-rgb_overlay.dtbo devicetree/apalis-imx6_ov5640_overlay.dtbo" Apalis iMX6 # for overlay_file in ${fdt_overlays}; do echo "file=${overlay_file}"; done file=devicetree/apalis-imx6_parallel-rgb_overlay.dtbo file=devicetree/apalis-imx6_parallel-rgb_overlay.dtbo {Add clean up} Apalis iMX6 # for overlay_file in ${fdt_overlays}; do echo "file=${overlay_file}"; setenv overlay_file; done file=devicetree/apalis-imx6_parallel-rgb_overlay.dtbo file=devicetree/apalis-imx6_ov5640_overlay.dtbo" ------------------ Related-to: ELB-2797 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-06-18backports: add WiFi drivers for Gumstix AutoBSPStefan Agner
Add WiFi drivers useful for the Gumstix AutoBSP as kernel modules. Related-to: TOR-1068 Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2020-06-18tezi-metadata: replace soc overrides to also include use-mainline-bspMax Krummenacher
With use-mainline-bsp the SoC overrides mx6/mx6q/mx6ull... are filtered out of the overrides. Replace them with the specific machine name. Related-to: ELB-2805 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-18usb-rndis-systemd: drop recipeMax Krummenacher
The last user of this were the Tegras using the downstream kernel which were dropped. Drop the recipe. Related-to: ELB-2733 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-18linux-toradex: build dtb with symbolsOleksandr Suvorov
Symbols are required for overlay dtbo files to resolve external links. Related-to: ELB-1316 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-06-13fs-init: some cleaning upMing Liu
- Drop deprecated NATIVE_SYSTEMD_SUPPORT. - Drop do_compile, base_do_compile would be good enough. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-06-13usb-rndis-systemd: some cleaning upMing Liu
- Drop FILES_${PN}, it's redundant. - Drop deprecated NATIVE_SYSTEMD_SUPPORT. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-06-13libusbgx: fix a packaging issue and some cleaning upMing Liu
It's ${PN}-examples rather than ${PN} should be set in SYSTEMD_PACKAGES. Also do some cleaning up: - Drop deprecated NATIVE_SYSTEMD_SUPPORT. - Drop ${systemd_unitdir}/system/usbg.service from FILES. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-06-12gpio-export: clean up some variablesMing Liu
- Drop NATIVE_SYSTEMD_SUPPORT, it's deprecated. - Drop do_compile, base_do_compile would be good fine enough. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-06-08device-tree-overlays: split into a per kernel flavour recipeMax Krummenacher
Create a seperate recipe for each kernel flavour and move the recipe into the same directory as the kernel recipe. This allows to have a better control over which machine needs which device-tree-overlays. E.g. apalis-tk1 does not make use of the NXP use-mainline-bsp facility. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-08image_type_tezi.bbclass: fix getting list if dtbosOleksandr Suvorov
Commit 0b33be8f "image_type_tezi.bbclass: allow inexistence of machine specific overlays" introduces the regression bug, that prevents to gather machine-specific dtbos. This commit fixes the bug. Fixed: 0b33be8f ("image_type_tezi.bbclass: allow inexistence of machine specific overlays") Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-06-07device-tree-overlays: add initial recipeIgor Opaniuk
Add external device tree overlays to be build outside of the main linux kernel recipe. Relates-to: ELB-2723 Signed-off-by: Ming Liu <ming.liu@toradex.com> Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-06-06image_type_tezi.bbclass: allow inexistence of machine specific overlaysMarcel Ziswiler
Gracefully continue should there not (yet) be any machine specific device tree overlays. This avoids the following build failure: ERROR: Logfile of failure stored in: /home/user/builds/oe-core_4.0/build /tmp/work/apalis_imx8-tdx-linux/console-tdx-image/1.0-r0/temp /log.do_image_bootfs.4117712 Log data follows: | DEBUG: Executing python function tezi_deploy_bootfs_files | DEBUG: Python function tezi_deploy_bootfs_files finished | DEBUG: Executing python function set_image_size | DEBUG: 168906.400000 = 129928 * 1.300000 | DEBUG: 168906.400000 = max(168906.400000, 65536)[168906.400000] + 0 | DEBUG: 168907.000000 = int(168906.400000) | DEBUG: 168907 = aligned(168907) | DEBUG: returning 168907 | DEBUG: Python function set_image_size finished | DEBUG: Executing shell function do_image_bootfs | ls: cannot access 'apalis-imx8_*.dtbo': No such file or directory | WARNING: /home/user/builds/oe-core_4.0/build/tmp/work /apalis_imx8-tdx-linux/console-tdx-image/1.0-r0/temp /run.do_image_bootfs.4117712:1 exit 2 from 'machine_dtbos=`cd $deploy_dt_dir && ls apalis-imx8_*.dtbo`' | ERROR: Execution of '/home/user/builds/oe-core_4.0/build/tmp/work /apalis_imx8-tdx-linux/console-tdx-image/1.0-r0/temp /run.do_image_bootfs.4117712' failed with exit code 2: | ls: cannot access 'apalis-imx8_*.dtbo': No such file or directory | WARNING: /home/user/builds/oe-core_4.0/build/tmp/work /apalis_imx8-tdx-linux/console-tdx-image/1.0-r0/temp /run.do_image_bootfs.4117712:1 exit 2 from 'machine_dtbos=`cd $deploy_dt_dir && ls apalis-imx8_*.dtbo`' | ERROR: Task (/home/user/builds/oe-core_4.0/build/../layers /meta-toradex-demos/recipes-images/images/console-tdx-image.bb :do_image_bootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 5813 tasks of which 5544 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory NOTE: Writing buildhistory took: 15 seconds Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-06-04boot.cmd: add support for DT overlaysIgor Opaniuk
Add support for DT overlays, which are obtained from overlays.txt stored in bootfs. Relates-to: ELB-2722 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
2020-06-04image_type_tezi.bbclass: add dtoverlays supportIgor Opaniuk
Introduce TEZI_EXTERNAL_KERNEL_DEVICETREE and TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT variables. First one provides the list of overlays copied to boot partition (by default all overlays are copied), the second one sets the list of overlays that should be loaded during boot time (listed in ${bootfs}/overlays.txt). TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT defaults to be empty. Relates-to: ELB-2723 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
2020-06-03backports: update to latestMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-06-03linux-toradex-mainline: update to latest incl. rt-patchMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-05-28libsoc_0.8.2: finish move to pkg_postinst_ontargetMax Krummenacher
Remove the leftover from the old way of specifying postinst() which needs execution on target. Completes commit 6f2590ec6085 ("pkg_postinst: move to the ontarget syntax"). Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-05-28apalis-tk1-mainline: follow renamed machine nameMax Krummenacher
The downstream kernel gets to old to be used with the new zeus userspace components. Reuse the apalis-tk1 machine name to build a mainline kernel and drop the apalis-tk1-mainline machine. Related-to: ELB-2733 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-05-24u-boot-toradex-env.inc: drop fileMing Liu
Since we already have u-boot-toradex-initial-env.inc file, and no other recipes are referring u-boot-toradex-env.inc, we could drop it now. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-05-17image_type_tezi.bbclass: drop some redundant variablesMing Liu
UBOOT_BINARY_TEZI_EMMC has been defined in machine conf, drop it. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-05-07linux-toradex-mainline: allow to build with rt-patch appliedMax Krummenacher
With preempt-rt in overrides, the recipe now builds an RT kernel. i.e.: - downloads the rt patch as specified in SRC_URI and applies it - uses the provided defconfig but modifies the configuration to use PREEMPT_RT. Related-to: ELB-2631 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-05-07backports: replace hardcodeded path with oe prefixMax Krummenacher
Related-to: TOR-992 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>