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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer dsatyamu
Observer
697 Views

No PetaLinux projects found in the BSP

Jump to solution

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

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
809 Views

Re: No PetaLinux projects found in the BSP

Jump to solution

So the command should be

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

 

what is your command, and error?

7 Replies
Moderator
Moderator
672 Views

Re: No PetaLinux projects found in the BSP

Jump to solution

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.
-------------------------------------------------------------------------
0 Kudos
Observer dsatyamu
Observer
665 Views

Re: No PetaLinux projects found in the BSP

Jump to solution

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

0 Kudos
Moderator
Moderator
650 Views

Re: No PetaLinux projects found in the BSP

Jump to solution
And what bsp are you using?
0 Kudos
Observer dsatyamu
Observer
619 Views

Re: No PetaLinux projects found in the BSP

Jump to solution
0 Kudos
Moderator
Moderator
611 Views

Re: No PetaLinux projects found in the BSP

Jump to solution

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.
-------------------------------------------------------------------------
0 Kudos
Moderator
Moderator
810 Views

Re: No PetaLinux projects found in the BSP

Jump to solution

So the command should be

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

 

what is your command, and error?

Observer dsatyamu
Observer
567 Views

Re: No PetaLinux projects found in the BSP

Jump to solution

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

0 Kudos