Xilinx remove the compatible = "generic-uio" configuration in latest Kernel distribution ,if you want to use the uio function, you need to add environment variable in uEnv.txt.
bootargs = "console=ttyPS0,115200 earlyprintk uio_pdrv_genirq.of_id=generic-uio";
ref:
1.https://forums.xilinx.com/t5/Embedded-Linux/generic-UIO-broken/td-p/564259/page/2
2.https://github.com/Xilinx/linux-xlnx/commit/7ebd62dbc727ef343b07c01c852a15fc4d9cc9e5
2017年2月21日 星期二
2016年5月26日 星期四
Use DSP48 marco on Zedboard
1. add (*use_dsp48 ="yes"*) before module
can use before module wire and compute section but only useful in low bits design
2.use dsp 48 marco use like IP core can full customized by user
example : 48-bits and gate use dsp 48 slice
ref
1.Dsp48 user guide
can use before module wire and compute section but only useful in low bits design
2.use dsp 48 marco use like IP core can full customized by user
example : 48-bits and gate use dsp 48 slice
ref
1.Dsp48 user guide
2016年5月4日 星期三
Zedboard cross compiler install
Install file
1.Open terminal -> chmod +x xilinx-2011.09-50-arm-xilinx-linux-gnueabi.bin -> sudo -s
2.Dpkg-reconfigure dash -> choose no
3./xilinx-2011.09-50-arm-xilinx-linux-gnueabi.bin
4.Export cross=/root/CodeSourcery/Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux/bin
5.$cross/arm-xilinx-linux-gnueabi-gcc file1.c -o file2.o
1.Open terminal -> chmod +x xilinx-2011.09-50-arm-xilinx-linux-gnueabi.bin -> sudo -s
2.Dpkg-reconfigure dash -> choose no
3./xilinx-2011.09-50-arm-xilinx-linux-gnueabi.bin
4.Export cross=/root/CodeSourcery/Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux/bin
5.$cross/arm-xilinx-linux-gnueabi-gcc file1.c -o file2.o
訂閱:
文章 (Atom)
Linux driver: How to enable dynamic debug at booting time for built-in driver.
Dynamic debug is useful for debug driver, and can be enable by: 1. Mount debug fs #>mount -t debugfs none /sys/kernel/debug 2. Enable dy...
-
The root cause is miss use a pointer to a static variable like: int x = 1; int y = (int) &x; Modify version int x = 1; int *y =...
-
1.Download Astyle http://astyle.sourceforge.net/ 2. Open Keil -> Tool -> Customize Tool Menu config as below My argument. Can ...
-
1.Create the project folder and win_gui_v1.go in your go work space > cd ..\src\ > mkdir win_gui_v1 2.Copy the .manifest file...