[coreboot] [PATCH] nvramtool: string support

Joseph Smith joe at settoplinux.org
Sat Sep 27 03:08:34 CEST 2008


>> Add string support to nvramtool.
>> 
>> To add a string to your cmos.layout, you need to specify type 's':
>> 
>> #start     len       type    unused   name
>> 416        512       s       0        boot_devices
>> 
>> With this patch you can do
>> 
>> $ nvramtool -w boot_devices="(hd0,0);(hd2,1);(hd3)"
>> 
>> And FILO will attempt to load a menu.lst from any of these devices in
that
>> order.
>> 
>> The patch is not exactly pretty, but a cleaner solution might have
resulted in
>> a complete rewrite of the tool, which I did not want.
>> 
>> Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
> 
> Cool I like it :-)
> But, it may just all change with FILO1.0...
> 
And what I mean by that is if Carl-Daniel can come through with his 1 block
flashing idea (expected in Oct), there will be no need for FILO in CMOS.
FILO will have it's own data block for settings. Plenty of space for a FILO
configuration. I will ack this for the intrim though.

Acked-by: Joseph Smith <joe at settoplinux.org>

-- 
Thanks,
Joseph Smith
Set-Top-Linux
www.settoplinux.org





More information about the coreboot mailing list