PYNQ: PYTHON PRODUCTIVITY FOR ZYNQ

Build sdsoc pynq platform & test fail

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,

  1. petalinux-create --type project --template zynq --name pynq_board
  2. copy .hdf to created pynq_board folder. And petalinux-config --get-hw-description ./
  3. mody DTG Settings->Kernel Bootargs->user set kernel bootargs
    console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait
  4. modify Image Packaging Configurations->Root filesystem type->SD card
  5. 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)
  6. modify system-user.dtsi
    /include/ “system-conf.dtsi”
    /{
    xlnk {
    compatible = “xlnx,xlnk-1.0”;
    };
    };
  7. petalinux-build
  8. 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~~

hi,
sorry for interruption, it’s a permission problem. just use sudo first

sudo ./test_linux.elf