This is an old revision of the document!


Main goal of the project: To port FreeBSD to Efika, an e300 based evaluation board.

Main steps to be taken:

  • overview of the hardware, gathering and revieving documentation,
  • review of existing ports on similar architecture,
  • comparison and trial merge of A. Turner's code with the CURRENT,
  • writing basic driver - an interrupt controller,
  • adding some basic peripherials: modelling the newbus hierarchy model of integrated devices, such as internal bus, UART,
  • writing device drivers for on-chip peripherials,

After having done that it is expected to be able to operate in a single user mode.

Recently, I've been playing with the board in our lab in order to configure it. Here's the snaphot of the Efika OF booting:

attachment:efika_of.jpg

And finally, a success: efika boots FreeBSD after merging A. Turner's code with the CURRENT. The code required manual patching due to some changes in the src layout. Here's a proof :) :

attachment:efika1stBoot.jpg

Roadmap and timetable

Description Status Comments Date
Establish Wiki Done 25-IV-2008
Establish p4 branch Done 25-IV-2008
Gather documentation Got: e300, MPC5200, newbus… Lot's of documentation collected
Find A.T. Efika starter Kit Done 11-V-2008
Apply patches do CURRENT Done Problems with layout change since FBSD 6.x, RESOLVED 24-V-2008
Build and test patched version Done Kernel successfuly boots over tftp 29-V-2008
Future work: newbus model, UART… to be added

Here's our hero:

http://www.genesi-usa.com/efika.php

and this is my P4 branch (to be changed to the new one soon):

http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/projects/soc2008/vi0&HIDEDEL=NO

  • porting_freebsd_to_efika_ppc_bring_up.1212014563.txt.gz
  • Last modified: 2008/05/28 22:42
  • by PrzemekWitaszczyk