Huang-Jen Wang wrote:
I got a new mainboard, and I want to get its own Mptable.c is there a easy way to achieve it ?
Yes:
1) Execute make in util/mptable 2) Run the mptable executable create in step 1 on the mainboard with the mainboard's original "COTS" BIOS installed. 3) The output of the mptable executable is an mptable.c that should saved as src/mainboard/<mb-vendor>/<mb-model>/mptable.c.
Some hand editing of the result of step 3 may be required. Last time I used it, I had to delete some non-C code at the end. It was a rather edit.
However, the resulting mptable will be a clone of the original at best. Any bugs in the original will be in the clone, but with LinuxBIOS you have the option to fix those bugs. Fixing an mptable bug may not necessarily be easy though.
Good luck!
Sincerely,
Ken Fuchs kfuchs@winternet.com