Hello,
I found this script to be helpful to me in getting a VGA BIOS binary for my EPIA.
--- leon@nehemiah:/tmp$ cat dissect.sh #!/bin/bash
for OFFSET in 76607 107793 112921 113603 123297 136064 148043 186053; do dd if=i0100113.bin of=/tmp/rest.lha bs=1 skip=$OFFSET lha tv rest.lha done rm rest.lha ---
Also, to get a rough first idea of the offsets:
--- leon@nehemiah:/tmp$ grep -b -a -o lh5 i0100113.bin 0:lh5 76354:lh5 107256:lh5 112805:lh5 113207:lh5 122904:lh5 135994:lh5 148041:lh5 185911:lh5 ---
Regards,
Leon.
Leon Woestenberg wrote:
Hello,
I found this script to be helpful to me in getting a VGA BIOS binary for my EPIA.
hi leon, you have a working via with linuxbios, vga, etc? Have you made ANY local mods to the source tree?
can you do this:
tell me svn version # cat /proc/cpuinfo uname -a and send it to me?
thanks
ron
Hello Ronald,
Ronald G Minnich wrote:
Leon Woestenberg wrote:
I found this script to be helpful to me in getting a VGA BIOS binary for my EPIA.
hi leon, you have a working via with linuxbios, vga, etc? Have you made ANY local mods to the source tree?
Yes, working as in: I have a working LinuxBIOS and I see VGA output of FILO, can type and modify the FILO boot line if I wish to , and I can boot Linux properly. (Some stuff I have not yet working are: a LinuxBIOS logo (??) and X. Supposedly X should work again when I modify the ID in the mainboard code.)
No, I have *not* touched *anything* in linuxbios/src. (I just verified this by svn diff to be sure)
can you do this:
tell me svn version #
2177
cat /proc/cpuinfo uname -a
leon@nehemiah:/tmp$ cat /proc/cpuinfo processor : 0 vendor_id : CentaurHauls cpu family : 6 model : 9 model name : VIA Nehemiah stepping : 1 cpu MHz : 666.740 cache size : 64 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu de tsc msr cx8 mtrr pge cmov mmx fxsr sse fxsr_opt bogomips : 1319.57
leon@nehemiah:/tmp$ uname -a Linux nehemiah 2.6.12-10-386 #1 Mon Feb 13 12:13:15 UTC 2006 i686 GNU/Linux
Best regards,
Leon.
Hello again Ronald,
Ronald G Minnich wrote:
Leon Woestenberg wrote:
Hello,
I found this script to be helpful to me in getting a VGA BIOS binary for my EPIA.
hi leon, you have a working via with linuxbios, vga, etc? Have you made ANY local mods to the source tree?
Concerning VGA BIOS, did you note my sidenote in my earlier mail (copied below again)?
Dumbly following the HOWTO (which has a subtle bug) is not adviced:
---
As a sidenote, I think the HOWTO/EPIA-M is wrong about how to extract:
WRONG: dd if=/dev/mem of=/video.bios.bin \ WRONG: bs=1 count=65536 skip=790528
Note that 790528=0xC1000 and 65536=0x10000
/dev/mem must be read from 0xC000-0xD000 (VGA BIOS), whereas /proc/kcore must be read from 0xC1000-0xD1000 because kcore is an ELF 'view' to the memory, with a 0x1000 ELF header at 0xC000.
What I did is extract from 0xC000-0xD000 as follows: dd if=/dev/mem of=/113mem.bin skip=1536 count=128 (bs=512 by default) ---</sidenote>---
leon at nehemiah http://www.openbios.org/mailman/listinfo/linuxbios:/$ ls -ald /113mem.bin -rw-r--r-- 1 root root 65536 2006-02-23 03:57 /113mem.bin
leon at nehemiah http://www.openbios.org/mailman/listinfo/linuxbios:/$ hexdump -C /113mem.bin | head -n 10 00000000 55 aa 7d e9 26 7f 5e 1b fa f9 f4 82 00 00 00 00 |/U.}.&.^.........| /00000010 00 00 00 00 00 00 00 00 44 00 d4 b0 c6 00 49 42 |/........D.....IB| /00000020 4d 20 43 4f 4d 50 41 54 49 42 4c 45 42 43 50 4f |M COMPATIBLEBCPO| 00000030 53 54 00 00 18 00 30 34 2f 31 38 2f 30 33 01 15 |/ST....04/18/03..| /00000040 00 c0 c6 00 50 43 49 52 06 11 22 31 00 00 18 00 |/....PCIR.."1....| /00000050 00 00 00 03 40 00 51 01 00 80 00 00 00 01 20 20 |/.... at .Q....... http://www.openbios.org/mailman/listinfo/linuxbios | /00000060 20 56 49 41 20 54 65 63 2e 49 6e 63 2e 20 20 20 | VIA Tec.Inc. | 00000070 20 20 20 20 20 20 20 20 20 56 45 52 2e 56 54 33 | VER.VT3| 00000080 31 32 33 20 20 20 20 01 15 01 12 56 49 41 20 20 |123 ....VIA | 00000090 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 00 | ....|
leon at nehemiah http://www.openbios.org/mailman/listinfo/linuxbios:/$ md5sum /113mem.bin 87017abc14c53e51a269fe59b5ba1508 /113mem.bin
---
Regards,
Leon.