64 bit Ubuntu 13.10 + propgcc + OpenSpin + SimpleIDE
Bill Henning
Posts: 6,445
Subject says it all
I'm trying to get the above running on my shiny new Linux dev box, which does not run bst any more :-(
I figure if the combination works on my Pi, it should be possible to get it running under Ubuntu!
So far:
- I have OpenSpin compiled
- I am working on compiling the latest hg pull (happening as I post this) of propgcc
- SimpleIDE is next on my hit list
I'll keep updating this thread with my progress
I'm trying to get the above running on my shiny new Linux dev box, which does not run bst any more :-(
I figure if the combination works on my Pi, it should be possible to get it running under Ubuntu!
So far:
- I have OpenSpin compiled
- I am working on compiling the latest hg pull (happening as I post this) of propgcc
- SimpleIDE is next on my hit list
I'll keep updating this thread with my progress
Comments
I did this last week. The propeller-gcc wiki has an updated build requirements page.
There are two build possibilities: release_1_0 and default branch.
The release_1_0 branch is the blessed version. Use jbuild.sh with that.
SimpleIDE is built using Qt with 4.8.0 or 4.8.3 libraries from the spinside branch.
That helped. I was trying to figure out the texinfo business when I read your post. Had to install a fre more pre-requisites too.
I'll look up how to pull the blessed version, it has been a long time since I rebuilt gcc. My box is building the default I think right now.
With jbuild.sh, should I be passing number of cores, or number of cores*2 for the fastest build?
I plan to install bcache, I am curious what kind of a speed increase I can get by using a 128GB Sata 3 SSD as a cache for the hard drive I am using for the root filesystem.
In the release_1_0 branch it takes about 12 minutes if i use ./jbuild.sh 6 rm-all
The jbuild.sh N specifies the number of cores ... I allocate 4 cores to my VMs.
Use make on the default branch. It was added for cross-compiling mingw and other things. There is some rumor that cross-compiling arm may be available later.
Last time I tested it, the default branch jbuild.sh did not produce a usable build. I'm not sure if jbuild.sh N has been fixed or not (or if it should be considering the make stuff).
Not sure about SSD.
I just got a complete build done with the default ./rebuild.sh, it took 4o min 43.58 sec
I'll grab the release_1_0 in a different directory, and try ./jbuild.sh 6 rm-all
I am not ready to test the SSD yet, I want this system configured the way I like it first, back it up, then add the bcache.
Make a new /opt/parallax with correct permissions.
Don't worry about ../build
Do $ hg update release_1_0
Then $ ./jbuild.sh 6 rm-all
The default and release_1_0 are easily switched.
I did have a source update related build error once in binutils. I just did this to fix it
$ hg revert binutils
The ./jbuild.sh 6 was MUCH faster, but the screen froze.
Some investigation revealed that there is a bug in Unity, that causes X to freeze randomly.
Disabling the screensaver lock helps some, but X locking up is unacceptable to me.
Based on what I read after googling the issue, I decided to try to install the lubuntu desktop. It did not really work.
Tried to install the newest nvidia drivers.
Now X is totally borked, and the machine is somewhere between lubuntu and ubuntu.
I am going to scrub the drive and re-install from scratch, and switch to gnome or lxde - supposedly that also fixes the freezing issue.
I got back from a family dinner about an hour ago, and re-installed Ubuntu 13.10 from scratch.
This time I updated immediately after installing, and added xrdp, xfce4 (for use by rdp), and ssh.
If X crashes now, I can ssh back in to shut down cleanly :-)
Now I'll have to install OpenSpin, propgcc again, then start on SimpleIDE. I'll keep reporting on my progress in this thread.
I am now also planning to install VirtualBox, with Ubuntu 12.04 / Windows 7 / Windows XP clients for the odd software that I can't get running natively.
Cross compiling for raspberry pi is available now in the default branch. See the README.cross file for directions. The gdb build fails, but everything else builds and gets put into /opt/parallax-rpi/ on the host.
I updated the OpenSpin source on github, can you see if that builds without modification on your linux setup?
Will do, thanks (tonite when I am at that computer) - I finally got Ubuntu 13.10 re-loaded Sunday night after messing it up trying to get xrdp working right.
Long story short... do not 'sudo apt-get install lubuntu' unless you want a mess, and especially don't install the nvidia proprietary drivers after that. Had to wipe and re-install.
Instead do 'sudo apt-get install lxde', then install xrdp and set your .xsession to use lxde with xrdp... that is if you want to rdp into the box and get a desktop. Unity does not play well with xrdp.
I'll try it right now!
I just finished getting propgcc built again (had to scrub & re-install the box - long story)