[LinuxBIOS] Televideo TC7020 successfully booted with LinuxBiosV2 --- NOT!

Kenji Noguchi tokyo246 at gmail.com
Mon Apr 16 19:15:57 CEST 2007

Hi again,

It was too early to say success! Sorry!!
None of devices are working although the boot process reached
the user land -- drivres could not obtain IRQs of the devices.

Attached is a boot log.  I loaded a 686 kernel by mistake but it's
nothing to do with the IRQ problem, I guess.

I'm looking into PCI configuration. It must be different from eaglelion/5bcm.

Yes, I will write a HOWTO with photos about the porting experience.

Kenji Noguchi
-------------- next part --------------
LinuxBIOS- 2007??  4??E11??E??????E15:31:09 PDT starting...
Setting up default parameters for memory
Sizing memory
Probing for DIMM0
    Found DIMM0
    Page Size:       00002000
    Component Banks: 4
    Module Banks:    1
    DIMM size:       08000000
Probing for DIMM1
    Found DIMM1
    Page Size:       00001000
    Component Banks: 4
    Module Banks:    1
    DIMM size:       04000000
MC_BANK_CFG = 14201530
Copying LinuxBIOS to RAM.
Jumping to LinuxBIOS.
LinuxBIOS- 2007??  4??E11??E??????E15:31:09 PDT booting...
clocks_per_usec: 442
Enumerating buses...
Finding PCI configuration type.
PCI: Using configuration type 1
PCI_DOMAIN: 0000 enabled
PCI: pci_scan_bus for bus 00
PCI: 00:00.0 [1078/0001] enabled
PCI: 00:12.0 [1078/0100] enabled
PCI: 00:12.1 [1078/0101] enabled
PCI: 00:12.2 [1078/0102] enabled
PCI: 00:12.3 [1078/0103] enabled
PCI: 00:12.4 [1078/0104] enabled
PCI: 00:13.0 [0e11/a0f8] enabled
PCI: 00:15.0 [100b/0020] enabled
PNP: 002e.0 enabled
PNP: 002e.1 enabled
PNP: 002e.2 enabled
PNP: 002e.3 disabled
PNP: 002e.4 enabled
PNP: 002e.5 enabled
PNP: 002e.6 enabled
PNP: 002e.7 enabled
PNP: 002e.8 enabled
PCI: 00:12.1 disabled
PCI: 00:12.2 enabled
PCI: 00:12.3 disabled
PCI: 00:12.4 disabled
PCI: pci_scan_bus returning with max=000
Allocating resources...
Reading resources...
Done reading resources.
Setting resources...
BC_DRAM_TOP = 0x0bbfffff
MC_GBASE_ADD = 0x00000178
I would set ram size to 188 Mbytes
PCI: 00:12.1 10 <- [0x00febf3000 - 0x00febf30ff] mem
PCI: 00:12.2 20 <- [0x0000001400 - 0x000000147f] io
PCI: 00:12.3 10 <- [0x00febf4000 - 0x00febf407f] mem
PCI: 00:12.4 10 <- [0x00febf0000 - 0x00febf0fff] mem
PCI: 00:13.0 10 <- [0x00febf1000 - 0x00febf1fff] mem
PCI: 00:15.0 10 <- [0x0000001000 - 0x00000010ff] io
PCI: 00:15.0 14 <- [0x00febf2000 - 0x00febf2fff] mem
PCI: 00:15.0 30 <- [0x00febe0000 - 0x00febeffff] romem
Done setting resources.
Done allocating resources.
Enabling resources...
PCI: 00:00.0 cmd <- 147
PCI: 00:12.0 cmd <- 14f
PCI: 00:12.2 missing enable_resources
PCI: 00:12.1 cmd <- 142
PCI: 00:12.2 cmd <- 141
PCI: 00:12.3 cmd <- 142
PCI: 00:12.4 cmd <- 142
PCI: 00:13.0 cmd <- 142
PCI: 00:15.0 cmd <- 143
Initializing devices...
Root Device init
PCI: 00:00.0 init
northbridge: northbridge_init()
PCI: 00:12.0 init
PNP: 002e.0 init
PNP: 002e.1 init
PNP: 002e.2 init
PNP: 002e.4 init
PNP: 002e.5 init
PNP: 002e.6 init
PNP: 002e.7 init
PNP: 002e.8 init
PCI: 00:12.1 init
PCI: 00:12.2 init
PCI: 00:12.3 init
PCI: 00:12.4 init
PCI: 00:13.0 init
PCI: 00:15.0 init
Devices initialized
Copying IRQ routing tables to 0xf0000...done.
Verifing copy of IRQ routing tables at 0xf0000...done
Checking IRQ routing table consistency...
check_pirq_routing_table() - irq_routing_table located at: 0x000f0000
Moving GDT to 0x500...ok
Adjust low_table_end from 0x00000530 to 0x00001000
Adjust rom_table_end from 0x000f0400 to 0x00100000
Wrote linuxbios table at: 00000530 - 000006a4  checksum 38ac

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

rom_stream: 0xfffc0000 - 0xfffcffff
Found ELF candidate at offset 0
Loading Etherboot version: 5.4.3
Dropping non PT_LOAD segment
New segment addr 0x10000 size 0xad30 offset 0x0 filesize 0x6460
(cleaned up) New segment addr 0x10000 size 0xad30 offset 0x0 filesize 0x6460
Loading Segment: addr: 0x000000000bbe4000 memsz: 0x0000000000008000 filesz: 0x0000000000006460
Clearing Segment: addr: 0x000000000bbea460 memsz: 0x0000000000001ba0
Loading Segment: addr: 0x0000000000018000 memsz: 0x0000000000002d30 filesz: 0x0000000000000000
Clearing Segment: addr: 0x0000000000018000 memsz: 0x0000000000002d30
Jumping to boot code at 0x100b0
CPU 299 Mhz
Etherboot 5.4.3 (GPL) http://etherboot.org
Drivers: NATSEMI   Images: ELF
Protocols: DHCP TFTP
Relocating _text from: [000100e0,0001ad30) to [0baf53b0,0bb00000)
Boot from (N)etwork or (Q)uit?

