vserver 1.9.5.x5
[linux-2.6.git] / arch / m32r / m32700ut / dot.gdbinit_300MHz_32MB
index 4df06e1..aa50365 100644 (file)
@@ -1,5 +1,5 @@
 # .gdbinit file
-# $Id: dot.gdbinit_300MHz_32MB,v 1.1 2004/08/17 02:58:11 takata Exp $
+# $Id: dot.gdbinit_300MHz_32MB,v 1.2 2004/10/20 03:02:27 fujiwara Exp $
 #-----
 # NOTE: this file is generated by a script, "gen_gdbinit.pl".
 # (Please type "gen_gdbinit.pl --help" and check the help message).
@@ -42,8 +42,8 @@ define sdram_init
   set *(unsigned long *)0x00ef602c = 0x00000020
   # Ch0-TR
   set *(unsigned long *)0x00ef6028 = 0x00051502
-  # Ch0-ADR (size:16MB)
-  set *(unsigned long *)0x00ef6020 = 0x08000002
+  # Ch0-ADR (size:32MB)
+  set *(unsigned long *)0x00ef6020 = 0x08000003
   # AutoRef On
   set *(unsigned long *)0x00ef6004 = 0x00010e24
   # Access enable
@@ -51,7 +51,7 @@ define sdram_init
 end
 document sdram_init
   SDRAM controller initialization
-  0x08000000 - 0x08ffffff (16MB)
+  0x08000000 - 0x09ffffff (32MB)
 end
 
 # Initialize BSEL3 for UT-CFC
@@ -161,8 +161,8 @@ define setup
   shell sleep 0.1
   clock_init
   shell sleep 0.1
-  # SDRAM: 16MB
-  set *(unsigned long *)0x00ef6020 = 0x08000002
+  # SDRAM: 32MB
+  set *(unsigned long *)0x00ef6020 = 0x08000003
   cfc_init
   # USB
   set *(unsigned short *)0xb0301000 = 0x100
@@ -178,11 +178,11 @@ end
 
 # Set kernel parameters
 define set_kernel_parameters
-  set $param = (void*)0x08002000
+  set $param = (void*)0x08001000
   # INITRD_START
-  set *(unsigned long *)($param + 0x0010) = 0x082a0000
+#  set *(unsigned long *)($param + 0x0010) = 0x08300000
   # INITRD_SIZE
-  set *(unsigned long *)($param + 0x0014) = 0x00000000
+#  set *(unsigned long *)($param + 0x0014) = 0x00000000
   # M32R_CPUCLK
   set *(unsigned long *)($param + 0x0018) = 0d300000000
   # M32R_BUSCLK
@@ -191,15 +191,15 @@ define set_kernel_parameters
   # M32R_TIMER_DIVIDE
   set *(unsigned long *)($param + 0x0020) = 0d128
 
-  set {char[0x200]}($param + 0x100) = "console=ttyD0,115200n8x console=tty1 video=s1d13xxxfb:mode:240x320-16 root=/dev/nfsroot nfsroot=192.168.0.1:/project/m32r-linux/export/rootfs,rsize=1024,wsize=1024 nfsaddrs=192.168.0.101:192.168.0.1:192.168.0.1:255.255.255.0:mappi001 mem=16M \0"
+  set {char[0x200]}($param + 0x100) = "console=ttyS0,115200n8x console=tty1 root=/dev/nfsroot nfsroot=192.168.0.1:/project/m32r-linux/export/rootfs,rsize=1024,wsize=1024 nfsaddrs=192.168.0.101:192.168.0.1:192.168.0.1:255.255.255.0:mappi001 mem=32M \0"
 end
 
 # Boot
 define boot
   set_kernel_parameters
   set $fp = 0
-  set $pc = 0x08001000
-  set *(unsigned char *)0xffffffff = 0x03
+  set $pc = 0x08002000
+# set *(unsigned char *)0xffffffff = 0x03
   si
   c
 end