[LinuxBIOS] trying to load a linux-tiny kernel on epia

Ronald G Minnich rminnich at lanl.gov
Wed Jan 18 21:22:43 CET 2006


I build a linux-tiny with serial console and do this:

  mkelfImage --command-line="console=ttyS0,19200 " 
arch/i386/boot/bzImage /tmp/linux.elf



Build the image, boot, get this:


     33:stream_init() - rom_stream: 0xfff80000 - 0xfffeffff
Found ELF candiate at offset 0
header_offset is 0
Try to load at offset 0x0
n_type: 00000001 n_name(8): ELFBoot  n_desc(6): Linux
n_type: 00000002 n_name(8): ELFBoot  n_desc(76): 2.6.9-tiny1tiny 
(rminnich at q.cc6
malloc Enter, size 20, free_mem_ptr 0001829c
malloc 0x0001829c
n_type: 00000003 n_name(8): ELFBoot  n_desc(2): h.
Dropping non PT_LOAD segment
malloc Enter, size 32, free_mem_ptr 000182b0
malloc 0x000182b0
New segment addr 0x10000 size 0x121c4 offset 0x148 filesize 0x116c
(cleaned up) New segment addr 0x10000 size 0x121c4 offset 0x148 filesize 
0x116c
lb: [0x0000000000004000, 0x000000000001c000)
segment: [0x0000000000010000, 0x000000000001116c, 0x00000000000221c4)
malloc Enter, size 32, free_mem_ptr 000182d0
malloc 0x000182d0
    late: [0x000000000001c000, 0x000000000001c000, 0x00000000000221c4)
  bounce: [0x000000000ffdc000, 0x000000000ffdd16c, 0x000000000ffe8000)
malloc Enter, size 32, free_mem_ptr 000182f0
malloc 0x000182f0
New segment addr 0x91000 size 0x70 offset 0x12b4 filesize 0x0
(cleaned up) New segment addr 0x91000 size 0x70 offset 0x12b4 filesize 0x0
lb: [0x0000000000004000, 0x000000000001c000)
malloc Enter, size 32, free_mem_ptr 00018310
malloc 0x00018310
New segment addr 0x100000 size 0x700000 offset 0x12b4 filesize 0x618bc
(cleaned up) New segment addr 0x100000 size 0x700000 offset 0x12b4 
filesize 0x6c
lb: [0x0000000000004000, 0x000000000001c000)
Loading Segment: addr: 0x000000000ffdc000 memsz: 0x000000000000c000 
filesz: 0x0c
[ 0x000000000ffdc000, 000000000ffdd16c, 0x000000000ffe8000) <- 
0000000000000148
Clearing Segment: addr: 0x000000000ffdd16c memsz: 0x000000000000ae94
Loading Segment: addr: 0x0000000000091000 memsz: 0x0000000000000070 
filesz: 0x00
[ 0x0000000000091000, 0000000000091000, 0x0000000000091070) <- 
00000000000012b4
Clearing Segment: addr: 0x0000000000091000 memsz: 0x0000000000000070
Loading Segment: addr: 0x0000000000100000 memsz: 0x0000000000700000 
filesz: 0x0c
[ 0x0000000000100000, 00000000001618bc, 0x0000000000800000) <- 
00000000000012b4
Clearing Segment: addr: 0x00000000001618bc memsz: 0x000000000069e744
Loading Segment: addr: 0x000000000001c000 memsz: 0x00000000000061c4 
filesz: 0x00
[ 0x000000000001c000, 000000000001c000, 0x00000000000221c4) <- 
0000000000062b70
Clearing Segment: addr: 0x000000000001c000 memsz: 0x00000000000061c4
Loaded segments
verified segments
closed down stream
Jumping to boot code at 0x10000
entry    = 0x00010000
lb_start = 0x00004000
lb_size  = 0x00018000
adjust   = 0x0ffe4000
buffer   = 0x0ffd0000
      elf_boot_notes = 0x00011aa0
adjusted_boot_notes = 0x0fff5aa0
Firmware type: LinuxBIOS

and that's it. Seems all the segments load, but then ... no dice.

EARLY_PRINTK is enabled.

OK, anyone beat me to doing this? What have you seen?

thanks

ron




More information about the coreboot mailing list