Shop OBEX P1 Docs P2 Docs Learn Events
Simple Ide for Raspberry pi — Parallax Forums

Simple Ide for Raspberry pi

bikejunkybikejunky Posts: 33
edited 2013-09-24 22:49 in General Discussion
Is the Simple IDE for linux going to be (cross-complied?) set up for ARM or Raspberry Pi

Thanks Charlie
«1

Comments

  • Heater.Heater. Posts: 21,230
    edited 2013-09-05 10:44
    Yes. I and others have already built SimpleIDE for the Raspberry Pi.
    I did not cross-compile but rather build it directly on the Pi.
    Simple IDE builds easily as does propgcc the C compiler for the Propeller.
    Building the prop loader is a bit more tricky just now as some parts are built with BST which is not available for ARM. You have to build those on a PC and copy them to the Pi.

    I have promised not to release anymore Raspi builds of SimpleIDE until it has reach some release milestone. That should be about now...
  • bikejunkybikejunky Posts: 33
    edited 2013-09-05 12:09
    I was hoping you would reply. I've played with your other builds of the IDE and Parallax has posted an official Linux version on their website, but it is for pc's (i386), I think?
    I've just started playing with Linux on the Pi a few months ago and just set up a pc with Linux a few weeks ago. I am really liking the switch over to linux and I like the idea of programming the prop and prop2 with the Pi.

    Looking forward to your next build for the Pi
    Thanks from a beginner
    Charlie
  • jazzedjazzed Posts: 11,803
    edited 2013-09-05 12:31
    Heater,

    We have Windows and Mac releases now.

    Unfortunately there is some concern within Parallax about how the Linux packages are currently done, and that needs to be sorted. Yes, there is a release posted, but the release methodology, etc... is not committed to the code base. Parallax will be generating the new release methodology, and I'm not exactly sure when that will be ready to deploy. This is owned by someone in Parallax, so I do not plan to interfere with that. Thanks for your patience.

    --Steve
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2013-09-06 03:24
    Well, this is good news... if it will work on the Raspberry Pi, it will likely be useful for the Beagle board, the Panda board, and even my Cubieboard.

    Looking forward to this.
  • Heater.Heater. Posts: 21,230
    edited 2013-09-06 03:35
    The Pi is a bit different architecture than the Beagles, I'm not sure if the same binaries will run, But I gave also compiled everything for the ISEE IGEP board a while back so I'm sure it will work.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2013-09-06 12:16
    @ Heater
    Actually, I am only concerned with the Cubieboard for myself. and I am pretty sure that if it will work on a Raspberry PI, I can make it work on a Cubieboard.

    But I am getting the feeling that Parallax is a bit stuck about Simple IDE on the Linux side. I hope that is only a temporary issue.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2013-09-19 22:08
    Could we get an update on this?

    Thanks!
    Jeff
  • Heater.Heater. Posts: 21,230
    edited 2013-09-19 23:14
    Jeff,

    I'm going to kick off a build of SimpleIDE from the latest sources this evening. It takes over 12 hours to build on my Pi.

    Loopy,

    What do you mean "bit stuck about Simple IDE on Linux"? It has always built just fine when I've tried it on my Debian PC's or ARM boards. The resulting tarball just unpacks and works.

    Jazzed and/or Parallax,

    Do I have the go ahead to post a Simple IDE for the Raspberry Pi package now?
    Perhaps with a big EXPERIMENTAL label on it?
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2013-09-20 03:35
    @Heater
    I got the impression that Simple IDE for Linux is working fine in English, but the UTF-8 side of Unicode was making other foreign languages unresolved. I may just be wrong. It may only be Asian language support.

    Can you get the Raspberry Pi to support Chinese?
  • Heater.Heater. Posts: 21,230
    edited 2013-09-20 04:14
    Loopy,

    No idea about Chinese but the Raspberry Pi runs Raspbian which is basically Debian for ARM.
    Debian can certainly support Cineese. so I imagine it can work for Raspbian on the PI.

    Looks like a bit of work though, as described by the Hong Kong Linux Users Group http://wiki.linux.org.hk/w/Make_Debian_support_Chinese_(eng)

    How well Simple IDE can support Chinese may well be dictated by how well the underlying Qt GUI toolkit supports Chinese.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2013-09-20 07:26
    Thank you Heater.

    I'll stay tuned to this thread for your results.

    Jeff
  • jazzedjazzed Posts: 11,803
    edited 2013-09-20 11:44
    Heater. wrote: »
    Jazzed and/or Parallax,

    Do I have the go ahead to post a Simple IDE for the Raspberry Pi package now?
    Perhaps with a big EXPERIMENTAL label on it?

    Parallax is still working on a package that meets their needs. Someone was not very happy with my scripts.
  • Heater.Heater. Posts: 21,230
    edited 2013-09-20 11:52
    Is that like a "no" then?

    Thing is there are people queuing up here for Simple IDE on the Pi.

    We don't need perfection, we need to play. Now!
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2013-09-20 12:42
    Heater. wrote: »
    Is that like a "no" then?

    Thing is there are people queuing up here for Simple IDE on the Pi.

    We don't need perfection, we need to play. Now!

    2nded...
  • KMyersKMyers Posts: 433
    edited 2013-09-20 14:37
    Amen, its time!!!
  • Jeff MartinJeff Martin Posts: 758
    edited 2013-09-20 16:12
    Heater. wrote: »
    Is that like a "no" then?

    Thing is there are people queuing up here for Simple IDE on the Pi.

    We don't need perfection, we need to play. Now!

    It's not a "no," just a note that we are concerned that the installer script as it was will cause some undesirable effects like security issues. Please feel free to build for Raspberry Pi. I like the fact that you're not looking for perfection! As soon as we can re-release with a script that satisfies our concerns, we will do so and hopefully things will be even better then.
  • David CarrierDavid Carrier Posts: 294
    edited 2013-09-20 17:48
    I wholeheartedly support letting everyone build Propeller GCC and SimpleIDE for whatever they'd like. (I may be responsible for holding up the official SimpleIDE installer for Linux until we get it right.)

    That doesn't mean we'll provide technical support for installing SimpleIDE on your toaster, but it means that we are perfectly fine with anyone doing whatever they'd like with the source code for Propeller GCC and SimpleIDE, and we encourage everyone to share their results.

    We are working on an Installer that will install Propeller GCC and SimpleIDE in a manner that is compliant with the Debian Policy Manual, to ensure that the package won't harm the system it is installed on, and so that we can eventually make a Debian package. When we have this ready, installing SimpleIDE on most Linux systems will require no more than this command:
    dpkg -i simpleide-some-version.deb
    
    Until then, have at it, just be careful if you are messing around running commands as root on a system you use daily.

    — David Carrier
    Parallax Inc.
  • Bill HenningBill Henning Posts: 6,445
    edited 2013-09-20 18:44
    David, that sounds great!

    Heater,

    Could you post the sources to the tweaked propeller loader? (with gpio toggling for /RESET) I've already grabbed the binary from your other thread. Thanks for your Pi threads!

    Over the last couple of days I've built propgcc (an over nite build), simpleide and openspin on my main Ubuntu box and on one of my Pi's (running OC'd to 900Mhz .. it helps)
  • jazzedjazzed Posts: 11,803
    edited 2013-09-20 19:06
    When we have this ready, installing SimpleIDE on most Linux systems will require no more than this command:
    dpkg -i simpleide-some-version.deb
    

    Thanks David. I'm looking forward to that.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2013-09-21 00:07
    Heater. wrote: »
    Loopy,

    No idea about Chinese but the Raspberry Pi runs Raspbian which is basically Debian for ARM.
    Debian can certainly support Cineese. so I imagine it can work for Raspbian on the PI.

    Looks like a bit of work though, as described by the Hong Kong Linux Users Group http://wiki.linux.org.hk/w/Make_Debian_support_Chinese_(eng)

    How well Simple IDE can support Chinese may well be dictated by how well the underlying Qt GUI toolkit supports Chinese.

    I do understand. Linux does support Chinese, and other Asian languages. The biggest problem is the users that support these features generally haven't supported documentation in English. There is a significant language barrier due to this. Hong Kong is one of the few places in the world where English and Chinese are well used side-by-side.
  • Heater.Heater. Posts: 21,230
    edited 2013-09-21 02:32
    @Jeff Martin and David Carrier,

    Thanks for the encouragement.

    What is the security issue? I can build and install SimpleIDE as a regualar user. Mind you I did have to be root to create /opt/parallax and change it's ownership. That's seems quite OK to me.

    @Bill Henning,

    Damn , I don't have the sources to my GPIO enabled loader at home. They are siting on our network back at the office. I knew I should have put that up on github. That loader will have to wait till Monday I think. Not sure if the loader binary I put up on dropox will still work with the new versions of propgcc. Might be worth a try.

    I also have an OC'ed Pi. Last time I did a propgcc build I also put everything on an PC and mounted that directory over NFS. Not sure if that sped things up much.

    @Jeff,
    I want this..
    Yes so do I. She looks great.

    Oh, yes, a Pi format compatible board with a Prop on it. Exactly what we have been dreaming of for a year or more.

    I seriously think Parallax should be creating such a thing. Because:

    1) It's a great way to get a lot more I/O and peripherals for Pi projects.

    2) Have a VGA and or TV connector so it gives a standalone Pi project a vedio terminal or even graphic output.

    3) Have an RTC on there as a stand alone Pi needs a clock.

    4) Loads of Prop sales piggy backed on the Pi. Just like PIC is hoping for
    there.

    @Loopy,
    Linux does support Chinese...generally haven't supported documentation in
    English.
    Sometimes you just ask for too much:)


    Anyway, propgcc for the Pi got delayed a bit. I fell asleep yesterday evening... I'll get back to it after a hearty English breakfast and a gallon of coffee.
  • Heater.Heater. Posts: 21,230
    edited 2013-09-21 02:47
    Bill,

    I just found my GPIO loader source code. On that very NFS share I was talking about.

    There are two versions using different methods to get at the GPIO. Not sure which is best.

    I will but them up on github after breakfast.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2013-09-21 06:27
    Heater. wrote: »
    @Loopy,

    Sometimes you just ask for too much:)he

    I realize that the usefulness of processing Chinese text may seem both odd and not something the average Propeller user might need.

    It still is a personal goal to try to get a UTF-8 terminal working for Forth on the Propeller. Simple IDE might provide a way of doing so. Youall may not see the utility of it, but Arduino can and does provide for programing in Chinese in their IDE. And they seem to have been able to get onto local retail shelves in bookstores and electronic supply houses.

    I'm just trying to create more of a user base for Parallax in Asia.
    Taiwan does have an active Forth community... one of the few remaining.
  • Heater.Heater. Posts: 21,230
    edited 2013-09-21 06:48
    Loopy,

    Don't get me wrong. I have no issue with Chinese or any other language being used with the Prop. In fact one could say that there is something odd about the fact that the average Propeller user is not Chinese speaking, they do out number us English speakers don't they?

    It was just that from reading that Debian page on getting Chinese input and output working it seemed to be quite a hassle. And then you said you want English at the same time!

    I would have imagined the terminal in Simple IDE could be worked in Chinese. It's Qyt based and Qt has good internationalization support.

    Perhaps those guys at the Taiwan Forth group could advise you.
  • jazzedjazzed Posts: 11,803
    edited 2013-09-21 06:55
    The SimpleIDE terminal will handle UTF-8 output and input. That is, it should "speak" Chinese.
  • Bill HenningBill Henning Posts: 6,445
    edited 2013-09-21 08:10
    Thanks Heater!

    re/ your previous message

    The Pi only has 10/100Mbps Ethernet; so about 10MB/sec is the max it can do.

    My ADATA 16GB SDHC Class 10 cards get approx. 20.5MB/sec reads, and 9.6MB/sec write on one card, 19MB/sec on another. Timed with "time sudo dd .." when backing up and cloning my dev environment.

    For a pure desktop experience, the Pi feels almost twice as fast for programs loading and web browsing with this card than with the Kingston class 4 8GB cards I was using before.

    Supposedly moving the root file system to a USB flash drive can be faster again.
    Heater. wrote: »
    Bill,

    I just found my GPIO loader source code. On that very NFS share I was talking about.

    There are two versions using different methods to get at the GPIO. Not sure which is best.

    I will but them up on github after breakfast.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2013-09-21 09:50
    @Heater
    Actually, the document that the Hong Kong Linux Users provided is excellent and up-to-date for getting the OS to display Chinese, to get OpenOffice (LibreOffice) using it, and to have all the alternatives for input from the keyboard.

    These things are rather easy in Ubuntu, but the document provides an excellent list of what the current resources are. I can use it to narrow searches for further reading. I suppose that if Ubuntu will run on the Raspberry Pi, the Chinese is included if there is ample storage for fonts and software.

    It is much more a problem to actually get a Unicode Serial Terminal in operation and that has pretty much ceased publications in English since 1998.

    +++++
    Unfortunately, I live 3 hours away (by high-speed train) from the Taiwan Forth users. Visiting there web site, it too is all Chinese and they don't seem to want to engage in an English dialog on the internet.

    Living here has been insular in many ways. Most of the time, I enjoy the simplity of it. But there are instances where I just have to muddle through on my own. I am attempting to do so with the UTF-8 dumb terminal. At this point I am working through some very awkward HOWTO documents that were written in English in 1998, and trying to figure out what is really hackable in Chinese fonts to display on a Propeller.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2013-09-21 09:58
    jazzed wrote: »
    The SimpleIDE terminal will handle UTF-8 output and input. That is, it should "speak" Chinese.

    Well, I need to actually install SimpleIDE in Ubuntu and see how it does with Ubuntu's Chinese. I just dumped Ubuntu and installed Mint because I can only use Mint for bst... but Mint doesn't normally support Chinese (I know I sound silly).

    I am split between having bst and Chinese. I guess I can install Simple IDE on Mint. Then I can try to modify Mint (per instructions mentioned above) to have the Chinese display and input. It is round about, but I might just learn something useful.

    At least I would finally get Simple IDE in use.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2013-09-21 10:46
    Heater. wrote: »

    @Jeff,

    Oh, yes, a Pi format compatible board with a Prop on it. Exactly what we have been dreaming of for a year or more.

    I seriously think Parallax should be creating such a thing. Because:

    1) It's a great way to get a lot more I/O and peripherals for Pi projects.

    2) Have a VGA and or TV connector so it gives a standalone Pi project a vedio terminal or even graphic output.

    3) Have an RTC on there as a stand alone Pi needs a clock.

    4) Loads of Prop sales piggy backed on the Pi. Just like PIC is hoping for
    there.


    The P8X32A-D40 fits with a VGA connector.. Could be an interesting board to develop... RTC/SRAM options would be interesting as well. A few carefully placed cutouts and we'd be in business..

    Jeff
    424 x 636 - 21K
Sign In or Register to comment.