UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Reply

No PetaLinux projects found in the BSP

Accepted Solution Solved
Highlighted
Observer
Posts: 23
Registered: ‎05-29-2018
Accepted Solution

No PetaLinux projects found in the BSP

INFO: Create project: project
ERROR: No PetaLinux projects found in the BSP /home/<USERNAME>/bsp_path!
This command creates a new PetaLinux Project or component

Usage:
  petalinux-create [options] <-t|--type <TYPE> <-n|--name <COMPONENT_NAME>

Required:
  -t, --type <TYPE>                     Available type:
                                          * project : PetaLinux project
                                          * apps    : Linux user application
                                          * modules : Linux user module
  -n, --name <COMPONENT_NAME>           specify a name for the component or
                                        project. It is OPTIONAL to create a
                                        PROJECT. If you specify source BSP when
                                        you create a project, you are not
                                        required to specify the name.
Options:
  -p, --project <PROJECT>               specify full path to a PetaLinux project
                                        this option is NOT USED for PROJECT CREATION.
                                        default is the working project.
  --force                               force overwriting an existing component
                                        directory.
  -h, --help                            show function usage
  --enable                              this option applies to all types except
                                        project.
                                        enable the created component

Options for project:
  --template <TEMPLATE>                 zynqMP|zynq|microblaze
                                        user needs specify which template to use.
  -s|--source <SOURCE>                  specify a PetaLinux BSP as a project
                                        source.

EXAMPLES:

Create project from PetaLinux Project BSP:
  $ petalinux-create -t project -s <PATH_TO_PETALINUX_PROJECT_BSP>

Create project from template:
  $ petalinux-create -t project -n <PROJECT> --template zynq

 

 

 

Can someone please tell me what do I need to do to proceed further?

I tried the methods given in these threads already:

https://forums.xilinx.com/t5/Embedded-Linux/No-PetaLinux-projects-found-in-the-BSP/m-p/416335#M7927

https://forums.xilinx.com/t5/Embedded-Linux/PetaLinux-2017-4-ZC706-BSP-No-projects-found-in-BSP/m-p/824426/highlight/true#M23798

 

Thanks and Regards

-Darshan


Accepted Solutions
Moderator
Posts: 1,126
Registered: ‎09-12-2007

Re: No PetaLinux projects found in the BSP

So the command should be

petalinux-create -t project -s <bsp name>.bsp

 

what is your command, and error?

View solution in original post


All Replies
Moderator
Posts: 96
Registered: ‎05-10-2017

Re: No PetaLinux projects found in the BSP

Which bsp are you using and what is the command you used to create the petalinux project?

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Observer
Posts: 23
Registered: ‎05-29-2018

Re: No PetaLinux projects found in the BSP

petalinux-create -t project -s <path-to-bsp>

 

This is the step I am taking.

Please letme know if this is wrong?

 

Thanks and Regards

-Darshan

Moderator
Posts: 1,126
Registered: ‎09-12-2007

Re: No PetaLinux projects found in the BSP

And what bsp are you using?
Observer
Posts: 23
Registered: ‎05-29-2018

Re: No PetaLinux projects found in the BSP

Moderator
Posts: 96
Registered: ‎05-10-2017

Re: No PetaLinux projects found in the BSP

Hi Darshan,

 

Could you please copy the complete command followed by the errors you are seeing when you create the project using bsp?

 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Moderator
Posts: 1,126
Registered: ‎09-12-2007

Re: No PetaLinux projects found in the BSP

So the command should be

petalinux-create -t project -s <bsp name>.bsp

 

what is your command, and error?

Observer
Posts: 23
Registered: ‎05-29-2018

Re: No PetaLinux projects found in the BSP

Thanks I wasn't giving the bsp. I was just giving the full path. Now it works.