cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
1,929 Views
Registered: ‎09-10-2017

petalinux v2017.2: 'petalinux-config -c kernel' won't open menuconfig window

HI all,

 

I am using petalinux 2017.2 on ubuntu 14.04 LTS.

 

Whenever I run petalinux-config -c kernel , it does not open kernel configuration menuconfig. Instead it continues with sourcing bitbake and building kernel image.

 

When I ran petalinux-config -c rootfs , it nicely opens configuration menu window.

 

How to solve?

 

Thanks in Advance.

Tags (1)
0 Kudos
13 Replies
Highlighted
Moderator
Moderator
1,923 Views
Registered: ‎09-12-2007

0 Kudos
Highlighted
Visitor
Visitor
1,909 Views
Registered: ‎09-10-2017

@stephenm,

 I tried. it does not work.

0 Kudos
Highlighted
Moderator
Moderator
1,871 Views
Registered: ‎12-04-2016

Hi

 

It is recommended to use Ubuntu 16.04 to for installing petalinux 2017.2

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_2/ug1144-petalinux-tools-reference-guide.pdf

Refer to page 8 here

 

 

Best Regards

Shabbir

0 Kudos
Highlighted
Visitor
Visitor
1,859 Views
Registered: ‎09-10-2017

@shabbirk the problem persists even in ubuntu 16.04 

0 Kudos
Highlighted
Scholar
Scholar
1,837 Views
Registered: ‎06-10-2008

You should be aware that the kernel menuconfig is opened in a separate console terminal. At least when running it in a GUI terminal. Could this be your problem?

0 Kudos
Highlighted
Visitor
Visitor
1,811 Views
Registered: ‎09-10-2017

@vanmierlo, is it any different from how petalinux-config or petalinux-config -c rootfs opens?

0 Kudos
Highlighted
Scholar
Scholar
1,794 Views
Registered: ‎06-10-2008

Yes. These two open the menu in the same terminal as where you typed the command. They do not open a new terminal window as the kernel configuration does.

0 Kudos
Highlighted
Visitor
Visitor
1,777 Views
Registered: ‎09-10-2017

@vanmierlo, I was not aware that kernel configuration opens in a new terminal window. It would open in the same console in petalinux 2015.4.

 

I am running petalinux-config -c kernel in /bin/bash. Is it a bash problem?

 

what is the solution for this then ?

0 Kudos
Highlighted
Scholar
Scholar
1,769 Views
Registered: ‎06-10-2008

I think bash is the recommended shell. But on Ubuntu you might have dash as sh and that could be problematic.

 

Further, are you using a terminal in the GUI or on a real console (e.g. Alt-F1) or via ssh/telnet?

0 Kudos
Highlighted
Visitor
Visitor
1,489 Views
Registered: ‎09-10-2017

@vanmierlo I am using bash terminal in GUI.

0 Kudos
Highlighted
Scholar
Scholar
1,481 Views
Registered: ‎06-10-2008

I'm afraid I can't help you any further. That is the same as I use.

0 Kudos
Highlighted
Moderator
Moderator
1,469 Views
Registered: ‎04-24-2017

Hi @saklnt,

 

In order to isolate your issue I would suggest to ssh to your ubuntu machine using https://mobaxterm.mobatek.net/download-home-edition.html which allows X11 forwarding for meunconfig popup. If this works then we can isolate your problem on Ubuntu 16.04

Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
1,453 Views
Registered: ‎09-10-2017

@sandeepgNo, it does not work even in xterm ssh session. I checked with mobaxterm and x11 forwarding enabled.

0 Kudos