Building an ARM cross compiler on OSX


We’ve tried building our own ARM cross compiler on a Linux box and it’s no picnic. Luckily there is a free cross compiling toolchain available through Mentor Graphics (formerly called Code Sourcery G++). But those looking to develop on a Mac aren’t so lucky. There is help via a script, and [Michael] wrote a guide detailing how to use crosstool-ng to build an ARM toolchain on Mountain Lion.

Crosstool-ng is a script which automates much of what is needed when compiling all the different components. But there is a some groundwork that needs to be in place before you can run it. For instance, some of the tools that ship with OSX aren’t entirely compatible with the GNU tools the script is looking for. One example is ‘grep’. Mountain Lion has the BSD version of grep but it is missing a few of the GNU version’s commands used by crosstool-ng. [Michael] will guide you through this and a handful of other issues until you have a functioning toolchain up and running.

Building your own Fusion Drive

We missed the original announcement, but Apple unveiled more than just the iPad Mini at their last event. They’ve got a new storage system called Fusion Drive which is supposed to combine the access speeds of solid state with the storage density of platter drives. When you look just under the surface what you’re really seeing is a disc drive with grossly enlarged cache in the form of an SSD drive. How about moving from the 64 MB or so of cache seen on many large hard drives today to something like 64GB?

Well you don’t have to wait for Apple to do it. [Patrick Stein] gave it a shot using command line tools to combine an SSD with a physical drive. Sure, it’s not an all-in-one solution, but it is a pretty good proof. The linchpin that will really make it possible is a low-level driver that can handle the caching on the SDD, while ensuring that the data eventually makes it to the platter for long-term storage.

[via Engadget]

OS X port of gqrx is the easiest way to get into software defined radio

Many have tried to put together an easy package for running software defined radio packages on the Mac. Not many have succeeded the way [Elias]‘ port of the gqrx SDR package has. It’s simply the easiest way to get a software defined radio up and running on the mac.

gqrx is a front end for the very popular GNU Radio software defined radio toolkit. Originally designed for the FUNcube SDR dongle, gqrx can also be made to work with one of the many, many USB TV tuners that have come out of China this past year for use as a software radio.

[Elias]‘ port of gqrx isn’t the first app to put software defined radio on the Mac, but it certainly is the easiest. Simply by downloading [Elias] disk image, plugging in a TV tuner dongle, and starting the app, I was able to have a software radio receiver on my MacBook Air in less than a minute.

Everything required by GNU Radio and gqrx is already included, making this the easiest way to get SDR on a Mac. Very awesome work from [Elias], and we thank him.

Making a nostalgic Apple mouse wireless

If you’ve got an old mouse sitting around that has that perfect retro look why not start using it again? We’d bet there’s just enough room in there to turn the input device wireless.

The hack does away with everything but the case. The guts from a brand new wireless laser mouse are used as replacements. For the most part this is a simple process of making room for the new board and laying it in place. It involves cutting off a few plastic case nubs, enlarging the hole on the bottom so that the laser has a clear line of sight to the desktop, and hot gluing the thing in place. The button cover had a bit of plastic glued in place so that it lines up correctly with the replacement mouse’s switch.

The only thing that didn’t work out well is the battery situation. The AA cell that the mouse needs was too big for the retrofit so it was swapped with an AAA. These have a lower capacity which means more frequent replacement.

[via Make]

iMac reborn with present-day parts

[Paul] spent his summer bringing an iMac G3 into this decade. There’s plenty of room to work with since he removed the CRT which originally occupied most of the computer’s space. The final project is much more powerful and since he preserved most of the metal mounting parts inside it remains quite strong.

He started by swapping flat screen monitors with his Grandma (who incidentally runs Linux… nice!). She had a 15″ model which would fit nicely in the case so he upgraded her to 17″ and took the old one. With bezel removed it fits perfectly where to old tube had been. Next comes the power supply. It’s mounted on the bracket which held the back of the tube, with a bit of metal removed to clear the air intake. To mount the motherboard he fabricated a bracket at one end where the iMac’s stage drops away. In retrospect he wishes he had rotated the board to make the I/O panel more accessible. The hard drive mounts on the original carriage, and he did some creative gluing to make his replacement DVD drive align with the original optical drive opening. The finished product looks great from the front and sides, with the cables running out the back as the only indication that it’s had some major work done on it.

Cheat your way through the original Prince of Persia

If you don’t have the patience to play through the original Prince of Persia perhaps you should just cheat? [BLuRry] has made this easy for us, by building Prince of Persia cheats into JACE, the Java Apple Computer Emulator.

He shows off the emulator and the cheats he added in the video after the break. We saw the ability to teleport anywhere, kill enemies immediately, and open gates and exits. All of this happens with the click of a mouse. But there’s also a configuration screen used to enable the cheats that offers a handful of other cheat options that weren’t original to the game. [BLuRry] managed to roll these cheats into the emulator after some thoughtful study of the original source code which [Jordan Mechner] recently released after the once-lost floppy discs storing the ancient digital gem were discovered.

You know, we always see people running doom on various types of hardware. Maybe we should start using PoP as our go-to novelty game?

[Read more...]

Emulating Mac System 7 on an Android device

Over on the 68kmla forums, a website dedicated to old Macs built before 1994, [zydeco] released his Android port of Mini vMac, a Macintosh Plus emulator that puts the power of a Motorola MC68000 processor and System 7 on any computer.

Unlike the original Macintosh, or the subsequent revision that bumped the RAM up to 512 kilobytes, the Mac Plus was actually useful. With the addition of a SCSI port and support for 4 Megabytes of RAM, it’s not only possible to browse the Internet, but also act as a server. There’s a reason [Sprite_tm] chose to rebuild one of these classic, all-in-one machines to act as a home server; they really do epitomize the elegant computers from a more civilized age.

68kmla user [FlyingToaster] even went so far as to put a Mac Plus in his nook touch. With this, he’s got a full-blown installation of System 7 running on an e-ink screen, complete with LemmingsGauntlet, and Tetris.

It should be possible to plug this emulated box into the Internet. Unfortunately, experience tells us it won’t be a very pleasant browsing experience outside Hackaday’s retro edition.