Sponsored By
Efika 5200B Project
Development and courses for schools, students and local institutes

in category Applications & Software
proposed by devon on 10th October 2006 (accepted on 19th October 2006)
[View Full Project]
  First Efika project post
posted by devon on 21st January 2007


Hi, this is the first post for this project's blog, and the first ever for me in a web log, so... I hope to learn how to write a proper post in a try or two. :)

First of all, I'd like to thank Genesi and all the people behind it, for making all these projects possible, and obviously Freescale, for sponsoring the developer projects.

The Efika arrived before the holidays, so I had time to investigate the nice hardware before actually putting it under development activity. The day it arrived I was stunned by the size of this little gem. Really, I couldn't imagine a processor core, ATA, Ethernet, USB, sound and other controllers and peripherals all in such a little space. And so little power consumption.

My first thoughts was to list and find the peripherals I needed to work. I was eager to try it, but at the time I didn't have anything but the board. Then I was successful at finding an old ATX PSU that still worked good. I'd assembled a serial cable too, so I was all happy about starting hacking on the Efika.

The first thing I had to learn was the simple and intuitive Open Firmware syntax, and all the configurations and parameters it supports. I was really amazed at seeing all that, as it was the first Open Firmware implementation I was using. It's really powerful, and I imagine it to be easily expandable in possibilities.

The one other thing I was VERY eager to try out was the HAL part of the SmartFirmware, the BIOS emulation/abstraction layer that helps using standard x86 PCs hardware. But I didn't have any PCI nor AGP boards to try out, so, once again I had to wait.

Next, I started preparing a Linux kernel on an USB flash key, and plugged it into one of the Efika's slots.
I powered on the board, the Smart Firmware printed the device's string on the serial terminal while the USB key started flashing. Then... nothing. The poor thing didn't flash a second time, like I was expecting. I tried listing hd0's partitions but nothing, the storage with its partitions simply is under the second wrapping of the USB device. But this is only exposed by USB implementations of full-running kernels or operating systems, not simple implementations like firmwares (PC BIOS, Open Firmware, etc...)...

I was MAD as I didn't have a 2,5 inches hard drive... So I took that as an opportunity to learn booting off a DHCP/TFTP served kernel with a root over NFS. That wasn't hard as I was worried just days before, and worked like a charm!

The Efika was running a Linux kernel with a simple GNU system, and it was really fast. I didn't expect it to be that responsive, I was waiting for some lag or something that would discourage the use of a full-blown GNU/Linux system, but all the applications worked, and very well.

Remember that booting off the network is a choice to take into account for our project, as it helps managing software updates and different configurations testing during the development process.

Then I had to spend my full time in a project for my Computer Science course, so I had to put the Efika project on hold for some days.

After being successful at the project I could return on the Efika, and my quest for the necessary hardware. Really, the old ATI Radeons have disappeared, and the little there is, are selling at really high prices... They must have heard of all the FLOSS people and open drivers support for those boards...

And old 2,5 inches hard drive from an ancient notebook has been put to work on the Efika, despite its little capacity, slowness and absence of reliability... But at least its 2,5 MB/s of maximum throughput and 3 Gigabytes of space did let me start my development. (But still, the absence of a video board forbid me to test the video support for the machine, which really pissed me off...)

---------

It's quite late now, so I have to close this first post here.
In the next post I'll describe the process of setting up a Debian GNU/Linux system on the Efika, the first attempts with a newly arrived video board and decent hard disk, and the first development activities.

...I have to say that I'm starting to like this project log, thanks Genesi. :)

ps. I'm eager to hear for news about about a subversion repository on Powerdeveloper.org, that would be great for many developer projects!


-- Loris Cuoghi

/log out
Genesi Network: Genesi - Main Site Power2People PowerDeveloper