Age | Commit message (Collapse) | Author |
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 9de495e99756b66fc2a5d5599a26339fcca5cc53)
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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)
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
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>
|
|
Related-to: ELB-2760
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Rename destination "devicetree" with dtb overlays (on bootfs) to "overlays".
Relates-to: ELB-2807
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add WiFi drivers useful for the Gumstix AutoBSP as kernel modules.
Related-to: TOR-1068
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
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>
|
|
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>
|
|
Symbols are required for overlay dtbo files to resolve external links.
Related-to: ELB-1316
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
- Drop deprecated NATIVE_SYSTEMD_SUPPORT.
- Drop do_compile, base_do_compile would be good enough.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
- Drop FILES_${PN}, it's redundant.
- Drop deprecated NATIVE_SYSTEMD_SUPPORT.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
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>
|
|
- 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
UBOOT_BINARY_TEZI_EMMC has been defined in machine conf, drop it.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
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>
|
|
Related-to: TOR-992
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|