Skip to content

Kernel modules for interfacing with various IO devices on the Portenta X8.

License

Notifications You must be signed in to change notification settings

pika-spark/portentax8-x8h7

 
 

Repository files navigation

💾 portentax8-x8h7

Sync Labels status

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.

Build/Deploy/Install

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

Unload/Reload

lsmod | grep x8h7_
cd /usr/arduino/extra
sudo ./unload_modules.sh
sudo ./load_modules_pre.sh
sudo ./load_modules_post.sh

About

Kernel modules for interfacing with various IO devices on the Portenta X8.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.6%
  • Makefile 0.4%