Ron asked: >Dave, can you check this out? Particularly raminit.inc, northbridge.c, and >mainboard.c
mainboard.c has come errors, "dev" isn't declared in one of the functions, nor is "i": Index: src/mainboard/via/epia-m/mainboard.c =================================================================== RCS file: /cvsroot/freebios/freebios/src/mainboard/via/epia-m/mainboard.c,v retrieving revision 1.9 diff -r1.9 mainboard.c 89d88 < struct pci_dev *dev; 99a99,100 > struct pci_dev *dev; > int i; vgabios.c needs to have the vgarestart label defined: Index: src/arch/i386/lib/vgabios.c =================================================================== RCS file: /cvsroot/freebios/freebios/src/arch/i386/lib/vgabios.c,v retrieving revision 1.11 diff -r1.11 vgabios.c 142,143c142,143 < " ljmpl $0x10, $1f\n" < "1:\n" --- > " ljmpl $0x10, $vgarestart\n" > "vgarestart:\n" My example.config: Index: src/mainboard/via/epia-m/example.config =================================================================== RCS file: /cvsroot/freebios/freebios/src/mainboard/via/epia-m/example.config,v retrieving revision 1.6 diff -r1.6 example.config 2c2 < # LinuxBIOS config file for: VIA epia-m mini-itx --- > # LinuxBIOS config file for: VIA epia mini-itx 5,6d4 < target /opt/cwlinux/buildrom/epia-m < 12d9 < # option SERIAL_POST=1 14d10 < # option TTYS0_BAUD=57600 16a13 > option HAVE_FRAMEBUFFER=1 32,33c29,40 < payload /opt/cwlinux/etherboot/src/bin32/via-rhine.ebi < # payload /opt/cwlinux/memtest86/memtest --- > #payload /ram/rtl8139.ebi > #target /ram/epia-m > > option CONFIG_VGABIOS=1 > option CONFIG_REALMODE_IDT=1 > dir src/bioscall > option CONFIG_PCIBIOS=1 > option VGABIOS_START=0xfffe0000 > addaction romimage dd if=../vgabios.bin of=romimage bs=65536 seek=2 conv=sync > conv=notrunc > option CONFIG_EPIAMVERSIONSTRING="5.0.0E-" __DATE__ " " __TIME__ > target /ram/freebios/obj > payload /code/bootfiles/etherboot/via6105m.ebi When I build and attach my payload and my vgabios.bin, I get into linux ... ip_conntrack version 2.1 (1016 buckets, 8128 max) - 292 bytes per conntrack ip_tables: (C) 2000-2002 Netfilter core team NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: Ethernet Bridge 008 for NET4.0 802.1Q VLAN Support v1.8 Ben Greear <[EMAIL PROTECTED]> All bugs added by David S. Miller <[EMAIL PROTECTED]> RAMDISK: Compressed image found at block 0 Freeing initrd memory: 302k freed VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 272k freed EXT2-fs warning: checktime reached, running e2fsck is recommended Kernel panic: Attempted to kill init! So I'm not sure what the problem is... BTW I got all kinds of warnings: /ram/freebios/src/cpu/p6/mtrr.c: In function `set_var_mtrr': /ram/freebios/src/cpu/p6/mtrr.c:132: warning: unused variable `tmp' /ram/freebios/src/cpu/p6/mtrr.c: At top level: /ram/freebios/src/cpu/p6/mtrr.c:29: warning: `rcsid' defined but not used gcc ... -o l2_cache.o /ram/freebios/src/cpu/p6/l2_cache.c /ram/freebios/src/cpu/p6/l2_cache.c:33: warning: `rcsid' defined but not used gcc ... -o pcibios.o /ram/freebios/src/bioscall/pcibios.c /ram/freebios/src/bioscall/pcibios.c: In function `pcibios': /ram/freebios/src/bioscall/pcibios.c:122: warning: passing arg 3 of `pci_read_config_dword' from incompatible pointer type /ram/freebios/src/bioscall/pcibios.c:41: warning: unused variable `edi' /ram/freebios/src/bioscall/pcibios.c:42: warning: unused variable `esi' /ram/freebios/src/bioscall/pcibios.c:43: warning: unused variable `ebp' /ram/freebios/src/bioscall/pcibios.c:44: warning: unused variable `esp' /ram/freebios/src/bioscall/pcibios.c:45: warning: unused variable `ebx' /ram/freebios/src/bioscall/pcibios.c:46: warning: unused variable `edx' /ram/freebios/src/bioscall/pcibios.c:47: warning: unused variable `ecx' /ram/freebios/src/bioscall/pcibios.c:49: warning: unused variable `flags' /ram/freebios/src/include/cpu/p5/io.h: At top level: /ram/freebios/src/bioscall/pcibios.c:3: warning: `rcsid' defined but not used rm -f linuxbios.a Don't know if these are related... Hope this helps... -Dave _______________________________________________ Linuxbios mailing list [EMAIL PROTECTED] http://www.clustermatic.org/mailman/listinfo/linuxbios

