[OpenBIOS] [PATCH] Add support for accessing the LinuxBIOS CMOS settings from Open Firmware
Mitch Bradley
wmb at firmworks.com
Fri Oct 12 01:25:49 CEST 2007
Jens Freimann wrote:
> Am Freitag, den 12.10.2007, 00:56 +0200 schrieb Torsten Duwe:
>
>> On Wednesday 10 October 2007, Jens Freimann wrote:
>>
>>> Hi,
>>>
>>> this patch adds a new file lbcmos.fth to cpu/x86/pc/biosload which makes
>>> it possible to view and manipulate CMOS settings.
>>>
>> +++ cpu/x86/pc/biosload/lbcmos.fth (Revision 0)
>> @@ -0,0 +1,246 @@
>> +purpose: Access LinuxBIOS CMOS settings
>> +
>> +fload ${BP}/cpu/x86/pc/biosload/cmos.fth
>> +
>>
>> where is cmos.fth ?
>>
>
> ups, I copied it from cpu/x86/pc/olpc/cmos.fth to the biosload
> directory. So the line should either be changed to
> fload ${BP}/cpu/x86/pc/olpc/cmos.fth
> or cmos.fth should be copied to the biosload directory. Or maybe move
> cmos.fth to cpu/x86/pc/?
>
I suggest putting it in dev/isa/cmos.fth
I'm not sure that it's appropriate to have the stand-init in a generic
place, though. The behavior of zeroing the BIOS checksum area if it is
bad is what we want for OLPC, but perhaps is not always a good idea.
>
> Jens
>
>
More information about the OpenBIOS
mailing list