aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r/opsput
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/m32r/opsput
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'arch/m32r/opsput')
-rw-r--r--arch/m32r/opsput/defconfig.opsput692
-rw-r--r--arch/m32r/opsput/dot.gdbinit218
2 files changed, 910 insertions, 0 deletions
diff --git a/arch/m32r/opsput/defconfig.opsput b/arch/m32r/opsput/defconfig.opsput
new file mode 100644
index 000000000000..a87e1ea4c301
--- /dev/null
+++ b/arch/m32r/opsput/defconfig.opsput
@@ -0,0 +1,692 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-rc4
4# Wed Feb 16 21:11:41 2005
5#
6CONFIG_M32R=y
7# CONFIG_UID16 is not set
8CONFIG_GENERIC_ISA_DMA=y
9CONFIG_GENERIC_HARDIRQS=y
10CONFIG_GENERIC_IRQ_PROBE=y
11
12#
13# Code maturity level options
14#
15CONFIG_EXPERIMENTAL=y
16CONFIG_CLEAN_COMPILE=y
17CONFIG_BROKEN_ON_SMP=y
18
19#
20# General setup
21#
22CONFIG_LOCALVERSION=""
23CONFIG_SWAP=y
24CONFIG_SYSVIPC=y
25# CONFIG_POSIX_MQUEUE is not set
26CONFIG_BSD_PROCESS_ACCT=y
27# CONFIG_BSD_PROCESS_ACCT_V3 is not set
28CONFIG_SYSCTL=y
29# CONFIG_AUDIT is not set
30CONFIG_LOG_BUF_SHIFT=14
31CONFIG_HOTPLUG=y
32CONFIG_KOBJECT_UEVENT=y
33CONFIG_IKCONFIG=y
34# CONFIG_IKCONFIG_PROC is not set
35CONFIG_EMBEDDED=y
36# CONFIG_KALLSYMS is not set
37# CONFIG_FUTEX is not set
38# CONFIG_EPOLL is not set
39# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
40CONFIG_SHMEM=y
41CONFIG_CC_ALIGN_FUNCTIONS=0
42CONFIG_CC_ALIGN_LABELS=0
43CONFIG_CC_ALIGN_LOOPS=0
44CONFIG_CC_ALIGN_JUMPS=0
45# CONFIG_TINY_SHMEM is not set
46
47#
48# Loadable module support
49#
50CONFIG_MODULES=y
51CONFIG_MODULE_UNLOAD=y
52# CONFIG_MODULE_FORCE_UNLOAD is not set
53CONFIG_OBSOLETE_MODPARM=y
54# CONFIG_MODVERSIONS is not set
55# CONFIG_MODULE_SRCVERSION_ALL is not set
56CONFIG_KMOD=y
57
58#
59# Processor type and features
60#
61# CONFIG_PLAT_MAPPI is not set
62# CONFIG_PLAT_USRV is not set
63# CONFIG_PLAT_M32700UT is not set
64CONFIG_PLAT_OPSPUT=y
65# CONFIG_PLAT_OAKS32R is not set
66# CONFIG_PLAT_MAPPI2 is not set
67# CONFIG_CHIP_M32700 is not set
68# CONFIG_CHIP_M32102 is not set
69# CONFIG_CHIP_VDEC2 is not set
70CONFIG_CHIP_OPSP=y
71CONFIG_MMU=y
72CONFIG_TLB_ENTRIES=32
73CONFIG_ISA_M32R2=y
74CONFIG_ISA_DSP_LEVEL2=y
75CONFIG_ISA_DUAL_ISSUE=y
76CONFIG_BUS_CLOCK=50000000
77CONFIG_TIMER_DIVIDE=128
78# CONFIG_CPU_LITTLE_ENDIAN is not set
79CONFIG_MEMORY_START=0x08000000
80CONFIG_MEMORY_SIZE=0x01000000
81CONFIG_NOHIGHMEM=y
82# CONFIG_DISCONTIGMEM is not set
83CONFIG_RWSEM_GENERIC_SPINLOCK=y
84# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
85CONFIG_GENERIC_CALIBRATE_DELAY=y
86# CONFIG_PREEMPT is not set
87# CONFIG_SMP is not set
88
89#
90# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
91#
92# CONFIG_PCI is not set
93# CONFIG_ISA is not set
94
95#
96# PCCARD (PCMCIA/CardBus) support
97#
98CONFIG_PCCARD=y
99# CONFIG_PCMCIA_DEBUG is not set
100CONFIG_PCMCIA=y
101
102#
103# PC-card bridges
104#
105# CONFIG_TCIC is not set
106CONFIG_M32R_CFC=y
107CONFIG_M32R_CFC_NUM=1
108
109#
110# PCI Hotplug Support
111#
112
113#
114# Executable file formats
115#
116CONFIG_BINFMT_ELF=y
117# CONFIG_BINFMT_MISC is not set
118
119#
120# Device Drivers
121#
122
123#
124# Generic Driver Options
125#
126CONFIG_STANDALONE=y
127CONFIG_PREVENT_FIRMWARE_BUILD=y
128# CONFIG_FW_LOADER is not set
129# CONFIG_DEBUG_DRIVER is not set
130
131#
132# Memory Technology Devices (MTD)
133#
134# CONFIG_MTD is not set
135
136#
137# Parallel port support
138#
139# CONFIG_PARPORT is not set
140
141#
142# Plug and Play support
143#
144
145#
146# Block devices
147#
148# CONFIG_BLK_DEV_FD is not set
149# CONFIG_BLK_DEV_COW_COMMON is not set
150CONFIG_BLK_DEV_LOOP=y
151# CONFIG_BLK_DEV_CRYPTOLOOP is not set
152# CONFIG_BLK_DEV_NBD is not set
153CONFIG_BLK_DEV_RAM=y
154CONFIG_BLK_DEV_RAM_COUNT=16
155CONFIG_BLK_DEV_RAM_SIZE=4096
156# CONFIG_BLK_DEV_INITRD is not set
157CONFIG_INITRAMFS_SOURCE=""
158# CONFIG_CDROM_PKTCDVD is not set
159
160#
161# IO Schedulers
162#
163CONFIG_IOSCHED_NOOP=y
164# CONFIG_IOSCHED_AS is not set
165CONFIG_IOSCHED_DEADLINE=y
166CONFIG_IOSCHED_CFQ=y
167# CONFIG_ATA_OVER_ETH is not set
168
169#
170# ATA/ATAPI/MFM/RLL support
171#
172# CONFIG_IDE is not set
173
174#
175# SCSI device support
176#
177CONFIG_SCSI=m
178CONFIG_SCSI_PROC_FS=y
179
180#
181# SCSI support type (disk, tape, CD-ROM)
182#
183CONFIG_BLK_DEV_SD=m
184# CONFIG_CHR_DEV_ST is not set
185# CONFIG_CHR_DEV_OSST is not set
186CONFIG_BLK_DEV_SR=m
187# CONFIG_BLK_DEV_SR_VENDOR is not set
188CONFIG_CHR_DEV_SG=m
189
190#
191# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
192#
193CONFIG_SCSI_MULTI_LUN=y
194# CONFIG_SCSI_CONSTANTS is not set
195# CONFIG_SCSI_LOGGING is not set
196
197#
198# SCSI Transport Attributes
199#
200# CONFIG_SCSI_SPI_ATTRS is not set
201# CONFIG_SCSI_FC_ATTRS is not set
202# CONFIG_SCSI_ISCSI_ATTRS is not set
203
204#
205# SCSI low-level drivers
206#
207# CONFIG_SCSI_SATA is not set
208# CONFIG_SCSI_DEBUG is not set
209
210#
211# PCMCIA SCSI adapter support
212#
213# CONFIG_PCMCIA_AHA152X is not set
214# CONFIG_PCMCIA_FDOMAIN is not set
215# CONFIG_PCMCIA_NINJA_SCSI is not set
216# CONFIG_PCMCIA_QLOGIC is not set
217# CONFIG_PCMCIA_SYM53C500 is not set
218
219#
220# Multi-device support (RAID and LVM)
221#
222# CONFIG_MD is not set
223
224#
225# Fusion MPT device support
226#
227
228#
229# IEEE 1394 (FireWire) support
230#
231
232#
233# I2O device support
234#
235
236#
237# Networking support
238#
239CONFIG_NET=y
240
241#
242# Networking options
243#
244CONFIG_PACKET=y
245# CONFIG_PACKET_MMAP is not set
246# CONFIG_NETLINK_DEV is not set
247CONFIG_UNIX=y
248# CONFIG_NET_KEY is not set
249CONFIG_INET=y
250# CONFIG_IP_MULTICAST is not set
251# CONFIG_IP_ADVANCED_ROUTER is not set
252CONFIG_IP_PNP=y
253CONFIG_IP_PNP_DHCP=y
254# CONFIG_IP_PNP_BOOTP is not set
255# CONFIG_IP_PNP_RARP is not set
256# CONFIG_NET_IPIP is not set
257# CONFIG_NET_IPGRE is not set
258# CONFIG_ARPD is not set
259# CONFIG_SYN_COOKIES is not set
260# CONFIG_INET_AH is not set
261# CONFIG_INET_ESP is not set
262# CONFIG_INET_IPCOMP is not set
263# CONFIG_INET_TUNNEL is not set
264CONFIG_IP_TCPDIAG=y
265# CONFIG_IP_TCPDIAG_IPV6 is not set
266# CONFIG_IPV6 is not set
267# CONFIG_NETFILTER is not set
268
269#
270# SCTP Configuration (EXPERIMENTAL)
271#
272# CONFIG_IP_SCTP is not set
273# CONFIG_ATM is not set
274# CONFIG_BRIDGE is not set
275# CONFIG_VLAN_8021Q is not set
276# CONFIG_DECNET is not set
277# CONFIG_LLC2 is not set
278# CONFIG_IPX is not set
279# CONFIG_ATALK is not set
280# CONFIG_X25 is not set
281# CONFIG_LAPB is not set
282# CONFIG_NET_DIVERT is not set
283# CONFIG_ECONET is not set
284# CONFIG_WAN_ROUTER is not set
285
286#
287# QoS and/or fair queueing
288#
289# CONFIG_NET_SCHED is not set
290# CONFIG_NET_CLS_ROUTE is not set
291
292#
293# Network testing
294#
295# CONFIG_NET_PKTGEN is not set
296# CONFIG_NETPOLL is not set
297# CONFIG_NET_POLL_CONTROLLER is not set
298# CONFIG_HAMRADIO is not set
299# CONFIG_IRDA is not set
300# CONFIG_BT is not set
301CONFIG_NETDEVICES=y
302# CONFIG_DUMMY is not set
303# CONFIG_BONDING is not set
304# CONFIG_EQUALIZER is not set
305# CONFIG_TUN is not set
306
307#
308# Ethernet (10 or 100Mbit)
309#
310CONFIG_NET_ETHERNET=y
311CONFIG_MII=y
312CONFIG_SMC91X=y
313# CONFIG_NE2000 is not set
314
315#
316# Ethernet (1000 Mbit)
317#
318
319#
320# Ethernet (10000 Mbit)
321#
322
323#
324# Token Ring devices
325#
326
327#
328# Wireless LAN (non-hamradio)
329#
330# CONFIG_NET_RADIO is not set
331
332#
333# PCMCIA network device support
334#
335# CONFIG_NET_PCMCIA is not set
336
337#
338# Wan interfaces
339#
340# CONFIG_WAN is not set
341# CONFIG_PPP is not set
342# CONFIG_SLIP is not set
343# CONFIG_SHAPER is not set
344# CONFIG_NETCONSOLE is not set
345
346#
347# ISDN subsystem
348#
349# CONFIG_ISDN is not set
350
351#
352# Telephony Support
353#
354# CONFIG_PHONE is not set
355
356#
357# Input device support
358#
359CONFIG_INPUT=y
360
361#
362# Userland interfaces
363#
364# CONFIG_INPUT_MOUSEDEV is not set
365# CONFIG_INPUT_JOYDEV is not set
366# CONFIG_INPUT_TSDEV is not set
367# CONFIG_INPUT_EVDEV is not set
368# CONFIG_INPUT_EVBUG is not set
369
370#
371# Input I/O drivers
372#
373# CONFIG_GAMEPORT is not set
374CONFIG_SOUND_GAMEPORT=y
375CONFIG_SERIO=y
376# CONFIG_SERIO_I8042 is not set
377CONFIG_SERIO_SERPORT=y
378# CONFIG_SERIO_CT82C710 is not set
379# CONFIG_SERIO_LIBPS2 is not set
380# CONFIG_SERIO_RAW is not set
381
382#
383# Input Device Drivers
384#
385# CONFIG_INPUT_KEYBOARD is not set
386# CONFIG_INPUT_MOUSE is not set
387# CONFIG_INPUT_JOYSTICK is not set
388# CONFIG_INPUT_TOUCHSCREEN is not set
389# CONFIG_INPUT_MISC is not set
390
391#
392# Character devices
393#
394# CONFIG_VT is not set
395# CONFIG_SERIAL_NONSTANDARD is not set
396
397#
398# Serial drivers
399#
400# CONFIG_SERIAL_8250 is not set
401
402#
403# Non-8250 serial port support
404#
405CONFIG_SERIAL_CORE=y
406CONFIG_SERIAL_CORE_CONSOLE=y
407CONFIG_SERIAL_M32R_SIO=y
408CONFIG_SERIAL_M32R_SIO_CONSOLE=y
409CONFIG_SERIAL_M32R_PLDSIO=y
410CONFIG_UNIX98_PTYS=y
411CONFIG_LEGACY_PTYS=y
412CONFIG_LEGACY_PTY_COUNT=256
413
414#
415# IPMI
416#
417# CONFIG_IPMI_HANDLER is not set
418
419#
420# Watchdog Cards
421#
422# CONFIG_WATCHDOG is not set
423# CONFIG_RTC is not set
424# CONFIG_GEN_RTC is not set
425CONFIG_DS1302=y
426# CONFIG_DTLK is not set
427# CONFIG_R3964 is not set
428
429#
430# Ftape, the floppy tape device driver
431#
432# CONFIG_DRM is not set
433
434#
435# PCMCIA character devices
436#
437# CONFIG_SYNCLINK_CS is not set
438# CONFIG_RAW_DRIVER is not set
439
440#
441# I2C support
442#
443# CONFIG_I2C is not set
444
445#
446# Dallas's 1-wire bus
447#
448# CONFIG_W1 is not set
449
450#
451# Misc devices
452#
453
454#
455# Multimedia devices
456#
457# CONFIG_VIDEO_DEV is not set
458
459#
460# Digital Video Broadcasting Devices
461#
462# CONFIG_DVB is not set
463
464#
465# Graphics support
466#
467# CONFIG_FB is not set
468
469#
470# Sound
471#
472# CONFIG_SOUND is not set
473
474#
475# USB support
476#
477# CONFIG_USB_ARCH_HAS_HCD is not set
478# CONFIG_USB_ARCH_HAS_OHCI is not set
479
480#
481# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
482#
483
484#
485# USB Gadget Support
486#
487# CONFIG_USB_GADGET is not set
488
489#
490# MMC/SD Card support
491#
492# CONFIG_MMC is not set
493
494#
495# InfiniBand support
496#
497# CONFIG_INFINIBAND is not set
498
499#
500# File systems
501#
502CONFIG_EXT2_FS=y
503# CONFIG_EXT2_FS_XATTR is not set
504CONFIG_EXT3_FS=m
505CONFIG_EXT3_FS_XATTR=y
506# CONFIG_EXT3_FS_POSIX_ACL is not set
507# CONFIG_EXT3_FS_SECURITY is not set
508CONFIG_JBD=m
509CONFIG_JBD_DEBUG=y
510CONFIG_FS_MBCACHE=y
511CONFIG_REISERFS_FS=m
512# CONFIG_REISERFS_CHECK is not set
513# CONFIG_REISERFS_PROC_INFO is not set
514# CONFIG_REISERFS_FS_XATTR is not set
515# CONFIG_JFS_FS is not set
516
517#
518# XFS support
519#
520# CONFIG_XFS_FS is not set
521# CONFIG_MINIX_FS is not set
522# CONFIG_ROMFS_FS is not set
523# CONFIG_QUOTA is not set
524CONFIG_DNOTIFY=y
525# CONFIG_AUTOFS_FS is not set
526# CONFIG_AUTOFS4_FS is not set
527
528#
529# CD-ROM/DVD Filesystems
530#
531CONFIG_ISO9660_FS=m
532CONFIG_JOLIET=y
533# CONFIG_ZISOFS is not set
534CONFIG_UDF_FS=m
535CONFIG_UDF_NLS=y
536
537#
538# DOS/FAT/NT Filesystems
539#
540CONFIG_FAT_FS=m
541CONFIG_MSDOS_FS=m
542CONFIG_VFAT_FS=m
543CONFIG_FAT_DEFAULT_CODEPAGE=437
544CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
545# CONFIG_NTFS_FS is not set
546
547#
548# Pseudo filesystems
549#
550CONFIG_PROC_FS=y
551CONFIG_PROC_KCORE=y
552CONFIG_SYSFS=y
553CONFIG_DEVFS_FS=y
554CONFIG_DEVFS_MOUNT=y
555# CONFIG_DEVFS_DEBUG is not set
556# CONFIG_DEVPTS_FS_XATTR is not set
557CONFIG_TMPFS=y
558# CONFIG_TMPFS_XATTR is not set
559# CONFIG_HUGETLB_PAGE is not set
560CONFIG_RAMFS=y
561
562#
563# Miscellaneous filesystems
564#
565# CONFIG_ADFS_FS is not set
566# CONFIG_AFFS_FS is not set
567# CONFIG_HFS_FS is not set
568# CONFIG_HFSPLUS_FS is not set
569# CONFIG_BEFS_FS is not set
570# CONFIG_BFS_FS is not set
571# CONFIG_EFS_FS is not set
572# CONFIG_CRAMFS is not set
573# CONFIG_VXFS_FS is not set
574# CONFIG_HPFS_FS is not set
575# CONFIG_QNX4FS_FS is not set
576# CONFIG_SYSV_FS is not set
577# CONFIG_UFS_FS is not set
578
579#
580# Network File Systems
581#
582CONFIG_NFS_FS=y
583CONFIG_NFS_V3=y
584# CONFIG_NFS_V4 is not set
585# CONFIG_NFS_DIRECTIO is not set
586# CONFIG_NFSD is not set
587CONFIG_ROOT_NFS=y
588CONFIG_LOCKD=y
589CONFIG_LOCKD_V4=y
590CONFIG_SUNRPC=y
591# CONFIG_RPCSEC_GSS_KRB5 is not set
592# CONFIG_RPCSEC_GSS_SPKM3 is not set
593# CONFIG_SMB_FS is not set
594# CONFIG_CIFS is not set
595# CONFIG_NCP_FS is not set
596# CONFIG_CODA_FS is not set
597# CONFIG_AFS_FS is not set
598
599#
600# Partition Types
601#
602# CONFIG_PARTITION_ADVANCED is not set
603CONFIG_MSDOS_PARTITION=y
604
605#
606# Native Language Support
607#
608CONFIG_NLS=y
609CONFIG_NLS_DEFAULT="iso8859-1"
610# CONFIG_NLS_CODEPAGE_437 is not set
611# CONFIG_NLS_CODEPAGE_737 is not set
612# CONFIG_NLS_CODEPAGE_775 is not set
613# CONFIG_NLS_CODEPAGE_850 is not set
614# CONFIG_NLS_CODEPAGE_852 is not set
615# CONFIG_NLS_CODEPAGE_855 is not set
616# CONFIG_NLS_CODEPAGE_857 is not set
617# CONFIG_NLS_CODEPAGE_860 is not set
618# CONFIG_NLS_CODEPAGE_861 is not set
619# CONFIG_NLS_CODEPAGE_862 is not set
620# CONFIG_NLS_CODEPAGE_863 is not set
621# CONFIG_NLS_CODEPAGE_864 is not set
622# CONFIG_NLS_CODEPAGE_865 is not set
623# CONFIG_NLS_CODEPAGE_866 is not set
624# CONFIG_NLS_CODEPAGE_869 is not set
625# CONFIG_NLS_CODEPAGE_936 is not set
626# CONFIG_NLS_CODEPAGE_950 is not set
627# CONFIG_NLS_CODEPAGE_932 is not set
628# CONFIG_NLS_CODEPAGE_949 is not set
629# CONFIG_NLS_CODEPAGE_874 is not set
630# CONFIG_NLS_ISO8859_8 is not set
631# CONFIG_NLS_CODEPAGE_1250 is not set
632# CONFIG_NLS_CODEPAGE_1251 is not set
633# CONFIG_NLS_ASCII is not set
634# CONFIG_NLS_ISO8859_1 is not set
635# CONFIG_NLS_ISO8859_2 is not set
636# CONFIG_NLS_ISO8859_3 is not set
637# CONFIG_NLS_ISO8859_4 is not set
638# CONFIG_NLS_ISO8859_5 is not set
639# CONFIG_NLS_ISO8859_6 is not set
640# CONFIG_NLS_ISO8859_7 is not set
641# CONFIG_NLS_ISO8859_9 is not set
642# CONFIG_NLS_ISO8859_13 is not set
643# CONFIG_NLS_ISO8859_14 is not set
644# CONFIG_NLS_ISO8859_15 is not set
645# CONFIG_NLS_KOI8_R is not set
646# CONFIG_NLS_KOI8_U is not set
647# CONFIG_NLS_UTF8 is not set
648
649#
650# Profiling support
651#
652# CONFIG_PROFILING is not set
653
654#
655# Kernel hacking
656#
657CONFIG_DEBUG_KERNEL=y
658# CONFIG_MAGIC_SYSRQ is not set
659# CONFIG_SCHEDSTATS is not set
660# CONFIG_DEBUG_SLAB is not set
661# CONFIG_DEBUG_SPINLOCK is not set
662# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
663# CONFIG_DEBUG_KOBJECT is not set
664# CONFIG_DEBUG_BUGVERBOSE is not set
665CONFIG_DEBUG_INFO=y
666# CONFIG_DEBUG_FS is not set
667# CONFIG_FRAME_POINTER is not set
668# CONFIG_DEBUG_STACKOVERFLOW is not set
669# CONFIG_DEBUG_STACK_USAGE is not set
670# CONFIG_DEBUG_PAGEALLOC is not set
671
672#
673# Security options
674#
675# CONFIG_KEYS is not set
676# CONFIG_SECURITY is not set
677
678#
679# Cryptographic options
680#
681# CONFIG_CRYPTO is not set
682
683#
684# Hardware crypto devices
685#
686
687#
688# Library routines
689#
690# CONFIG_CRC_CCITT is not set
691CONFIG_CRC32=y
692# CONFIG_LIBCRC32C is not set
diff --git a/arch/m32r/opsput/dot.gdbinit b/arch/m32r/opsput/dot.gdbinit
new file mode 100644
index 000000000000..b7e6c6640857
--- /dev/null
+++ b/arch/m32r/opsput/dot.gdbinit
@@ -0,0 +1,218 @@
1# .gdbinit file
2# $Id: dot.gdbinit,v 1.1 2004/07/27 06:54:20 sakugawa Exp $
3
4# setting
5set width 0d70
6set radix 0d16
7set height 0
8debug_chaos
9
10# clk xin:cpu:bus=1:8:1
11define clock_init_on_181
12 set *(unsigned long *)0x00ef400c = 0x2
13 set *(unsigned long *)0x00ef4004 = 0x1
14 shell sleep 0.1
15 set *(unsigned long *)0x00ef4000 = 0x101
16end
17# clk xin:cpu:bus=1:8:2
18define clock_init_on_182
19 set *(unsigned long *)0x00ef400c = 0x1
20 set *(unsigned long *)0x00ef4004 = 0x1
21 shell sleep 0.1
22 set *(unsigned long *)0x00ef4000 = 0x101
23end
24
25# clk xin:cpu:bus=1:8:4
26define clock_init_on_184
27 set *(unsigned long *)0x00ef400c = 0x0
28 set *(unsigned long *)0x00ef4004 = 0x1
29 shell sleep 0.1
30 set *(unsigned long *)0x00ef4000 = 0x101
31end
32
33# clk xin:cpu:bus=1:1:1
34define clock_init_off
35 shell sleep 0.1
36 set *(unsigned long *)0x00ef4000 = 0x0
37 shell sleep 0.1
38 set *(unsigned long *)0x00ef4004 = 0x0
39 shell sleep 0.1
40 set *(unsigned long *)0x00ef400c = 0x0
41end
42
43define tlb_init
44 set $tlbbase = 0xfe000000
45 set *(unsigned long *)($tlbbase + 0x04) = 0x0
46 set *(unsigned long *)($tlbbase + 0x0c) = 0x0
47 set *(unsigned long *)($tlbbase + 0x14) = 0x0
48 set *(unsigned long *)($tlbbase + 0x1c) = 0x0
49 set *(unsigned long *)($tlbbase + 0x24) = 0x0
50 set *(unsigned long *)($tlbbase + 0x2c) = 0x0
51 set *(unsigned long *)($tlbbase + 0x34) = 0x0
52 set *(unsigned long *)($tlbbase + 0x3c) = 0x0
53 set *(unsigned long *)($tlbbase + 0x44) = 0x0
54 set *(unsigned long *)($tlbbase + 0x4c) = 0x0
55 set *(unsigned long *)($tlbbase + 0x54) = 0x0
56 set *(unsigned long *)($tlbbase + 0x5c) = 0x0
57 set *(unsigned long *)($tlbbase + 0x64) = 0x0
58 set *(unsigned long *)($tlbbase + 0x6c) = 0x0
59 set *(unsigned long *)($tlbbase + 0x74) = 0x0
60 set *(unsigned long *)($tlbbase + 0x7c) = 0x0
61 set *(unsigned long *)($tlbbase + 0x84) = 0x0
62 set *(unsigned long *)($tlbbase + 0x8c) = 0x0
63 set *(unsigned long *)($tlbbase + 0x94) = 0x0
64 set *(unsigned long *)($tlbbase + 0x9c) = 0x0
65 set *(unsigned long *)($tlbbase + 0xa4) = 0x0
66 set *(unsigned long *)($tlbbase + 0xac) = 0x0
67 set *(unsigned long *)($tlbbase + 0xb4) = 0x0
68 set *(unsigned long *)($tlbbase + 0xbc) = 0x0
69 set *(unsigned long *)($tlbbase + 0xc4) = 0x0
70 set *(unsigned long *)($tlbbase + 0xcc) = 0x0
71 set *(unsigned long *)($tlbbase + 0xd4) = 0x0
72 set *(unsigned long *)($tlbbase + 0xdc) = 0x0
73 set *(unsigned long *)($tlbbase + 0xe4) = 0x0
74 set *(unsigned long *)($tlbbase + 0xec) = 0x0
75 set *(unsigned long *)($tlbbase + 0xf4) = 0x0
76 set *(unsigned long *)($tlbbase + 0xfc) = 0x0
77 set $tlbbase = 0xfe000800
78 set *(unsigned long *)($tlbbase + 0x04) = 0x0
79 set *(unsigned long *)($tlbbase + 0x0c) = 0x0
80 set *(unsigned long *)($tlbbase + 0x14) = 0x0
81 set *(unsigned long *)($tlbbase + 0x1c) = 0x0
82 set *(unsigned long *)($tlbbase + 0x24) = 0x0
83 set *(unsigned long *)($tlbbase + 0x2c) = 0x0
84 set *(unsigned long *)($tlbbase + 0x34) = 0x0
85 set *(unsigned long *)($tlbbase + 0x3c) = 0x0
86 set *(unsigned long *)($tlbbase + 0x44) = 0x0
87 set *(unsigned long *)($tlbbase + 0x4c) = 0x0
88 set *(unsigned long *)($tlbbase + 0x54) = 0x0
89 set *(unsigned long *)($tlbbase + 0x5c) = 0x0
90 set *(unsigned long *)($tlbbase + 0x64) = 0x0
91 set *(unsigned long *)($tlbbase + 0x6c) = 0x0
92 set *(unsigned long *)($tlbbase + 0x74) = 0x0
93 set *(unsigned long *)($tlbbase + 0x7c) = 0x0
94 set *(unsigned long *)($tlbbase + 0x84) = 0x0
95 set *(unsigned long *)($tlbbase + 0x8c) = 0x0
96 set *(unsigned long *)($tlbbase + 0x94) = 0x0
97 set *(unsigned long *)($tlbbase + 0x9c) = 0x0
98 set *(unsigned long *)($tlbbase + 0xa4) = 0x0
99 set *(unsigned long *)($tlbbase + 0xac) = 0x0
100 set *(unsigned long *)($tlbbase + 0xb4) = 0x0
101 set *(unsigned long *)($tlbbase + 0xbc) = 0x0
102 set *(unsigned long *)($tlbbase + 0xc4) = 0x0
103 set *(unsigned long *)($tlbbase + 0xcc) = 0x0
104 set *(unsigned long *)($tlbbase + 0xd4) = 0x0
105 set *(unsigned long *)($tlbbase + 0xdc) = 0x0
106 set *(unsigned long *)($tlbbase + 0xe4) = 0x0
107 set *(unsigned long *)($tlbbase + 0xec) = 0x0
108 set *(unsigned long *)($tlbbase + 0xf4) = 0x0
109 set *(unsigned long *)($tlbbase + 0xfc) = 0x0
110end
111
112define load_modules
113 use_debug_dma
114 load
115end
116
117# Set kernel parameters
118define set_kernel_parameters
119 set $param = (void*)0x88001000
120 # INITRD_START
121# set *(unsigned long *)($param + 0x0010) = 0x08300000
122 # INITRD_SIZE
123# set *(unsigned long *)($param + 0x0014) = 0x00400000
124 # M32R_CPUCLK
125 set *(unsigned long *)($param + 0x0018) = 0d200000000
126 # M32R_BUSCLK
127 set *(unsigned long *)($param + 0x001c) = 0d50000000
128# set *(unsigned long *)($param + 0x001c) = 0d25000000
129
130 # M32R_TIMER_DIVIDE
131 set *(unsigned long *)($param + 0x0020) = 0d128
132
133 set {char[0x200]}($param + 0x100) = "console=ttyS0,115200n8x console=tty1 \
134 root=/dev/nfsroot \
135 nfsroot=192.168.0.1:/project/m32r-linux/export/root.2.6 \
136 nfsaddrs=192.168.0.101:192.168.0.1:192.168.0.1:255.255.255.0:mappi001 \
137 mem=16m \0"
138end
139
140define boot
141 set_kernel_parameters
142 set $pc=0x88002000
143 set $fp=0
144 set $evb=0x88000000
145 si
146 c
147end
148
149# Show TLB entries
150define show_tlb_entries
151 set $i = 0
152 set $addr = $arg0
153 use_mon_code
154 while ($i < 0d32 )
155 set $tlb_tag = *(unsigned long*)$addr
156 set $tlb_data = *(unsigned long*)($addr + 4)
157 printf " [%2d] 0x%08lx : 0x%08lx - 0x%08lx\n", $i, $addr, $tlb_tag, $tlb_data
158 set $i = $i + 1
159 set $addr = $addr + 8
160 end
161# use_debug_dma
162end
163define itlb
164 set $itlb=0xfe000000
165 show_tlb_entries $itlb
166end
167define dtlb
168 set $dtlb=0xfe000800
169 show_tlb_entries $dtlb
170end
171
172define show_regs
173 printf " R0[%08lx] R1[%08lx] R2[%08lx] R3[%08lx]\n",$r0,$r1,$r2,$r3
174 printf " R4[%08lx] R5[%08lx] R6[%08lx] R7[%08lx]\n",$r4,$r5,$r6,$r7
175 printf " R8[%08lx] R9[%08lx] R10[%08lx] R11[%08lx]\n",$r8,$r9,$r10,$r11
176 printf "R12[%08lx] FP[%08lx] LR[%08lx] SP[%08lx]\n",$r12,$fp,$lr,$sp
177 printf "PSW[%08lx] CBR[%08lx] SPI[%08lx] SPU[%08lx]\n",$psw,$cbr,$spi,$spu
178 printf "BPC[%08lx] PC[%08lx] ACCL[%08lx] ACCH[%08lx]\n",$bpc,$pc,$accl,$acch
179 printf "EVB[%08lx]\n",$evb
180end
181
182define restart
183 sdireset
184 sdireset
185 en 1
186 set $pc=0x0
187 c
188 tlb_init
189 setup
190 load_modules
191 boot
192end
193
194define setup
195 debug_chaos
196# Clock
197# shell sleep 0.1
198# clock_init_off
199# shell sleep 1
200# clock_init_on_182
201# shell sleep 0.1
202# SDRAM
203 set *(unsigned long *)0xa0ef6004 = 0x0001053f
204 set *(unsigned long *)0xa0ef6028 = 0x00031102
205end
206
207sdireset
208sdireset
209file vmlinux
210target m32rsdi
211set $pc=0x0
212b *0x30000
213c
214dis 1
215setup
216tlb_init
217load_modules
218boot