It’s the same case for Apalis iMX8, you can check the config.gz and will see the CHAR device enabled as a kernel module in the Apalais kernel. Please make sure you have a device tree overlay to enable the rpmsg with the correct reserved areas and the driver should load automatically.
You can also test it with the NXP Ping Pong example, from their SDK.
I now have TDX Wayland with XWayland 6.2.0+build.6 (kirkstone) via the EasyInstaller
First login user/passwd… torizon/torizon not working.
So I can’t check whether the modules are there now.
Is there an overview of what was changed in 6.2 compared to version 5.7?
I must have flashed the wrong image. Actually wanted:
Torizon Core with evaluation containers,
Toradex Embedded Linux Reference Multimedia Image
Nevertheless, what are the access data for the latter image?
The previous enable rpmsg overlay dto does not work here.
So far I’ve compiled the dts via this approach:
… Using Standalone Commands
This no longer works for core 6.2? Are there no more standalone commands here?
Do the overlay source files (dts) for the 5.7 images also work in the 6.2 images?
if I copy the include folder from the linux/include following output:
(I think that’s not how it’s meant to be)
gerko@LAPTOP-BF6RSE3A:~/tcb62$ torizoncore-builder dt apply linux/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-ixora-v1.1.dts --include-dir linux/include
'imx8qm-apalis-v1.1-ixora-v1.1.dts' compiles successfully.
warning: removing currently applied device tree overlays
Device tree imx8qm-apalis-v1.1-ixora-v1.1.dtb successfully applied.
gerko@LAPTOP-BF6RSE3A:~/tcb62$ torizoncore-builder dto apply device-trees/overlays/apalis-imx8_enable_rpmsg.dts
'apalis-imx8_enable_rpmsg.dts' compiles successfully.
Failed to apply '/tmp/tmpc4i37hu6': FDT_ERR_NOTFOUND
error: cannot apply device tree overlays ['/tmp/tmpc4i37hu6'] against device tree /storage/dt/usr/lib/modules/5.15.77-6.2.0+git.aa0ff7e3554e/dtb/imx8qm-apalis-v1.1-ixora-v1.1.dtb.
error: overlay 'device-trees/overlays/apalis-imx8_enable_rpmsg.dts' is not applicable.
The nodes rpmsg0 and rpmsg1 are missing in the device tree sources. (imx8-apalis-v1.1.dtsi and imx8qm.dtsi)
Also, please try it using a Toradex Reference Minimal instead of TorizonCore. After you have a better grasp of what is going on and how things work, I think you will have a better experience on TorizonCore and we can also help you with TorizonCore specifics
Basically I have some experiences.
The TTY example works M4 side and Linux userspace side fine. In core5.7.
I would like to compare how fast the rpmsg_tty module versus the rpmsg_char module.
I just wanted an rpmsg_char kernel module.
In core 6.2 it is available. But the device tree doesn’t work with the old 5.7 overlays.
I’ve fixed that in the dt sources.(I hope)
The standalone dt and dto commands dont work in core6.2.
I can build the new custom image as described in the instructions over the yaml file. No Errors. It now fails on deploying this image over ssh to the apalis module.
But I’ll take your advice and continue with a minimal image.
In the torizon core builder, I cannot load an image for the provided minimal image, corresponding to the installed image from the Artifacts servers. Build 6 is not available:
gerko@LAPTOP-BF6RSE3A:~/tcb62mi$ torizoncore-builder images download --remote-host 192.168.88.16 --remote-username torizon --remote-password torizon
Downloading image from: https://artifacts.toradex.com/artifactory/torizoncore-oe-prod-frankfurt/kirkstone-6.x.y/release/6/apalis-imx8/torizon/torizon-core-docker/oedeploy/torizon-core-docker-apalis-imx8-Tezi_6.2.0+build.6.tar
The download may take some time. Please wait...
The requested image could not be found in the Toradex Artifactory.