Skip to main content

Installing XBMC on an iMac

Since the 700 Mhz Raspberry Pi runs XBMC perfectly, I wondered if it would be possible to run it usefully on the G3 PPC iMac that we have lying around. With two devices, I could also do multi-room music syncing, which might be useful if I have a party coming up, perhaps.

To get Linux on a PPC iMac, you need to get a Debian PPC installer, and burn it onto a USB key.

To get into Open Firmware, you start up the machine with the CMD + OPT + O + F keys - I spent a long time not getting this right because I didn't know which keys CMD and OPT were. The CMD key is the one with the quad cloverleaf, and the OPT is alt key (which has the strange jumping-line symbol as well).

Open Firmware will boot a Debian PPC install USB with the command:

boot usb1/disk@1:2,\\yaboot

(If this doesn't work, the devices might be wrong. Use dev / ls and devalias to find them out).

Then at the boot: prompt you type

install url=mintppc.org

..and that installs mint from the internet.

Then I did this all over again, but this time using the correct debian boot iso to get MintPPC 11 rather than 9. This all worked fine (much more reliably than the 9 install, in fact), but you get a blank screen when it finally tries to boot into the GUI.

Typing Linux 1 into the yaboot gets into single-user mode, and I discover no xorg.conf. Okay, this is going to be a problem.

To be continued...


Comments

Popular posts from this blog

"How Do I Test It?" Proof Key for Code Exchange by OAuth2 Public Clients

Having adapted an example OpenID Connect server (built in Rails) to a production system, I need to add PKCE support so that it could be used securely to allow mobile systems to log in. OAuth2 (and therefore OpenID-Connect) isn't considered as secure on mobile devices because rogue applications on the mobile device can hijack the authorization code. Here I'll try to describe the thought process that goes into not the implementation, but the interpretation of the spec into a set of tests that will allow us to be reasonably confident that mobile clients will be able to connect. (Pleasingly, the first time the mobile integrators tried to connect with PKCE it worked perfectly, both with errors and successful paths). My implementation is in Ruby, of course, and my tests will be in RSpec with expectations, so some of the language might not be generic but the concepts should map to other languages / frameworks. I've marked the actual tests I needed in yellow with the word TEST:...

4Store with Snorql on Raspberry Pi

Problem I need to access triple-store data for a work thing, but the data I have to test with isn't in their (sesame) triple store yet. There are RDF files, though. Solution Install 4Store on a pi (I had one with a default Raspbian running because it's the mumble server). sudo apt-get install 4store ...then I set up the 4store with instructions from here : sudo 4s-backend-setup saws sudo 4s-backend saws 4s-httpd saws then import the RDF files with a convoluted command: curl --verbose --header 'Content-type: application/rdf+xml' --upload-file MSH_Thales_Trans.rdf --url 'http://localhost:8080/data/http%3A%2F%2Fwww.purl.org%2Fsaws%2Fontology%23' (for each file - the url is the saws url encoded, the .rdf bit was done for each file). Then fix the RDF, because rapper rejects it all. To validate the RDF I used this: http://www.rdfabout.com/demo/validator/ Okay, now I can see things on the pi: http:// <pi ip address...

Chrome Extension: iPlayer to XMBC

There's a Chrome extension called Play To XBMC which adds a little button that will send a YouTube, Vimeo, or CollegeHumor video to XBMC - provided you have the YouTube plugin installed. This is a lot more convenient that using XBMC to search directly, if you don't have a keyboard plugged into the XBMC box. The XBMC iPlayer plugin suffers from the same problem that browsing/searching aren't easy without a keyboard, so I wondered if I could make a chrome extension that would do the same for iPlayer. Chrome extensions are packages of javascript, html, and image files that get unpacked by Chrome when they're installed. You make a Manifest file (which is a JSON file) that tells Chrome what icons to include, what sort of package it is, etc. The Play To XBMC extension is a browser one - the button is always there. I made mine page specific - it only appears on valid iPlayer episode pages. You do this by putting in a javascript page that runs in the background every time ...