Beginners Guide - 2 - Tweaking the Linux system

Any technical questions about the Epiphany chip and Parallella HW Platform.

Moderator: aolofsson

Beginners Guide - 2 - Tweaking the Linux system

Postby Dr.BeauWebber » Sun May 25, 2014 7:48 pm

OK, if your system seems to be up and running after doing the things in suggested in
A Beginners Guide to getting started with the Parallella.
http://forums.parallella.org/viewtopic.php?f=23&t=1236
or even if you think the system may be running, but for some reason you can not use the HDMI monitor,
you may find the following useful - among other things, it allows you to access the Parallella from a PC,
and to copy and paste text strings :

For logging in from a PC via a text window, it is useful to install a terminal window on the PC :
Putty :
http://www.chiark.greenend.org.uk/~sgtatham/putty/

Run it and this then gives a configuration panel and connection panel.
Enter the Remote Host IP and window number :
This can be a number obtained from one’s hub i.e. 192.168.1.71:0
But it is simplest to use the name we had in section 1 of this guide :
linaro-nano:1
and press Open. Hopefully you will get a window with a log in prompt for the parallella board :
user : linaro
and log in with the password that you have set.

OK, on the Parallella we now have a standard Ubunto system.
Now we will upgrade the Ubuntu Linux system to work better with the Parallella.
We need to do this before we try some of the Parallella examples.

Note in the following guide, "nano" refers to the name of a simple text editor -
if you have another editor you prefer, feel free to use it.
shodruk wrote:The official Ubuntu image ubuntu-lxde-14.03.06-p16g1.img has several issues e.g. no sound, no device node creation, poor desktop performance, instability on boot up...
So we have to apply these tips first.

http://elinux.org/Parallella_Speed_Up_Ubuntu

But we are not (I recommend) going to do them quite all, or at least we need to think carefully,
The items in question are two, near the end, that are to do with the configuration of the HDMI monitor resolution.
When I applied the suggested monitor resolution values, my system boot would take about 4 minutes between the login and the appearance of the Linux desktop,

So apply the "tips" all except Item 10, to do with screen resolution :
the line that sets :
bootargs
and the line that sets :
Modes

shodruk wrote:I strongly recommend 1280x720, not 1920x1080, because too high resolution makes everything slow.
........
The delay issue on boot-up/reboot is caused by mismatch between bootargs and xorg.conf.
If you prefer the default resolution of the monitor, try these settings.
Code: Select all
bootargs = "root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait devtmpfs.mount=1";

And comment out all of the "Modes" line in xorg.conf.

That works fine for me.

So to apply these changes, use
sync
sudo reboot

My strong suggestion is now to back the system up, as we did after the first stage of this guide.

Hopefully you will now have a system ready to try some of the Parallella examples;
see :
Running the examples on the SD card - P*/p*
http://forums.parallella.org/viewtopic.php?f=49&t=1256
Last edited by Dr.BeauWebber on Mon May 26, 2014 7:13 pm, edited 1 time in total.
User avatar
Dr.BeauWebber
 
Posts: 114
Joined: Mon Dec 17, 2012 4:01 am
Location: England

Re: Beginners Guide - 2 - Tweaking the Linux system

Postby shodruk » Mon May 26, 2014 10:32 am

Thanks, I understand. I'll fix the guide soon.
Shodruky
shodruk
 
Posts: 464
Joined: Mon Apr 08, 2013 7:03 pm

Re: Beginners Guide - 2 - Tweaking the Linux system

Postby baseballguy » Thu Jul 10, 2014 5:27 pm

I'm having a little trouble with the part about changing the screen resolution. I'm getting confused the the bootargs and modes lines. Can someone give a step by step overview of how to edit the bootargs?
baseballguy
 
Posts: 40
Joined: Tue Jul 08, 2014 1:36 pm

Re: Beginners Guide - 2 - Tweaking the Linux system

Postby shodruk » Fri Jul 11, 2014 12:05 pm

baseballguy wrote:I'm having a little trouble with the part about changing the screen resolution. I'm getting confused the the bootargs and modes lines. Can someone give a step by step overview of how to edit the bootargs?


here:

http://elinux.org/Parallella_Linaro_Nan ... o_1280x720
Shodruky
shodruk
 
Posts: 464
Joined: Mon Apr 08, 2013 7:03 pm


Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 7 guests