Go to advanced search

by djhuk
Sun Jul 29, 2012 9:30 am
Forum: Other programming languages
Topic: The Go Programming Language on the Raspberry Pi
Replies: 36
Views: 38129

Re: The Go Programming Language on the Raspberry Pi

@Matthias If you're getting the illegal instruction try setting GOARM=5 again in your environment variables and it should clear the issue as mentioned above. ;) I'm having the same problem - and that didn't fix it :( [[email protected] ~]$ export declare -x GOARCH="arm" declare -x GOARM="5" declare -x GOO...
by djhuk
Sun Jul 08, 2012 8:06 pm
Forum: Other programming languages
Topic: Haskell
Replies: 13
Views: 9526

Re: Haskell

Another thing I have noticed is the binaries that GHC will produce are A LOT larger than their x86 counterparts, which might be an issue if the memory card on your Pi is low on space.

Although a call to the "strip" tool does seem to reduce the size with no ill effects.
by djhuk
Sun Jul 08, 2012 8:03 pm
Forum: General programming discussion
Topic: Approach to Programming a Service with No Gui
Replies: 4
Views: 2865

Re: Approach to Programming a Service with No Gui

You could just reflash the memory card on your Pi to run arch linux, that doesn't come with any window manager or X preinstalled, when you boot the device it will just present you with a text based terminal. From there you just need to a) Make your pi automatically login b) Run your C app upon login
by djhuk
Tue Jul 03, 2012 8:20 pm
Forum: Other programming languages
Topic: Haskell
Replies: 13
Views: 9526

Re: Haskell

So I've gone back to using 7.4.1 again after too many issues with the 7.4.2 branch. The downside to playing with 7.4.1 is the fact that GHCi isn't supported on ARM architectures. This is a real bummer if you want to install something like the SNAP framework http://snapframework.com/ One of the depen...
by djhuk
Sun Jul 01, 2012 4:42 pm
Forum: Other programming languages
Topic: Haskell
Replies: 13
Views: 9526

Re: Haskell

Some updates on this. So as we know already The current available distributions of Linux available to the Pi, Arch Linux and Debian offer version 6 of GHC which is years out of date Updating the source repository on the debian installation to "wheezy" will give you GHC version 7.4.1 The memory limit...
by djhuk
Fri Jun 22, 2012 9:38 pm
Forum: Arch
Topic: Altering available memory for QEMU
Replies: 7
Views: 9511

Re: Altering available memory for QEMU

Ah thanks for the reply, looks like it's not possible, oh well!
by djhuk
Fri Jun 22, 2012 8:43 pm
Forum: Other programming languages
Topic: Haskell
Replies: 13
Views: 9526

Re: Haskell

I think there is still a lot of work to do here. Unfortunately the problem with my method above is....it runs into a stumbling block when you attempt to compile a program with a haskell library you don't have on your machine. Installing cabal is fine but say if you do a quick "cabal install network"...
by djhuk
Wed Jun 20, 2012 9:17 pm
Forum: Other programming languages
Topic: Haskell
Replies: 13
Views: 9526

Re: Haskell

I've installed the debian image on my raspberry pi, and it has ghc6 debs available... But I'd like to use ghc 7.4.1, does anyone know if there's an apt source available for ghc 7.4.1 on armel? Thanks, shapr on #haskell Hi shapr, so I've been looking into this after getting annoyed with 6.12.3! On t...
by djhuk
Mon Jun 18, 2012 9:05 pm
Forum: Other programming languages
Topic: Options for languages to use on the Pi
Replies: 26
Views: 8138

Re: Options for languages to use on the Pi

Can anyone tell me what version of GHC (haskell compiler) is on the debian image? On Arch Linux the only available binary is version 6.12.3 which is really, really old (the lastest version is 7.4.2) If you want to be on the cutting edge then Debian stable isn't for you. It is a distro that prizes s...
by djhuk
Sun Jun 17, 2012 7:56 pm
Forum: Arch
Topic: Altering available memory for QEMU
Replies: 7
Views: 9511

Re: Altering available memory for QEMU

Additionally, the boot messages when you boot the OS just says

