Hello,

I'am trying to boot a Linux kernel (v 2.3.32) compiled as not 
relocatable. The kernel works fine and can be loaded directly from GRUB2 
for example.

When booting using GRUB2+TBOOT I use the following 'simple' 
configuration :
   menuentry "LINUX via TBOOT" {
           set root=(hd0,1)
           multiboot /tboot.gz /tboot.gz logging=vga,memory,serial
           module /lnx /lnx
           module /2nd_gen_i5_i7_SINIT_51.BIN
   }


When loading TBOOT, the last traces just before jumping to Linux are :
   TBOOT: Error: ELF magic number is not matched.
   TBOOT: assuming kernel is Linux format
   TBOOT: kernel type is Linux
   TBOOT: Initrd from 0x7fc39000 to 0x7ffffeb0
   TBOOT: kernel is not relocatable
   TBOOT: load protected-mode part
   TBOOT: Kernel (protected mode) from 0x100000 to 0x4c3ab0
   TBOOT: load real-mode part
   TBOOT: Kernel (real mode) from 0x90000 to 0x93400
   TBOOT: Entry point initialized = 0xf1dbf443

For a not relocated kernel all seems good no ?
   Protected base is 0x100000 (it is a bzImage)
   Read mode base is 0x90000

The jump occurs to  hdr->code32_start = @0xf1dbf443.

Just after the system reset.

So I have a few questions :
- Have you already tested with a not relocatable Linux kernel ?
- It is normal to jump to 0xf1dbf443, why not the real mode part ?

Thanks !
Best regards





------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel

Reply via email to