[OpenBIOS] FCode on an embedded Leon-Sparc system

Rolf Schroedter Rolf.Schroedter at dlr.de
Wed Sep 20 19:02:26 CEST 2006

I didn't try the stand-alone kernel-1.1 yet, because it doesn't support 
the sparc-32 architecture.

Seems I managed to cross-compile OpenBIOS on my cygwin for sparc-32, 
removing all file systems & drivers.
Then I'm getting an error dumping the dictionaries:

obj-sparc32/forthstrap -Iforth/bootstrap/ -Iforth/bootstrap/ 
-Iforth/lib/ -Iforth/device/ -Iforth/debugging/ -Iforth/admin/ 
-Iforth/util/ -Iforth/packages/ -Iforth/system/ -Imodules/ -Idrivers/ 
-Iarch/sparc32/ -Iobj-sparc32/forth -D obj-sparc32/openbios-sparc32.dict 
-d obj-sparc32/openbios.dict  arch/sparc32/tree.fs arch/sparc32/init.fs
OpenBIOS bootstrap kernel. (C) 2003-2006 Patrick Mauritz, Stefan Reinauer
This software comes with absolutely no warranty. All rights reserved.

Dumping final dictionary to 'obj-sparc32/openbios-sparc32.dict'
Using source dictionary 'obj-sparc32/openbios.dict'
Compiling dictionary 1/2
 undefined word.
make[1]: *** [obj-sparc32/openbios-sparc32.dict] Error 1
make[1]: Leaving directory 

Any help is appreciated.
Thanks & regards,

Stefan Reinauer wrote:
> * Rolf Schroedter <Rolf at Rolf-Schroedter.de> [060919 21:16]:
>> I'm able to compile & run bare C applications (gcc cross-compiler), so 
>> it seems to me that I don't need a real BIOS.
> OpenBIOS does not do any bring-up, so it is basically exactly what you
> are looking for.
> As for the size issues, the 72k include all openfirmware compliance
> code, including the device interface, lots of glue code etc pp.
> The 6k mentioned here is the forth kernel, without any dictionary, ie.
> it is only the "command scheduler" and the primitives.
> You might want to look at this old stand-alone version of the openbios
> forth kernel: http://www.openbios.org/bin/kernel-1.1.tar.bz2
> And plug the fcode evaluator directly on top of that. You can probably
> end up with a 32k-48k system (uncompressed).
> Hope this helps. 


Rolf Schroedter
German Aerospace Center
Institute of Planetary Research
D-12489 Berlin, Rutherfordstrasse 2
Tel/Fax:  (+49) (30) 67055-416/384
Email:    Rolf.Schroedter at dlr.de

More information about the OpenBIOS mailing list