11-06-2017 01:43 PM
I recently have been trying to setup a simple system using my microzed board, and have been trying to reconfigure the petalinux kernel to enable the CAN drivers. However, whenever I try to run
petalinux-config -c kernel
things seem to work fine, but eventually it opens a separate terminal that says
make: *** No rule to make target 'menuconfig'. Stop. Command failed. Press any key to continue...
Both petalinux-config and petalinux-config -c rootfs work fine, but I cannot petalinux-config -c kernel to work. I even tried creating a fresh petalinux project to make sure it wasn't something to do with the project I had been using:
petalinux-create -t project -n test --template zynq cd test petalinux-config --get-hw-description=<path to exported hardware description> petalinux-config -c kernel
But this led to the same results.
Has anyone had this issue before, or have any idea how to fix it? I'm using Vivado 2017.2 and Petalinux 2017.2
11-06-2017 02:24 PM
As a note, I just installed Vivado 2017.3 and PetaLinux 2017.3, created a very simple hardware description, created a new petalinux project and ran into exactly the same problem.
11-07-2017 01:38 AM
What shell are you using? Make sure you are using bash.
Also make sure you followed all the Installation Requirements from UG1144. Make sure all the required packages are installed
11-07-2017 06:29 AM
Yes, I am using bash, and running on Ubuntu 16.04 (64-bit). I believe that I have installed all the listed prerequisites in the user guide, though there are a few packages that I have more recent versions of than listed; for instance I have gcc 5.4, not 4.8 and make 4.1 instead of 3.81. Is it possible that this is causing the problem?
That being said, I'm assuming that the issue is probably something to do with my system because I'm running into the issue even with a fresh install of vivado and petalinux and using one of the provided BSPs to create a project.
I've been trying to find any relevant logs to get more information about what is really going on, but I haven't been able to find anything useful yet and the verbose flag for petalinux-config doesn't really seem to give any extra output.
11-07-2017 10:57 AM