Code: Select all

Memory: 256MB = 256MB total
So it seems to be ignoring the -m flag completely.
by djhuk
Sun Jun 17, 2012 6:51 pm
Forum: Arch
Topic: Altering available memory for QEMU
Replies: 7
Views: 9511

Altering available memory for QEMU

I'm running an installation of ARM Arch on my own machine using QEMU, as the memory limit on the R-PI is too low for what I want to do (I want to compile the glasgow haskell compiler version 7.4.2 but it needs lots of RAM which is causing it to fail when running on the R-PI) The problem is, I can't ...
by djhuk
Sat Jun 16, 2012 9:02 pm
Forum: Other programming languages
Topic: Options for languages to use on the Pi
Replies: 26
Views: 8138

Re: Options for languages to use on the Pi

Can anyone tell me what version of GHC (haskell compiler) is on the debian image?

On Arch Linux the only available binary is version 6.12.3 which is really, really old (the lastest version is 7.4.2)
by djhuk
Thu May 31, 2012 9:57 pm
Forum: Beginners
Topic: Using a RP in it's most basic form
Replies: 20
Views: 3384

Re: Using a RP in it's most basic form

Just install the arch linux distro and use it from there, there's no windowing manager or X installed by default.

If you don't want to plug a mouse/keyboard into the Pi then you can SSH into it from another machine
by djhuk
Sun May 27, 2012 3:55 pm
Forum: General discussion
Topic: Power usage
Replies: 5
Views: 3793

Re: Power usage

Thanks for the replies all.

So in effect, the power usage/cost is very negligible. That's great news!
by djhuk
Sun May 27, 2012 11:28 am
Forum: General discussion
Topic: Power usage
Replies: 5
Views: 3793

Power usage

I've seen posts on here referring to the fact that the Raspberry Pi uses about 2 watts of power. I'm not really that well versed into what that actually means in real terms. If I was to leave my Raspberry Pi on continuously for 1 month, how much kWH would that equate to, and thus what would the impa...
by djhuk
Sat May 26, 2012 9:45 pm
Forum: Other programming languages
Topic: Haskell
Replies: 13
Views: 9526

Haskell

I've been trying to get Haskell working for a while now but I think I've eventually cracked it on Arch-Linux Hopefully the following will help others wishing to run haskell on the 'Pi. Note that the ARM version of GHC currently does not support GHCI. To install you simply need to do the following su...
by djhuk
Sat May 26, 2012 8:07 pm
Forum: Beginners
Topic: Can I SSH into the device without any initial setup?
Replies: 19
Views: 8218

Re: Can I SSH into the device without any initial setup?

After chucking out my old SD card and getting a new one I was able to boot Arch Linux and SSH into it.

Thanks all!
by djhuk
Sat May 26, 2012 8:05 pm
Forum: Troubleshooting
Topic: Arch Linux - no HDMI output
Replies: 4
Views: 5444

Re: Arch Linux - no HDMI output

mrevergreen wrote:Having the same issue: can anyone explain how to access/edit/delete the config.txt file?

(Ideally from Windows)
Plug in your SD card into your computer and delete the config.txt file :)
by djhuk
Fri May 25, 2012 8:30 pm
Forum: Beginners
Topic: Can I SSH into the device without any initial setup?
Replies: 19
Views: 8218

Re: Can I SSH into the device without any initial setup?

Thanks for the replies. I tried to make it work but it wasn't doing it, so I bit the bullet and plugged in a HDMI cable to see if there was any boot errors. Keep getting a kernel panic (cannot mount root) so I think my SD card is probably duff. Going to buy a new one tomorrow and see how it goes Wit...
by djhuk
Fri May 25, 2012 5:57 pm
Forum: Beginners
Topic: Can I SSH into the device without any initial setup?
Replies: 19
Views: 8218

Can I SSH into the device without any initial setup?

Firstly I got my 'Pi today, it's very exciting! However....I'm primarily a laptop user and my keyboard/mouse are packed away. I don't really intend to use my device as a personal computer, more just a server. I'm quite comfortable with linux and so on, is it possible to just boot the device and SSH ...

Go to advanced search