04-04-2017 05:29 AM
Hi,
I have a problem trying to add a new app to a petalinux 2016.4 project for Zynq SoC. I'm currently using Ubuntu 16.04 LTS. I get this error no matter what, and no matter how many times I reinstall petalinux and create the project from scratch. I have no missing packages as judged by the installation tool.
INFO: Create apps: blabla5 INFO: New apps successfully created in petalinux_project/project-spec/meta-user/recipes-apps/blabla5 INFO: Enabling created component... INFO: sourcing bitbake INFO: oldconfig rootfs ERROR: Failed to oldconfig the rootfs ERROR: However, failed to enable created component.
Thanks.
04-07-2017 03:09 AM
This worked for me:
04-05-2017 05:05 AM
I have the same problem...
04-05-2017 06:30 AM
Hi
Following are the steps to be followed to create/add application in petalinux 2016.4
Steps to Include Prebuilt Applications
If your prebuilt application name is myapp, including this into PetaLinux root file system is explained in following steps.
1. Ensure that the pre-compiled code has been compiled for your PetaLinux target architecture (For example, MicroBlaze, ARM etc.).
2. Create an application with this command: $ petalinux-create -t apps --template install --name myapp --enable
Change to the newly created application directory: $ cd <plnx-proj-root>/project-spec/meta-user/recipes-apps/myapp/files/
4. Remove existing myapp application and copy the prebuilt myapp
$ rm myapp
$ cp <path-to-prebuilt-app> ./
Steps to Add Custom Applications
The basic steps are as follows:
1. Create a user application called myapp in C (the default):
$ petalinux-create -t apps --name myapp --enable
2. cd <plnx-proj-root>/project-spec/meta-user/recipes-apps/myapp
3. myapp.c/myapp.cpp file can be edited or replaced with the real source code for your application. Later if you want to modify your custom user application, this file should be edited.
04-05-2017 10:11 AM
I also have the same problem. The instructions didn't help.
04-05-2017 02:15 PM
I had the same problem on Fedora 25. With Ubuntu 16.04 LTS (which is a Petalinux supported OS) all works fine.
Be sure to set your default shell to bash.
04-05-2017 08:14 PM
I did exactly this:
Steps to Add Custom Applications The basic steps are as follows: 1. Create a user application called myapp in C (the default): $ petalinux-create -t apps --name myapp --enable 2. cd <plnx-proj-root>/project-spec/meta-user/recipes-apps/myapp 3. myapp.c/myapp.cpp file can be edited or replaced with the real source code for your application. Later if you want to modify your custom user application, this file should be edited.
Still doesn't work.
This post hints that it maybe due to wrong installation, though the poster doesn't know what changed exactly.
04-07-2017 02:16 AM
I have changed shell to bash, still same problem...
04-07-2017 03:09 AM
This worked for me:
04-07-2017 03:33 AM
It does for me too! I can't believe this limitation, there has to be a way to put some sort of warning. Marking it as solution, thanks!
04-25-2017 01:21 PM
I also stumbled about this fu....ing limitation.
Xilinx continuously changes its tools in significant ways.
In my opinion it would be better they would stick to one method an concentrate more on bug fixing.