Hi,
It seems like coreboot doesn't compile smihandler.c, smmhandler.S, even smm.h file. I tried to put some junk into these files, and then make the coreboot source code. it could still build the coreboot.rom image. In other words, coreboot BIOS doesn't use any code under src/cpu/x86/smm/. Since SMM is a special mode, am I supposed to use other ways to compile SMM mode code? Thank you very much!
Best, Fengwei
On Thu, 21 Oct 2010 09:50:44 -0400, fengwei zhang namedylan@gmail.com wrote:
Hi,
It seems like coreboot doesn't compile smihandler.c, smmhandler.S, even smm.h file. I tried to put some junk into these files, and then make the coreboot source code. it could still build the coreboot.rom image. In
other
words, coreboot BIOS doesn't use any code under src/cpu/x86/smm/. Since SMM is a special mode, am I supposed to use other ways to compile
SMM
mode code? Thank you very much!
Well that is really not good! What kind of board are you trying to compile it for?
On Thu, Oct 21, 2010 at 10:52 AM, Joseph Smith joe@settoplinux.org wrote:
On Thu, 21 Oct 2010 09:50:44 -0400, fengwei zhang namedylan@gmail.com wrote:
Hi,
It seems like coreboot doesn't compile smihandler.c, smmhandler.S, even smm.h file. I tried to put some junk into these files, and then make the coreboot source code. it could still build the coreboot.rom image. In
other
words, coreboot BIOS doesn't use any code under src/cpu/x86/smm/. Since SMM is a special mode, am I supposed to use other ways to compile
SMM
mode code? Thank you very much!
Well that is really not good! What kind of board are you trying to compile it for?
I am trying to compile it on ASUS M2V-MS SE. My coreboot image works, but
it seem like it doesn't include any SMM code. Am I supposed to use other ways to compile the coreboot(not just do "Make"), then I could compile SMM code into my BIOS?
Thanks, Fengwei
Am 21.10.2010 17:01, schrieb fengwei zhang:
I am trying to compile it on ASUS M2V-MS SE. My coreboot image works, but it seem like it doesn't include any SMM code. Am I supposed to use other ways to compile the coreboot(not just do "Make"), then I could compile SMM code into my BIOS?
The chipset driver (southbridge mostly) must support it. Your board's southbridge driver doesn't.
One the chipset supports it, SMM code is compiled automatically (see southbridge/intel/i82801gx or mainboard/kontron/986lcd-m)
Patrick
On 10/21/2010 11:01 AM, fengwei zhang wrote:
On Thu, Oct 21, 2010 at 10:52 AM, Joseph Smith <joe@settoplinux.org mailto:joe@settoplinux.org> wrote:
On Thu, 21 Oct 2010 09:50:44 -0400, fengwei zhang <namedylan@gmail.com <mailto:namedylan@gmail.com>> wrote: > Hi, > > It seems like coreboot doesn't compile smihandler.c, smmhandler.S, even > smm.h file. I tried to put some junk into these files, and then make the > coreboot source code. it could still build the coreboot.rom image. In other > words, coreboot BIOS doesn't use any code under src/cpu/x86/smm/. > Since SMM is a special mode, am I supposed to use other ways to compile SMM > mode code? > Thank you very much! > > Well that is really not good! What kind of board are you trying to compile it for?
I am trying to compile it on ASUS M2V-MS SE. My coreboot image works, but it seem like it doesn't include any SMM code. Am I supposed to use other ways to compile the coreboot(not just do "Make"), then I could compile SMM code into my BIOS?
Ahh, I am pretty sure the smm code was writen for Intel chipsets.... It would be interesting to see it run with both Intel and AMD though....