[LinuxBIOS] Televideo TC7020 successfully booted with LinuxBiosV2

Kenji Noguchi tokyo246 at gmail.com
Sat May 5 08:04:45 CEST 2007


hi,

It's been a few weeks since I posted about IRQ problem.
I finally managed to assign proper IRQs to PCI devices.

Sorry I didn't respond to a Peter's question & suggestion.

On Mon Apr 16 19:22:36 CEST 2007 Peter Stuge wrote:
> Are you able to boot the system into Linux with the factory BIOS?

No, TeleVideo TC7020 is a WinCE terminal that boots a remote desktop
application straight away (no other apps allowed).    As far as I searched
in the factory BIOS it does not have $PIR signature.  So I guessed getpir
wouldn't help.

Instead, I fed the factory BIOS to bochs, and waited for outp/inp operation
on PCI config registers.  Thanks to folks from #openbios last weekend
helping me, eventually I found a writing operation on 0x5c 0x5d of CS5530
PCI config register, which is IRQ sterring registers.

I put these lines in mainboard.c

device_t pdev;
//CS5530A
pdev = dev_find_slot(0, (0x12 << 3) + 0);
pci_write_config8(pdev, 0x5c, 0xab);
pci_write_config8(pdev, 0x5d, 0x09);
pci_assign_irqs(0, 0x13, usb_irq);
pci_assign_irqs(0, 0x15, nic_irq);


I couldn't find a code in LinuxBIOSv2 that does the same thing
Where should I put these lines if such code does not exist, and
mainboard.c is not a right place?  I've read other GeodeGx1 mobo's
code that features GeodeGX1 and CS5530 but I couldn't figure out.
I will submit a patch upon fixing above.

Sometime ago Uwe Hermann wrote:
> Can you provide some more information on what works and what doesn't?

works:  IDE, USB, NIC
doesn't work:  VGA, Sound , Reset(rebooting hangs the machine)

> Any pitfalls or things one should know? Which payload are you booting?

The payload is etherboot, and then eb boots filo, filo boots Linux from CF.
It should be straightforward to boot the box with LB, I don't see any pit
falls.

What I will do next is to get VGA and sound. but I'm not sure if BIOS ROM
(256kbytes) has a enough room for it.  In the mean time, I'm writing a HOW-TO.

thanks,
Kenji Noguchi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bootlog.txt
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070504/26a39ea4/attachment.txt>


More information about the coreboot mailing list