Probing pci nic...
natsemi_probe: MAC addr 00:50:F6:22:5B:09 at ioaddr 0X1000
natsemi_probe: Vendor:0X100B Device:0X0020
dp83815: Transceiver default autoneg. enabled, advertise 100 full duplex.
dp83815: Transceiver status 7869 advertising 05E1
dp83815: Setting full-duplex based on negotiated link capability.
Searching for server (DHCP).....
Me:, DHCP:, TFTP:, Gateway
Loading ...(ELF)...
Loading FILO version: 0.5 (kenji at arte) Wed Apr 11 19:15:13 PDT 2007
dp83815: Setting full-duplex based on negotiated link capability.
FILO version 0.5 (kenji at arte) Wed Apr 11 19:15:13 PDT 2007
menu: hda3:/boot/filo/menu.lst
Partition 3 does not exist
Press any key to continue.
Press any key to continue.
Press any key to continue.
Press any key to continue.

                                  FILO 0.5

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename.]

grub> kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 console=ttyS0,115200

grub> initrd (hd0,0)/boot/initrd

grub> boot

Booting 'hda1:/boot/vmlinuz root=/dev/hda1 console=ttyS0,115200 initrd=hda1:/bo
Mounted ext2fs
Found Linux version 2.6.18-4-686 (unknown at Debian) #1 SMP Mon Mar 26 17:17:36 UTC 2007 bzImage.
Loading kernel... ok
Loading initrd... ok
Jumping to entry point...
Linux version 2.6.18-4-686 (Debian 2.6.18.dfsg.1-12) (waldi at debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Mon Mar 26 17:17:36 UTC 2007
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000001000 - 00000000000a0000 (usable)
 BIOS-e820: 0000000000100000 - 000000000bc00000 (usable)
0MB HIGHMEM available.
188MB LOWMEM available.
DMI not present or invalid.
ACPI: Unable to locate RSDP
Allocating PCI resources starting at 10000000 (gap: 0bc00000:f4400000)
Detected 295.202 MHz processor.
Built 1 zonelists.  Total pages: 48128
Kernel command line: root=/dev/hda1 console=ttyS0,115200
No local APIC present or hardware disabled
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 182756k/192512k available (1544k kernel code, 9204k reserved, 577k data, 196k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 592.22 BogoMIPS (lpj=1184457)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
Working around Cyrix MediaGX virtual DMA bugs.
Enable Memory-Write-back mode on Cyrix/NSC processor.
Enable Memory access reorder on Cyrix/NSC processor.
Enable Incrementor on Cyrix/NSC processor.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 16k freed
CPU0: NSC Geode(TM) Integrated Processor by National Semi stepping 01
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 4626k freed
NET: Registered protocol family 16
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: PnP BIOS support was not detected.
PCI: Probing PCI hardware
PCI: Using IRQ router NatSemi [1078/0100] at 0000:00:12.0
PCI: Ignore bogus resource 6 [0:0] of 0000:00:12.4
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1176490400.296:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Fixup for MediaGX/Geode Slave Disconnect Boundary (0x41=0x10)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI No-Shortcut mode
Time: tsc clocksource has been installed.
Freeing unused kernel memory: 196k freed
Loading, please wait...
Begin: Loading essential drivers... ...
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CS5530: IDE controller at PCI slot 0000:00:12.2
CS5530: chipset revision 0
CS5530: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1400-0x1407, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x1408-0x140f, BIOS settings: hdc:pio, hdd:pio
hda: APACER_CF_32MB, CFA DISK drive
hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hda: set_drive_speed_status: error=0x04 { DriveStatusError }
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
natsemi dp8381x driver, version 2.0, June 27, 2006
  originally by Donald Becker <becker at scyld.com>
  2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
PCI: No IRQ known for interrupt pin A of device 0000:00:15.0. Please try using pci=biosirq.
natsemi eth0: NatSemi DP8381[56] at 0xfebf2000 (0000:00:15.0), 00:50:f6:22:5b:09, IRQ 0, port TP.
Begin: Running /scripts/init-premount ...
FATAL: Error inserting fan (/lib/modules/2.6.18-4-686/kernel/drivers/acpi/fan.ko): No such device
FATAL: Error inserting thermal (/lib/modules/2.6.18-4-686/kernel/drivers/acpi/thermal.ko): No such device
usbcore: registered new driver usbfs
usbcore: registered new driver hub
hda: max request size: 128KiB
hda: 62976 sectors (32 MB) w/1KiB Cache, CHS=123/16/32
 hda: hda1
PCI: No IRQ known for interrupt pin A of device 0000:00:13.0. Please try using pci=biosirq.
ohci_hcd 0000:00:13.0: Found HC with no IRQ.  Check BIOS/PCI 0000:00:13.0 setup!
ohci_hcd 0000:00:13.0: init 0000:00:13.0 fail, -19
Begin: Mounting root file system... ...
/init: /init: 152: mountroot: not found
Begin: Running /scripts/init-bottom ...
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
mount: Mounting /sys on /root/sys failed: No such file or directory
mount: Mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init

BusyBox v1.1.3 (Debian 1:1.1.3-4) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off

More information about the coreboot mailing list