1. add patches/uio.dts containing the following code:
Code: Select all
/include/ "system.dts"
/ {
chosen {
bootargs = "uio_pdrv_genirq.of_id=generic-uio console=ttyPS0,115200 root=/dev/mmcblk0p2 ro rootfstype=ext4 earlyprintk rootwait";
};
uio0: uio@40000000 {
compatible = "generic-uio";
reg = <0x40000000 0x1000>;
};
};
Code: Select all
tmp/linux-xlnx-xilinx-v2015.1/scripts/dtc/dtc -I dts -O dtb -o $boot_dir/devicetree.dtb -i tmp/red_pitaya_0_92.tree patches/uio.dts
What do you think?