Hi,
I'm trying to build with petalinux 15.4 and your bsp file (from http://microzed.org/support/design/1519/10).
I'm getting the build error:
[ERROR] ERROR (phandle_references): Reference to non-existent node or label "usb_phy0"
It only happens if I run "petalinux-config".
This sequence works:
$ petalinux-create -t project -s mz_7010_2015_4.bsp
$ cd mz_7010_2015_4/
$ make
This sequence doesn't work:
$ petalinux-create -t project -s mz_7010_2015_4.bsp
$ cd mz_7010_2015_4/
$ petalinux-config
$ make
Note that I do not change any configuration, I only open the petalinux-config tool and close it again.
As side note: doing a config of rootfs works
$ petalinux-config -c rootfs
I run petalinux on a virtualbox with ubuntu 14.04.
Best regards
/Fredrik
Full terminal log:
==================
fredrik@ubuntu144:~/petalinux$ petalinux-create -t project -s mz_7010_2015_4.bsp
INFO: Create project:
INFO: Projects:
INFO: * mz_7010_2015_4
INFO: has been successfully installed to /home/fredrik/petalinux/
INFO: New project successfully created in /home/fredrik/petalinux/
fredrik@ubuntu144:~/petalinux$ cd mz_7010_2015_4/
fredrik@ubuntu144:~/petalinux/mz_7010_2015_4$ petalinux-config
INFO: Checking component...
INFO: Config linux
****** hsi v2015.4 (64-bit)
**** SW Build 1412921 on Wed Nov 18 09:44:32 MST 2015
** Copyright 1986-2015 Xilinx, Inc. All Rights Reserved.
source /home/fredrik/petalinux/mz_7010_2015_4/build/linux/hw-description/hw-description.tcl -notrace
INFO: [Common 17-206] Exiting hsi at Mon Jul 11 14:30:44 2016...
[INFO ] config linux
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
[INFO ] generate DTS to /home/fredrik/petalinux/mz_7010_2015_4/subsystems/linux/configs/device-tree
INFO: [Hsi 55-1698] elapsed time for repository loading 1 seconds
WARNING: ps7_ethernet_0: No reset found
INFO: [Common 17-206] Exiting hsi at Mon Jul 11 14:31:07 2016...
[INFO ] generate BSP for zynq_fsbl
INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
INFO: [Common 17-206] Exiting hsi at Mon Jul 11 14:31:50 2016...
INFO: Config linux/kernel
[INFO ] oldconfig linux/kernel
INFO: Config linux/rootfs
[INFO ] oldconfig linux/rootfs
INFO: Config linux/u-boot
[INFO ] generate linux/u-boot configuration files
[INFO ] generate linux/u-boot board header files
INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
INFO: [Common 17-206] Exiting hsi at Mon Jul 11 14:32:11 2016...
[INFO ] oldconfig linux/u-boot
fredrik@ubuntu144:~/petalinux/mz_7010_2015_4$ make
petalinux-build
INFO: Checking component...
INFO: Generating make files and build linux
INFO: Generating make files for the subcomponents of linux
INFO: Building linux
[INFO ] pre-build linux/rootfs/fwupgrade
[INFO ] pre-build linux/rootfs/gpio-demo
[INFO ] pre-build linux/rootfs/httpd_content
[INFO ] pre-build linux/rootfs/iperf3
[INFO ] pre-build linux/rootfs/peekpoke
[INFO ] pre-build linux/rootfs/weaved
[INFO ] build system.dtb
[ERROR] ERROR (phandle_references): Reference to non-existent node or label "usb_phy0"
[ERROR] ERROR: Input tree has errors, aborting (use -f to force output)
[ERROR] make[2]: *** [system.dtb] Error 255
[ERROR] make[1]: *** [sub_build_component_/none/device-tree/single/device-tree-generator] Error 2
ERROR: Failed to build linux
make: *** [linux] Error 255
fredrik@ubuntu144:~/petalinux/mz_7010_2015_4$