答复: new config language.
YhLu at tyan.com
Tue Jun 10 00:53:00 CEST 2003
How about the status of freebios2 support on K8?
Today I use to the code and try on Tyan s2880 found two problem
1. I use RH as host compiler system. payload make statement in make.base
with perl doesn't work, it produce strange size images near One mega byte.
2. I change that back to dd, and make one 512K romimage, But the code only
can execute to "jumping to LinuxBIOS". And then retry several times. I use
debug card and see the post code is 01--> 08--> 11 ->01...>11 -> 12. end.
Do you know the progress of Suse LinuxBIOS support on opteron?
发件人: ron minnich [mailto:rminnich at lanl.gov]
发送时间: 2003年6月8日 20:41
收件人: linuxbios at clustermatic.org
主题: new config language.
I'm opening up this discussion, which was formerly just between the folks
actively doing freebios2. We're getting closer to having things working
and I am happy to hear any comments.
linuxbios.a now builds for the K8 with the new config tool. Not all of
linuxbios, just linuxbios.a, but that's quite a way to working.
Things are stricter now. We've been able to operate before with code like
#if SOME_VARIABLE_THAT_WAS_UNDEFINED == 0
because in the GNU C preprocessor,
#if (a == 0)
are equivalent if a is undefined.
I think that is a very poor way to operate: it can fool people, and in a
BIOS you want more checking.
Now that you can use an 'if' operator in the config language, setting up
some things is a lot easier:
For example, this:
now becomes this:
option ROM_SECTION_SIZE = FALLBACK_SIZE
option ROM_SECTION_OFFSET= (ROM_SIZE - FALLBACK_SIZE)
option ROM_SECTION_SIZE = (ROM_SIZE - FALLBACK_SIZE)
option ROM_SECTION_OFFSET= 0
Much better. However, if you have not defined USE_FALLBACK_IMAGE or
USE_NORMAL_IMAGE, then you're going to get an error, which in the past was
not the case.
So we'll have to learn to be a bit more careful about defining things
before they are used, and not using things that were never defined. This
is all proving to be easy, but people will need to take more care with the
Config files (which, in deference to Windows and MacOS, are now named
Linuxbios mailing list
Linuxbios at clustermatic.org
More information about the coreboot