This patch includes config files for the asus/a8n5x port. It is the same as
asus/a8n_e with a different pnp layout, so I used #include's whenever possible.
System boots and is usable with usb keyboard.
works:
- serial port
- vga (old pci card)
- memtest86+ succeeds, but only with Rudolf's patch for unbuffered dimms
in K8. Otherwise you get spurious memory corruption.
- ide disk
- usb
doesn't:
- ps/2 keyboard
- onboard ethernet
- vga pci-e card (??)
- any other pci card I tried
wasn't tested:
- sata
- game port
- onboard audio (not supported by alsa anyway)
- ps/2 mouse
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Signed-off-by: Robert Millan <[EMAIL PROTECTED]>
The following files are copied from the repository:
svn copy src/mainboard/asus/a8n_e/Config.lb src/mainboard/asus/a8n5x/
svn copy src/mainboard/asus/a8n_e/Options.lb src/mainboard/asus/a8n5x/
svn copy src/mainboard/asus/a8n_e/cmos.layout src/mainboard/asus/a8n5x/
svn copy targets/asus/a8n_e/Config.lb targets/asus/a8n5x/
Index: src/mainboard/asus/a8n5x/Config.lb
===================================================================
--- src/mainboard/asus/a8n5x/Config.lb (revision 0)
+++ src/mainboard/asus/a8n5x/Config.lb (working copy)
@@ -241,56 +241,28 @@
device pci 0.0 on end # HT
device pci 1.0 on # LPC
chip superio/ite/it8712f # Super I/O
- device pnp 2e.0 off # Floppy
+ device pnp 2e.7 off # Floppy
io 0x60 = 0x3f0
irq 0x70 = 6
drq 0x74 = 2
end
- device pnp 2e.1 on # Com1
+ device pnp 2e.8 on # Com1
io 0x60 = 0x3f8
irq 0x70 = 4
end
- device pnp 2e.2 off # Com2
- io 0x60 = 0x2f8
- irq 0x70 = 3
- end
- device pnp 2e.3 on # Parallel port
+ device pnp 2e.9 on # Parallel port
io 0x60 = 0x378
irq 0x70 = 7
+ drq 0x74 = 3
end
- device pnp 2e.4 on # Environment controller
- io 0x60 = 0x290
- io 0x62 = 0x0000
- irq 0x70 = 0x00
- end
- device pnp 2e.5 on # PS/2 keyboard
+ device pnp 2e.a on # PS/2 keyboard
io 0x60 = 0x60
io 0x62 = 0x64
irq 0x70 = 1
irq 0x71 = 2
end
- device pnp 2e.6 on # PS/2 mouse
- irq 0x70 = 12
- irq 0x71 = 2
- end
- device pnp 2e.7 on # GPIO config
- # Set GPIO 1 & 2
- io 0x25 = 0x0000
- # Set GPIO 3 & 4
- io 0x27 = 0x2540
- # GPIO Polarity for Set 3
- io 0xb2 = 0x2100
- # GPIO Pin Internal Pull up for Set 3
- io 0xba = 0x0100
- # Simple I/O register config
- io 0xc0 = 0x0000
- io 0xc2 = 0x2540
- io 0xc8 = 0x0000
- io 0xca = 0x0500
- end
- device pnp 2e.8 off end # Midi port
- device pnp 2e.9 off end # Game port
- device pnp 2e.a off end # IR
+ device pnp 2e.b off end # Midi port
+ device pnp 2e.c off end # Game port
end
end
device pci 1.1 on # SM 0
Index: src/mainboard/asus/a8n5x/mptable.c
===================================================================
--- src/mainboard/asus/a8n5x/mptable.c (revision 0)
+++ src/mainboard/asus/a8n5x/mptable.c (revision 0)
@@ -0,0 +1 @@
+#include "../mainboard/asus/a8n_e/mptable.c"
Index: src/mainboard/asus/a8n5x/irq_tables.c
===================================================================
--- src/mainboard/asus/a8n5x/irq_tables.c (revision 0)
+++ src/mainboard/asus/a8n5x/irq_tables.c (revision 0)
@@ -0,0 +1 @@
+#include "../mainboard/asus/a8n_e/irq_tables.c"
Index: src/mainboard/asus/a8n5x/mainboard.c
===================================================================
--- src/mainboard/asus/a8n5x/mainboard.c (revision 0)
+++ src/mainboard/asus/a8n5x/mainboard.c (revision 0)
@@ -0,0 +1 @@
+#include "../mainboard/asus/a8n_e/mainboard.c"
Index: src/mainboard/asus/a8n5x/get_bus_conf.c
===================================================================
--- src/mainboard/asus/a8n5x/get_bus_conf.c (revision 0)
+++ src/mainboard/asus/a8n5x/get_bus_conf.c (revision 0)
@@ -0,0 +1 @@
+#include "../mainboard/asus/a8n_e/get_bus_conf.c"
Index: src/mainboard/asus/a8n5x/cache_as_ram_auto.c
===================================================================
--- src/mainboard/asus/a8n5x/cache_as_ram_auto.c (revision 0)
+++ src/mainboard/asus/a8n5x/cache_as_ram_auto.c (revision 0)
@@ -0,0 +1 @@
+#include "../mainboard/asus/a8n_e/cache_as_ram_auto.c"
Index: targets/asus/a8n5x/Config.lb
===================================================================
--- targets/asus/a8n5x/Config.lb (revision 0)
+++ targets/asus/a8n5x/Config.lb (working copy)
@@ -19,8 +19,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-target asus_a8n_e
-mainboard asus/a8n_e
+target asus_a8n5x
+mainboard asus/a8n5x
romimage "normal"
option USE_FAILOVER_IMAGE=0
--
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios