This repository contains the kernel modules for interfacing with various IO devices via a special firmware running on the STM32H747AIIX
/Cortex-M7 core.
This driver compiles against linux-imx:6.1.24.
bitbake x8h7
adb push deploy/ipk/portenta_x8/x8h7_0.1-r1_portenta_x8.ipk /home/fio
adb shell
cd /home/fio
sudo opkg install --force-reinstall --force-depends x8h7_0.1-r1_portenta_x8.ipk
or
adb push ./tmp-lmp_xwayland/sysroots-components/portenta_x8/x8h7/usr/lib/modules/5.10.93-lmp-standard/extra/*.ko /home/fio
adb shell
sudo rmmod x8h7_can
sudo mount -o remount,rw /usr
sudo mv *.ko /lib/modules/6.1.24-lmp-standard/extra/
sudo modprobe x8h7_can
lsmod | grep x8h7_
cd /usr/arduino/extra
sudo ./unload_modules.sh
sudo ./load_modules_pre.sh
sudo ./load_modules_post.sh