NXTV's current linuxbios patch [PMX:#]

first last firstone5 at hotmail.com
Mon Mar 8 22:09:01 CET 2004


This is the latest cvs co of freebios on epia-m with one 256MB DDR RAM 
(128MB
hangs).  This uses vgabios.bin, filo payload, and boots into kernel OK.  
Note that
VGA BIOS is not turned on/ detected.  In a few cases, upon hot swaping flash 
after
boot of older freebios, soft boot will yield VGA, but will disappear upon 
hard reset.


snip<>

rite config byte bus 0, devfn 0x88, reg 0x50, val 0x81
Write config byte bus 0, devfn 0x80, reg 0x4, val 0x7
Write config byte bus 0, devfn 0x81, reg 0x4, val 0x7
Write config byte bus 0, devfn 0x82, reg 0x4, val 0x7
Write config byte bus 0, devfn 0x0, reg 0x61, val 0xff
Write config byte bus 0, devfn 0x0, reg 0xac, val 0x2f
Write config byte bus 0, devfn 0x0, reg 0xae, val 0x4
INSTALL REAL-MODE IDT
DO THE VGA BIOS
NO VGA FOUND
Checking IRQ routing tables...
/usr/src/OMS/cvs030804a/freebios/src/arch/i386/lib/pirq_routing.c:    
30:check_0
done.
Copying IRQ routing tables to 0xf0000...done.
Verifing priq routing tables copy at 0xf0000...failed
Wrote linuxbios table at: 00000500 - 00000660  checksum e140

Welcome to elfboot, the open sourced starter.
January 2002, Eric Biederman.
Version 1.2

    37:init_bytes() - zkernel_start:0xfffc0000  zkernel_mask:0x0000ffff
Found ELF candiate at offset 0
header_offset is 0
Try to load at offset 0x0
malloc Enter, size 32, free_mem_ptr 00012db0
malloc 0x00012db0
New segment addr 0x100000 size 0x26400 offset 0xc0 filesize 0xc368
(cleaned up) New segment addr 0x100000 size 0x26400 offset 0xc0 filesize 
0xc368
lb: [0x0000000000004000, 0x00000000000524ec)
malloc Enter, size 32, free_mem_ptr 00012dd0
malloc 0x00012dd0
New segment addr 0x126400 size 0x48 offset 0xc440 filesize 0x48
(cleaned up) New segment addr 0x126400 size 0x48 offset 0xc440 filesize 0x48
lb: [0x0000000000004000, 0x00000000000524ec)
Dropping non PT_LOAD segment
Dropping non PT_LOAD segment
Loading Segment: addr: 0x0000000000100000 memsz: 0x0000000000026400 filesz: 
0x08
[ 0x0000000000100000, 000000000010c368, 0x0000000000126400) <- 
00000000000000c0
Clearing Segment: addr: 0x000000000010c368 memsz: 0x000000000001a098
Loading Segment: addr: 0x0000000000126400 memsz: 0x0000000000000048 filesz: 
0x08
[ 0x0000000000126400, 0000000000126448, 0x0000000000126448) <- 
000000000000c440
Loaded segments
verified segments
closed down stream
Jumping to boot code at 0x108c54
entry    = 0x00108c54
lb_start = 0x00004000
lb_size  = 0x0004e4ec
adjust   = 0x07eadb14
buffer   = 0x07e63628
     elf_boot_notes = 0x0000c2e0
