[yocto] How to config kernel in my own meta layer?

2017-12-21 Thread Fan Zhang
tbake will complaint about not being able to find uio-test.cfg. However, the final .config in built do not have the CMA allocated. My meta layer does have a priority higher than the upstream layers. What else can cause the problem here? Any suggestions? Thanks. Fan Zhang &

Re: [yocto] [meta-xilinx] How to include Xilinx DMA driver

2017-09-12 Thread Fan Zhang
) April 5, 2017" documentation? Many thanks, Fan On 11/09/2017 1:30 PM, Sandeep Gundlupet Raju wrote: Hi Fan, Thanks, Sandeep -Original Message- From: meta-xilinx-boun...@yoctoproject.org [mailto:meta-xilinx-boun...@yoctoproject.org] On Behalf Of Fan Zhang Sent: Monday, Septem

Re: [yocto] [meta-xilinx] How to include Xilinx DMA driver

2017-09-11 Thread Fan Zhang
these message, I'm guessing there is an issue in configuration of the common clock framework. Is the clkc.c needs to be built as an out of tree module to be used in Yocto? Fan On 08/09/2017 12:20 PM, Robert Berger wrote: Hi, On 2017-09-08 19:00, Fan Zhang wrote: Hi All, 1. How to include

[yocto] [meta-xilinx] How to include Xilinx DMA driver

2017-09-08 Thread Fan Zhang
Hi All, I have a design on Zynq that uses DMA, and I need to setup a driver to program the DMA controller, setup the data transfer and supply data to user space. I searched around in the Xilinx forum, and found an dma_proxy driver. Xilinx also provides an xilinx_dma.c driver for the DMA. It

Re: [yocto] Building out of tree module into kernel image

2017-09-06 Thread Fan Zhang
09/2017 11:00 AM, Vincent Prince wrote: Hi, Where did you put MACHINE_ESSENTIAL_EXTRA_RDEPENDS  instruction? Did you try to rename axidma.bb <http://axidma.bb/> to kernel-module-axidma.bb <http://kernel-module-axidma.bb> ? Best Regards, Vincent 2017-09-06 16:13 GMT+02:00 Fan

[yocto] Building out of tree module into kernel image

2017-09-06 Thread Fan Zhang
//    $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install// // //clean:// //    rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c// //    rm -f Module.markers Module.symvers modules.order// //    rm -rf .tmp_versions Modules.symvers/ Fan Zhang <>--