PYNQ image for custom board make error

I’m using PYNQ v2.3 to built my own image for my z-turn board(XC7Z020),the following pic is my Zynq7000 catalogue
and My BOARD spec file is as follow:
ARCH_{BOARD} := arm BSP_{BOARD} :=
BITSTREAM_{BOARD} := base/base.bit STAGE4_PACKAGES_{BOARD} := pynq boot_leds ethernet
when I ran “make BOARDS=Zynq7000 PREBUILT=./prebuilt/bionic.arm.2.3.img”, I got make failure at the same stage for many times which is as follow:
wzh@ubuntu:~/PYNQ/sdbuild$ make BOARDS=Zynq7000 PREBUILT=./prebuilt/bionic.arm.2.3.img
which vivado | fgrep 2018.2
which petalinux-config | fgrep 2018.2
which arm-linux-gnueabihf-gcc
which microblaze-xilinx-elf-gcc
which ct-ng
which python | fgrep /usr/bin/python
sudo -n mount > /dev/null
bash /home/wzh/PYNQ/sdbuild/scripts/
bash /home/wzh/PYNQ/sdbuild/scripts/
make: *** No rule to make target ‘/home/wzh/PYNQ/sdbuild/boot/image_.its’, needed by ‘/home/wzh/PYNQ/sdbuild/build/Zynq7000/image.its’. Stop.
I don’t know what wrong is it,maybe the spec file was not read at all?
Please tell me how to fix the problem ,thanks!

I think your spec file should be:

ARCH_Zynq7000 := arm
BSP_Zynq7000 :=
BITSTREAM_Zynq7000 := base/base.bit

STAGE4_PACKAGES_Zynq7000 := pynq boot_leds ethernet

Check what Z1 used:

hi rock,this works for me,thanks!Finally I got the image file,but the terminal shows the following error:

but it seems I can copy the image file to windows and use win32diskimager tool to write it to SD card,so it is not a problem?

It may not be the image you want since it has stopped at the final stage. So packages pynq, boot_leds, and ethernet have not been installed.

It looks like that ccache may have been deleted. I think you need to make sure you unmount all the images and start over. Easiest way might be restart the VM, make clean, and make again.

oh yes, I forgot to clean first running output,I’ll try again,thank you