[coreboot] use libpayload in optionrom

Jason Wang wangqingpei at gmail.com
Tue Jun 2 17:24:38 CEST 2009


Hi all,
   I am trying to use libpayload in our optionrom, but does not work now...
The main difference between optionrom use its own ldscript and head asm
code. I main things I did now is
set up the stack and heap in the pci_rom.ld. and include the "libpayload.h"
and "libpayload-config.h" in the main.c.
it doesn't work when i am trying to print out message which use "
printf("hello optionrom")".
Is there any other things i should do?
All my source code was in
http://vps.dorilex.net/cgi-bin/gitweb.cgi?p=optionrom.git;a=summary
Need some help about this, thanks everyone...

-- 
Jason Wang
Peking University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090602/8abeea55/attachment.html>


More information about the coreboot mailing list