Hi,
i just try to add pynq platform in sdsoc to do something. here is my step.
HW part, i create a base system platform and here is my export DSA & hdf.
pynq_board_dsa.zip (2.6 MB)
pynq_board_wrapper.hdf (385.9 KB)
SW part,
- petalinux-create --type project --template zynq --name pynq_board
- copy .hdf to created pynq_board folder. And petalinux-config --get-hw-description ./
- mody DTG Settings->Kernel Bootargs->user set kernel bootargs
console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait - modify Image Packaging Configurations->Root filesystem type->SD card
- petalinux-config -c kernel
Device Drivers->Generic Driver Options->Size in Mega Bytes(256)
Device Drivers->Staging drivers (ON)->Xilinx APF Accelerator driver (ON)->Xilinx APF DMA engines support (ON) - modify system-user.dtsi
/include/ “system-conf.dtsi”
/{
xlnk {
compatible = “xlnx,xlnk-1.0”;
};
}; - petalinux-build
- zynq_fsbl.elf, u-boot.elf, image.ub for sdsoc platform use
====================================================
build platform & test sdsoc platform with mmultadd example and output: /dev/mem can’t be opened
my environment:
sdsoc 2019.1
pynq rootfs v2.5
Thanks for help~~