[Trac #57] Decide on toolchain for compiling LinuxBIOS

Zarro Boogs per Child bugtracker at laptop.org
Tue Sep 19 22:17:44 EDT 2006


#57: Decide on toolchain for compiling LinuxBIOS
-------------------------------+--------------------------------------------
 Reporter:  wmb at firmworks.com  |        Owner:  marcelo 
     Type:  task               |       Status:  assigned
 Priority:  low                |    Milestone:  final   
Component:  infrastructure     |   Resolution:          
 Keywords:                     |  
-------------------------------+--------------------------------------------
Comment (by marcelo):

 Replying to [comment:8 rminnich]:
 > Replying to [comment:7 rsmith]:
 >
 > > Marcelo:  Will you please try to take the romcc that is compiled from
 FC6 and use it in the FC5 build and see if the problem shows up?
 >
 >
 > I'd like to see this:
 > linuxbios on fc5 + payload from fc6
 > linuxbios on fc6 + payload from fc5
 >
 > I can do these is someone can send me a broken linuxbios.rom from fc6
 >
 > ron

 Ron,

 The kernel is not the culprit, I've already tried your suggestion in the
 past.

 Also tried GCC 3.4 on FC6: failure.

 Can supply any binaries which you might want to analyze. The diff between
 the log output is IMO the best place to start, in which the first
 differences are:

 * Value on last position of uncompressed VSA differs.

         rom = ((unsigned long) 0) - (ROM_SIZE  + 64*1024);

         buf = (unsigned char *) 0x60000;

         unrv2b((uint8_t *)rom, buf);

         printk_debug("buf %p *buf %d buf[256k] %d\n",
                      buf, buf[0], buf[SMM_SIZE*1024]);

         printk_debug("buf[0x20] signature is %x:%x:%x:%x\n",
                      buf[0x20] ,buf[0x21] ,buf[0x22],buf[0x23]);

 Although the signature is the same for both.

 * register contents for INT 15 interrupt

  do_vsmbios

 -buf 00060000 *buf 186 buf[256k] 44

 +buf 00060000 *buf 186 buf[256k] 194

  buf[0x20] signature is b0:10:e6:80

  Call real_mode_switch_call_vsm

  biosint: INT# 0x15

 -biosint: eax 0xbea7 ebx 0x5034e53 ecx 0x10000026 edx 0x10000028

 -biosint: ebp 0x15f0c esp 0xff0 edi 0x8bcc esi 0x38

 +biosint: eax 0xbea7 ebx 0x4e53 ecx 0x10000026 edx 0x10000028

 +biosint: ebp 0x15f08 esp 0xff0 edi 0x900000 esi 0x38

  biosint:  ip 0x5b3   cs 0x6000  flags 0x46

  biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0

-- 
Ticket URL: <http://dev.laptop.org/ticket/57#comment:10>
One Laptop Per Child <http://laptop.org/>



More information about the Devel mailing list