Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro for building zcu102_pl_ddr_stream platform #7

Open
mbaharan opened this issue May 22, 2020 · 4 comments
Open

Erro for building zcu102_pl_ddr_stream platform #7

mbaharan opened this issue May 22, 2020 · 4 comments

Comments

@mbaharan
Copy link

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
Copy link

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

@mruizglz
Copy link

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
Copy link
Author

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants