📄 uclinux-dist-20040408-lpc-chy-cmj.patch
字号:
+CONFIG_NO_PGT_CACHE=y+CONFIG_CPU_ARM710=y+CONFIG_CPU_32=y+CONFIG_CPU_32v4=y+# CONFIG_CPU_WITH_CACHE is not set+# CONFIG_CPU_WITH_MCR_INSTRUCTION is not set++#+# General setup+#+# CONFIG_HOTPLUG is not set+# CONFIG_PCMCIA is not set+# CONFIG_NET is not set+# CONFIG_SYSVIPC is not set+# CONFIG_REDUCED_MEMORY is not set+# CONFIG_BSD_PROCESS_ACCT is not set+# CONFIG_SYSCTL is not set+# CONFIG_NWFPE is not set+CONFIG_KCORE_ELF=y+# CONFIG_KCORE_AOUT is not set+CONFIG_BINFMT_FLAT=y+CONFIG_BINFMT_ZFLAT=y+CONFIG_KERNEL_ELF=y+# CONFIG_ARTHUR is not set+CONFIG_CMDLINE_BOOL=y+CONFIG_CMDLINE="root=/dev/ram"+# CONFIG_ALIGNMENT_TRAP is not set+# CONFIG_RAM_ATTACHED_ROMFS is not set++#+# ATA/IDE/MFM/RLL support+#+# CONFIG_IDE is not set+# CONFIG_BLK_DEV_IDE_MODES is not set+# CONFIG_BLK_DEV_HD is not set++#+# SCSI support+#+# CONFIG_SCSI is not set++#+# ISDN subsystem+#+# CONFIG_ISDN is not set++#+# Parallel port support+#+# CONFIG_PARPORT is not set++#+# Memory Technology Devices (MTD)+#+# CONFIG_MTD is not set++#+# Plug and Play configuration+#+# CONFIG_PNP is not set+# CONFIG_ISAPNP is not set++#+# Block devices+#+# CONFIG_BLK_DEV_FD is not set+# CONFIG_BLK_DEV_XD is not set+# CONFIG_PARIDE is not set+# CONFIG_BLK_CPQ_DA is not set+# CONFIG_BLK_CPQ_CISS_DA is not set+# CONFIG_CISS_SCSI_TAPE is not set+# CONFIG_CISS_MONITOR_THREAD is not set+# CONFIG_BLK_DEV_DAC960 is not set+# CONFIG_BLK_DEV_UMEM is not set+# CONFIG_BLK_DEV_LOOP is not set+# CONFIG_BLK_DEV_NBD is not set+CONFIG_BLK_DEV_RAM=y+CONFIG_BLK_DEV_RAM_SIZE=4096+CONFIG_BLK_DEV_INITRD=y+# CONFIG_BLK_DEV_RAMDISK_DATA is not set+# CONFIG_BLK_DEV_BLKMEM is not set+# CONFIG_BLK_STATS is not set++#+# File systems+#+# CONFIG_QUOTA is not set+# CONFIG_QFMT_V2 is not set+# CONFIG_AUTOFS_FS is not set+# CONFIG_AUTOFS4_FS is not set+# CONFIG_REISERFS_FS is not set+# CONFIG_REISERFS_CHECK is not set+# CONFIG_REISERFS_PROC_INFO is not set+# CONFIG_ADFS_FS is not set+# CONFIG_ADFS_FS_RW is not set+# CONFIG_AFFS_FS is not set+# CONFIG_HFS_FS is not set+# CONFIG_HFSPLUS_FS is not set+# CONFIG_BEFS_FS is not set+# CONFIG_BEFS_DEBUG is not set+# CONFIG_BFS_FS is not set+# CONFIG_EXT3_FS is not set+# CONFIG_JBD is not set+# CONFIG_JBD_DEBUG is not set+# CONFIG_FAT_FS is not set+# CONFIG_MSDOS_FS is not set+# CONFIG_UMSDOS_FS is not set+# CONFIG_VFAT_FS is not set+# CONFIG_EFS_FS is not set+# CONFIG_JFFS_FS is not set+# CONFIG_JFFS2_FS is not set+# CONFIG_CRAMFS is not set+# CONFIG_TMPFS is not set+CONFIG_RAMFS=y+# CONFIG_ISO9660_FS is not set+# CONFIG_JOLIET is not set+# CONFIG_ZISOFS is not set+# CONFIG_JFS_FS is not set+# CONFIG_JFS_DEBUG is not set+# CONFIG_JFS_STATISTICS is not set+# CONFIG_MINIX_FS is not set+# CONFIG_VXFS_FS is not set+# CONFIG_NTFS_FS is not set+# CONFIG_NTFS_RW is not set+# CONFIG_HPFS_FS is not set+CONFIG_PROC_FS=y+# CONFIG_DEVFS_FS is not set+# CONFIG_DEVFS_MOUNT is not set+# CONFIG_DEVFS_DEBUG is not set+# CONFIG_DEVPTS_FS is not set+# CONFIG_QNX4FS_FS is not set+# CONFIG_QNX4FS_RW is not set+CONFIG_ROMFS_FS=y+CONFIG_EXT2_FS=y+# CONFIG_SYSV_FS is not set+# CONFIG_UDF_FS is not set+# CONFIG_UDF_RW is not set+# CONFIG_UFS_FS is not set+# CONFIG_UFS_FS_WRITE is not set+# CONFIG_NCPFS_NLS is not set+# CONFIG_SMB_FS is not set+# CONFIG_ZISOFS_FS is not set++#+# Partition Types+#+# CONFIG_PARTITION_ADVANCED is not set+# CONFIG_SMB_NLS is not set+# CONFIG_NLS is not set++#+# Character devices+#+# CONFIG_LEDMAN is not set+# CONFIG_DS1302 is not set+# CONFIG_VT is not set+CONFIG_SERIAL=y+CONFIG_SERIAL_CONSOLE=y+CONFIG_SERIAL_TA7=y+# CONFIG_SERIAL_EXTENDED is not set+# CONFIG_SERIAL_NONSTANDARD is not set+# CONFIG_UNIX98_PTYS is not set++#+# I2C support+#+# CONFIG_I2C is not set++#+# Mice+#+# CONFIG_BUSMOUSE is not set+# CONFIG_MOUSE is not set++#+# Joysticks+#+# CONFIG_INPUT_GAMEPORT is not set+# CONFIG_INPUT_NS558 is not set+# CONFIG_INPUT_LIGHTNING is not set+# CONFIG_INPUT_PCIGAME is not set+# CONFIG_INPUT_CS461X is not set+# CONFIG_INPUT_EMU10K1 is not set+# CONFIG_INPUT_SERIO is not set+# CONFIG_INPUT_SERPORT is not set+# CONFIG_INPUT_ANALOG is not set+# CONFIG_INPUT_A3D is not set+# CONFIG_INPUT_ADI is not set+# CONFIG_INPUT_COBRA is not set+# CONFIG_INPUT_GF2K is not set+# CONFIG_INPUT_GRIP is not set+# CONFIG_INPUT_INTERACT is not set+# CONFIG_INPUT_TMDC is not set+# CONFIG_INPUT_SIDEWINDER is not set+# CONFIG_INPUT_IFORCE_USB is not set+# CONFIG_INPUT_IFORCE_232 is not set+# CONFIG_INPUT_WARRIOR is not set+# CONFIG_INPUT_MAGELLAN is not set+# CONFIG_INPUT_SPACEORB is not set+# CONFIG_INPUT_SPACEBALL is not set+# CONFIG_INPUT_STINGER is not set+# CONFIG_INPUT_DB9 is not set+# CONFIG_INPUT_GAMECON is not set+# CONFIG_INPUT_TURBOGRAFX is not set+# CONFIG_QIC02_TAPE is not set+# CONFIG_IPMI_HANDLER is not set+# CONFIG_IPMI_PANIC_EVENT is not set+# CONFIG_IPMI_DEVICE_INTERFACE is not set+# CONFIG_IPMI_KCS is not set+# CONFIG_IPMI_WATCHDOG is not set++#+# Controller Area Network Cards/Chips+#+# CONFIG_CAN4LINUX is not set++#+# Watchdog Cards+#+# CONFIG_WATCHDOG is not set+# CONFIG_SCx200_GPIO is not set+# CONFIG_AMD_PM768 is not set+# CONFIG_NVRAM is not set+# CONFIG_RTC is not set+# CONFIG_DTLK is not set+# CONFIG_R3964 is not set+# CONFIG_APPLICOM is not set++#+# Ftape, the floppy tape device driver+#+# CONFIG_FTAPE is not set+# CONFIG_AGP is not set++#+# Direct Rendering Manager (XFree86 DRI support)+#+# CONFIG_DRM is not set++#+# USB support+#+# CONFIG_USB is not set++#+# Support for USB gadgets+#+# CONFIG_USB_GADGET is not set++#+# I2O device support+#+# CONFIG_I2O is not set+# CONFIG_I2O_BLOCK is not set+# CONFIG_I2O_SCSI is not set+# CONFIG_I2O_PROC is not set++#+# Kernel hacking+#+CONFIG_FRAME_POINTER=y+# CONFIG_REVISIT is not set+# CONFIG_DEBUG_ERRORS is not set+# CONFIG_DEBUG_USER is not set+CONFIG_DEBUG_INFO=y+# CONFIG_MAGIC_SYSRQ is not set++#+# Cryptographic options+#+# CONFIG_CRYPTO is not set++#+# Library routines+#+# CONFIG_CRC32 is not set+CONFIG_ZLIB_INFLATE=y+# CONFIG_ZLIB_DEFLATE is not setdiff -Naur old/uClinux-dist/linux-2.4.x/arch/armnommu/kernel/debug-armv.S uClinux-dist/linux-2.4.x/arch/armnommu/kernel/debug-armv.S--- old/uClinux-dist/linux-2.4.x/arch/armnommu/kernel/debug-armv.S 2004-04-08 08:15:02.000000000 +0800+++ uClinux-dist/linux-2.4.x/arch/armnommu/kernel/debug-armv.S 2005-01-06 09:12:11.000000000 +0800@@ -44,6 +44,27 @@ beq 1001b .endm +#elif defined(CONFIG_ARCH_ARCH_LPC)+ .macro addruart, rx+ ldr \rx, =0xe000c000+ .endm+ + .macro senduart,rd,rx+ str \rd,[\rx]+ .endm++ .macro waituart,rd,rx+1001: ldr \rd, [\rx, #0x18]+ tst \rd, #0x00000001+ bne 1001b+ .endm++ .macro busyuart,rd,rx+1002: ldr \rd, [\rx, #0x14]+ tst \rd, #0x00000020+ beq 1002b+ .endm+ #elif defined(CONFIG_ARCH_EBSA110) .macro addruart,rx mov \rx, #0xf0000000diff -Naur old/uClinux-dist/linux-2.4.x/arch/armnommu/kernel/entry-armv.S uClinux-dist/linux-2.4.x/arch/armnommu/kernel/entry-armv.S--- old/uClinux-dist/linux-2.4.x/arch/armnommu/kernel/entry-armv.S 2004-04-08 08:15:02.000000000 +0800+++ uClinux-dist/linux-2.4.x/arch/armnommu/kernel/entry-armv.S 2005-04-26 15:41:40.000000000 +0800@@ -805,6 +805,152 @@ .macro irq_prio_table .endm +#elif defined(CONFIG_ARCH_LPC)+ .macro disable_fiq+ .endm+ .macro get_irqnr_and_base, irqnr, irqstat, base, tmp+#if 0+ ldr r4, =VIC_AR+ ldr \irqnr, [r4]+ ldr r4, =VIC_ISR+ ldr \irqstat, [r4]+ teq \irqstat, #0+#endif+ ldr r4, =VIC_ISR+ ldr r4, [r4]+ mov \irqstat, r4++ mov \irqnr, #0+ tst r4, #0x00000001+ BNE .+30*4*3+8++ mov \irqnr, #1+ tst r4, #0x00000002+ BNE .+29*4*3+8++ mov \irqnr, #2+ tst r4, #0x00000004+ BNE .+28*4*3+8++ mov \irqnr, #3+ tst r4, #0x00000008+ BNE .+27*4*3+8++ mov \irqnr, #4+ tst r4, #0x00000010+ BNE .+26*4*3+8++ mov \irqnr, #5+ tst r4, #0x00000020+ BNE .+25*4*3+8++ mov \irqnr, #6+ tst r4, #0x00000040+ BNE .+24*4*3+8++ mov \irqnr, #7+ tst r4, #0x00000080+ BNE .+23*4*3+8++ mov \irqnr, #8+ tst r4, #0x00000100+ BNE .+22*4*3+8++ mov \irqnr, #9+ tst r4, #0x00000200+ BNE .+21*4*3+8++ mov \irqnr, #10+ tst r4, #0x00000400+ BNE .+20*4*3+8++ mov \irqnr, #11+ tst r4, #0x00000800+ BNE .+19*4*3+8++ mov \irqnr, #12+ tst r4, #0x00001000+ BNE .+18*4*3+8++ mov \irqnr, #13+ tst r4, #0x00002000+ BNE .+17*4*3+8++ mov \irqnr, #14+ tst r4, #0x00004000+ BNE .+16*4*3+8++ mov \irqnr, #15+ tst r4, #0x00008000+ BNE .+15*4*3+8++ mov \irqnr, #16+ tst r4, #0x00010000+ BNE .+14*4*3+8++ mov \irqnr, #17+ tst r4, #0x00020000+ BNE .+13*4*3+8++ mov \irqnr, #18+ tst r4, #0x00040000
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -