Age | Commit message (Collapse) | Author |
|
latest mainline
For OE master we want to build only latest mainline.
For a next BSP we will add a recipe which will build the to be used
stable tree.
Related-to: ELB-5359
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This makes the non-rt and rt recipe more independent and prepares
for further refactoring.
Related-to: ELB-5359
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Various Linux kernel configuration additions such as more NVMe options,
cameras, CMA size configuration, Verdin display adapters, PCI endpoint,
more i.MX 8M series and i.MX 8/8X series drivers and optional HiFi4 DSP.
Disabling i.MX 93 ADC driver.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Re-add NVMe, overlay FS, PCI (incl. some Ethernet and Wi-Fi drivers) and
SATA. Dropp i.MX 93 ADC instead.
Fixes: 881fef18ce8a ("linux-toradex-mainline-git: extend defconfig for verdin am62")
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Using v6.6-rc3 re-do base-line:
This moved:
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
CONFIG_FB_EFI=y
And newly added:
CONFIG_KEXEC_FILE=y
CONFIG_AHCI_DWC=m
CONFIG_DP83869_PHY=m
CONFIG_CAN_M_CAN=m
CONFIG_CAN_M_CAN_PLATFORM=m
CONFIG_INPUT_BBNSM_PWRKEY=m
CONFIG_INPUT_RK805_PWRKEY=m
CONFIG_PINCTRL_RK805=m
CONFIG_GPIO_SYSCON=y
CONFIG_CHARGER_RK817=m
CONFIG_IMX7ULP_WDT=m
CONFIG_REGULATOR_RAA215300=y
CONFIG_DRM_ITE_IT66121=m
CONFIG_BACKLIGHT_CLASS_DEVICE=m
CONFIG_SND_SOC_J721E_EVM=m
CONFIG_SND_SOC_RK817=m
CONFIG_SCSI_UFS_BSG=y
CONFIG_SCSI_UFS_CDNS_PLATFORM=m
CONFIG_SCSI_UFS_TI_J721E=m
CONFIG_RTC_DRV_ISL1208=m
CONFIG_RTC_DRV_BBNSM=m
CONFIG_TI_K3_DSP_REMOTEPROC=m
CONFIG_TI_K3_R5_REMOTEPROC=m
CONFIG_TI_PRUSS=m
CONFIG_PWM_TIECAP=m
CONFIG_NVMEM_LAYOUT_SL28_VPD=m
CONFIG_NVMEM_IMX_OCOTP_ELE=m
CONFIG_MUX_GPIO=m
CONFIG_CRYPTO_DEFLATE=m
And dropped:
CONFIG_KEXEC=y
CONFIG_GPIOLIB=y
CONFIG_SND_SOC_DAVINCI_MCASP=m
CONFIG_VIDEO_IMX_MEDIA=m
And changed CONFIG_MDIO_BCM_UNIMAC from =y to =m
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The correct override matching all i.MX based machines is now
imx-generic-bsp, not imx. Fix that.
Fixes 7a2d6ff ("u-boot-toradex: split into a release/pinned and latest head recipe")
Related-to: ELB-5357
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This reduces confusion about the current solution on what version gets
built with use-head-next.
This drops using the `use-head-next` override in favour of having two
recipes. Which recipe is to be built will then be set in the various
<machine.conf> files.
To reduce code duplication split out common code into a inc file and
further split out i.MX and TI specific stuff into two specific inc
files.
Related-to: ELB-5357
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Stop deploying u-boot-with-spl.imx, this is not required to properly flash
the board nor for debugging. Separated SPL and U-Boot proper binaries available,
used by Tezi and can be easily flashed using update_uboot and update_spl helper
scripts.
This enables some simplification on Tezi.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
(cherry picked from commit 81a446adde4296c7e68f916bc536414a1caa1397)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add remoteproc, rpmsg and imx mailbox drivers to enable HMP inter
processor communication features.
Add rpmsg client and tty demo samples for testing.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
(cherry picked from commit 598a5a0298a7ae6b2d119c879ef9f5525e175688)
Fixed rename of toradex_imx_v8.config -> toradex_aarch64.config
Refreshed aarch64 defconfig
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Conflicts:
recipes-kernel/linux/linux-toradex-mainline-git/aarch64/defconfig
recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v8.config
|
|
We no longer provide a kernel based on the NXP downstream BSP.
Drop patching U-Boot to support booting such a kernel on a Colibri iMX7.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This enables building upstream U-Boot for Verdin AM62 including building
and deploying tiboot3 and tispl with binman.
Related-to: ELB-5331
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The class now handles to provide an imx-boot symlink to flash.bin.
Also drop redundant entries in DEPENDS which are now part of the
generic u-boot include file.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Fix these unwanted behaviors:
- With kernel >= v6.3 /dev/colibri-watchdog-som and /dev/colibri-watchdog
are missing. Driver init sequence changes, the KERNEL label changes
from watchdog to watchdog1 and relevant rule that create the symlinks
stops matching.
- With kernel < v6.3 /dev/colibri-watchdog-som and /dev/colibri-watchdog-soc
are pointing to the same device, respectively /dev/watchdog0 (miscdev)
and /dev/watchdog (cdev) using the same watchdog device
(the SoM rn5t618 watchdog). Instead, it is expected that
/dev/colibri-watchdog-soc links to the SoC imx2-wdt watchdog device.
These are the current two configurations:
< v6.3:
/dev/colibri-watchdog -> watchdog0 (rn5t618)
/dev/colibri-watchdog-soc -> watchdog1 (imx2-wdt)
/dev/colibri-watchdog-som -> watchdog0 (rn5t618)
>= v6.3:
/dev/colibri-watchdog -> watchdog1 (rn5t618)
/dev/colibri-watchdog-soc -> watchdog0 (imx2-wdt)
/dev/colibri-watchdog-som -> watchdog1 (rn5t618)
Related-to: ELB-5315
Fixes: 9f9fa5d6c8ed ("udev-toradex-rules: Add additional watchdog symlink")
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
(cherry picked from commit 73e42815204f68ac520037afe7046f6022d7bb55)
|
|
linux-toradex-mainline: master now is at 6.6-rc
Set the reported version to 6.6-rc and update the git hash to the
baseline of current master, i.e. tag v6.5.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Drop 0001-Revert-media-v4l2-async-Use-endpoints-in-__v4l2_asyn.patch
and 0001-media-v4l2-async-fix-binding-async-subdevs-with-mult.patch.
Their functionality has been added upstream.
Refresh the remaining 4 patches so that they apply cleanly.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Take the downstream TI kernel toradex_ti_arm64_prune.config as
a blueprint, but drop disabling config options potentially used
for i.MX SoCs.
Rename the file from toradex_imx_v8.config to toradex_aarch64.config
and move it to where the defconfig is stored in the tree
to reflect that it is now used for multiple vendor archs.
Drop addional archs we don't use but still had in the config.
Refresh the defconfig file against kernel 6.5-rc7.
Related-to: ELB-5247
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Sort the entries into 3 categories.
- kernel features
- i.MX aarch64 additions
- disable unused functionalities
Related-to: ELB-5247
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The setting of localversion has been changed in openembedded-core
to accomodate changes in the kernel sources around v6.3.
This changed that the kernel and external kernel modules with our
way of setting localversion didn't use the same module magic.
One used what we want for LOCALVERSION twice while the other uses
it only once.
Compare with OE-Commits:
commit b378eec156 ("kernel: make LOCALVERSION consistent between recipes")
commit 765b13b730 ("kernel: fix localversion in v6.3+")
Related-to: ELB-5330
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
After building the kernel we want the used config being deployed.
This is already implemented for the linux-toradex-mainline recipe,
however the downstream vendor based kernels to not deploy the config.
Move the functionality to a class and inherit that in the mainline
kernel recipe to allow reusing the class in the downstream kernel
recipes.
Related-to: ELB-5149
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
For legal compliance there's a need to ship EULA along with
any firmware files from imx-firmware.
Related-to: ELB-5247
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit c91a1b80c24712f835b1d7b9c83947727583749c)
|
|
Rather than unpacking in ${WORKDIR}/imx-firmware, unpack it in
${S}/imx-firmware and adjust the install commands accordingly.
This in preparation of properly adding the imx-firmware licence info.
When using the openembedded-core create-spdx-2.2.bbclass the specified
files are to be specified relative to ${S} which is easier to achieve
if in a subdirectory of ${S}.
Related-to: ELB-5247
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit ee4386c2420368eb447ca6255bc387f16fe2097b)
|
|
The variables TPL_BINARY and OFFSET_TPL_PAYLOAD are not choosen wisely
as they are not used to specify a TPL (Tertiary Program Loader).
They were introduced and used for the Verdin AM62 machine.
The tiboot3 binary is not a TPL (Tertiary Program Loader) but
actually contains the binaries first booted by the boot ROM.
Rename TPL_BINARY and OFFSET_TPL_PAYLOAD to FIRMWARE_BINARY and
OFFSET_FW_PAYLOAD respectively.
Related-to: ELB-5244
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit dd6ea5f3ad1ac334c3d6f5978be6f597a3c86170)
|
|
U-Boot release 2023.07 branched away from the master branch which
is reflected in OE u-boot recipe.
Switch this back to the master branch, so that for use-head-next we
take latest on master rather than latest on branch u-boot-2023.07.y.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
image_type_tezi.bbclass depends on virtual/dtb being buildable.
Allow to build it for any machine so that we don't have build failures.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Move common files into separate package and add it to sd89xx and iw416
dependencies.
Related-to: ELB-5247
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
(cherry picked from commit 9b7bd08b10582056b9cecf7be694231cba75d992)
|
|
Recent change switched the branch of imx-firmware to the
latest release (lf-6.1.22_2.0.0), but did not update srcrev,
effectively making no change to the target image at all.
This bumps imx-firmware srcrev to the latest commit on the
mentioned branch.
Fixes: 8154788a0cfc ("linux-firmware: bump imx-firmware to latest version")
Related-to: ELB-5247
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
(cherry picked from commit 337a077d0cf63aea1c104bf9e8c730810721206a)
|
|
This bumps imx-firmware to latest lf-6.1.22_2.0.0.
Related-to: ELB-5247
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
(cherry picked from commit 8154788a0cfcb950e104da7b67cc7244e8e3cdf6)
|
|
This adds the sdiouartiw416_combo_v0.bin firmware for IW416 based
Wi-Fi/Bluetooth modules which are present on Verdin AM62 modules.
This particular firmware variant is supposed to be used for
configuration of Wi-Fi via SDIO and Bluetooth via UART.
Related-to: ELB-5247
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
(cherry picked from commit 5e0f9936994fcd6c04910c4d33d266fddf054efa)
|
|
With the addition of Verdin AM62 with IW416 based WiFi module we
need to get rid of meta-toradex-nxp dependency for TI based SoM.
This change moves linux-firmware recipe from meta-toradex-nxp.
Related-to: ELB-5247
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
(cherry picked from commit 05c6a1ae9639ad990af1ff1fc52c5af290568ad8)
|
|
Enable new NXP Bluetooth UART driver (CONFIG_BT_NXPUART), TI SN65DSI84
DSI to LVDS bridge driver (CONFIG_DRM_TI_SN65DSI83), new LCDIF driver
for i.MX 8M series SoCs (CONFIG_DRM_IMX_LCDIF and usbmon which allows
capturing USB traffic using tcpdump (CONFIG_USB_MON) all to be build as
loadable kernel modules.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Used kernel v6.5-rc2 to just run savedefconfig on our defconfig which
resulted in the following:
Dropped as now anyway defaulting to =y:
CONFIG_UNIX=y
CONFIG_INET=y
Moved:
CONFIG_PCI_TEGRA=y
CONFIG_PCIE_RCAR_HOST=y
CONFIG_PCIE_RCAR_EP=y
CONFIG_PCI_HOST_GENERIC=y
CONFIG_PCI_XGENE=y
CONFIG_PCIE_ROCKCHIP_HOST=m
CONFIG_PCIE_BRCMSTB=m
CONFIG_PCIE_QCOM=y
CONFIG_PCIE_ARMADA_8K=y
CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
CONFIG_PINCTRL_SM8250_LPASS_LPI=m
Re-named but not set by default now:
CONFIG_MFD_RK808 to CONFIG_MFD_RK8XX_I2C
RK808 split into core and i2c now defaulting to off:
CONFIG_RTC_DRV_RK808
CONFIG_COMMON_CLK_RK808
Dropped for good:
CONFIG_COMMON_CLK_MT8192_AUDSYS=y
CONFIG_COMMON_CLK_MT8192_CAMSYS=y
CONFIG_COMMON_CLK_MT8192_IMGSYS=y
CONFIG_COMMON_CLK_MT8192_IMP_IIC_WRAP=y
CONFIG_COMMON_CLK_MT8192_IPESYS=y
CONFIG_COMMON_CLK_MT8192_MDPSYS=y
CONFIG_COMMON_CLK_MT8192_MFGCFG=y
CONFIG_COMMON_CLK_MT8192_MMSYS=y
CONFIG_COMMON_CLK_MT8192_MSDC=y
CONFIG_COMMON_CLK_MT8192_SCP_ADSP=y
CONFIG_COMMON_CLK_MT8192_VDECSYS=y
CONFIG_COMMON_CLK_MT8192_VENCSYS=y
CONFIG_ARCH_R8A77950
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Make sure them gstreamer1.0-plugins-bad are built with v4l2codecs as
well which are needed for Hantro VPUs as e.g. found on the i.MX 8M Mini.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The rework for 32bit dtb vendor subdirs wrongly stops deploying the dtbs.
This due to not following the correct bitbake syntax.
Fixes: 23ade88 ("image_type_tezi: : follow change to vendor subdir for dtbs")
Related-to: ELB-5263
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
With moving to kernel 6.5 the kernel commit 724ba67515320 ("ARM: dts:
Move .dts files to vendor sub-directories") introduced a regression
with our 32 bit machines.
Use 'make_dtb_boot_files' to get the basenames of the dtb list also
for NAND based modules.
Related-to: ELB-5263
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
With the kernel moving 32 bit device trees in subdirectories starting
with kernel 6.5 the toradex machine configuration files provide the
variable KERNEL_DTB_PREFIX.
The fit image configuration name is constructed from KERNEL_DTB_PREFIX
plus the dtb file name. Make use of the KERNEL_DTB_PREFIX variable to
construct the configuration used for booting.
As we now also set KERNEL_DTB_PREFIX for the 64 bit machines the inline
python works for all machines, thus drop the DTB_PREFIX overrides.
Related-to: ELB-5262
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
With moving to kernel 6.5 the kernel commit 724ba67515320 ("ARM: dts:
Move .dts files to vendor sub-directories") introduced a regression
with our 32 bit machines.
Add the new subdirs as part of the list of include paths to search.
Related-to: ELB-5263
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
OE commit 26d97acc71 ("image-artifact-names: include ${IMAGE_NAME_SUFFIX}
directly in both ${IMAGE_NAME} and ${IMAGE_LINK_NAME}") introduced
a regression with our image types.
Change our image type tezi to follow that.
Related-to: ELB-5262
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Move TPL_BINARY from a variable to a variable flag using the PID4 as a flag and
generate the image json file according to that.
This requires changes on the machine conf where TPL_BINARY is used.
This is required to support different SoC type (GP/HS-FS) that requires a
different tiboot3.bin on the Verdin AM62.
Related-to: ELB-5227
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
(cherry picked from commit 7fd635f58748064dd034c91605cf6ed25a56a900)
|
|
Add a patch to fix a DDR RAM issue that can cause bit flips at
temperatures above 60°C.
Related-to: ELB-5211
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
(cherry picked from commit 63e4e72c5c71d510106c6504074697c30d396e47)
|
|
Enable driver for Toshiba TC358743 HDMI-to-CSI-2 bridge.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 60e249850843255097f05c58030d464a1ec0006a)
|
|
Revert 1f391df446077d62514ee29f75970dff3d55a432
This reverted commit breaks the async subdevice probing that is needed
by TC358743 HDMI to MIPI-CSI2 bridge on Apalis iMX6. See [1] for details.
The V4L2 async framework for the imx6 seem to be fixed by [2]
patch series, that it is not yet merged.
While waiting for this patch series to be merged we revert this single
commit.
[1] https://lore.kernel.org/all/8360125.31r3eYUQgx@steina-w/
[2] https://lore.kernel.org/all/20230525091615.2324824-1-sakari.ailus@linux.intel.com/
Related-to: ELB-5141
Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
(cherry picked from commit 4b9dee855fe97fe7d17209202ffd5503fa1878d7)
|
|
Add TI-TFL ("TEXAS INSTRUMENTS TEXT FILE LICENSE") to TI tezi image artifact,
while removing the NXP one.
Current license file come from [1].
Disable the download of an updated license from a specific url, formerly used
for NXP EULA, due to missing proper link.
[1] https://git.ti.com/cgit/graphics/ti-img-rogue-umlibs/tree/?h=linuxws/dunfell/k5.10/1.15.6133109
Related-to: ELB-5161
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
(cherry picked from commit a44240a3d58d353d86be7fed4d79c086dc2f2312)
|
|
Download of NXP EULA was always failing because the network access
was disabled during execution of do_image_teziimg task.
The download is not mandatory and it falls back using the EULA provided by
recipes-bsp/tezi-metadata/tezi-metadata_0.3.bb.
Fix by setting the network flag on do_image_teziimg task.
This flag must be set for every task that access network from bitbake 2.0
which is used starting from Kirkstone [1].
[1] http://git.openembedded.org/bitbake/commit/?id=0746b6a2a32fec4c18bf1a52b1454ca4c04bf543
Related-to: ELB-5161
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
(cherry picked from commit 24404926b8689435af675c5a9127b48d91e418d0)
|
|
Add som family symlinks for the first SoC watchdog device
exposed as /dev/watchdog.
root@verdin-am62-14917625:~# ls -l /dev/verdin-watchdog*
lrwxrwxrwx 1 root root 8 Apr 5 12:49 /dev/verdin-watchdog -> watchdog
lrwxrwxrwx 1 root root 8 Apr 5 12:49 /dev/verdin-watchdog-soc -> watchdog
Related-to: ELB-5087
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit a31e6fc22579cdbfa1ff4ed4ec124cae7802fe03)
|
|
Let's use the libusbgx recipe from meta-openembedded, move Toradex
related g1.schema to libusbgx-config recipe.
The following fixes have been made to libusbgx-config:
- Add 'idProduct' and 'serialnumber' to /etc/usbgx/g1.schema by
pkg_postinst_ontarget function, it would runs only once at the first
boot, no need to write them to /sys/kernel/config/usb_gadget/g1
everytime in ExecStartPost.
With these meta-openembedded MRs:
https://patchwork.yoctoproject.org/project/oe/patch/20230516133052.2071705-1-liu.ming50@gmail.com/
https://patchwork.yoctoproject.org/project/oe/patch/20230516133257.2072092-1-liu.ming50@gmail.com/
https://patchwork.yoctoproject.org/project/oe/patch/20230509113620.786170-4-liu.ming50@gmail.com/
https://patchwork.yoctoproject.org/project/oe/patch/20230509113620.786170-3-liu.ming50@gmail.com/
https://patchwork.yoctoproject.org/project/oe/patch/20230509113620.786170-2-liu.ming50@gmail.com/
the following changes have been made:
- Drop '/sbin/modprobe libcomposite' and
'/bin/mount -t configfs configfs /sys/kernel/config' from
ExecStartPre, they are redundant since libcomposite would be
automatically loaded during system starting up due to the following
setting in linux-toradex recipe:
KERNEL_MODULE_AUTOLOAD += "libcomposite", insteadly, now let
usbgx.service require and run after sys-kernel-config.mount.
- Since we have "WantedBy=usb-gadget.target" in systemd service, that
ensures when udev trigger UDC rules, usbgx.service would run as well
so the "Before=systemd-networkd.service" condition could be dropped
from usbgx.service of meta-oe, since that is a ETH gadget specific
condition.
- Use "Type=simple" rather than "Type=oneshot", this ensures
usbgx.service would not hang on failures, failures could happen in
many conditions, like if the end user has manually configured
something in configfs, or start usbgx.service twice, or someting
wrong in /etc/default/usbgx or /etc/usbgx/*.schema.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|