Hello all,
just wanted to report that I have gotten my EPIA-M10000 to boot
LinuxBIOS 2184, then FILO 0.4.2, then Ubuntu with kernel 2.6.12 into X
without problems.
This time round (for learning purposes) I extracted the VGA BIOS from
the BIOS upgrade file, and not from a running EPIA. (Still note that
there is an error in the EPIA HOWTO about how to extract the VGA BIOS
from memory. -- See my messages of the past few days for context.)
For completeness, here is a small diff, plus an adapted Makefile that
made this work.
Thanks for all the work you guys have put into it.
Next up is inclusion of the ACPI table.
Regards,
Leon.
---
Index: src/mainboard/via/epia-m/mainboard.c
===================================================================
--- src/mainboard/via/epia-m/mainboard.c (revision 2184)
+++ src/mainboard/via/epia-m/mainboard.c (working copy)
@@ -30,7 +30,7 @@
device_t dev;
printk_info("write_protect_vgabios\n");
- dev = dev_find_device(PCI_VENDOR_ID_VIA, 0x3123, 0);
+ dev = dev_find_device(PCI_VENDOR_ID_VIA, 0x3122, 0);
if(dev)
pci_write_config8(dev, 0x61, 0xaa);
}
Index: targets/via/epia-m/Config.lb
===================================================================
--- targets/via/epia-m/Config.lb (revision 2184)
+++ targets/via/epia-m/Config.lb (working copy)
@@ -55,7 +55,7 @@
# payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
# payload ../../../../tg3--ide_disk.zelf
# payload ../../../../../lnxieepro100.ebi
- payload /filo.elf
+ payload /home/leon/sandbox/linuxbios-2184/filo.elf
end
buildrom ./linuxbios.rom ROM_SIZE "fallback"
Index: targets/via/epia-m/Config.vga.filo
===================================================================
--- targets/via/epia-m/Config.vga.filo (revision 2184)
+++ targets/via/epia-m/Config.vga.filo (working copy)
@@ -38,20 +38,14 @@
option ROM_SECTION_OFFSET=0x10000
option ROM_SECTION_SIZE=0x18000
option LINUXBIOS_EXTRA_VERSION=".0Normal"
-# payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
-# payload ../../../../tg3--ide_disk.zelf
-# payload ../../../../../lnxieepro100.ebi
- payload /filo.elf
+ payload /home/leon/sandbox/linuxbios-2184/filo.elf
end
romimage "fallback"
option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0xc000
option LINUXBIOS_EXTRA_VERSION=".0Fallback"
-# payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
-# payload ../../../../tg3--ide_disk.zelf
-# payload ../../../../../lnxieepro100.ebi
- payload /filo.elf
+ payload /home/leon/sandbox/linuxbios-2184/filo.elf
end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
---
---
# File: via/epia-m/epia-m/Makefile is autogenerated
all: ./linuxbios.rom
include Makefile.settings
fallback/linuxbios.rom:
if (cd fallback; \
make linuxbios.rom)\
then true; else exit 1; fi;
clean: fallback-clean
fallback-clean:
(cd fallback; make clean)
./linuxbios.rom: fallback/linuxbios.rom
cat /home/leon/sandbox/linuxbios-2184/vgabios.bin
fallback/linuxbios.rom > ./linuxbios.rom
.PHONY: all clean fallback-clean fallback/linuxbios.rom
Makefile:
/home/leon/sandbox/linuxbios-2184/targets/via/epia-m/epia-m/config.py
/home/leon/sandbox/linuxbios-2184/targets/via/epia-m/Config.lb
(cd /home/leon/sandbox/linuxbios-2184/targets ;
via/epia-m/epia-m/config.py via/epia-m/Config.lb
/home/leon/sandbox/linuxbios-2184)
---