Xilinx / Vitis_Embedded_Platform_Source

118 stars 69 forks source link

Erro for building `zcu102_pl_ddr_stream` platform #7

Open mbaharan opened 4 years ago

mbaharan commented 4 years ago

I am trying to buuild zcu102_pl_ddr_stream platform but I am getting following error, while I can make zcu102_base platform without any problem. I wondering what can be the cause of the problem.

make -C petalinux refresh-hw
make[1]: Entering directory '/mnt/2TB/WorkingDir/FPGA/ZCU102/Vitis_Embedded_Platform_Source/Xilinx_Reference_Platforms/zcu102_pl_ddr_stream/petalinux'
petalinux-config --get-hw-description=../dsa/ --silentconfig
ERROR: You are not inside a PetaLinux project. Please specify a PetaLinux project!
Configures the project or the specified component with menuconfig.

Usage:
  petalinux-config [options] {--component <COMPONENT> |--get-hw-description[=SRC]}

Options:
  -h, --help                      show function usage
  -p, --project <PROJECT>         path to PetaLinux SDK project.
                                  default is the working project
  --silentconfig              takes the default configuration and skips the GUI.
  -c, --component <COMPONENT>     Specify the component
                                  If no component is specified, it will do
                                  top level project configuration .
                                  If you specify a component,it will
                                  configure it with menuconfig and saves
                                  user's config fragments in meta-user.
                                  E.g. -c rootfs, -c busybox
  --get-hw-description [SRC]      get hardware description.
                                  if [SRC] is specified, look in that
                                  location for an Vivado export to SDK directory.
                                  Otherwise, this MUST be run from
                                  WITHIN the vivado export to SDK directory.
  --defconfig [DEFCONFIG_TARGET]  defconfig the specified component.
                                  It applies to kernel and u-boot.
  -v, --verbose                   verbose mode

Note: There is no validation for configurable components. User can provide
      any component, bitbake will throw error for invalid components.

Makefile:26: recipe for target 'refresh-hw' failed
make[1]: *** [refresh-hw] Error 255
make[1]: Leaving directory '/mnt/2TB/WorkingDir/FPGA/ZCU102/Vitis_Embedded_Platform_Source/Xilinx_Reference_Platforms/zcu102_pl_ddr_stream/petalinux'
Makefile:33: recipe for target 'sw_platform/image/image.ub' failed
make: *** [sw_platform/image/image.ub] Error 2

I am using ubuntu18.04 LTS and Vivado 19.2 and petalinux 19.2. Any help would be appriciated.

mruizglz commented 4 years ago

With same configuration (ubuntu 18.04, Vitis 2019.2 and Petalinux 2019.2), I have got the same error

mruizglz commented 4 years ago

I have clone again the repo and I have created the missing folder ".petalinux" file in the "petalinux" folder. At least the process continues...

mbaharan commented 4 years ago

Thanks. So I copied the folder and I compiled one of the provided samples, however Linux freezes during the boot process. Do you also have the same problem?

mruizglz commented 4 years ago

You are welcome! Unfortunately, I don't have this board to test it. I am using another hardware (from enclustra) platform and I learning how to do the port.