Ron, Are you using flash_rom or flashrom?
Stepan put sth in flashrom to check the LinuxBIOS image size=262144 MANUFACTURER: Tyan MAINBOARD ID: s2881
YH
-----Original Message----- From: linuxbios-bounces@openbios.org [mailto:linuxbios-bounces@openbios.org] On Behalf Of Ward Vandewege Sent: Monday, December 12, 2005 6:05 PM To: Ronald G Minnich Cc: LinuxBIOS Subject: Re: [LinuxBIOS] tyan s2881
On Mon, Dec 12, 2005 at 05:25:48PM -0700, Ronald G Minnich wrote:
we use the v2 flashrom all the time on s2881 here.
Also, Ward led me to believe he was getting serial output. Did I miss something?
Ah, sorry about the confusion, I get serial output when NOT running linuxbios. That was just me making sure that was set up correctly. I haven't yet managed to boot linuxbios. I'm obviously doing something stupid building the image - my images are not even being recognized by flashrom as being Linuxbios images.
Yhlu sent me an image to test, but I can't burn that as it is being seen as not the correct size by flashrom.
Real size: 524288 bytes
flashrom: root@chimera:~/LinuxBIOSv2/util/flashrom# ./flashrom -v -w ../../../s2881_linuxbios.rom Calibrating delay loop... ok No LinuxBIOS table found. Enabling flash write on AMD8111...OK Pm49FL004 found at physical address: 0xfff80000 Flash part is Pm49FL004 LinuxBIOS image size=262144 MANUFACTURER: Tyan MAINBOARD ID: s2881 ERROR: This firmware image does not fit to this machine Override with -m ifyou know exactly what you are doing.
Not sure what's going on here.
Thanks, Ward.
-- Ward Vandewege ward@fsf.org Free Software Foundation - Senior System Administrator
* Lu, Yinghai yinghai.lu@amd.com [051213 03:21]:
Ron, Are you using flash_rom or flashrom?
Stepan put sth in flashrom to check the LinuxBIOS image size=262144 MANUFACTURER: Tyan MAINBOARD ID: s2881
Which works fine as long as you flash on a linuxbios system or specify -m Tyan:s2881
I could change the check to be case insensitive?
Also, it probably should not check at all if no lbtable is found. and no -m is given.
Stefan
Stefan Reinauer wrote:
Which works fine as long as you flash on a linuxbios system or specify -m Tyan:s2881
I could change the check to be case insensitive?
please do.
Also, it probably should not check at all if no lbtable is found. and no -m is given.
yeah.
ron
Also, it probably should not check at all if no lbtable is found. and no -m is given.
yeah.
Automagically doing the wrong thing is probally not good. I would say that the current behavior is good just not verbose enough.
If it does not find an lbtable then it should say so and exit with a example of the right option(s) to use for -m or -f to disable checks.
Something like:
"Your flash image does not appear to correct for the mainboard I have detected." If you are sure this is a correct image for this mainboard then you can override this check with:
-m mfg:model or -f to disable this check completely.
And then fill in mfg and model with the autodetected values.
-- Richard A. Smith