Open Firmware is now free
  Home FAQ Contact Sign in
comp.lang.forth only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.forth Profile…
 Up
Open Firmware is now free         


Author: Anton Ertl
Date: Nov 23, 2006 13:16

Open Firmware and Mitch Bradley and got a front-page article on last
week's Linux Weekly News (LWN), because Open Firmware is now free
software (licensed under MIT, BSD and GPL licenses (different licenses
for different files)). It is available on the Internet for browsing
<http://www.openbios.org/viewvc/?root=OpenFirmware> and downloading
<svn://openbios.org/openfirmware>.

The LWN article is available at <http://lwn.net/Articles/209301/>.

- anton
22 Comments
Re: Open Firmware is now free         


Author: rickman
Date: Nov 23, 2006 19:58

Anton Ertl wrote:
> Open Firmware and Mitch Bradley and got a front-page article on last
> week's Linux Weekly News (LWN), because Open Firmware is now free
> software (licensed under MIT, BSD and GPL licenses (different licenses
> for different files)). It is available on the Internet for browsing
> <http://www.openbios.org/viewvc/?root=OpenFirmware> and downloading
> <svn://openbios.org/openfirmware>.
>
> The LWN article is available at <http://lwn.net/Articles/209301/>.

Thanks for the pointer. I guess this is a lot more of a system than
the typical embedded Forth. I see that the article says it is pretty
large by Forth standards. "And it all fits in about 350KB of flash,
with the ability to shoehorn it into 256KB if need be." If I don't
need the networking support or even the file system, any idea how small
this can be? I guess the real question is, if I am looking for a debug
program or a BIOS to make my life easier when bringing up hardware, is
OF a good place to start?
Show full article (2.76Kb)
2 Comments
Re: Open Firmware is now free         


Author: Bernd Paysan
Date: Nov 24, 2006 01:07

rickman wrote:
> Am I understanding this correctly? Is OF written in C to be compiled
> for the target system or is it in Forth and assembly and must be ported
> in the same way that any other Forth is ported at an assembly level?

OF is Forth and assembly. Since it runs now on the OLPC, ports should be
available for SPARC and x86. But it should be possible to put OF on
Gforth's engine.

--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/
1 Comment
Re: Open Firmware is now free         


Author: Dennis Ruffer
Date: Nov 24, 2006 10:31

On 2006-11-24 02:07:52 -0700, Bernd Paysan said:
> rickman wrote:
>> Am I understanding this correctly? Is OF written in C to be compiled
>> for the target system or is it in Forth and assembly and must be ported
>> in the same way that any other Forth is ported at an assembly level?
>
> OF is Forth and assembly. Since it runs now on the OLPC, ports should be
> available for SPARC and x86. But it should be possible to put OF on
> Gforth's engine.

We ran the OF compile process in gforth at Apple, but there was an
initial POST portion that was compiled by PPCASM. I just downloaded
Mitch's code, so I haven't had time to look at it very closely.
However, it is very refreshing to see that OLPC has chosen this path.
There may be a future for OF after all. ;)

DaR
no comments
Re: Open Firmware is now free         


Author: rickman
Date: Nov 24, 2006 11:23

Bernd Paysan wrote:
> rickman wrote:
>> Am I understanding this correctly? Is OF written in C to be compiled
>> for the target system or is it in Forth and assembly and must be ported
>> in the same way that any other Forth is ported at an assembly level?
>
> OF is Forth and assembly. Since it runs now on the OLPC, ports should be
> available for SPARC and x86. But it should be possible to put OF on
> Gforth's engine.

I took a look at the source and there is a lot of it. The only asm I
find is a very small start.s file in /clients/lib/arm. /clients/lib
also has about a dozen C files. Otherwise it all appears to be Forth.
Is this correct?
Show full article (1.25Kb)
2 Comments
Re: Open Firmware is now free         


Author: Paul E. Bennett
Date: Nov 24, 2006 11:56

rickman wrote:
> Bernd Paysan wrote:
>> rickman wrote:
>>> Am I understanding this correctly? Is OF written in C to be compiled
>>> for the target system or is it in Forth and assembly and must be ported
>>> in the...
Show full article (1.99Kb)
no comments
Re: Open Firmware is now free         


Author: rickman
Date: Nov 24, 2006 12:53

Paul E. Bennett wrote:
> rickman wrote:
>
>> Bernd Paysan wrote:
>>> rickman wrote:
>>>> Am I understanding this correctly? Is OF written in C to be compiled
>>>> for the target system or is it in Forth and assembly and must be ported
>>>> in the same way that any other Forth is ported at an assembly level?
>>>
>>> OF is Forth and assembly. Since it runs now on the OLPC, ports should be
>>> available for SPARC and x86. But it should be possible to put OF on
>>> Gforth's engine.
>>
>> I took a look at the source and there is a lot of it. The only asm I
>> find is a very small start.s file in /clients/lib/arm. /clients/lib
>> also has about a dozen C files. Otherwise it all appears to be Forth.
>> Is this correct?
>>
>> I have not found any documentation yet, at least anything I can
>> understand. I am still trying to determine if OF is something that ...
Show full article (2.44Kb)
1 Comment
Re: Open Firmware is now free         


Author: Elizabeth D Rather
Date: Nov 25, 2006 10:15

rickman wrote:
> Paul E. Bennett wrote:
>> rickman wrote:
>>
>>> Bernd Paysan wrote:
>>>> rickman wrote:
>>>>> Am I understanding this correctly? Is OF written in C to be compiled
>>>>> for the target system or is it in Forth and assembly and must be ported
>>>>> in the same way that any other Forth is ported at an assembly level?
>>>> OF is Forth and assembly. Since it runs now on the OLPC, ports should be
>>>> available for SPARC and x86. But it should be possible to put OF on
>>>> Gforth's engine.
>>> I took a look at the source and there is a lot of it. The only asm I
>>> find is a very small start.s file in /clients/lib/arm. /clients/lib
>>> also has about a dozen C files. Otherwise it all appears to be Forth.
>>> Is this correct?
>>>
>>> I have not found any documentation yet, at least anything I can
>>> understand. I am still trying to determine if OF is something that
>>> will be useful to me in my tasks of debugging hardware. Before I can ...
Show full article (2.84Kb)
no comments
Re: Open Firmware is now free         


Author: Bernd Paysan
Date: Nov 25, 2006 05:53

rickman wrote:
> I took a look at the source and there is a lot of it. The only asm I
> find is a very small start.s file in /clients/lib/arm. /clients/lib
> also has about a dozen C files. Otherwise it all appears to be Forth.
> Is this correct?

OF is a traditional Forth system, so the assembler portions inside are
written in a Forth assembler. You can't just search for a .s file to find
the assembler parts, you must search for Code inside the .fth files.

--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/
no comments
Re: Open Firmware is now free         


Author: rickman
Date: Nov 25, 2006 12:38

Bernd Paysan wrote:
> rickman wrote:
>> I took a look at the source and there is a lot of it. The only asm I
>> find is a very small start.s file in /clients/lib/arm. /clients/lib
>> also has about a dozen C files. Otherwise it all appears to be Forth.
>> Is this correct?
>
> OF is a traditional Forth system, so the assembler portions inside are
> written in a Forth assembler. You can't just search for a .s file to find
> the assembler parts, you must search for Code inside the .fth files.

Ok, I'll write this off as another dead end for what I would like to
do. It is funny that with all the hoopla about how efficient Forth is,
a program that is essentially a BIOS is so large and complicated. I
guess it does a lot more than the typical BIOS even though that is what
it is.
Show full article (1.36Kb)
2 Comments
1 2 3