mirror of
https://github.com/aolofsson/oh.git
synced 2025-02-07 06:44:09 +08:00
289024fd89
- 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
OH Linux generic UIO driver
Modules and devicetree compiled for Pubuntu 2016.3.x
- Copy
zynq-parallella-oh-mio.dtb
to SD card boot partition, name itdevicetree.dtb
. - Reboot Parallella
- (OPTIONAL) Load bitstream:
sudo dd if=parallella.bit.bin of=/dev/xdevcfg
- 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
- You can now compile and run hello-mio in oh.git/src/mio/driver/hello-mio