03-21-2019 08:03 AM
We have brought new zedboard(XC7020) for our new project and decided to work on linux platform.
We have installed latest vivado 2018.3 and petalinux tools for development.
We have followed few documents from Xilinx to create block diagram in Vivado and run the petalinux.
As a start, we have created block diagram with only SPIenabled and able to generate bitsteam. We have also created new project in petalinux using .hdf file which is generated using Vivado.
we have enabled SPI driver from "Device Driver -> SPI" and build the project using following commands.
"petalinux-build -c kernel", "petalinux-build -c rootfs" and "petalinux-build"
After build, we have loaded BOOT.bin and uImage.ub files in SDcard and started booting.
After booting, I have verified in "/dev" folder for SPI peripherals but we haven't seen any SPI peripheral.
From the internet, someone has suggested to add SPI0 initalization in system-conf.dtsi file under the path "work/project_2/software/project-spec/meta-user/recipes-bsp/device-tree/files".
After adding this also, it didn't worked.
I have added boot log here with our SPI block diagram which is created using vivado.
Someone please have a look at my boot log and suggest us what to do to enable SPI pheripheral.
04-14-2019 11:35 AM
Please refer the below wiki page
04-15-2019 08:33 PM
Are you able to see device tree changes for SPI after building petalinux? Check system.dtb(convert it to .dts)
04-15-2019 08:50 PM
Thanks for your reply.
Currently we have stopped working on PetaLinux. So countnt test it.
Anyway thanks for your support and time.