-
Notifications
You must be signed in to change notification settings - Fork 292
ST AMP virtio‐mmio demo
This page provide information about demonstrators on STM32MP157-DK2 board to implement virtio-2C over virtio MMIO in AMP system.
A document related to the associated study is available here: Virtio MMIO for coprocessor study
stm32mp157F-DK2 board
- system reference PR 20 to add I2C RAM app
- Zephyr OS staging PR 3 for required changes to ST board definition
- Linux Kernel staging PR 1 for virtio-mmio and virtio-i2c updates
Refer to System Reference Samples and Demos on STM32MP157C/F-DK2 board to build the image for thr stm32mp157F-DK2 board updating the source code with references provided above.
The Linux kernel image should be updated to include Linux Kernel staging PR 1
Refer to examples/zephyr/virtio_i2c_ram/README.rst
- The Cortex-M4 has physical I2C controller w/ bus and devices.
- The Cortex-M4 bridges the virtual I2C to the physical bus allowing Linux on Cortex-A7 to access it as well.
- STM32MP115c-dk2 board
- Nucleo shield ISK01A2
- 2 SSD1306 displays connected on I2C arduino connectors:
- display @0x3C: managed by Zephyr
- display @0x3D: managed by Remote processor
- Linux Kernel staging PR 1 for virtio-mmio and virtio-i2c updates
- Zephyr work with full I2c bridge (new branch with only I2C virtio)
- openAMP work with virtio mmio and virtio-i2 devices
Refer to System Reference Samples and Demos on STM32MP157C/F-DK2 board to build the image for the stm32mp157F-DK2 board, updating the code with updating the source code with references provided above
Refer to https://github.com/arnopo/zephyr_stm32mp1/tree/virtio_mmio_i2c/samples/subsys/ipc/openamp_virtio_i2c On Lunix an application can be installed to play some demo on display connected on the I2C bus at address 0x3D