adjusted_boot_notes = 0x07eb9df4
FILO version 0.4.1 (root at localhost) Mon Mar 15 23:02:20 EST 2004
collect_sys_info: boot eax = 0xe1fb007
collect_sys_info: boot ebx = 0x7eb9df4
collect_sys_info: boot arg = 0x7eb9df4
malloc_diag: alloc: 0 bytes (0 blocks), free: 16376 bytes (1 blocks)
malloc_diag: alloc: 24 bytes (1 blocks), free: 16352 bytes (1 blocks)
collect_elfboot_info: Bootloader: elfboot
collect_elfboot_info: Version: 1.2
malloc_diag: alloc: 40 bytes (2 blocks), free: 16336 bytes (1 blocks)
collect_linuxbios_info: Searching for LinuxBIOS tables...
find_lb_table: Found canidate at: 00000500
find_lb_table: header checksum o.k.
find_lb_table: table checksum o.k.
find_lb_table: record count o.k.
collect_linuxbios_info: Found LinuxBIOS table at: 00000500
malloc_diag: alloc: 96 bytes (3 blocks), free: 16280 bytes (1 blocks)
convert_memmap: 0x00000000000000 0x000000000006c4 16
convert_memmap: 0x000000000006c4 0x0000000009f93c 1
convert_memmap: 0x00000000100000 0x00000007e00000 1
collect_sys_info: 00000000000006c4-00000000000a0000
collect_sys_info: 0000000000100000-0000000007f00000
collect_sys_info: RAM 127 MB
relocate: Current location: 0x100000-0x126447
relocate: Relocating to 0x7ed9bb0-0x7effff7... ok
setup_timers: CPU 600 MHz
pci_init: Scanning PCI: found 11 devices
malloc_diag: alloc: 240 bytes (4 blocks), free: 16136 bytes (1 blocks)
pci_init: 00:00.0 1106:3123 0600 00
pci_init: 00:01.0 1106:b091 0604 00
pci_init: 00:0d.0 1106:3044 0c00 10
pci_init: 00:10.0 1106:3038 0c03 00
pci_init: 00:10.1 1106:3038 0c03 00
pci_init: 00:10.2 1106:3038 0c03 00
pci_init: 00:10.3 1106:3104 0c03 20
pci_init: 00:11.0 1106:3177 0601 00
pci_init: 00:11.1 1106:0571 0101 8a
pci_init: 00:11.5 1106:3059 0401 00
pci_init: 00:12.0 1106:3065 0200 00
boot: hdc1:/boot/fvmlinuz  root=/dev/hdc1 devfs=mount hda=ide-scsi acpi=ht
malloc_diag: alloc: 320 bytes (5 blocks), free: 16056 bytes (1 blocks)
malloc_diag: alloc: 336 bytes (6 blocks), free: 16040 bytes (1 blocks)
file_open: dev=hdc1, path=/boot/fvmlinuz
find_ide_controller: found PCI IDE controller 1106:0571 prog_if=0x8a
find_ide_controller: secodary channel: compatibility mode
find_ide_controller: cmd_base=0x170 ctrl_base=0x374
ide_software_reset: Waiting for ide1 to become ready for reset... ok
init_drive: Testing for hdc
init_drive: Probing for hdc
init_drive: LBA mode, sectors=160086528
init_drive: Init device params... ok
hdc: LBA 81GB: Maxtor 98196H8
devopen: Partition 1 start 63 length 12287457
Mounted reiserfs
malloc_diag: alloc: 320 bytes (5 blocks), free: 16056 bytes (1 blocks)
elf_load: Not a bootable ELF image
malloc_diag: alloc: 336 bytes (6 blocks), free: 16040 bytes (1 blocks)
file_open: dev=hdc1, path=/boot/fvmlinuz
devopen: already open
malloc_diag: alloc: 320 bytes (5 blocks), free: 16056 bytes (1 blocks)
Found Linux version 2.4.25 (root at localhost) #11 Sat Mar 6 02:57:2.
init_linux_params: Setting up paramters at 0x90000
set_memory_size: 00000000000006c4 - 00000000000a0000
set_memory_size: 0000000000100000 - 0000000007f00000
set_memory_size: ramtop=0x7f00000
set_memory_size: ext_mem_k=64512, alt_mem_k=129024
parse_command_line: original command line: " root=/dev/hdc1 devfs=mount 
hda=ide"
parse_command_line: kernel command line at 0x91000
parse_command_line: kernel command line (47 bytes): "root=/dev/hdc1 
devfs=mount"
load_linux_kernel: offset=0x1600 addr=0x100000 size=0x1057b2
Loading kernel... ok
start_linux: eip=0x100000
Jumping to entry point...



>From: ron minnich <rminnich at lanl.gov>
>To: Dave Ashley <linuxbios at xdr.com>
>CC: linuxbios at clustermatic.org
>Subject: Re: NXTV's current linuxbios patch [PMX:#]
>Date: Mon, 8 Mar 2004 20:05:29 -0700 (MST)
>
>dave, can you diff cvs-current against your known-good july linuxbios?
>
>This sounds like a memory setup problem.
>
>ron
>
>_______________________________________________
>Linuxbios mailing list
>Linuxbios at clustermatic.org
>http://www.clustermatic.org/mailman/listinfo/linuxbios

_________________________________________________________________
One-click access to Hotmail from any Web page – download MSN Toolbar now! 
http://clk.atdmt.com/AVE/go/onm00200413ave/direct/01/




More information about the coreboot mailing list