+ Reply to Thread
Page 1 of 7 12345 ... LastLast
Results 1 to 20 of 136

Thread: SimpleIDE for Raspberry Pi Raspian

  1. #1

    Default SimpleIDE for Raspberry Pi Raspian

    Managed to get Jazzed's Simple IDE built into a package for the Raspberry Pi running Raspian.

    You can find the latest version here:

    http://dl.dropbox.com/u/81267937/Sim...-linux.tar.bz2

    EDIT: v0-9-45 here: https://dl.dropboxusercontent.com/u/...-linux.tar.bz2

    EDIT: v0-9-46 here https://dl.dropboxusercontent.com/u/...-linux.tar.bz2


    Includes Spin support, working Propeller loader and of course the full up propgcc toolchain.


    Installation instructions:

    The instructions for installing SimpleIDE for x86 Linux are here:

    https://sites.google.com/site/propel...inux-downloads

    For Raspi it goes like this:

    Once you have your Raspian "wheezy" up and running and have it connected to the net you can download the SimpleIDE package for Raspberry Pi

    First let's assume you have a TV, keyboard and mouse connected to your Pi.

    Get yourself a graphical (X) session with this command:

    Code:
    $ startx
    Start up a command line terminal window, the should be an icon for a terminal on your desktop.

    Now download the SimpleIDE package. You can do that many ways but I would just use the following command from the command line on the Raspi itself:

    Code:
    $ wget http://dl.dropbox.com/u/81267937/SimpleIDE-0-8-4.armv6l.raspberrypi-linux.tar.bz2
    Of course that link will change over time, best to keep an eye on this pages for updates:
    http://forums.parallax.com/showthrea...-update-v0.8.4

    Unpack the downloaded file:
    Code:
    $ tar -jxf SimpleIDE-0-8-4.armv6l.raspberrypi-linux.tar.bz2
    Change to the package directory (Created by the above step) and do the following
    $ sudo ./setup.sh pi
    Assuming you are still the default user "pi",change that if not.

    Now you can run simple IDE:
    Code:
    $ ./simpleide
    With this set up you should be able to program the Propeller over a USB serial adapter. But as you are using voth USB ports for keyboard and mouse that's a problem unless you have a USB hub.

    To use the UART on the GPIO header follow the instructions here:
    http://forums.parallax.com/showthrea...=1#post1116618
    and here;
    http://forums.parallax.com/showthrea...=1#post1116619

    Do the second part first.
    Last edited by Heater.; 02-01-2014 at 09:18 AM.

  2. #2

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    Heater, I think your short circuit methodology caused the xmm loader issue because the loader needs some .dat files to be included. Copying the .dat files to loader/include first should fix the problem.
    I have no special talents. I am only passionately curious. Einstein
    ~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v ~^~v~^~v~
    Learn Parallax PropellerC: http://learn.parallax.com/propeller-c
    PropellerGCC Documents: http://sites.google.com/site/propellergcc
    PropellerGCC Wiki Page : http://code.google.com/p/propgcc/w/list
    PropellerC Arduino Code : tonokip project

  3. #3

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    As far as I know I have all the .dat files.in the right place.
    Perhaps someone could check.
    By the way what are the .binary files that get built? They don't seem to end up in /opt/parallax anywhere.

    Now, remind me, what options should I select to get hello world running from the 32MB RAM on the Gadget Gangster board?

  4. #4

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    Quote Originally Posted by Heater. View Post
    As far as I know I have all the .dat files.in the right place.
    Perhaps someone could check.
    By the way what are the .binary files that get built? They don't seem to end up in /opt/parallax anywhere.

    Now, remind me, what options should I select to get hello world running from the 32MB RAM on the Gadget Gangster board?
    If I'm not mistaken, the .binary files get stuffed into the propeller-load program. That's why you need the .dat files in the propgcc/loader/include source path (not /opt/parallax/propeller-load). The build script will copy files from propgcc/loader/include to the /opt/parallax path.

    Choose XMMC and SDRAM board type for loading a program (to make the program stick without loading will require sdcard and SDRAM-SDCARD board type).

    Slowly leaving the house today I won't be on line again until about 7PM PST.
    I have no special talents. I am only passionately curious. Einstein
    ~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v ~^~v~^~v~
    Learn Parallax PropellerC: http://learn.parallax.com/propeller-c
    PropellerGCC Documents: http://sites.google.com/site/propellergcc
    PropellerGCC Wiki Page : http://code.google.com/p/propgcc/w/list
    PropellerC Arduino Code : tonokip project

  5. #5

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    Ok. In that case there is definitley a problem with xmm loading in that package as I tried those options.
    I will have another go at the loader tomorrow.

  6. #6

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    OK Jazzed,

    Managed to get SimpleIDE to build a package from the release scripts. It has built v0.8.0 despite pulling an update from the repo.
    Also includes the Spin language support which seems to work with a quick test.
    I think I now have all the .dat and .binary files incorporated into the loader correctly. At least I can program helloworld into the GadgetGanster cards SDRAM where I see it finds sdram_cache.dat and the serial helper while loading. It even runs when loaded!

    Getting those .dat and .binary files in there is a pain. At least one of the .binary files did not exist on my PC as it seems to get deleted after use. So I had to trick the build system on the PC into leaving a copy behind. Then the build on the raspi likes to clean all those files and try to rebuild them....

    Bad news is the upload to dropbox is repeatedly failing so I can't get the package out of here.

  7. #7

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    Quote Originally Posted by Heater. View Post
    OK Jazzed,

    Managed to get SimpleIDE to build a package from the release scripts. It has built v0.8.0 despite pulling an update from the repo.
    Oh, I changed the process a little because of some issues. You need to build the debug version from qt-creator first. That's what gets copied to the release now.

    You'll have to rebuild-all to get the version number. That was in the last push. Thanks for building the spinside branch!

    Sorry for your other troubles. We'll sort them out next week (vacationing now).

    Thanks,
    --Steve
    I have no special talents. I am only passionately curious. Einstein
    ~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v ~^~v~^~v~
    Learn Parallax PropellerC: http://learn.parallax.com/propeller-c
    PropellerGCC Documents: http://sites.google.com/site/propellergcc
    PropellerGCC Wiki Page : http://code.google.com/p/propgcc/w/list
    PropellerC Arduino Code : tonokip project

  8. #8

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    SimpleIDE-0-8-0 Raspberry Pi Raspian is now in available in Drop Box. See first post.
    Only up to version 0.8.0 so far might get another build out today to catch up.

  9. #9

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    Sorry, did not have time to go for a 0.8.1 build. That might have to wait till Monday.
    Anyone been trying this out?
    Whilst I have propgcc and all working on the Pi here I'm still not sure if it all works from the package out of the box.
    Last edited by Heater.; 07-29-2012 at 01:15 PM.

  10. #10

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    Jazzed,
    Any way to get version 0.8.1 built without qtcreator. I don't have creator installed in the Pi and no way to get it just now.
    Assuming I have the latest sources from the repo. I did an update on Friday.

  11. #11

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    Quote Originally Posted by Heater. View Post
    Jazzed,
    Any way to get version 0.8.1 built without qtcreator. I don't have creator installed in the Pi and no way to get it just now.
    Assuming I have the latest sources from the repo. I did an update on Friday.
    Done. pulll/update spinside then run release/linux/release.sh.

    Sorry for the trouble.
    I have no special talents. I am only passionately curious. Einstein
    ~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v ~^~v~^~v~
    Learn Parallax PropellerC: http://learn.parallax.com/propeller-c
    PropellerGCC Documents: http://sites.google.com/site/propellergcc
    PropellerGCC Wiki Page : http://code.google.com/p/propgcc/w/list
    PropellerC Arduino Code : tonokip project

  12. #12

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    I have updated the SimpleIDE for Raspian to the latest 0.8.1 version. See first post.

    It would be great if someone would report if this works for them. With the absence of feed back I may give up.

    @Jazzed, OK got it now, first "hg pull" then "hg update spinside", I'm not so familiar with hg yet.

    For some reason I could not build the thing from release/linux/release.sh. It finished copiling and failed in the link step with:

    Code:
    mainspinwindow.o: In function `MainSpinWindow::connectButton()':
    mainspinwindow.cpp:(.text+0x47a4): undefined reference to `Terminal::getEditor()'
    and then a bunch of other missing Terminal:: symbols.

    So I did a qmake, make clean, make in the propside directory. Then disabled qmake, make clean, make from the release script and ran it. The resulting SimpleIDE in the build directory then worked so I hope the rest of the package content is OK.

  13. #13

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    I bit the bullet, deleted my /opt/parallax on the raspi and then unpacked and installed the Simple IDE 0.8.1 package.
    Lo, it works!

  14. #14
    prof_braino's Avatar
    Location
    City of Chicago, State of Wonder, 2,158.4 mi to Parallax
    Posts
    3,881
    Blog Entries
    8

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    Is there a big difference between Raspian and Wheezy?

    The RPi site recommended starting with Wheezy, now that I've gotten that working, should I switch to Raspian?

    Or should it work "just work"?

  15. #15

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    Braino,

    If you mean the regular armel Debian distribution I'm pretty much sure it won't run there, you are welcome to try.

    Raspian is now the recommended Linux distribution for the Pi, although I could not find any such announcement on the raspberrypi.org front pages. However if you check the quick start page it now says, without any explanation:

    We recommend that developers use the Raspian wheezy image, which includes Python, gcc, and a range of example applications.
    and on the downloads page under the "Raspian "wheezy"" heading it says:
    If youre just starting out, this is the image we recommend you use. Its a reference root filesystem from Alex and Dom, based on the Raspbian optimised version of Debian,
    The reason for this is that Raspian is a complete rebuild of Debian that enables the use of the floating point hardware which gives a big boost in performance to a lot of programs. The regular Debian armel uses floating point emulation on the PIs ARM6 CPU.

    This has an impact on the way registers are used by the compilers and the way things are linked together. Possibly if a program does not use floating point it might still work but otherwise no.

    So, perhaps don't junk what you have and switch to Raspian but just try it out on another SD card. I'm sure there are still things that work in regular Debian that don't work in Raspian. For example it took them a few days to get Free Pascal working after I pointed out that it did not.

  16. #16

    Default Re: SimpleIDE package for Raspberry Pi Raspian available.

    Quote Originally Posted by Heater. View Post
    @Jazzed, OK got it now, first "hg pull" then "hg update spinside", I'm not so familiar with hg yet.

    For some reason I could not build the thing from release/linux/release.sh. It finished copiling and failed in the link step with:

    Code:
    mainspinwindow.o: In function `MainSpinWindow::connectButton()':
    mainspinwindow.cpp:(.text+0x47a4): undefined reference to `Terminal::getEditor()'
    and then a bunch of other missing Terminal:: symbols.

    So I did a qmake, make clean, make in the propside directory. Then disabled qmake, make clean, make from the release script and ran it. The resulting SimpleIDE in the build directory then worked so I hope the rest of the package content is OK.
    Hmm. Maybe you need to do $ hg revert all

    I did a fresh apt-get install mercurial, qt4-qmake, and qt-sdk on Mint. At first, I forgot to do $ hg update spinside . That built ok using release/linux/release.sh, but ctags had to be built manually. Then, I did $ hg update spinside. There were some issues with ctag change conflicts, so i did $ hg revert all. After that rm -rf release/linux/build, and rebuilding ctags, the release.sh script worked fine.

    I noticed there are some debug messages coming out on the console - need to look at them.

    If i had a PI i would test the package. Send me one
    I have no special talents. I am only passionately curious. Einstein
    ~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v ~^~v~^~v~
    Learn Parallax PropellerC: http://learn.parallax.com/propeller-c
    PropellerGCC Documents: http://sites.google.com/site/propellergcc
    PropellerGCC Wiki Page : http://code.google.com/p/propgcc/w/list
    PropellerC Arduino Code : tonokip project

  17. #17

    Default Re: SimpleIDE for Raspberry Pi Raspian update v0.8.1

    This is great! Just a quick question, what is it that makes this IDE build 300mbs?

  18. #18

    Default Re: SimpleIDE for Raspberry Pi Raspian update v0.8.1

    I have updated the SimpleIDE for Raspian to the latest 0.8.3 version. See first post.


  19. #19

    Default Re: SimpleIDE for Raspberry Pi Raspian update v0.8.1

    Thanks Heater.

    The Terminal is fixed now for user locales Finnish, German, Portuguese, and Chinese.
    There was one small bug fix where an unopened file was being used which caused lots of console output.
    Are you doing Propeller-GCC pull/update and rebuild? If so, this will contain Dave Hein's file "r+" fix.

    Quote Originally Posted by TylerSkyler View Post
    This is great! Just a quick question, what is it that makes this IDE build 300mbs?
    Propeller GCC tools and libraries like any other GCC is pretty big.
    Also the Qt shared libraries are big for open-source license usage.
    I have no special talents. I am only passionately curious. Einstein
    ~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v ~^~v~^~v~
    Learn Parallax PropellerC: http://learn.parallax.com/propeller-c
    PropellerGCC Documents: http://sites.google.com/site/propellergcc
    PropellerGCC Wiki Page : http://code.google.com/p/propgcc/w/list
    PropellerC Arduino Code : tonokip project

  20. #20

    Default Re: SimpleIDE for Raspberry Pi Raspian update v0.8.1

    TylerSkyler,

    ...what is it that makes this IDE build 300mbs?
    Good question. No idea. It takes most of the day to rebuild it from source on the Raspberry Pi so I hope it's big

    C is a much bigger language than Spin and comes with a lot of libraries and such.
    C++ is a much bigger language than C and comes with even more baggage.
    Then there are tools in there for working with compiled object files and libraries etc. Most of which we don't need to worry about most of the time.
    Then there are the Qt libraries that the actual IDE is made out of.
    And man page documentation etc etc etc


    Anyway, I have an 8GB SD card in my Pi so I can live with it.

    Having just figured out how to get the correct resolution out of the Pi for my hdmi monitor I see that SimpleIDE is looking very nice there and is quite fast enough to work with. Not sure about the terminal screen yet.

    Previously I was running SimpleIDE from a PC on the net, terrible slow.

+ Reply to Thread

Similar Threads

  1. Bst on Raspberry pi
    By Ray0665 in forum General Discussion
    Replies: 3
    Last Post: 07-23-2012, 09:10 PM
  2. SimpleIDE builds on the Raspberry PI !!
    By Heater. in forum Propeller GCC
    Replies: 11
    Last Post: 07-23-2012, 05:53 PM
  3. SimpleIDE running on QtonPi on the Raspberry Pi?
    By brianm734 in forum Propeller GCC
    Replies: 2
    Last Post: 07-22-2012, 02:08 PM
  4. SimpleIDE and Propeller GCC Beta Package Preview
    By jazzed in forum Propeller GCC Alpha Test Forum
    Replies: 7
    Last Post: 06-18-2012, 11:06 AM
  5. Raspberry Pi vs Parallax C3
    By Oldbitcollector (Jeff) in forum General Discussion
    Replies: 106
    Last Post: 06-10-2012, 06:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts