顯示具有 Zynq 標籤的文章。 顯示所有文章
顯示具有 Zynq 標籤的文章。 顯示所有文章

2017年2月21日 星期二

Linux UIO with ZYC706 U-boot config

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

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

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

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...