Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arduino/portentax8-x8h7

Kernel modules for interfacing with various IO devices on the Portenta X8.
https://github.com/arduino/portentax8-x8h7

Last synced: 16 days ago
JSON representation

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

Awesome Lists containing this project

README

        

:floppy_disk: `portentax8-x8h7`
===============================
[![Sync Labels status](https://github.com/arduino/portentax8-x8h7/actions/workflows/sync-labels.yml/badge.svg)](https://github.com/arduino/portentax8-x8h7/actions/workflows/sync-labels.yml)

This repository contains the kernel modules for interfacing with various IO devices via a special [firmware](https://github.com/arduino/portentax8-stm32h7-fw) running on the `STM32H747AIIX`/Cortex-M7 core.

This driver compiles against [linux-imx](https://github.com/nxp-imx/linux-imx):**6.1.24**.

#### Build/Deploy/Install
```bash
bitbake x8h7
adb push deploy/ipk/portenta_x8/x8h7_0.1-r1_portenta_x8.ipk /home/fio
```
```bash
adb shell
cd /home/fio
sudo opkg install --force-reinstall --force-depends x8h7_0.1-r1_portenta_x8.ipk
```
or
```bash
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
```bash
lsmod | grep x8h7_
cd /usr/arduino/extra
sudo ./unload_modules.sh
sudo ./load_modules_pre.sh
sudo ./load_modules_post.sh
```