help!!!who can explain the interface between linuxbios and linux.

王海明 whm_buaa at sina.com
Wed Feb 19 22:02:00 CET 2003


dear all:
 I have developed a linuxbios debug system succefully.I introduced gdb stub into my system. In my system ,developers can debug  linuxbios at source code level. I setup the stub at the beginning of the begin of the function of hardwaremain, the first c function.Now the system can
excute the function of "step",'step into" "step out" ,"breakpoint"and so on. but the system has not been tested fully.
    I wonder if my design is usefull to others.
by the way, I have several question.I will appreciate anyone's any idea!
my question are as follows:
1.  As we know, traditonal BIOS not only do some initialization work, but also put some data about the hardware in somewhere.BIOS even offer some routine such as intx( I know that In linux souce file "setup.s",int10, int13and int15 are used),but linuxbios doesn't offer.
   my question is: what  is the mininal need of linux kernel's starting? 
    what data does It need in detail? where does the data need to be placed in detail?
   what routine does linux kernel need for it's starting ?
   how does linuxbios offer these data and routines?
2. the second question is about PCI. I found that in linuxbios, some PCI initialization work is done.as we know ,in linux kernel, the same work was be done.Some linuxbios PCI initialization code is even the same with linux kernel. my question is:
    if the initialization in linuxbios is necessary?
3. my third question is about etherboot.
   I get a ide-patch of etherboot, and I succefully boot my system via IDE .I have read the code for a long time,but still have no idea about it. I found it seems does not do the same as setup.s,the kernel loader of traditional linux.who can explain it to me?
  I know there are some clever and experienced man in this site.I am very interested in this topic and admire all the man with good skills.I am looking forward to some help.
                                               best regards!
                                     yours HaimingWang 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20030219/2cd7100d/attachment.html>


More information about the coreboot mailing list