aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r/mappi
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/mappi
Linux-2.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/mappi')
-rw-r--r--arch/m32r/mappi/defconfig.nommu623
-rw-r--r--arch/m32r/mappi/defconfig.smp738
-rw-r--r--arch/m32r/mappi/defconfig.up734
-rw-r--r--arch/m32r/mappi/dot.gdbinit242
-rw-r--r--arch/m32r/mappi/dot.gdbinit.nommu245
-rw-r--r--arch/m32r/mappi/dot.gdbinit.smp344
6 files changed, 2926 insertions, 0 deletions
diff --git a/arch/m32r/mappi/defconfig.nommu b/arch/m32r/mappi/defconfig.nommu
new file mode 100644
index 00000000000..714aa6e7034
--- /dev/null
+++ b/arch/m32r/mappi/defconfig.nommu
@@ -0,0 +1,623 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-rc4
4# Wed Feb 16 21:10:57 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
18CONFIG_LOCK_KERNEL=y
19
20#
21# General setup
22#
23CONFIG_LOCALVERSION=""
24# CONFIG_POSIX_MQUEUE is not set
25CONFIG_BSD_PROCESS_ACCT=y
26# CONFIG_BSD_PROCESS_ACCT_V3 is not set
27CONFIG_SYSCTL=y
28# CONFIG_AUDIT is not set
29CONFIG_LOG_BUF_SHIFT=14
30CONFIG_HOTPLUG=y
31CONFIG_KOBJECT_UEVENT=y
32CONFIG_IKCONFIG=y
33# CONFIG_IKCONFIG_PROC is not set
34CONFIG_EMBEDDED=y
35# CONFIG_KALLSYMS is not set
36# CONFIG_FUTEX is not set
37# CONFIG_EPOLL is not set
38# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
39CONFIG_CC_ALIGN_FUNCTIONS=0
40CONFIG_CC_ALIGN_LABELS=0
41CONFIG_CC_ALIGN_LOOPS=0
42CONFIG_CC_ALIGN_JUMPS=0
43CONFIG_TINY_SHMEM=y
44
45#
46# Loadable module support
47#
48CONFIG_MODULES=y
49CONFIG_MODULE_UNLOAD=y
50# CONFIG_MODULE_FORCE_UNLOAD is not set
51CONFIG_OBSOLETE_MODPARM=y
52# CONFIG_MODVERSIONS is not set
53# CONFIG_MODULE_SRCVERSION_ALL is not set
54CONFIG_KMOD=y
55
56#
57# Processor type and features
58#
59CONFIG_PLAT_MAPPI=y
60# CONFIG_PLAT_USRV is not set
61# CONFIG_PLAT_M32700UT is not set
62# CONFIG_PLAT_OPSPUT is not set
63# CONFIG_PLAT_OAKS32R is not set
64# CONFIG_PLAT_MAPPI2 is not set
65CONFIG_CHIP_M32700=y
66# CONFIG_CHIP_M32102 is not set
67# CONFIG_CHIP_VDEC2 is not set
68# CONFIG_CHIP_OPSP is not set
69# CONFIG_MMU is not set
70CONFIG_TLB_ENTRIES=32
71CONFIG_ISA_M32R2=y
72CONFIG_ISA_DSP_LEVEL2=y
73CONFIG_ISA_DUAL_ISSUE=y
74CONFIG_BUS_CLOCK=50000000
75CONFIG_TIMER_DIVIDE=128
76# CONFIG_CPU_LITTLE_ENDIAN is not set
77CONFIG_MEMORY_START=0x00000000
78CONFIG_MEMORY_SIZE=0x00E00000
79CONFIG_NOHIGHMEM=y
80# CONFIG_DISCONTIGMEM is not set
81CONFIG_RWSEM_GENERIC_SPINLOCK=y
82# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
83CONFIG_GENERIC_CALIBRATE_DELAY=y
84CONFIG_PREEMPT=y
85# CONFIG_HAVE_DEC_LOCK is not set
86# CONFIG_SMP is not set
87
88#
89# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
90#
91# CONFIG_PCI is not set
92# CONFIG_ISA is not set
93
94#
95# PCCARD (PCMCIA/CardBus) support
96#
97CONFIG_PCCARD=y
98# CONFIG_PCMCIA_DEBUG is not set
99CONFIG_PCMCIA=y
100
101#
102# PC-card bridges
103#
104# CONFIG_TCIC is not set
105CONFIG_M32R_PCC=y
106
107#
108# PCI Hotplug Support
109#
110
111#
112# Executable file formats
113#
114CONFIG_BINFMT_FLAT=y
115# CONFIG_BINFMT_ZFLAT is not set
116# CONFIG_BINFMT_SHARED_FLAT is not set
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
130#
131# Memory Technology Devices (MTD)
132#
133# CONFIG_MTD is not set
134
135#
136# Parallel port support
137#
138# CONFIG_PARPORT is not set
139
140#
141# Plug and Play support
142#
143
144#
145# Block devices
146#
147# CONFIG_BLK_DEV_FD is not set
148# CONFIG_BLK_DEV_COW_COMMON is not set
149CONFIG_BLK_DEV_LOOP=y
150# CONFIG_BLK_DEV_CRYPTOLOOP is not set
151CONFIG_BLK_DEV_NBD=y
152CONFIG_BLK_DEV_RAM=y
153CONFIG_BLK_DEV_RAM_COUNT=16
154CONFIG_BLK_DEV_RAM_SIZE=4096
155# CONFIG_BLK_DEV_INITRD is not set
156CONFIG_INITRAMFS_SOURCE=""
157# CONFIG_CDROM_PKTCDVD is not set
158
159#
160# IO Schedulers
161#
162CONFIG_IOSCHED_NOOP=y
163# CONFIG_IOSCHED_AS is not set
164CONFIG_IOSCHED_DEADLINE=y
165CONFIG_IOSCHED_CFQ=y
166# CONFIG_ATA_OVER_ETH is not set
167
168#
169# ATA/ATAPI/MFM/RLL support
170#
171# CONFIG_IDE is not set
172
173#
174# SCSI device support
175#
176# CONFIG_SCSI is not set
177
178#
179# Multi-device support (RAID and LVM)
180#
181# CONFIG_MD is not set
182
183#
184# Fusion MPT device support
185#
186
187#
188# IEEE 1394 (FireWire) support
189#
190
191#
192# I2O device support
193#
194
195#
196# Networking support
197#
198CONFIG_NET=y
199
200#
201# Networking options
202#
203CONFIG_PACKET=y
204# CONFIG_PACKET_MMAP is not set
205# CONFIG_NETLINK_DEV is not set
206CONFIG_UNIX=y
207# CONFIG_NET_KEY is not set
208CONFIG_INET=y
209# CONFIG_IP_MULTICAST is not set
210# CONFIG_IP_ADVANCED_ROUTER is not set
211CONFIG_IP_PNP=y
212CONFIG_IP_PNP_DHCP=y
213# CONFIG_IP_PNP_BOOTP is not set
214# CONFIG_IP_PNP_RARP is not set
215# CONFIG_NET_IPIP is not set
216# CONFIG_NET_IPGRE is not set
217# CONFIG_ARPD is not set
218# CONFIG_SYN_COOKIES is not set
219# CONFIG_INET_AH is not set
220# CONFIG_INET_ESP is not set
221# CONFIG_INET_IPCOMP is not set
222# CONFIG_INET_TUNNEL is not set
223CONFIG_IP_TCPDIAG=y
224# CONFIG_IP_TCPDIAG_IPV6 is not set
225# CONFIG_IPV6 is not set
226# CONFIG_NETFILTER is not set
227
228#
229# SCTP Configuration (EXPERIMENTAL)
230#
231# CONFIG_IP_SCTP is not set
232# CONFIG_ATM is not set
233# CONFIG_BRIDGE is not set
234# CONFIG_VLAN_8021Q is not set
235# CONFIG_DECNET is not set
236# CONFIG_LLC2 is not set
237# CONFIG_IPX is not set
238# CONFIG_ATALK is not set
239# CONFIG_X25 is not set
240# CONFIG_LAPB is not set
241# CONFIG_NET_DIVERT is not set
242# CONFIG_ECONET is not set
243# CONFIG_WAN_ROUTER is not set
244
245#
246# QoS and/or fair queueing
247#
248# CONFIG_NET_SCHED is not set
249# CONFIG_NET_CLS_ROUTE is not set
250
251#
252# Network testing
253#
254# CONFIG_NET_PKTGEN is not set
255# CONFIG_NETPOLL is not set
256# CONFIG_NET_POLL_CONTROLLER is not set
257# CONFIG_HAMRADIO is not set
258# CONFIG_IRDA is not set
259# CONFIG_BT is not set
260CONFIG_NETDEVICES=y
261# CONFIG_DUMMY is not set
262# CONFIG_BONDING is not set
263# CONFIG_EQUALIZER is not set
264# CONFIG_TUN is not set
265
266#
267# Ethernet (10 or 100Mbit)
268#
269# CONFIG_NET_ETHERNET is not set
270CONFIG_NE2000=y
271
272#
273# Ethernet (1000 Mbit)
274#
275
276#
277# Ethernet (10000 Mbit)
278#
279
280#
281# Token Ring devices
282#
283
284#
285# Wireless LAN (non-hamradio)
286#
287# CONFIG_NET_RADIO is not set
288
289#
290# PCMCIA network device support
291#
292# CONFIG_NET_PCMCIA is not set
293
294#
295# Wan interfaces
296#
297# CONFIG_WAN is not set
298# CONFIG_PPP is not set
299# CONFIG_SLIP is not set
300# CONFIG_SHAPER is not set
301# CONFIG_NETCONSOLE is not set
302
303#
304# ISDN subsystem
305#
306# CONFIG_ISDN is not set
307
308#
309# Telephony Support
310#
311# CONFIG_PHONE is not set
312
313#
314# Input device support
315#
316CONFIG_INPUT=y
317
318#
319# Userland interfaces
320#
321# CONFIG_INPUT_MOUSEDEV is not set
322# CONFIG_INPUT_JOYDEV is not set
323# CONFIG_INPUT_TSDEV is not set
324# CONFIG_INPUT_EVDEV is not set
325# CONFIG_INPUT_EVBUG is not set
326
327#
328# Input I/O drivers
329#
330# CONFIG_GAMEPORT is not set
331CONFIG_SOUND_GAMEPORT=y
332CONFIG_SERIO=y
333# CONFIG_SERIO_I8042 is not set
334CONFIG_SERIO_SERPORT=y
335# CONFIG_SERIO_CT82C710 is not set
336# CONFIG_SERIO_LIBPS2 is not set
337# CONFIG_SERIO_RAW is not set
338
339#
340# Input Device Drivers
341#
342# CONFIG_INPUT_KEYBOARD is not set
343# CONFIG_INPUT_MOUSE is not set
344# CONFIG_INPUT_JOYSTICK is not set
345# CONFIG_INPUT_TOUCHSCREEN is not set
346# CONFIG_INPUT_MISC is not set
347
348#
349# Character devices
350#
351# CONFIG_VT is not set
352# CONFIG_SERIAL_NONSTANDARD is not set
353
354#
355# Serial drivers
356#
357# CONFIG_SERIAL_8250 is not set
358
359#
360# Non-8250 serial port support
361#
362CONFIG_SERIAL_CORE=y
363CONFIG_SERIAL_CORE_CONSOLE=y
364CONFIG_SERIAL_M32R_SIO=y
365CONFIG_SERIAL_M32R_SIO_CONSOLE=y
366# CONFIG_SERIAL_M32R_PLDSIO is not set
367CONFIG_UNIX98_PTYS=y
368CONFIG_LEGACY_PTYS=y
369CONFIG_LEGACY_PTY_COUNT=256
370
371#
372# IPMI
373#
374# CONFIG_IPMI_HANDLER is not set
375
376#
377# Watchdog Cards
378#
379# CONFIG_WATCHDOG is not set
380# CONFIG_RTC is not set
381# CONFIG_GEN_RTC is not set
382# CONFIG_DTLK is not set
383# CONFIG_R3964 is not set
384
385#
386# Ftape, the floppy tape device driver
387#
388# CONFIG_DRM is not set
389
390#
391# PCMCIA character devices
392#
393# CONFIG_SYNCLINK_CS is not set
394# CONFIG_RAW_DRIVER is not set
395
396#
397# I2C support
398#
399# CONFIG_I2C is not set
400
401#
402# Dallas's 1-wire bus
403#
404# CONFIG_W1 is not set
405
406#
407# Misc devices
408#
409
410#
411# Multimedia devices
412#
413# CONFIG_VIDEO_DEV is not set
414
415#
416# Digital Video Broadcasting Devices
417#
418# CONFIG_DVB is not set
419
420#
421# Graphics support
422#
423# CONFIG_FB is not set
424
425#
426# Sound
427#
428# CONFIG_SOUND is not set
429
430#
431# USB support
432#
433# CONFIG_USB_ARCH_HAS_HCD is not set
434# CONFIG_USB_ARCH_HAS_OHCI is not set
435
436#
437# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
438#
439
440#
441# USB Gadget Support
442#
443# CONFIG_USB_GADGET is not set
444
445#
446# MMC/SD Card support
447#
448# CONFIG_MMC is not set
449
450#
451# InfiniBand support
452#
453# CONFIG_INFINIBAND is not set
454
455#
456# File systems
457#
458CONFIG_EXT2_FS=y
459# CONFIG_EXT2_FS_XATTR is not set
460# CONFIG_EXT3_FS is not set
461# CONFIG_JBD is not set
462# CONFIG_REISERFS_FS is not set
463# CONFIG_JFS_FS is not set
464
465#
466# XFS support
467#
468# CONFIG_XFS_FS is not set
469# CONFIG_MINIX_FS is not set
470# CONFIG_ROMFS_FS is not set
471# CONFIG_QUOTA is not set
472CONFIG_DNOTIFY=y
473# CONFIG_AUTOFS_FS is not set
474# CONFIG_AUTOFS4_FS is not set
475
476#
477# CD-ROM/DVD Filesystems
478#
479# CONFIG_ISO9660_FS is not set
480# CONFIG_UDF_FS is not set
481
482#
483# DOS/FAT/NT Filesystems
484#
485# CONFIG_MSDOS_FS is not set
486# CONFIG_VFAT_FS is not set
487# CONFIG_NTFS_FS is not set
488
489#
490# Pseudo filesystems
491#
492CONFIG_PROC_FS=y
493CONFIG_SYSFS=y
494CONFIG_DEVFS_FS=y
495CONFIG_DEVFS_MOUNT=y
496# CONFIG_DEVFS_DEBUG is not set
497CONFIG_DEVPTS_FS_XATTR=y
498CONFIG_DEVPTS_FS_SECURITY=y
499# CONFIG_TMPFS is not set
500# CONFIG_HUGETLB_PAGE is not set
501CONFIG_RAMFS=y
502
503#
504# Miscellaneous filesystems
505#
506# CONFIG_ADFS_FS is not set
507# CONFIG_AFFS_FS is not set
508# CONFIG_HFS_FS is not set
509# CONFIG_HFSPLUS_FS is not set
510# CONFIG_BEFS_FS is not set
511# CONFIG_BFS_FS is not set
512# CONFIG_EFS_FS is not set
513# CONFIG_CRAMFS is not set
514# CONFIG_VXFS_FS is not set
515# CONFIG_HPFS_FS is not set
516# CONFIG_QNX4FS_FS is not set
517# CONFIG_SYSV_FS is not set
518# CONFIG_UFS_FS is not set
519
520#
521# Network File Systems
522#
523CONFIG_NFS_FS=y
524CONFIG_NFS_V3=y
525# CONFIG_NFS_V4 is not set
526# CONFIG_NFS_DIRECTIO is not set
527# CONFIG_NFSD is not set
528CONFIG_ROOT_NFS=y
529CONFIG_LOCKD=y
530CONFIG_LOCKD_V4=y
531CONFIG_SUNRPC=y
532# CONFIG_RPCSEC_GSS_KRB5 is not set
533# CONFIG_RPCSEC_GSS_SPKM3 is not set
534# CONFIG_SMB_FS is not set
535# CONFIG_CIFS is not set
536# CONFIG_NCP_FS is not set
537# CONFIG_CODA_FS is not set
538# CONFIG_AFS_FS is not set
539
540#
541# Partition Types
542#
543# CONFIG_PARTITION_ADVANCED is not set
544CONFIG_MSDOS_PARTITION=y
545
546#
547# Native Language Support
548#
549CONFIG_NLS=y
550CONFIG_NLS_DEFAULT="iso8859-1"
551# CONFIG_NLS_CODEPAGE_437 is not set
552# CONFIG_NLS_CODEPAGE_737 is not set
553# CONFIG_NLS_CODEPAGE_775 is not set
554# CONFIG_NLS_CODEPAGE_850 is not set
555# CONFIG_NLS_CODEPAGE_852 is not set
556# CONFIG_NLS_CODEPAGE_855 is not set
557# CONFIG_NLS_CODEPAGE_857 is not set
558# CONFIG_NLS_CODEPAGE_860 is not set
559# CONFIG_NLS_CODEPAGE_861 is not set
560# CONFIG_NLS_CODEPAGE_862 is not set
561# CONFIG_NLS_CODEPAGE_863 is not set
562# CONFIG_NLS_CODEPAGE_864 is not set
563# CONFIG_NLS_CODEPAGE_865 is not set
564# CONFIG_NLS_CODEPAGE_866 is not set
565# CONFIG_NLS_CODEPAGE_869 is not set
566# CONFIG_NLS_CODEPAGE_936 is not set
567# CONFIG_NLS_CODEPAGE_950 is not set
568# CONFIG_NLS_CODEPAGE_932 is not set
569# CONFIG_NLS_CODEPAGE_949 is not set
570# CONFIG_NLS_CODEPAGE_874 is not set
571# CONFIG_NLS_ISO8859_8 is not set
572# CONFIG_NLS_CODEPAGE_1250 is not set
573# CONFIG_NLS_CODEPAGE_1251 is not set
574# CONFIG_NLS_ASCII is not set
575# CONFIG_NLS_ISO8859_1 is not set
576# CONFIG_NLS_ISO8859_2 is not set
577# CONFIG_NLS_ISO8859_3 is not set
578# CONFIG_NLS_ISO8859_4 is not set
579# CONFIG_NLS_ISO8859_5 is not set
580# CONFIG_NLS_ISO8859_6 is not set
581# CONFIG_NLS_ISO8859_7 is not set
582# CONFIG_NLS_ISO8859_9 is not set
583# CONFIG_NLS_ISO8859_13 is not set
584# CONFIG_NLS_ISO8859_14 is not set
585# CONFIG_NLS_ISO8859_15 is not set
586# CONFIG_NLS_KOI8_R is not set
587# CONFIG_NLS_KOI8_U is not set
588# CONFIG_NLS_UTF8 is not set
589
590#
591# Profiling support
592#
593# CONFIG_PROFILING is not set
594
595#
596# Kernel hacking
597#
598# CONFIG_DEBUG_KERNEL is not set
599CONFIG_DEBUG_PREEMPT=y
600# CONFIG_DEBUG_BUGVERBOSE is not set
601# CONFIG_FRAME_POINTER is not set
602
603#
604# Security options
605#
606# CONFIG_KEYS is not set
607# CONFIG_SECURITY is not set
608
609#
610# Cryptographic options
611#
612# CONFIG_CRYPTO is not set
613
614#
615# Hardware crypto devices
616#
617
618#
619# Library routines
620#
621# CONFIG_CRC_CCITT is not set
622CONFIG_CRC32=y
623# CONFIG_LIBCRC32C is not set
diff --git a/arch/m32r/mappi/defconfig.smp b/arch/m32r/mappi/defconfig.smp
new file mode 100644
index 00000000000..956a8e2f98d
--- /dev/null
+++ b/arch/m32r/mappi/defconfig.smp
@@ -0,0 +1,738 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-rc4
4# Wed Feb 16 21:11:02 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
16# CONFIG_CLEAN_COMPILE is not set
17CONFIG_BROKEN=y
18CONFIG_BROKEN_ON_SMP=y
19CONFIG_LOCK_KERNEL=y
20
21#
22# General setup
23#
24CONFIG_LOCALVERSION=""
25CONFIG_SWAP=y
26CONFIG_SYSVIPC=y
27# CONFIG_POSIX_MQUEUE is not set
28# CONFIG_BSD_PROCESS_ACCT is not set
29CONFIG_SYSCTL=y
30# CONFIG_AUDIT is not set
31CONFIG_LOG_BUF_SHIFT=15
32CONFIG_HOTPLUG=y
33CONFIG_KOBJECT_UEVENT=y
34CONFIG_IKCONFIG=y
35CONFIG_IKCONFIG_PROC=y
36CONFIG_EMBEDDED=y
37# CONFIG_KALLSYMS is not set
38# CONFIG_FUTEX is not set
39# CONFIG_EPOLL is not set
40# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
41CONFIG_SHMEM=y
42CONFIG_CC_ALIGN_FUNCTIONS=0
43CONFIG_CC_ALIGN_LABELS=0
44CONFIG_CC_ALIGN_LOOPS=0
45CONFIG_CC_ALIGN_JUMPS=0
46# CONFIG_TINY_SHMEM is not set
47
48#
49# Loadable module support
50#
51CONFIG_MODULES=y
52CONFIG_MODULE_UNLOAD=y
53# CONFIG_MODULE_FORCE_UNLOAD is not set
54CONFIG_OBSOLETE_MODPARM=y
55# CONFIG_MODVERSIONS is not set
56# CONFIG_MODULE_SRCVERSION_ALL is not set
57CONFIG_KMOD=y
58CONFIG_STOP_MACHINE=y
59
60#
61# Processor type and features
62#
63CONFIG_PLAT_MAPPI=y
64# CONFIG_PLAT_USRV is not set
65# CONFIG_PLAT_M32700UT is not set
66# CONFIG_PLAT_OPSPUT is not set
67# CONFIG_PLAT_OAKS32R is not set
68# CONFIG_PLAT_MAPPI2 is not set
69CONFIG_CHIP_M32700=y
70# CONFIG_CHIP_M32102 is not set
71# CONFIG_CHIP_VDEC2 is not set
72# CONFIG_CHIP_OPSP is not set
73CONFIG_MMU=y
74CONFIG_TLB_ENTRIES=32
75CONFIG_ISA_M32R2=y
76CONFIG_ISA_DSP_LEVEL2=y
77CONFIG_ISA_DUAL_ISSUE=y
78CONFIG_BUS_CLOCK=10000000
79CONFIG_TIMER_DIVIDE=128
80# CONFIG_CPU_LITTLE_ENDIAN is not set
81CONFIG_MEMORY_START=0x08000000
82CONFIG_MEMORY_SIZE=0x04000000
83CONFIG_NOHIGHMEM=y
84CONFIG_DISCONTIGMEM=y
85CONFIG_IRAM_START=0x00f00000
86CONFIG_IRAM_SIZE=0x00080000
87CONFIG_RWSEM_GENERIC_SPINLOCK=y
88# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
89CONFIG_GENERIC_CALIBRATE_DELAY=y
90CONFIG_PREEMPT=y
91# CONFIG_HAVE_DEC_LOCK is not set
92CONFIG_SMP=y
93CONFIG_CHIP_M32700_TS1=y
94CONFIG_NR_CPUS=2
95# CONFIG_NUMA is not set
96
97#
98# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
99#
100# CONFIG_PCI is not set
101# CONFIG_ISA is not set
102
103#
104# PCCARD (PCMCIA/CardBus) support
105#
106CONFIG_PCCARD=y
107# CONFIG_PCMCIA_DEBUG is not set
108CONFIG_PCMCIA=y
109
110#
111# PC-card bridges
112#
113# CONFIG_TCIC is not set
114CONFIG_M32R_PCC=y
115
116#
117# PCI Hotplug Support
118#
119
120#
121# Executable file formats
122#
123CONFIG_BINFMT_ELF=y
124# CONFIG_BINFMT_MISC is not set
125
126#
127# Device Drivers
128#
129
130#
131# Generic Driver Options
132#
133# CONFIG_STANDALONE is not set
134CONFIG_PREVENT_FIRMWARE_BUILD=y
135# CONFIG_FW_LOADER is not set
136
137#
138# Memory Technology Devices (MTD)
139#
140CONFIG_MTD=y
141# CONFIG_MTD_DEBUG is not set
142CONFIG_MTD_PARTITIONS=y
143# CONFIG_MTD_CONCAT is not set
144CONFIG_MTD_REDBOOT_PARTS=y
145CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
146# CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set
147# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
148# CONFIG_MTD_CMDLINE_PARTS is not set
149
150#
151# User Modules And Translation Layers
152#
153CONFIG_MTD_CHAR=y
154CONFIG_MTD_BLOCK=y
155# CONFIG_FTL is not set
156# CONFIG_NFTL is not set
157# CONFIG_INFTL is not set
158
159#
160# RAM/ROM/Flash chip drivers
161#
162# CONFIG_MTD_CFI is not set
163# CONFIG_MTD_JEDECPROBE is not set
164CONFIG_MTD_MAP_BANK_WIDTH_1=y
165CONFIG_MTD_MAP_BANK_WIDTH_2=y
166CONFIG_MTD_MAP_BANK_WIDTH_4=y
167# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
168# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
169# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
170CONFIG_MTD_CFI_I1=y
171CONFIG_MTD_CFI_I2=y
172# CONFIG_MTD_CFI_I4 is not set
173# CONFIG_MTD_CFI_I8 is not set
174# CONFIG_MTD_RAM is not set
175# CONFIG_MTD_ROM is not set
176# CONFIG_MTD_ABSENT is not set
177# CONFIG_MTD_OBSOLETE_CHIPS is not set
178
179#
180# Mapping drivers for chip access
181#
182# CONFIG_MTD_COMPLEX_MAPPINGS is not set
183
184#
185# Self-contained MTD device drivers
186#
187# CONFIG_MTD_SLRAM is not set
188# CONFIG_MTD_PHRAM is not set
189# CONFIG_MTD_MTDRAM is not set
190# CONFIG_MTD_BLKMTD is not set
191# CONFIG_MTD_BLOCK2MTD is not set
192
193#
194# Disk-On-Chip Device Drivers
195#
196# CONFIG_MTD_DOC2000 is not set
197# CONFIG_MTD_DOC2001 is not set
198# CONFIG_MTD_DOC2001PLUS is not set
199
200#
201# NAND Flash Device Drivers
202#
203# CONFIG_MTD_NAND is not set
204
205#
206# Parallel port support
207#
208# CONFIG_PARPORT is not set
209
210#
211# Plug and Play support
212#
213
214#
215# Block devices
216#
217# CONFIG_BLK_DEV_FD is not set
218# CONFIG_BLK_DEV_COW_COMMON is not set
219CONFIG_BLK_DEV_LOOP=y
220# CONFIG_BLK_DEV_CRYPTOLOOP is not set
221CONFIG_BLK_DEV_NBD=m
222CONFIG_BLK_DEV_RAM=y
223CONFIG_BLK_DEV_RAM_COUNT=16
224CONFIG_BLK_DEV_RAM_SIZE=4096
225CONFIG_BLK_DEV_INITRD=y
226CONFIG_INITRAMFS_SOURCE=""
227# CONFIG_CDROM_PKTCDVD is not set
228
229#
230# IO Schedulers
231#
232CONFIG_IOSCHED_NOOP=y
233# CONFIG_IOSCHED_AS is not set
234CONFIG_IOSCHED_DEADLINE=y
235CONFIG_IOSCHED_CFQ=y
236# CONFIG_ATA_OVER_ETH is not set
237
238#
239# ATA/ATAPI/MFM/RLL support
240#
241CONFIG_IDE=m
242CONFIG_BLK_DEV_IDE=m
243
244#
245# Please see Documentation/ide.txt for help/info on IDE drives
246#
247# CONFIG_BLK_DEV_IDE_SATA is not set
248CONFIG_BLK_DEV_IDEDISK=m
249# CONFIG_IDEDISK_MULTI_MODE is not set
250CONFIG_BLK_DEV_IDECS=m
251CONFIG_BLK_DEV_IDECD=m
252# CONFIG_BLK_DEV_IDETAPE is not set
253# CONFIG_BLK_DEV_IDEFLOPPY is not set
254# CONFIG_IDE_TASK_IOCTL is not set
255
256#
257# IDE chipset support/bugfixes
258#
259CONFIG_IDE_GENERIC=m
260# CONFIG_IDE_ARM is not set
261# CONFIG_BLK_DEV_IDEDMA is not set
262# CONFIG_IDEDMA_AUTO is not set
263# CONFIG_BLK_DEV_HD is not set
264
265#
266# SCSI device support
267#
268# CONFIG_SCSI is not set
269
270#
271# Multi-device support (RAID and LVM)
272#
273# CONFIG_MD is not set
274
275#
276# Fusion MPT device support
277#
278
279#
280# IEEE 1394 (FireWire) support
281#
282# CONFIG_IEEE1394 is not set
283
284#
285# I2O device support
286#
287
288#
289# Networking support
290#
291CONFIG_NET=y
292
293#
294# Networking options
295#
296# CONFIG_PACKET is not set
297# CONFIG_NETLINK_DEV is not set
298CONFIG_UNIX=y
299# CONFIG_NET_KEY is not set
300CONFIG_INET=y
301# CONFIG_IP_MULTICAST is not set
302# CONFIG_IP_ADVANCED_ROUTER is not set
303CONFIG_IP_PNP=y
304CONFIG_IP_PNP_DHCP=y
305# CONFIG_IP_PNP_BOOTP is not set
306# CONFIG_IP_PNP_RARP is not set
307# CONFIG_NET_IPIP is not set
308# CONFIG_NET_IPGRE is not set
309# CONFIG_ARPD is not set
310# CONFIG_SYN_COOKIES is not set
311# CONFIG_INET_AH is not set
312# CONFIG_INET_ESP is not set
313# CONFIG_INET_IPCOMP is not set
314# CONFIG_INET_TUNNEL is not set
315CONFIG_IP_TCPDIAG=y
316# CONFIG_IP_TCPDIAG_IPV6 is not set
317# CONFIG_IPV6 is not set
318# CONFIG_NETFILTER is not set
319
320#
321# SCTP Configuration (EXPERIMENTAL)
322#
323# CONFIG_IP_SCTP is not set
324# CONFIG_ATM is not set
325# CONFIG_BRIDGE is not set
326# CONFIG_VLAN_8021Q is not set
327# CONFIG_DECNET is not set
328# CONFIG_LLC2 is not set
329# CONFIG_IPX is not set
330# CONFIG_ATALK is not set
331# CONFIG_X25 is not set
332# CONFIG_LAPB is not set
333# CONFIG_NET_DIVERT is not set
334# CONFIG_ECONET is not set
335# CONFIG_WAN_ROUTER is not set
336
337#
338# QoS and/or fair queueing
339#
340# CONFIG_NET_SCHED is not set
341# CONFIG_NET_CLS_ROUTE is not set
342
343#
344# Network testing
345#
346# CONFIG_NET_PKTGEN is not set
347# CONFIG_NETPOLL is not set
348# CONFIG_NET_POLL_CONTROLLER is not set
349# CONFIG_HAMRADIO is not set
350# CONFIG_IRDA is not set
351# CONFIG_BT is not set
352CONFIG_NETDEVICES=y
353# CONFIG_DUMMY is not set
354# CONFIG_BONDING is not set
355# CONFIG_EQUALIZER is not set
356# CONFIG_TUN is not set
357
358#
359# Ethernet (10 or 100Mbit)
360#
361# CONFIG_NET_ETHERNET is not set
362CONFIG_NE2000=y
363
364#
365# Ethernet (1000 Mbit)
366#
367
368#
369# Ethernet (10000 Mbit)
370#
371
372#
373# Token Ring devices
374#
375
376#
377# Wireless LAN (non-hamradio)
378#
379# CONFIG_NET_RADIO is not set
380
381#
382# PCMCIA network device support
383#
384# CONFIG_NET_PCMCIA is not set
385
386#
387# Wan interfaces
388#
389# CONFIG_WAN is not set
390# CONFIG_PPP is not set
391# CONFIG_SLIP is not set
392# CONFIG_SHAPER is not set
393# CONFIG_NETCONSOLE is not set
394
395#
396# ISDN subsystem
397#
398# CONFIG_ISDN is not set
399
400#
401# Telephony Support
402#
403# CONFIG_PHONE is not set
404
405#
406# Input device support
407#
408CONFIG_INPUT=y
409
410#
411# Userland interfaces
412#
413CONFIG_INPUT_MOUSEDEV=y
414CONFIG_INPUT_MOUSEDEV_PSAUX=y
415CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
416CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
417# CONFIG_INPUT_JOYDEV is not set
418# CONFIG_INPUT_TSDEV is not set
419# CONFIG_INPUT_EVDEV is not set
420# CONFIG_INPUT_EVBUG is not set
421
422#
423# Input I/O drivers
424#
425# CONFIG_GAMEPORT is not set
426CONFIG_SOUND_GAMEPORT=y
427CONFIG_SERIO=y
428# CONFIG_SERIO_I8042 is not set
429# CONFIG_SERIO_SERPORT is not set
430# CONFIG_SERIO_CT82C710 is not set
431# CONFIG_SERIO_LIBPS2 is not set
432# CONFIG_SERIO_RAW is not set
433
434#
435# Input Device Drivers
436#
437# CONFIG_INPUT_KEYBOARD is not set
438# CONFIG_INPUT_MOUSE is not set
439# CONFIG_INPUT_JOYSTICK is not set
440# CONFIG_INPUT_TOUCHSCREEN is not set
441# CONFIG_INPUT_MISC is not set
442
443#
444# Character devices
445#
446# CONFIG_VT is not set
447# CONFIG_SERIAL_NONSTANDARD is not set
448
449#
450# Serial drivers
451#
452# CONFIG_SERIAL_8250 is not set
453
454#
455# Non-8250 serial port support
456#
457CONFIG_SERIAL_CORE=y
458CONFIG_SERIAL_CORE_CONSOLE=y
459CONFIG_SERIAL_M32R_SIO=y
460CONFIG_SERIAL_M32R_SIO_CONSOLE=y
461# CONFIG_SERIAL_M32R_PLDSIO is not set
462CONFIG_UNIX98_PTYS=y
463CONFIG_LEGACY_PTYS=y
464CONFIG_LEGACY_PTY_COUNT=256
465
466#
467# IPMI
468#
469# CONFIG_IPMI_HANDLER is not set
470
471#
472# Watchdog Cards
473#
474# CONFIG_WATCHDOG is not set
475# CONFIG_RTC is not set
476# CONFIG_GEN_RTC is not set
477# CONFIG_DTLK is not set
478# CONFIG_R3964 is not set
479
480#
481# Ftape, the floppy tape device driver
482#
483# CONFIG_DRM is not set
484
485#
486# PCMCIA character devices
487#
488# CONFIG_SYNCLINK_CS is not set
489# CONFIG_RAW_DRIVER is not set
490
491#
492# I2C support
493#
494# CONFIG_I2C is not set
495
496#
497# Dallas's 1-wire bus
498#
499# CONFIG_W1 is not set
500
501#
502# Misc devices
503#
504
505#
506# Multimedia devices
507#
508# CONFIG_VIDEO_DEV is not set
509
510#
511# Digital Video Broadcasting Devices
512#
513# CONFIG_DVB is not set
514
515#
516# Graphics support
517#
518# CONFIG_FB is not set
519
520#
521# Sound
522#
523# CONFIG_SOUND is not set
524
525#
526# USB support
527#
528# CONFIG_USB_ARCH_HAS_HCD is not set
529# CONFIG_USB_ARCH_HAS_OHCI is not set
530
531#
532# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
533#
534
535#
536# USB Gadget Support
537#
538# CONFIG_USB_GADGET is not set
539
540#
541# MMC/SD Card support
542#
543# CONFIG_MMC is not set
544
545#
546# InfiniBand support
547#
548# CONFIG_INFINIBAND is not set
549
550#
551# File systems
552#
553CONFIG_EXT2_FS=y
554# CONFIG_EXT2_FS_XATTR is not set
555# CONFIG_EXT3_FS is not set
556# CONFIG_JBD is not set
557# CONFIG_REISERFS_FS is not set
558# CONFIG_JFS_FS is not set
559
560#
561# XFS support
562#
563# CONFIG_XFS_FS is not set
564# CONFIG_MINIX_FS is not set
565CONFIG_ROMFS_FS=y
566# CONFIG_QUOTA is not set
567CONFIG_DNOTIFY=y
568# CONFIG_AUTOFS_FS is not set
569# CONFIG_AUTOFS4_FS is not set
570
571#
572# CD-ROM/DVD Filesystems
573#
574CONFIG_ISO9660_FS=y
575# CONFIG_JOLIET is not set
576# CONFIG_ZISOFS is not set
577# CONFIG_UDF_FS is not set
578
579#
580# DOS/FAT/NT Filesystems
581#
582CONFIG_FAT_FS=m
583CONFIG_MSDOS_FS=m
584CONFIG_VFAT_FS=m
585CONFIG_FAT_DEFAULT_CODEPAGE=437
586CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
587# CONFIG_NTFS_FS is not set
588
589#
590# Pseudo filesystems
591#
592CONFIG_PROC_FS=y
593CONFIG_PROC_KCORE=y
594CONFIG_SYSFS=y
595CONFIG_DEVFS_FS=y
596CONFIG_DEVFS_MOUNT=y
597# CONFIG_DEVFS_DEBUG is not set
598# CONFIG_DEVPTS_FS_XATTR is not set
599CONFIG_TMPFS=y
600# CONFIG_TMPFS_XATTR is not set
601# CONFIG_HUGETLBFS is not set
602# CONFIG_HUGETLB_PAGE is not set
603CONFIG_RAMFS=y
604
605#
606# Miscellaneous filesystems
607#
608# CONFIG_ADFS_FS is not set
609# CONFIG_AFFS_FS is not set
610# CONFIG_HFS_FS is not set
611# CONFIG_HFSPLUS_FS is not set
612# CONFIG_BEFS_FS is not set
613# CONFIG_BFS_FS is not set
614# CONFIG_EFS_FS is not set
615CONFIG_JFFS_FS=y
616CONFIG_JFFS_FS_VERBOSE=0
617CONFIG_JFFS_PROC_FS=y
618CONFIG_JFFS2_FS=y
619CONFIG_JFFS2_FS_DEBUG=0
620# CONFIG_JFFS2_FS_NAND is not set
621# CONFIG_JFFS2_FS_NOR_ECC is not set
622# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
623CONFIG_JFFS2_ZLIB=y
624CONFIG_JFFS2_RTIME=y
625# CONFIG_JFFS2_RUBIN is not set
626# CONFIG_CRAMFS is not set
627# CONFIG_VXFS_FS is not set
628# CONFIG_HPFS_FS is not set
629# CONFIG_QNX4FS_FS is not set
630# CONFIG_SYSV_FS is not set
631# CONFIG_UFS_FS is not set
632
633#
634# Network File Systems
635#
636CONFIG_NFS_FS=y
637CONFIG_NFS_V3=y
638# CONFIG_NFS_V4 is not set
639# CONFIG_NFS_DIRECTIO is not set
640# CONFIG_NFSD is not set
641CONFIG_ROOT_NFS=y
642CONFIG_LOCKD=y
643CONFIG_LOCKD_V4=y
644CONFIG_SUNRPC=y
645# CONFIG_RPCSEC_GSS_KRB5 is not set
646# CONFIG_RPCSEC_GSS_SPKM3 is not set
647# CONFIG_SMB_FS is not set
648# CONFIG_CIFS is not set
649# CONFIG_NCP_FS is not set
650# CONFIG_CODA_FS is not set
651# CONFIG_AFS_FS is not set
652
653#
654# Partition Types
655#
656# CONFIG_PARTITION_ADVANCED is not set
657CONFIG_MSDOS_PARTITION=y
658
659#
660# Native Language Support
661#
662CONFIG_NLS=y
663CONFIG_NLS_DEFAULT="iso8859-1"
664# CONFIG_NLS_CODEPAGE_437 is not set
665# CONFIG_NLS_CODEPAGE_737 is not set
666# CONFIG_NLS_CODEPAGE_775 is not set
667# CONFIG_NLS_CODEPAGE_850 is not set
668# CONFIG_NLS_CODEPAGE_852 is not set
669# CONFIG_NLS_CODEPAGE_855 is not set
670# CONFIG_NLS_CODEPAGE_857 is not set
671# CONFIG_NLS_CODEPAGE_860 is not set
672# CONFIG_NLS_CODEPAGE_861 is not set
673# CONFIG_NLS_CODEPAGE_862 is not set
674# CONFIG_NLS_CODEPAGE_863 is not set
675# CONFIG_NLS_CODEPAGE_864 is not set
676# CONFIG_NLS_CODEPAGE_865 is not set
677# CONFIG_NLS_CODEPAGE_866 is not set
678# CONFIG_NLS_CODEPAGE_869 is not set
679# CONFIG_NLS_CODEPAGE_936 is not set
680# CONFIG_NLS_CODEPAGE_950 is not set
681# CONFIG_NLS_CODEPAGE_932 is not set
682# CONFIG_NLS_CODEPAGE_949 is not set
683# CONFIG_NLS_CODEPAGE_874 is not set
684# CONFIG_NLS_ISO8859_8 is not set
685# CONFIG_NLS_CODEPAGE_1250 is not set
686# CONFIG_NLS_CODEPAGE_1251 is not set
687# CONFIG_NLS_ASCII is not set
688# CONFIG_NLS_ISO8859_1 is not set
689# CONFIG_NLS_ISO8859_2 is not set
690# CONFIG_NLS_ISO8859_3 is not set
691# CONFIG_NLS_ISO8859_4 is not set
692# CONFIG_NLS_ISO8859_5 is not set
693# CONFIG_NLS_ISO8859_6 is not set
694# CONFIG_NLS_ISO8859_7 is not set
695# CONFIG_NLS_ISO8859_9 is not set
696# CONFIG_NLS_ISO8859_13 is not set
697# CONFIG_NLS_ISO8859_14 is not set
698# CONFIG_NLS_ISO8859_15 is not set
699# CONFIG_NLS_KOI8_R is not set
700# CONFIG_NLS_KOI8_U is not set
701# CONFIG_NLS_UTF8 is not set
702
703#
704# Profiling support
705#
706# CONFIG_PROFILING is not set
707
708#
709# Kernel hacking
710#
711# CONFIG_DEBUG_KERNEL is not set
712CONFIG_DEBUG_PREEMPT=y
713# CONFIG_DEBUG_BUGVERBOSE is not set
714# CONFIG_FRAME_POINTER is not set
715
716#
717# Security options
718#
719# CONFIG_KEYS is not set
720# CONFIG_SECURITY is not set
721
722#
723# Cryptographic options
724#
725# CONFIG_CRYPTO is not set
726
727#
728# Hardware crypto devices
729#
730
731#
732# Library routines
733#
734# CONFIG_CRC_CCITT is not set
735CONFIG_CRC32=y
736# CONFIG_LIBCRC32C is not set
737CONFIG_ZLIB_INFLATE=y
738CONFIG_ZLIB_DEFLATE=y
diff --git a/arch/m32r/mappi/defconfig.up b/arch/m32r/mappi/defconfig.up
new file mode 100644
index 00000000000..c9253e94efb
--- /dev/null
+++ b/arch/m32r/mappi/defconfig.up
@@ -0,0 +1,734 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.11-rc4
4# Wed Feb 16 21:11:07 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
16# CONFIG_CLEAN_COMPILE is not set
17CONFIG_BROKEN=y
18CONFIG_BROKEN_ON_SMP=y
19CONFIG_LOCK_KERNEL=y
20
21#
22# General setup
23#
24CONFIG_LOCALVERSION=""
25CONFIG_SWAP=y
26CONFIG_SYSVIPC=y
27# CONFIG_POSIX_MQUEUE is not set
28# CONFIG_BSD_PROCESS_ACCT is not set
29CONFIG_SYSCTL=y
30# CONFIG_AUDIT is not set
31CONFIG_LOG_BUF_SHIFT=14
32CONFIG_HOTPLUG=y
33CONFIG_KOBJECT_UEVENT=y
34CONFIG_IKCONFIG=y
35CONFIG_IKCONFIG_PROC=y
36CONFIG_EMBEDDED=y
37# CONFIG_KALLSYMS is not set
38# CONFIG_FUTEX is not set
39# CONFIG_EPOLL is not set
40# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
41CONFIG_SHMEM=y
42CONFIG_CC_ALIGN_FUNCTIONS=0
43CONFIG_CC_ALIGN_LABELS=0
44CONFIG_CC_ALIGN_LOOPS=0
45CONFIG_CC_ALIGN_JUMPS=0
46# CONFIG_TINY_SHMEM is not set
47
48#
49# Loadable module support
50#
51CONFIG_MODULES=y
52CONFIG_MODULE_UNLOAD=y
53# CONFIG_MODULE_FORCE_UNLOAD is not set
54CONFIG_OBSOLETE_MODPARM=y
55# CONFIG_MODVERSIONS is not set
56# CONFIG_MODULE_SRCVERSION_ALL is not set
57CONFIG_KMOD=y
58
59#
60# Processor type and features
61#
62CONFIG_PLAT_MAPPI=y
63# CONFIG_PLAT_USRV is not set
64# CONFIG_PLAT_M32700UT is not set
65# CONFIG_PLAT_OPSPUT is not set
66# CONFIG_PLAT_OAKS32R is not set
67# CONFIG_PLAT_MAPPI2 is not set
68CONFIG_CHIP_M32700=y
69# CONFIG_CHIP_M32102 is not set
70# CONFIG_CHIP_VDEC2 is not set
71# CONFIG_CHIP_OPSP is not set
72CONFIG_MMU=y
73CONFIG_TLB_ENTRIES=32
74CONFIG_ISA_M32R2=y
75CONFIG_ISA_DSP_LEVEL2=y
76CONFIG_ISA_DUAL_ISSUE=y
77CONFIG_BUS_CLOCK=10000000
78CONFIG_TIMER_DIVIDE=128
79# CONFIG_CPU_LITTLE_ENDIAN is not set
80CONFIG_MEMORY_START=0x08000000
81CONFIG_MEMORY_SIZE=0x04000000
82CONFIG_NOHIGHMEM=y
83CONFIG_DISCONTIGMEM=y
84CONFIG_IRAM_START=0x00f00000
85CONFIG_IRAM_SIZE=0x00080000
86CONFIG_RWSEM_GENERIC_SPINLOCK=y
87# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
88CONFIG_GENERIC_CALIBRATE_DELAY=y
89CONFIG_PREEMPT=y
90# CONFIG_HAVE_DEC_LOCK is not set
91# CONFIG_SMP is not set
92
93#
94# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
95#
96# CONFIG_PCI is not set
97# CONFIG_ISA is not set
98
99#
100# PCCARD (PCMCIA/CardBus) support
101#
102CONFIG_PCCARD=y
103# CONFIG_PCMCIA_DEBUG is not set
104CONFIG_PCMCIA=y
105
106#
107# PC-card bridges
108#
109# CONFIG_TCIC is not set
110CONFIG_M32R_PCC=y
111
112#
113# PCI Hotplug Support
114#
115
116#
117# Executable file formats
118#
119CONFIG_BINFMT_ELF=y
120# CONFIG_BINFMT_MISC is not set
121
122#
123# Device Drivers
124#
125
126#
127# Generic Driver Options
128#
129# CONFIG_STANDALONE is not set
130CONFIG_PREVENT_FIRMWARE_BUILD=y
131# CONFIG_FW_LOADER is not set
132
133#
134# Memory Technology Devices (MTD)
135#
136CONFIG_MTD=y
137# CONFIG_MTD_DEBUG is not set
138CONFIG_MTD_PARTITIONS=y
139# CONFIG_MTD_CONCAT is not set
140CONFIG_MTD_REDBOOT_PARTS=y
141CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
142# CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set
143# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
144# CONFIG_MTD_CMDLINE_PARTS is not set
145
146#
147# User Modules And Translation Layers
148#
149CONFIG_MTD_CHAR=y
150CONFIG_MTD_BLOCK=y
151# CONFIG_FTL is not set
152# CONFIG_NFTL is not set
153# CONFIG_INFTL is not set
154
155#
156# RAM/ROM/Flash chip drivers
157#
158# CONFIG_MTD_CFI is not set
159# CONFIG_MTD_JEDECPROBE is not set
160CONFIG_MTD_MAP_BANK_WIDTH_1=y
161CONFIG_MTD_MAP_BANK_WIDTH_2=y
162CONFIG_MTD_MAP_BANK_WIDTH_4=y
163# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
164# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
165# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
166CONFIG_MTD_CFI_I1=y
167CONFIG_MTD_CFI_I2=y
168# CONFIG_MTD_CFI_I4 is not set
169# CONFIG_MTD_CFI_I8 is not set
170# CONFIG_MTD_RAM is not set
171# CONFIG_MTD_ROM is not set
172# CONFIG_MTD_ABSENT is not set
173# CONFIG_MTD_OBSOLETE_CHIPS is not set
174
175#
176# Mapping drivers for chip access
177#
178# CONFIG_MTD_COMPLEX_MAPPINGS is not set
179
180#
181# Self-contained MTD device drivers
182#
183# CONFIG_MTD_SLRAM is not set
184# CONFIG_MTD_PHRAM is not set
185# CONFIG_MTD_MTDRAM is not set
186# CONFIG_MTD_BLKMTD is not set
187# CONFIG_MTD_BLOCK2MTD is not set
188
189#
190# Disk-On-Chip Device Drivers
191#
192# CONFIG_MTD_DOC2000 is not set
193# CONFIG_MTD_DOC2001 is not set
194# CONFIG_MTD_DOC2001PLUS is not set
195
196#
197# NAND Flash Device Drivers
198#
199# CONFIG_MTD_NAND is not set
200
201#
202# Parallel port support
203#
204# CONFIG_PARPORT is not set
205
206#
207# Plug and Play support
208#
209
210#
211# Block devices
212#
213# CONFIG_BLK_DEV_FD is not set
214# CONFIG_BLK_DEV_COW_COMMON is not set
215CONFIG_BLK_DEV_LOOP=y
216# CONFIG_BLK_DEV_CRYPTOLOOP is not set
217CONFIG_BLK_DEV_NBD=m
218CONFIG_BLK_DEV_RAM=y
219CONFIG_BLK_DEV_RAM_COUNT=16
220CONFIG_BLK_DEV_RAM_SIZE=4096
221CONFIG_BLK_DEV_INITRD=y
222CONFIG_INITRAMFS_SOURCE=""
223# CONFIG_CDROM_PKTCDVD is not set
224
225#
226# IO Schedulers
227#
228CONFIG_IOSCHED_NOOP=y
229# CONFIG_IOSCHED_AS is not set
230CONFIG_IOSCHED_DEADLINE=y
231CONFIG_IOSCHED_CFQ=y
232# CONFIG_ATA_OVER_ETH is not set
233
234#
235# ATA/ATAPI/MFM/RLL support
236#
237CONFIG_IDE=m
238CONFIG_BLK_DEV_IDE=m
239
240#
241# Please see Documentation/ide.txt for help/info on IDE drives
242#
243# CONFIG_BLK_DEV_IDE_SATA is not set
244CONFIG_BLK_DEV_IDEDISK=m
245# CONFIG_IDEDISK_MULTI_MODE is not set
246CONFIG_BLK_DEV_IDECS=m
247CONFIG_BLK_DEV_IDECD=m
248# CONFIG_BLK_DEV_IDETAPE is not set
249# CONFIG_BLK_DEV_IDEFLOPPY is not set
250# CONFIG_IDE_TASK_IOCTL is not set
251
252#
253# IDE chipset support/bugfixes
254#
255CONFIG_IDE_GENERIC=m
256# CONFIG_IDE_ARM is not set
257# CONFIG_BLK_DEV_IDEDMA is not set
258# CONFIG_IDEDMA_AUTO is not set
259# CONFIG_BLK_DEV_HD is not set
260
261#
262# SCSI device support
263#
264# CONFIG_SCSI is not set
265
266#
267# Multi-device support (RAID and LVM)
268#
269# CONFIG_MD is not set
270
271#
272# Fusion MPT device support
273#
274
275#
276# IEEE 1394 (FireWire) support
277#
278# CONFIG_IEEE1394 is not set
279
280#
281# I2O device support
282#
283
284#
285# Networking support
286#
287CONFIG_NET=y
288
289#
290# Networking options
291#
292# CONFIG_PACKET is not set
293# CONFIG_NETLINK_DEV is not set
294CONFIG_UNIX=y
295# CONFIG_NET_KEY is not set
296CONFIG_INET=y
297# CONFIG_IP_MULTICAST is not set
298# CONFIG_IP_ADVANCED_ROUTER is not set
299CONFIG_IP_PNP=y
300CONFIG_IP_PNP_DHCP=y
301# CONFIG_IP_PNP_BOOTP is not set
302# CONFIG_IP_PNP_RARP is not set
303# CONFIG_NET_IPIP is not set
304# CONFIG_NET_IPGRE is not set
305# CONFIG_ARPD is not set
306# CONFIG_SYN_COOKIES is not set
307# CONFIG_INET_AH is not set
308# CONFIG_INET_ESP is not set
309# CONFIG_INET_IPCOMP is not set
310# CONFIG_INET_TUNNEL is not set
311CONFIG_IP_TCPDIAG=y
312# CONFIG_IP_TCPDIAG_IPV6 is not set
313# CONFIG_IPV6 is not set
314# CONFIG_NETFILTER is not set
315
316#
317# SCTP Configuration (EXPERIMENTAL)
318#
319# CONFIG_IP_SCTP is not set
320# CONFIG_ATM is not set
321# CONFIG_BRIDGE is not set
322# CONFIG_VLAN_8021Q is not set
323# CONFIG_DECNET is not set
324# CONFIG_LLC2 is not set
325# CONFIG_IPX is not set
326# CONFIG_ATALK is not set
327# CONFIG_X25 is not set
328# CONFIG_LAPB is not set
329# CONFIG_NET_DIVERT is not set
330# CONFIG_ECONET is not set
331# CONFIG_WAN_ROUTER is not set
332
333#
334# QoS and/or fair queueing
335#
336# CONFIG_NET_SCHED is not set
337# CONFIG_NET_CLS_ROUTE is not set
338
339#
340# Network testing
341#
342# CONFIG_NET_PKTGEN is not set
343# CONFIG_NETPOLL is not set
344# CONFIG_NET_POLL_CONTROLLER is not set
345# CONFIG_HAMRADIO is not set
346# CONFIG_IRDA is not set
347# CONFIG_BT is not set
348CONFIG_NETDEVICES=y
349# CONFIG_DUMMY is not set
350# CONFIG_BONDING is not set
351# CONFIG_EQUALIZER is not set
352# CONFIG_TUN is not set
353
354#
355# Ethernet (10 or 100Mbit)
356#
357# CONFIG_NET_ETHERNET is not set
358CONFIG_NE2000=y
359
360#
361# Ethernet (1000 Mbit)
362#
363
364#
365# Ethernet (10000 Mbit)
366#
367
368#
369# Token Ring devices
370#
371
372#
373# Wireless LAN (non-hamradio)
374#
375# CONFIG_NET_RADIO is not set
376
377#
378# PCMCIA network device support
379#
380# CONFIG_NET_PCMCIA is not set
381
382#
383# Wan interfaces
384#
385# CONFIG_WAN is not set
386# CONFIG_PPP is not set
387# CONFIG_SLIP is not set
388# CONFIG_SHAPER is not set
389# CONFIG_NETCONSOLE is not set
390
391#
392# ISDN subsystem
393#
394# CONFIG_ISDN is not set
395
396#
397# Telephony Support
398#
399# CONFIG_PHONE is not set
400
401#
402# Input device support
403#
404CONFIG_INPUT=y
405
406#
407# Userland interfaces
408#
409CONFIG_INPUT_MOUSEDEV=y
410CONFIG_INPUT_MOUSEDEV_PSAUX=y
411CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
412CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
413# CONFIG_INPUT_JOYDEV is not set
414# CONFIG_INPUT_TSDEV is not set
415# CONFIG_INPUT_EVDEV is not set
416# CONFIG_INPUT_EVBUG is not set
417
418#
419# Input I/O drivers
420#
421# CONFIG_GAMEPORT is not set
422CONFIG_SOUND_GAMEPORT=y
423CONFIG_SERIO=y
424# CONFIG_SERIO_I8042 is not set
425# CONFIG_SERIO_SERPORT is not set
426# CONFIG_SERIO_CT82C710 is not set
427# CONFIG_SERIO_LIBPS2 is not set
428# CONFIG_SERIO_RAW is not set
429
430#
431# Input Device Drivers
432#
433# CONFIG_INPUT_KEYBOARD is not set
434# CONFIG_INPUT_MOUSE is not set
435# CONFIG_INPUT_JOYSTICK is not set
436# CONFIG_INPUT_TOUCHSCREEN is not set
437# CONFIG_INPUT_MISC is not set
438
439#
440# Character devices
441#
442# CONFIG_VT is not set
443# CONFIG_SERIAL_NONSTANDARD is not set
444
445#
446# Serial drivers
447#
448# CONFIG_SERIAL_8250 is not set
449
450#
451# Non-8250 serial port support
452#
453CONFIG_SERIAL_CORE=y
454CONFIG_SERIAL_CORE_CONSOLE=y
455CONFIG_SERIAL_M32R_SIO=y
456CONFIG_SERIAL_M32R_SIO_CONSOLE=y
457# CONFIG_SERIAL_M32R_PLDSIO is not set
458CONFIG_UNIX98_PTYS=y
459CONFIG_LEGACY_PTYS=y
460CONFIG_LEGACY_PTY_COUNT=256
461
462#
463# IPMI
464#
465# CONFIG_IPMI_HANDLER is not set
466
467#
468# Watchdog Cards
469#
470# CONFIG_WATCHDOG is not set
471# CONFIG_RTC is not set
472# CONFIG_GEN_RTC is not set
473# CONFIG_DTLK is not set
474# CONFIG_R3964 is not set
475
476#
477# Ftape, the floppy tape device driver
478#
479# CONFIG_DRM is not set
480
481#
482# PCMCIA character devices
483#
484# CONFIG_SYNCLINK_CS is not set
485# CONFIG_RAW_DRIVER is not set
486
487#
488# I2C support
489#
490# CONFIG_I2C is not set
491
492#
493# Dallas's 1-wire bus
494#
495# CONFIG_W1 is not set
496
497#
498# Misc devices
499#
500
501#
502# Multimedia devices
503#
504# CONFIG_VIDEO_DEV is not set
505
506#
507# Digital Video Broadcasting Devices
508#
509# CONFIG_DVB is not set
510
511#
512# Graphics support
513#
514# CONFIG_FB is not set
515
516#
517# Sound
518#
519# CONFIG_SOUND is not set
520
521#
522# USB support
523#
524# CONFIG_USB_ARCH_HAS_HCD is not set
525# CONFIG_USB_ARCH_HAS_OHCI is not set
526
527#
528# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
529#
530
531#
532# USB Gadget Support
533#
534# CONFIG_USB_GADGET is not set
535
536#
537# MMC/SD Card support
538#
539# CONFIG_MMC is not set
540
541#
542# InfiniBand support
543#
544# CONFIG_INFINIBAND is not set
545
546#
547# File systems
548#
549CONFIG_EXT2_FS=y
550# CONFIG_EXT2_FS_XATTR is not set
551# CONFIG_EXT3_FS is not set
552# CONFIG_JBD is not set
553# CONFIG_REISERFS_FS is not set
554# CONFIG_JFS_FS is not set
555
556#
557# XFS support
558#
559# CONFIG_XFS_FS is not set
560# CONFIG_MINIX_FS is not set
561CONFIG_ROMFS_FS=y
562# CONFIG_QUOTA is not set
563CONFIG_DNOTIFY=y
564# CONFIG_AUTOFS_FS is not set
565# CONFIG_AUTOFS4_FS is not set
566
567#
568# CD-ROM/DVD Filesystems
569#
570CONFIG_ISO9660_FS=y
571# CONFIG_JOLIET is not set
572# CONFIG_ZISOFS is not set
573# CONFIG_UDF_FS is not set
574
575#
576# DOS/FAT/NT Filesystems
577#
578CONFIG_FAT_FS=m
579CONFIG_MSDOS_FS=m
580CONFIG_VFAT_FS=m
581CONFIG_FAT_DEFAULT_CODEPAGE=437
582CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
583# CONFIG_NTFS_FS is not set
584
585#
586# Pseudo filesystems
587#
588CONFIG_PROC_FS=y
589CONFIG_PROC_KCORE=y
590CONFIG_SYSFS=y
591CONFIG_DEVFS_FS=y
592CONFIG_DEVFS_MOUNT=y
593# CONFIG_DEVFS_DEBUG is not set
594# CONFIG_DEVPTS_FS_XATTR is not set
595CONFIG_TMPFS=y
596# CONFIG_TMPFS_XATTR is not set
597# CONFIG_HUGETLBFS is not set
598# CONFIG_HUGETLB_PAGE is not set
599CONFIG_RAMFS=y
600
601#
602# Miscellaneous filesystems
603#
604# CONFIG_ADFS_FS is not set
605# CONFIG_AFFS_FS is not set
606# CONFIG_HFS_FS is not set
607# CONFIG_HFSPLUS_FS is not set
608# CONFIG_BEFS_FS is not set
609# CONFIG_BFS_FS is not set
610# CONFIG_EFS_FS is not set
611CONFIG_JFFS_FS=y
612CONFIG_JFFS_FS_VERBOSE=0
613CONFIG_JFFS_PROC_FS=y
614CONFIG_JFFS2_FS=y
615CONFIG_JFFS2_FS_DEBUG=0
616# CONFIG_JFFS2_FS_NAND is not set
617# CONFIG_JFFS2_FS_NOR_ECC is not set
618# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
619CONFIG_JFFS2_ZLIB=y
620CONFIG_JFFS2_RTIME=y
621# CONFIG_JFFS2_RUBIN is not set
622# CONFIG_CRAMFS is not set
623# CONFIG_VXFS_FS is not set
624# CONFIG_HPFS_FS is not set
625# CONFIG_QNX4FS_FS is not set
626# CONFIG_SYSV_FS is not set
627# CONFIG_UFS_FS is not set
628
629#
630# Network File Systems
631#
632CONFIG_NFS_FS=y
633CONFIG_NFS_V3=y
634# CONFIG_NFS_V4 is not set
635# CONFIG_NFS_DIRECTIO is not set
636# CONFIG_NFSD is not set
637CONFIG_ROOT_NFS=y
638CONFIG_LOCKD=y
639CONFIG_LOCKD_V4=y
640CONFIG_SUNRPC=y
641# CONFIG_RPCSEC_GSS_KRB5 is not set
642# CONFIG_RPCSEC_GSS_SPKM3 is not set
643# CONFIG_SMB_FS is not set
644# CONFIG_CIFS is not set
645# CONFIG_NCP_FS is not set
646# CONFIG_CODA_FS is not set
647# CONFIG_AFS_FS is not set
648
649#
650# Partition Types
651#
652# CONFIG_PARTITION_ADVANCED is not set
653CONFIG_MSDOS_PARTITION=y
654
655#
656# Native Language Support
657#
658CONFIG_NLS=y
659CONFIG_NLS_DEFAULT="iso8859-1"
660# CONFIG_NLS_CODEPAGE_437 is not set
661# CONFIG_NLS_CODEPAGE_737 is not set
662# CONFIG_NLS_CODEPAGE_775 is not set
663# CONFIG_NLS_CODEPAGE_850 is not set
664# CONFIG_NLS_CODEPAGE_852 is not set
665# CONFIG_NLS_CODEPAGE_855 is not set
666# CONFIG_NLS_CODEPAGE_857 is not set
667# CONFIG_NLS_CODEPAGE_860 is not set
668# CONFIG_NLS_CODEPAGE_861 is not set
669# CONFIG_NLS_CODEPAGE_862 is not set
670# CONFIG_NLS_CODEPAGE_863 is not set
671# CONFIG_NLS_CODEPAGE_864 is not set
672# CONFIG_NLS_CODEPAGE_865 is not set
673# CONFIG_NLS_CODEPAGE_866 is not set
674# CONFIG_NLS_CODEPAGE_869 is not set
675# CONFIG_NLS_CODEPAGE_936 is not set
676# CONFIG_NLS_CODEPAGE_950 is not set
677# CONFIG_NLS_CODEPAGE_932 is not set
678# CONFIG_NLS_CODEPAGE_949 is not set
679# CONFIG_NLS_CODEPAGE_874 is not set
680# CONFIG_NLS_ISO8859_8 is not set
681# CONFIG_NLS_CODEPAGE_1250 is not set
682# CONFIG_NLS_CODEPAGE_1251 is not set
683# CONFIG_NLS_ASCII is not set
684# CONFIG_NLS_ISO8859_1 is not set
685# CONFIG_NLS_ISO8859_2 is not set
686# CONFIG_NLS_ISO8859_3 is not set
687# CONFIG_NLS_ISO8859_4 is not set
688# CONFIG_NLS_ISO8859_5 is not set
689# CONFIG_NLS_ISO8859_6 is not set
690# CONFIG_NLS_ISO8859_7 is not set
691# CONFIG_NLS_ISO8859_9 is not set
692# CONFIG_NLS_ISO8859_13 is not set
693# CONFIG_NLS_ISO8859_14 is not set
694# CONFIG_NLS_ISO8859_15 is not set
695# CONFIG_NLS_KOI8_R is not set
696# CONFIG_NLS_KOI8_U is not set
697# CONFIG_NLS_UTF8 is not set
698
699#
700# Profiling support
701#
702# CONFIG_PROFILING is not set
703
704#
705# Kernel hacking
706#
707# CONFIG_DEBUG_KERNEL is not set
708CONFIG_DEBUG_PREEMPT=y
709# CONFIG_DEBUG_BUGVERBOSE is not set
710# CONFIG_FRAME_POINTER is not set
711
712#
713# Security options
714#
715# CONFIG_KEYS is not set
716# CONFIG_SECURITY is not set
717
718#
719# Cryptographic options
720#
721# CONFIG_CRYPTO is not set
722
723#
724# Hardware crypto devices
725#
726
727#
728# Library routines
729#
730# CONFIG_CRC_CCITT is not set
731CONFIG_CRC32=y
732# CONFIG_LIBCRC32C is not set
733CONFIG_ZLIB_INFLATE=y
734CONFIG_ZLIB_DEFLATE=y
diff --git a/arch/m32r/mappi/dot.gdbinit b/arch/m32r/mappi/dot.gdbinit
new file mode 100644
index 00000000000..7a1d293863e
--- /dev/null
+++ b/arch/m32r/mappi/dot.gdbinit
@@ -0,0 +1,242 @@
1# .gdbinit file
2# $Id: dot.gdbinit.mappi,v 1.4 2004/10/20 02:24:37 takata Exp $
3#-----
4# NOTE: this file is generated by a script, "gen_gdbinit.pl".
5# (Please type "gen_gdbinit.pl --help" and check the help message).
6# $ Id: gen_gdbinit.pl,v 1.12 2004/07/26 09:56:10 takata Exp $
7#-----
8# target platform: mappi
9
10# setting
11set width 0d70
12set radix 0d16
13debug_chaos
14
15# clk xin:cpu:bif:bus=30:360:180:90
16define clock_init
17 set *(unsigned long *)0x00ef4024 = 2
18 set *(unsigned long *)0x00ef4020 = 1
19 set *(unsigned long *)0x00ef4010 = 0
20 set *(unsigned long *)0x00ef4014 = 0
21 set *(unsigned long *)0x00ef4004 = 5
22 shell sleep 0.1
23 set *(unsigned long *)0x00ef4008 = 0x00000200
24end
25
26# Initialize programmable ports
27define port_init
28 set $sfrbase = 0x00ef0000
29 set *(unsigned short *)0x00ef1060 = 0x5555
30 set *(unsigned short *)0x00ef1062 = 0x5555
31 set *(unsigned short *)0x00ef1064 = 0x5555
32 set *(unsigned short *)0x00ef1066 = 0x5555
33 set *(unsigned short *)0x00ef1068 = 0x5555
34 set *(unsigned short *)0x00ef106a = 0x0000
35 set *(unsigned short *)0x00ef106e = 0x5555
36 set *(unsigned short *)0x00ef1070 = 0x5555
37 # LED ON
38 set *(unsigned char *)($sfrbase + 0x1015) = 0xff
39 set *(unsigned char *)($sfrbase + 0x1085) = 0xff
40 shell sleep 0.1
41 # LED OFF
42 set *(unsigned char *)($sfrbase + 0x1085) = 0x00
43end
44document port_init
45 P5=LED(output), P6.b4=LAN_RESET(output)
46end
47
48# Initialize SDRAM controller
49define sdram_init
50 # SDIR0
51 set *(unsigned long *)0x00ef6008 = 0x00000182
52 # SDIR1
53 set *(unsigned long *)0x00ef600c = 0x00000001
54 # Initialize wait
55 shell sleep 0.1
56 # Ch0-MOD
57 set *(unsigned long *)0x00ef602c = 0x00000020
58 # Ch0-TR
59 set *(unsigned long *)0x00ef6028 = 0x00051502
60 # Ch0-ADR (size:64MB)
61 set *(unsigned long *)0x00ef6020 = 0x08000004
62 # AutoRef On
63 set *(unsigned long *)0x00ef6004 = 0x00010e2b
64 # Access enable
65 set *(unsigned long *)0x00ef6024 = 0x00000001
66end
67document sdram_init
68 SDRAM controller initialization
69 0x08000000 - 0x0bffffff (64MB)
70end
71
72# Initialize LAN controller
73define lanc_init
74 set $sfrbase = 0x00ef0000
75 # Set BSEL3 (BSEL3 for the Chaos's bselc)
76 set *(unsigned long *)($sfrbase + 0x5300) = 0x0a0a8040
77 set *(unsigned long *)($sfrbase + 0x5304) = 0x01120203
78 set *(unsigned long *)($sfrbase + 0x5308) = 0x00000001
79 # Reset (P5=LED,P6.b4=LAN_RESET)
80 set *(unsigned short *)($sfrbase + 0x106c) = 0x0000
81 set *(unsigned char *)($sfrbase + 0x1016) = 0xff
82 set *(unsigned char *)($sfrbase + 0x1086) = 0xff
83 shell sleep 0.1
84 # swivel: 0=normal, 4=reverse
85# set *(unsigned char *)($sfrbase + 0x1086) = 0x00
86 set *(unsigned char *)($sfrbase + 0x1086) = 0x04
87 set *(unsigned long *)(0x0c000330) = 0xffffffff
88 # Set mac address
89 set $lanc = (void*)0x0c000300
90 set *(unsigned long *)($lanc + 0x0000) = 0x00610010
91 set *(unsigned long *)($lanc + 0x0004) = 0x00200030
92 set *(unsigned long *)($lanc + 0x0008) = 0x00400050
93 set *(unsigned long *)($lanc + 0x000c) = 0x00600007
94end
95document lanc_init
96 LAN controller initialization
97 ex.) MAC address: 10 20 30 40 50 60
98end
99
100# LCD & CRT dual-head setting (8bpp)
101define dispc_init
102 set $sfrbase = 0x00ef0000
103 # BSEL4 Dispc
104 set *(unsigned long *)($sfrbase + 0x5400) = 0x0e0e8000
105 set *(unsigned long *)($sfrbase + 0x5404) = 0x0012220a
106end
107
108# MMU enable
109define mmu_enable
110 set $evb=0x88000000
111 set *(unsigned long *)0xffff0024=1
112end
113
114# MMU disable
115define mmu_disable
116 set $evb=0
117 set *(unsigned long *)0xffff0024=0
118end
119
120# Show TLB entries
121define show_tlb_entries
122 set $i = 0
123 set $addr = $arg0
124 set $nr_entries = $arg1
125 use_mon_code
126 while ($i < $nr_entries)
127 set $tlb_tag = *(unsigned long*)$addr
128 set $tlb_data = *(unsigned long*)($addr + 4)
129 printf " [%2d] 0x%08lx : 0x%08lx - 0x%08lx\n", $i, $addr, $tlb_tag, $tlb_data
130 set $i = $i + 1
131 set $addr = $addr + 8
132 end
133 use_debug_dma
134end
135define itlb
136 set $itlb=0xfe000000
137 show_tlb_entries $itlb 0d32
138end
139define dtlb
140 set $dtlb=0xfe000800
141 show_tlb_entries $dtlb 0d32
142end
143
144# Show current task structure
145define show_current
146 set $current = $spi & 0xffffe000
147 printf "$current=0x%08lX\n",$current
148 print *(struct task_struct *)$current
149end
150
151# Show user assigned task structure
152define show_task
153 set = $arg0 & 0xffffe000
154 printf "$task=0x%08lX\n",$task
155 print *(struct task_struct *)$task
156end
157document show_task
158 Show user assigned task structure
159 arg0 : task structure address
160end
161
162# Show M32R registers
163define show_regs
164 printf " R0[0x%08lX] R1[0x%08lX] R2[0x%08lX] R3[0x%08lX]\n",$r0,$r1,$r2,$r3
165 printf " R4[0x%08lX] R5[0x%08lX] R6[0x%08lX] R7[0x%08lX]\n",$r4,$r5,$r6,$r7
166 printf " R8[0x%08lX] R9[0x%08lX] R10[0x%08lX] R11[0x%08lX]\n",$r8,$r9,$r10,$r11
167 printf "R12[0x%08lX] FP[0x%08lX] LR[0x%08lX] SP[0x%08lX]\n",$r12,$fp,$lr,$sp
168 printf "PSW[0x%08lX] CBR[0x%08lX] SPI[0x%08lX] SPU[0x%08lX]\n",$psw,$cbr,$spi,$spu
169 printf "BPC[0x%08lX] PC[0x%08lX] ACCL[0x%08lX] ACCH[0x%08lX]\n",$bpc,$pc,$accl,$acch
170 printf "EVB[0x%08lX]\n",$evb
171end
172
173# Setup all
174define setup
175 use_mon_code
176 set *(unsigned int)0xfffffffc=0x60
177 shell sleep 0.1
178 clock_init
179 shell sleep 0.1
180 port_init
181 sdram_init
182 lanc_init
183 dispc_init
184 set $evb=0x08000000
185end
186
187# Load modules
188define load_modules
189 use_debug_dma
190 load
191end
192
193# Set kernel parameters
194define set_kernel_parameters
195 set $param = (void*)0x08001000
196 # INITRD_START
197# set *(unsigned long *)($param + 0x0010) = 0x08300000
198 # INITRD_SIZE
199# set *(unsigned long *)($param + 0x0014) = 0x00000000
200 # M32R_CPUCLK
201 set *(unsigned long *)($param + 0x0018) = 0d360000000
202 # M32R_BUSCLK
203 set *(unsigned long *)($param + 0x001c) = 0d90000000
204
205 # M32R_TIMER_DIVIDE
206 set *(unsigned long *)($param + 0x0020) = 0d128
207
208 set {char[0x200]}($param + 0x100) = "console=ttyS0,115200n8x console=tty1 root=/dev/nfsroot nfsroot=192.168.0.1:/project/m32r-linux/export/rootfs nfsaddrs=192.168.0.101:192.168.0.1:192.168.0.1:255.255.255.0:mappi001 \0"
209end
210
211# Boot
212define boot
213 set_kernel_parameters
214 set $fp = 0
215 set $pc = 0x08002000
216 si
217 c
218end
219
220# Set breakpoints
221define set_breakpoints
222 b *0x08000030
223end
224
225# Restart
226define restart
227 sdireset
228 sdireset
229 setup
230 load_modules
231 boot
232end
233
234sdireset
235sdireset
236file vmlinux
237target m32rsdi
238setup
239#load_modules
240#set_breakpoints
241#boot
242
diff --git a/arch/m32r/mappi/dot.gdbinit.nommu b/arch/m32r/mappi/dot.gdbinit.nommu
new file mode 100644
index 00000000000..297536cf67c
--- /dev/null
+++ b/arch/m32r/mappi/dot.gdbinit.nommu
@@ -0,0 +1,245 @@
1# .gdbinit file
2# $Id$
3#-----
4# NOTE: this file is generated by a script, "gen_gdbinit.pl".
5# (Please type "gen_gdbinit.pl --help" and check the help message).
6# $ Id: gen_gdbinit.pl,v 1.5 2004/01/23 08:23:25 takata Exp $
7#-----
8# target platform: mappi
9
10# setting
11set width 0d70
12set radix 0d16
13debug_chaos
14
15# clk xin:cpu:bif:bus=25:200:50:50
16define clock_init
17 set *(unsigned long *)0x00ef4024 = 2
18 set *(unsigned long *)0x00ef4020 = 2
19 set *(unsigned long *)0x00ef4010 = 0
20 set *(unsigned long *)0x00ef4014 = 0
21 set *(unsigned long *)0x00ef4004 = 3
22 shell sleep 0.1
23 set *(unsigned long *)0x00ef4008 = 0x00000200
24end
25
26# Initialize programmable ports
27define port_init
28 set $sfrbase = 0x00ef0000
29 set *(unsigned short *)0x00ef1060 = 0x5555
30 set *(unsigned short *)0x00ef1062 = 0x5555
31 set *(unsigned short *)0x00ef1064 = 0x5555
32 set *(unsigned short *)0x00ef1066 = 0x5555
33 set *(unsigned short *)0x00ef1068 = 0x5555
34 set *(unsigned short *)0x00ef106a = 0x0000
35 set *(unsigned short *)0x00ef106e = 0x5555
36 set *(unsigned short *)0x00ef1070 = 0x5555
37 # LED ON
38 set *(unsigned char *)($sfrbase + 0x1015) = 0xff
39 set *(unsigned char *)($sfrbase + 0x1085) = 0xff
40 shell sleep 0.1
41 # LED OFF
42 set *(unsigned char *)($sfrbase + 0x1085) = 0x00
43end
44document port_init
45 P5=LED(output), P6.b4=LAN_RESET(output)
46end
47
48# Initialize SDRAM controller
49define sdram_init
50 # SDIR0
51 set *(unsigned long *)0x00ef6008 = 0x00000182
52 # SDIR1
53 set *(unsigned long *)0x00ef600c = 0x00000001
54 # Initialize wait
55 shell sleep 0.1
56 # Ch0-MOD
57 set *(unsigned long *)0x00ef602c = 0x00000020
58 # Ch0-TR
59 set *(unsigned long *)0x00ef6028 = 0x00051502
60 # Ch0-ADR (size:64MB)
61 set *(unsigned long *)0x00ef6020 = 0x00000004
62 # AutoRef On
63 set *(unsigned long *)0x00ef6004 = 0x00010f05
64 # Access enable
65 set *(unsigned long *)0x00ef6024 = 0x00000001
66end
67document sdram_init
68 SDRAM controller initialization
69 0x08000000 - 0x0bffffff (64MB)
70end
71
72# Initialize LAN controller
73define lanc_init
74 set $sfrbase = 0x00ef0000
75 # Set BSEL3 (BSEL3 for the Chaos's bselc)
76 set *(unsigned long *)($sfrbase + 0x5300) = 0x07078040
77 set *(unsigned long *)($sfrbase + 0x5304) = 0x01110102
78 set *(unsigned long *)($sfrbase + 0x5308) = 0x00000001
79 # Reset (P5=LED,P6.b4=LAN_RESET)
80 set *(unsigned short *)($sfrbase + 0x106c) = 0x0000
81 set *(unsigned char *)($sfrbase + 0x1016) = 0xff
82 set *(unsigned char *)($sfrbase + 0x1086) = 0xff
83 shell sleep 0.1
84 # swivel: 0=normal, 4=reverse
85# set *(unsigned char *)($sfrbase + 0x1086) = 0x00
86 set *(unsigned char *)($sfrbase + 0x1086) = 0x04
87 set *(unsigned long *)(0x0c000330) = 0xffffffff
88 # Set mac address
89 set $lanc = (void*)0x0c000300
90 set *(unsigned long *)($lanc + 0x0000) = 0x00610010
91 set *(unsigned long *)($lanc + 0x0004) = 0x00200030
92 set *(unsigned long *)($lanc + 0x0008) = 0x00400050
93 set *(unsigned long *)($lanc + 0x000c) = 0x00600007
94end
95document lanc_init
96 LAN controller initialization
97 ex.) MAC address: 10 20 30 40 50 60
98end
99
100# LCD & CRT dual-head setting (8bpp)
101define dispc_init
102 set $sfrbase = 0x00ef0000
103 # BSEL4 Dispc
104 set *(unsigned long *)($sfrbase + 0x5400) = 0x06078000
105 set *(unsigned long *)($sfrbase + 0x5404) = 0x00101101
106end
107
108# MMU enable
109define mmu_enable
110 set $evb=0x88000000
111 set *(unsigned long *)0xffff0024=1
112end
113
114# MMU disable
115define mmu_disable
116 set $evb=0
117 set *(unsigned long *)0xffff0024=0
118end
119
120# Show TLB entries
121define show_tlb_entries
122 set $i = 0
123 set $addr = $arg0
124 set $nr_entries = $arg1
125 use_mon_code
126 while ($i < $nr_entries)
127 set $tlb_tag = *(unsigned long*)$addr
128 set $tlb_data = *(unsigned long*)($addr + 4)
129 printf " [%2d] 0x%08lx : 0x%08lx - 0x%08lx\n", $i, $addr, $tlb_tag, $tlb_data
130 set $i = $i + 1
131 set $addr = $addr + 8
132 end
133 use_debug_dma
134end
135define itlb
136 set $itlb=0xfe000000
137 show_tlb_entries $itlb 0d32
138end
139define dtlb
140 set $dtlb=0xfe000800
141 show_tlb_entries $dtlb 0d32
142end
143
144# Show current task structure
145define show_current
146 set $current = $spi & 0xffffe000
147 printf "$current=0x%08lX\n",$current
148 print *(struct task_struct *)$current
149end
150
151# Show user assigned task structure
152define show_task
153 set = $arg0 & 0xffffe000
154 printf "$task=0x%08lX\n",$task
155 print *(struct task_struct *)$task
156end
157document show_task
158 Show user assigned task structure
159 arg0 : task structure address
160end
161
162# Show M32R registers
163define show_regs
164 printf " R0[0x%08lX] R1[0x%08lX] R2[0x%08lX] R3[0x%08lX]\n",$r0,$r1,$r2,$r3
165 printf " R4[0x%08lX] R5[0x%08lX] R6[0x%08lX] R7[0x%08lX]\n",$r4,$r5,$r6,$r7
166 printf " R8[0x%08lX] R9[0x%08lX] R10[0x%08lX] R11[0x%08lX]\n",$r8,$r9,$r10,$r11
167 printf "R12[0x%08lX] FP[0x%08lX] LR[0x%08lX] SP[0x%08lX]\n",$r12,$fp,$lr,$sp
168 printf "PSW[0x%08lX] CBR[0x%08lX] SPI[0x%08lX] SPU[0x%08lX]\n",$psw,$cbr,$spi,$spu
169 printf "BPC[0x%08lX] PC[0x%08lX] ACCL[0x%08lX] ACCH[0x%08lX]\n",$bpc,$pc,$accl,$acch
170 printf "EVB[0x%08lX]\n",$evb
171end
172
173# Setup all
174define setup
175 use_mon_code
176 set *(unsigned int)0xfffffffc=0x60
177 shell sleep 0.1
178 clock_init
179 shell sleep 0.1
180 port_init
181 sdram_init
182 lanc_init
183 dispc_init
184 set $evb=0x00000000
185end
186
187# Load modules
188define load_modules
189 use_debug_dma
190 load
191end
192
193# Set kernel parameters
194define set_kernel_parameters
195 set $param = (void*)0x00001000
196 # INITRD_START
197 #set *(unsigned long *)($param + 0x0010) = 0x082a0000
198 # INITRD_SIZE
199 #set *(unsigned long *)($param + 0x0014) = 0x00000000
200 # M32R_CPUCLK
201 set *(unsigned long *)($param + 0x0018) = 0d200000000
202 # M32R_BUSCLK
203 set *(unsigned long *)($param + 0x001c) = 0d50000000
204
205 # M32R_TIMER_DIVIDE
206 set *(unsigned long *)($param + 0x0020) = 0d128
207
208 set {char[0x200]}($param + 0x100) = "console=ttyS0,115200n8x root=/dev/nfsroot nfsroot=192.168.0.1:/project/m32r-linux/export/root.bbox-httpd nfsaddrs=192.168.0.101:192.168.0.1:192.168.0.1:255.255.255.0:mappi001 \0"
209end
210
211# Boot
212define boot
213 set_kernel_parameters
214 set $fp = 0
215 set $pc=0x00002000
216 set *(long *)0xfffffff4=0x8080
217# b load_flat_binary
218# set *(unsigned char *)0x08001003=0x63
219# set *(unsigned char *)0x08001003=0x02
220 si
221# c
222end
223
224# Set breakpoints
225define set_breakpoints
226 b *0x08000030
227end
228
229# Restart
230define restart
231 sdireset
232 sdireset
233 setup
234 load_modules
235 boot
236end
237
238sdireset
239sdireset
240file vmlinux
241target m32rsdi
242setup
243load_modules
244boot
245
diff --git a/arch/m32r/mappi/dot.gdbinit.smp b/arch/m32r/mappi/dot.gdbinit.smp
new file mode 100644
index 00000000000..171489a440d
--- /dev/null
+++ b/arch/m32r/mappi/dot.gdbinit.smp
@@ -0,0 +1,344 @@
1# .gdbinit file
2# $Id$
3
4# setting
5set width 0d70
6set radix 0d16
7debug_chaos
8
9# clk xin:cpu:bif:bus=1:4:2:1
10define clock_init_on
11 set *(unsigned long *)0x00ef4024 = 2
12 set *(unsigned long *)0x00ef4020 = 1
13 set *(unsigned long *)0x00ef4010 = 0
14 set *(unsigned long *)0x00ef4014 = 0
15 set *(unsigned long *)0x00ef4004 = 0x1
16 shell sleep 0.1
17 set *(unsigned long *)0x00ef4008 = 0x0200
18# set *(unsigned long *)0x00ef4008 = 0x0201
19end
20
21# clk xin:cpu:bif:bus=1:4:1:1
22define clock_init_on_1411
23 set *(unsigned long *)0x00ef4024 = 2
24 set *(unsigned long *)0x00ef4020 = 2
25 set *(unsigned long *)0x00ef4010 = 0
26 set *(unsigned long *)0x00ef4014 = 0
27 set *(unsigned long *)0x00ef4004 = 0x1
28 shell sleep 0.1
29 set *(unsigned long *)0x00ef4008 = 0x0200
30end
31
32# clk xin:cpu:bif:bus=1:4:2:1
33define clock_init_on_1421
34 set *(unsigned long *)0x00ef4024 = 2
35 set *(unsigned long *)0x00ef4020 = 1
36 set *(unsigned long *)0x00ef4010 = 0
37 set *(unsigned long *)0x00ef4014 = 0
38 set *(unsigned long *)0x00ef4004 = 0x1
39 shell sleep 0.1
40 set *(unsigned long *)0x00ef4008 = 0x0200
41end
42
43# clk xin:cpu:bif:bus=1:8:2:1
44define clock_init_on_1821
45 set *(unsigned long *)0x00ef4024 = 3
46 set *(unsigned long *)0x00ef4020 = 2
47 set *(unsigned long *)0x00ef4010 = 0
48 set *(unsigned long *)0x00ef4014 = 0
49 set *(unsigned long *)0x00ef4004 = 0x3
50 shell sleep 0.1
51 set *(unsigned long *)0x00ef4008 = 0x0200
52end
53
54# clk xin:cpu:bif:bus=1:8:4:1
55define clock_init_on_1841
56 set *(unsigned long *)0x00ef4024 = 3
57 set *(unsigned long *)0x00ef4020 = 1
58 set *(unsigned long *)0x00ef4010 = 0
59 set *(unsigned long *)0x00ef4014 = 0
60 set *(unsigned long *)0x00ef4004 = 0x3
61 shell sleep 0.1
62 set *(unsigned long *)0x00ef4008 = 0x0200
63end
64
65# clk xin:cpu:bif:bus=1:16:8:1
66define clock_init_on_11681
67 set *(unsigned long *)0x00ef4024 = 4
68 set *(unsigned long *)0x00ef4020 = 2
69 set *(unsigned long *)0x00ef4010 = 0
70 set *(unsigned long *)0x00ef4014 = 0
71 set *(unsigned long *)0x00ef4004 = 0x7
72 shell sleep 0.1
73 set *(unsigned long *)0x00ef4008 = 0x0200
74end
75
76# clk xin:cpu:bif:bus=1:1:1:1
77define clock_init_off
78 # CPU
79 set *(unsigned long *)0x00ef4010 = 0
80 set *(unsigned long *)0x00ef4014 = 0
81 # BIF
82 set *(unsigned long *)0x00ef4020 = 0
83 # BUS
84 set *(unsigned long *)0x00ef4024 = 0
85 # PLL
86 set *(unsigned long *)0x00ef4008 = 0x0000
87end
88
89# Initialize programmable ports
90define port_init
91 set $sfrbase = 0x00ef0000
92 set *(unsigned short *)0x00ef1060 = 0x5555
93 set *(unsigned short *)0x00ef1062 = 0x5555
94 set *(unsigned short *)0x00ef1064 = 0x5555
95 set *(unsigned short *)0x00ef1066 = 0x5555
96 set *(unsigned short *)0x00ef1068 = 0x5555
97 set *(unsigned short *)0x00ef106a = 0x0000
98 set *(unsigned short *)0x00ef106e = 0x5555
99 set *(unsigned short *)0x00ef1070 = 0x5555
100 # LED ON
101 set *(unsigned char *)($sfrbase + 0x1015) = 0xff
102 set *(unsigned char *)($sfrbase + 0x1085) = 0xff
103 shell sleep 0.1
104 # LED OFF
105 set *(unsigned char *)($sfrbase + 0x1085) = 0x00
106end
107document port_init
108 P5=LED(output), P6.b4=LAN_RESET(output)
109end
110
111# Initialize SDRAM controller for Mappi
112define sdram_init
113 # SDIR0
114 set *(unsigned long *)0x00ef6008 = 0x00000182
115 # SDIR1
116 set *(unsigned long *)0x00ef600c = 0x00000001
117 # Initialize wait
118 shell sleep 0.1
119 # Ch0-MOD
120 set *(unsigned long *)0x00ef602c = 0x00000020
121 # Ch0-TR
122 set *(unsigned long *)0x00ef6028 = 0x00010002
123 # Ch0-ADR
124 set *(unsigned long *)0x00ef6020 = 0x08000004
125 # AutoRef On
126 set *(unsigned long *)0x00ef6004 = 0x00010107
127 # Access enable
128 set *(unsigned long *)0x00ef6024 = 0x00000001
129end
130document sdram_init
131 Mappi SDRAM controller initialization
132 0x08000000 - 0x0bffffff (64MB)
133end
134
135# Initialize LAN controller for Mappi
136define lanc_init
137 set $sfrbase = 0x00ef0000
138 # Set BSEL3 (BSEL3 for the Chaos's bselc)
139# set *(unsigned long *)($sfrbase + 0x5300) = 0x01018040
140# set *(unsigned long *)($sfrbase + 0x5304) = 0x01011101
141 set *(unsigned long *)($sfrbase + 0x5300) = 0x04048000
142 set *(unsigned long *)($sfrbase + 0x5304) = 0x01011103
143 set *(unsigned long *)($sfrbase + 0x5308) = 0x00000001
144 # Reset (P5=LED,P6.b4=LAN_RESET)
145 set *(unsigned short *)($sfrbase + 0x106c) = 0x0000
146 set *(unsigned char *)($sfrbase + 0x1016) = 0xff
147 set *(unsigned char *)($sfrbase + 0x1086) = 0xff
148 shell sleep 0.1
149# set *(unsigned char *)($sfrbase + 0x1086) = 0x00
150 set *(unsigned char *)($sfrbase + 0x1086) = 0x04
151 set *(unsigned long *)(0x0c000330) = 0xffffffff
152 # Set mac address
153 set $lanc = (void*)0x0c000300
154 set *(unsigned long *)($lanc + 0x0000) = 0x00610010
155 set *(unsigned long *)($lanc + 0x0004) = 0x00200030
156 set *(unsigned long *)($lanc + 0x0008) = 0x00400050
157 set *(unsigned long *)($lanc + 0x000c) = 0x00600007
158end
159document lanc_init
160 Mappi LAN controller initialization
161 ex.) MAC address: 10 20 30 40 50 60
162end
163
164# LCD & CRT dual-head setting (8bpp)
165define dispc_init
166 set $sfrbase = 0x00ef0000
167 # BSEL4 Dispc
168 # 20MHz
169# set *(unsigned long *)($sfrbase + 0x5400) = 0x02028282
170# set *(unsigned long *)($sfrbase + 0x5404) = 0x00122202
171 # 40MHz
172 set *(unsigned long *)($sfrbase + 0x5400) = 0x04048000
173 set *(unsigned long *)($sfrbase + 0x5404) = 0x00101103
174end
175
176# MMU enable
177define mmu_enable
178 set $evb=0x88000000
179 set *(unsigned long *)0xffff0024=1
180end
181
182# MMU disable
183define mmu_disable
184 set $evb=0
185 set *(unsigned long *)0xffff0024=0
186end
187
188# Show TLB entries
189define show_tlb_entries
190 set $i = 0
191 set $addr = $arg0
192 use_mon_code
193 while ($i < 0d32 )
194 set $tlb_tag = *(unsigned long*)$addr
195 set $tlb_data = *(unsigned long*)($addr + 4)
196 printf " [%2d] 0x%08lx : 0x%08lx - 0x%08lx\n", $i, $addr, $tlb_tag, $tlb_data
197 set $i = $i + 1
198 set $addr = $addr + 8
199 end
200 use_debug_dma
201end
202define itlb
203 set $itlb=0xfe000000
204 show_tlb_entries $itlb
205end
206define dtlb
207 set $dtlb=0xfe000800
208 show_tlb_entries $dtlb
209end
210
211
212# Show current task structure
213define show_current
214 set $current = $spi & 0xffffe000
215 printf "$current=0x%08lX\n",$current
216 print *(struct task_struct *)$current
217end
218
219# Show user assigned task structure
220define show_task
221 set $task = $arg0 & 0xffffe000
222 printf "$task=0x%08lX\n",$task
223 print *(struct task_struct *)$task
224end
225document show_task
226 Show user assigned task structure
227 arg0 : task structure address
228end
229
230# Show M32R registers
231define show_regs
232 printf " R0[0x%08lX] R1[0x%08lX] R2[0x%08lX] R3[0x%08lX]\n",$r0,$r1,$r2,$r3
233 printf " R4[0x%08lX] R5[0x%08lX] R6[0x%08lX] R7[0x%08lX]\n",$r4,$r5,$r6,$r7
234 printf " R8[0x%08lX] R9[0x%08lX] R10[0x%08lX] R11[0x%08lX]\n",$r8,$r9,$r10,$r11
235 printf "R12[0x%08lX] FP[0x%08lX] LR[0x%08lX] SP[0x%08lX]\n",$r12,$fp,$lr,$fp
236 printf "PSW[0x%08lX] CBR[0x%08lX] SPI[0x%08lX] SPU[0x%08lX]\n",$psw,$cbr,$spi,$spu
237 printf "BPC[0x%08lX] PC[0x%08lX] ACCL[0x%08lX] ACCH[0x%08lX]\n",$bpc,$pc,$accl,$acch
238 printf "EVB[0x%08lX]\n",$evb
239end
240
241
242# Setup all
243define setup
244 use_mon_code
245 set *(unsigned int)0xfffffffc=0x60
246 shell sleep 0.1
247# clock_init_on_1411
248 clock_init_on_1421
249# clock_init_on_1821
250# clock_init_on_1841
251# clock_init_on_11681
252# clock_init_off
253 shell sleep 0.1
254 port_init
255 sdram_init
256 lanc_init
257 dispc_init
258 set $evb=0x08000000
259end
260
261# Load modules
262define load_modules
263 use_debug_dma
264 load
265# load ramdisk_082a0000.mot
266# load romfs_082a0000.mot
267# use_mon_code
268end
269
270# Set kernel parameters
271define set_kernel_parameters
272 set $param = (void*)0x08001000
273 # INITRD_START
274# set *(unsigned long *)($param + 0x0010) = 0x082a0000
275 # INITRD_SIZE
276# set *(unsigned long *)($param + 0x0014) = 0x00000000
277 # M32R_CPUCLK
278 set *(unsigned long *)($param + 0x0018) = 0d160000000
279# set *(unsigned long *)($param + 0x0018) = 0d80000000
280# set *(unsigned long *)($param + 0x0018) = 0d40000000
281 # M32R_BUSCLK
282 set *(unsigned long *)($param + 0x001c) = 0d40000000
283
284 # M32R_TIMER_DIVIDE
285 set *(unsigned long *)($param + 0x0020) = 0d128
286
287 set {char[0x200]}($param + 0x100) = "console=tty1 console=ttyS0,115200n8x root=/dev/nfsroot nfsroot=192.168.0.1:/project/m32r-linux/export/root.x nfsaddrs=192.168.0.101:192.168.0.1:192.168.0.1:255.255.255.0:mappi001 \0"
288# set {char[0x200]}($param + 0x100) = "console=tty1 root=/dev/nfsroot nfsroot=192.168.0.1:/project/m32r-linux/export/root.x nfsaddrs=192.168.0.101:192.168.0.1:192.168.0.1:255.255.255.0:mappi001 \0"
289end
290
291# Boot
292define boot
293 set_kernel_parameters
294 set $pc=0x08002000
295 set *(unsigned char *)0x08001003=0x03
296 si
297 c
298end
299
300# Set breakpoints
301define set_breakpoints
302 b *0x08000030
303end
304
305## Boot MP
306define boot_mp
307 set_kernel_parameters
308 set *(unsigned long *)0x00f00000 = boot - 0x80000000
309 set *(unsigned long *)0x00eff2f8 = 0x2
310 x 0x00eff2f8
311
312 set $pc=0x08002000
313 si
314 c
315end
316document boot_mp
317 Boot BSP
318end
319
320## Boot UP
321define boot_up
322 set_kernel_parameters
323 set $pc=0x08002000
324 si
325 c
326end
327document boot_up
328 Boot BSP
329end
330
331# Restart
332define restart
333 sdireset
334 sdireset
335 setup
336 load_modules
337 boot_mp
338end
339
340sdireset
341sdireset
342file vmlinux
343target m32rsdi
344setup