Shop OBEX P1 Docs P2 Docs Learn Events
64 bit Ubuntu 13.10 + propgcc + OpenSpin + SimpleIDE — Parallax Forums

64 bit Ubuntu 13.10 + propgcc + OpenSpin + SimpleIDE

Bill HenningBill Henning Posts: 6,445
edited 2014-03-16 11:57 in Propeller 1
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

Comments

  • jazzedjazzed Posts: 11,803
    edited 2014-03-09 12:17
    Hi Bill.

    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.
  • Bill HenningBill Henning Posts: 6,445
    edited 2014-03-09 12:49
    Thanks Steve,

    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.
  • jazzedjazzed Posts: 11,803
    edited 2014-03-09 13:44
    To get release_1_0, just say $ hg update release_1_0

    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.
  • Bill HenningBill Henning Posts: 6,445
    edited 2014-03-09 13:48
    Thanks Steve.

    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.
  • jazzedjazzed Posts: 11,803
    edited 2014-03-09 13:53
    Just move /opt/parallax to /opt/parallax-default
    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
  • Bill HenningBill Henning Posts: 6,445
    edited 2014-03-09 14:56
    Thanks... will do that after I have a chance to re-install Ubuntu...

    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.
  • jazzedjazzed Posts: 11,803
    edited 2014-03-09 16:09
    Bill, Now that you mention it, I had the same freeze problem once. I just disabled the screensaver since it's in a VM. I don't really like Ubuntu, but I need something new for new builds. I have Mint16 32 bit, but it freezes with 3D acceleration enabled. Not sure what I'll try next for 64 bit stuff.
  • Bill HenningBill Henning Posts: 6,445
    edited 2014-03-09 21:19
    Hi Steve,

    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.
  • ersmithersmith Posts: 6,054
    edited 2014-03-10 05:37
    jazzed wrote: »

    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.

    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.
  • jazzedjazzed Posts: 11,803
    edited 2014-03-10 08:55
    ersmith wrote: »
    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.
    Thanks Eric!
  • Bill HenningBill Henning Posts: 6,445
    edited 2014-03-10 09:14
    Thanks Eric, very good news.
    ersmith wrote: »
    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.
  • Roy ElthamRoy Eltham Posts: 3,000
    edited 2014-03-11 10:17
    Hey Bill,
    I updated the OpenSpin source on github, can you see if that builds without modification on your linux setup?
  • Bill HenningBill Henning Posts: 6,445
    edited 2014-03-11 10:47
    Hi Roy,

    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.
  • Bill HenningBill Henning Posts: 6,445
    edited 2014-03-16 11:56
    I appear to have gotten the freezing under control ... the proprietary nvidia driver one rev back (4.04?) seems to fix it.
    jazzed wrote: »
    Bill, Now that you mention it, I had the same freeze problem once. I just disabled the screensaver since it's in a VM. I don't really like Ubuntu, but I need something new for new builds. I have Mint16 32 bit, but it freezes with 3D acceleration enabled. Not sure what I'll try next for 64 bit stuff.
  • Bill HenningBill Henning Posts: 6,445
    edited 2014-03-16 11:57
    Thanks Roy,

    I'll try it right now!

    I just finished getting propgcc built again (had to scrub & re-install the box - long story)
    Roy Eltham wrote: »
    Hey Bill,
    I updated the OpenSpin source on github, can you see if that builds without modification on your linux setup?
Sign In or Register to comment.