1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-02-07 06:44:09 +08:00
aolofsson 289024fd89 Flattening directory tree (again)
- Creating an arbitrary 'src' directory really doesn't help much...
- Goal is to make each folder self contained
- Make meta repos and individual repos have the same directory structure
2022-06-21 14:48:48 -04:00
..
2022-06-21 14:48:48 -04:00
2022-06-21 14:48:48 -04:00

OH Linux generic UIO driver

Modules and devicetree compiled for Pubuntu 2016.3.x

  1. Copy zynq-parallella-oh-mio.dtb to SD card boot partition, name it devicetree.dtb.
  2. Reboot Parallella
  3. (OPTIONAL) Load bitstream: sudo dd if=parallella.bit.bin of=/dev/xdevcfg
  4. Load the required modules:
sudo insmod uio.ko
sudo insmod uio_pdrv_genirq.ko of_id=oh,mio
sudo rmmod uio_pdrv_genirq.ko
sudo insmod uio_pdrv_genirq.ko of_id=oh,mio
chmod 777 /dev/uio0
  1. You can now compile and run hello-mio in oh.git/src/mio/driver/hello-mio