<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > 基于S3C2410平臺(tái)移植Linux 2.6內(nèi)核指南

          基于S3C2410平臺(tái)移植Linux 2.6內(nèi)核指南

          作者: 時(shí)間:2016-11-11 來(lái)源:網(wǎng)絡(luò) 收藏
          安裝交叉編譯工具
          Ø 下載交叉編譯工具
          (本文默認(rèn)所有軟件均下載在用戶主目錄下)
          arm-linux-gcc-3.4.1 —— 編譯內(nèi)核
          URL: ftp://ftp.handhelds.org/projects/toolchain/arm-linux-gcc-3.4.1.tar.bz2
          Ø 安裝
          //將壓縮包移動(dòng)至根目錄下
          #mv arm-linux-gcc-3.4.1.tar.bz2 /
          //解壓,默認(rèn)路徑為 /usr/local/arm /3.4.1
          #tar jxvf arm-linux-gcc-3.4.1.tar.gz2
          下載Linux內(nèi)核
          Ø 下載Linux 2.6.14.1內(nèi)核
          URL: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.1.tar.bz2
          Ø 解壓內(nèi)核
          #cd ~
          #tar jxvf linux-2.6.14.1.tar.bz2
          建立環(huán)境變量
          Ø 將交叉編譯工具路徑和內(nèi)核路徑加入環(huán)境變量
          #vi ~/.bashrc
          export KERNEL=~/linux-2.6.14.1
          export PATH=/usr/local/arm/3.4.1/bin:$PATH
          內(nèi)核移植
          Ø 為Flash進(jìn)行分區(qū)
          啟動(dòng)開(kāi)發(fā)板,進(jìn)入vivi,對(duì)vivi進(jìn)行分區(qū)操作
          vivi>bon part 0 128k 192k 2240k 5312k:m 64704k
          分區(qū)信息如下所示:
          分區(qū) 起始地址 分區(qū)大小 分區(qū)作用
          Part0 0x0 0x00020000 (128k) bootloader
          Part1 0x00020000 0x00010000 (64k) bootloader params
          Part2 0x00030000 0x00200000 (2m) linux kernel
          Part3 0x00230000 0x00300000 (3m) root filesystem
          Part4 0x00530000 0x03A00000 (58m) yaffs filesystem

          將vivi寫(xiě)進(jìn)Flash
          vivi>load flash vivi x
          Ø 修改Makefile
          #vi $KERNEL/Makefile
          找到ARCH與CROSS_COMPILE,修改為
          ARCH ?= arm
          CROSS_COMPILE ?= arm-linux-
          Ø 將分區(qū)信息加入內(nèi)核
          #vi $KERNEL/arch/arm/mach-s3c2410/devs.c
          添加頭文件:
          #include
          #include
          #include
          添加分區(qū)結(jié)構(gòu):
          static struct mtd_partition partition_info[]={
          {
          name: "loader", //分區(qū)名字,任意
          size: 0x00020000, //分區(qū)大小
          offset: 0x0, //分區(qū)的起始地址,相對(duì)于0x0的偏移
          },{
          name: "param",
          size: 0x00010000,
          offset: 0x00020000,
          },{
          name: "kernel",
          size: 0x00200000,
          offset: 0x00030000,
          },{
          name: "rootfs",
          size: 0x00300000,
          offset: 0x00230000,
          },{
          name: "yaffs",
          size: 0x03A00000,
          offset: 0x00530000,
          }
          };

          struct s3c2410_nand_set nandset={
          nr_partitions: 5, //分區(qū)數(shù)量
          partitions: partition_info, //分區(qū)表
          };
          struct s3c2410_platform_nand superlpplatform={
          //NAND Flash芯片支持
          //參數(shù)意義可參考S3C2410手冊(cè)
          tacls: 0,
          twrph0: 30,
          twrph1: 0,
          sets: &nandset,
          nr_sets: 1,
          };
          修改s3c_device_nand,以加入NAND Flash驅(qū)動(dòng):
          struct platform_device s3c_device_nand = {
          .name = "s3c2410-nand", //設(shè)備名稱
          .id = -1, //有效設(shè)備編號(hào),-1表示唯一設(shè)備
          .num_resources = ARRAY_SIZE(s3c_nand_resource), //寄存器區(qū)的個(gè)數(shù)
          .resource = s3c_nand_resource, //寄存器區(qū)的首地址
          //添加如下信息,表示NAND Flash設(shè)備
          .dev={
          .platform_data=&superlpplatform
          }
          };
          Ø 指定啟動(dòng)時(shí)的設(shè)備初始化
          #vi $KERNEL/arch/arm/mach-s3c2410/mach-smdk2410.c
          修改:
          static struct platform_device *smdk2410_devices[] __initdata = {
          s3c_device_usb,
          s3c_device_lcd,
          s3c_device_wdt,
          s3c_device_i2c,
          s3c_device_iis,
          //添加如下信息
          s3c_device_nand,
          };
          Ø 禁止Flash ECC效驗(yàn)
          內(nèi)核通過(guò)vivi把數(shù)據(jù)寫(xiě)入NAND Flash,而vivi的ECC效驗(yàn)算法和內(nèi)核的不同,內(nèi)核的效驗(yàn)碼是由NAND Flash控制器產(chǎn)生的,所以在此必須禁用NAND Flash ECC。
          #vi $KERNEL/drivers/mtd/nand/s3c2410.c
          找到s3c2410_nand_init_chip函數(shù),將chip->eccmode的值修改為:
          NAND_ECC_NONE
          Yaffs2加載
          Ø 下載Yaffs2
          URL: http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs2.tar.gz?view=tar
          Ø 解壓Yaffs2并將其加入Linux內(nèi)核
          #cd ~
          #tar zxvf yaffs2.tar.gz
          #cd yaffs2
          #sh patch-ker.sh c $KERNEL
          內(nèi)核配置(.config)與編譯
          Ø 內(nèi)核配置(基于$KERNEL/arch/arm/configs/s3c2410_defconfig)
          (見(jiàn)附錄)
          Ø 編譯內(nèi)核
          #make zImage
          修改根文件系統(tǒng)
          在宿主機(jī)上進(jìn)入目錄/arm2410s(博創(chuàng)2410-s平臺(tái)提供),該目錄下的root目錄就是一個(gè)制作好的根文件系統(tǒng)。在此基礎(chǔ)上,我們要對(duì)root/etc/fstab分區(qū)配置文件進(jìn)行修改,用來(lái)掛載Yaffs文件系統(tǒng)。
          #vi /arm2410s/root/etc/fstab
          找到y(tǒng)affs,修改為:
          /dev/mtdblock/4 /mnt/yaffs yaffs defaults 1 1
          然后制作根文件系統(tǒng)鏡像。
          #mkcramfs root root.cramfs
          安裝內(nèi)核和根文件系統(tǒng)
          Ø 將編譯好的內(nèi)核2.6.14.1寫(xiě)入Flash
          vivi>load kernel x
          Ø 將制作的根文件系統(tǒng)root.cramfs寫(xiě)入Flash
          vivi>load root x
          Ø 修改vivi啟動(dòng)參數(shù)
          vivi>param set linux_cmd_line “noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0,115200”
          vivi>param save
          Ø 重啟開(kāi)發(fā)板,完成工作。
          附錄:內(nèi)核配置文件.config
          #
          # Automatically generated make config: dont edit
          # Linux kernel version: 2.6.14.1
          # Sat Aug 18 18:40:48 2007
          #
          CONFIG_ARM=y
          CONFIG_MMU=y
          CONFIG_UID16=y
          CONFIG_RWSEM_GENERIC_SPINLOCK=y
          CONFIG_GENERIC_CALIBRATE_DELAY=y
          CONFIG_GENERIC_IOMAP=y

          # Code maturity level options
          CONFIG_EXPERIMENTAL=y
          CONFIG_CLEAN_COMPILE=y
          CONFIG_BROKEN_ON_SMP=y

          # General setup
          CONFIG_LOCALVERSION=""
          CONFIG_SWAP=y
          CONFIG_SYSVIPC=y
          # CONFIG_POSIX_MQUEUE is not set
          # CONFIG_BSD_PROCESS_ACCT is not set
          CONFIG_SYSCTL=y
          # CONFIG_AUDIT is not set
          CONFIG_LOG_BUF_SHIFT=14
          CONFIG_HOTPLUG=y
          CONFIG_KOBJECT_UEVENT=y
          # CONFIG_IKCONFIG is not set
          # CONFIG_EMBEDDED is not set
          CONFIG_KALLSYMS=y
          # CONFIG_KALLSYMS_ALL is not set
          # CONFIG_KALLSYMS_EXTRA_PASS is not set
          CONFIG_FUTEX=y
          CONFIG_EPOLL=y
          CONFIG_CC_OPTIMIZE_FOR_SIZE=y
          CONFIG_SHMEM=y
          CONFIG_CC_ALIGN_FUNCTIONS=0
          CONFIG_CC_ALIGN_LABELS=0
          CONFIG_CC_ALIGN_LOOPS=0
          CONFIG_CC_ALIGN_JUMPS=0
          # CONFIG_TINY_SHMEM is not set

          # Loadable module support
          CONFIG_MODULES=y
          # CONFIG_MODULE_UNLOAD is not set
          CONFIG_OBSOLETE_MODPARM=y
          # CONFIG_MODVERSIONS is not set
          # CONFIG_MODULE_SRCVERSION_ALL is not set
          CONFIG_KMOD=y

          # System Type
          # CONFIG_ARCH_CLPS7500 is not set
          # CONFIG_ARCH_CLPS711X is not set
          # CONFIG_ARCH_CO285 is not set
          # CONFIG_ARCH_EBSA110 is not set
          # CONFIG_ARCH_CAMELOT is not set
          # CONFIG_ARCH_FOOTBRIDGE is not set
          # CONFIG_ARCH_INTEGRATOR is not set
          # CONFIG_ARCH_IOP3XX is not set
          # CONFIG_ARCH_IXP4XX is not set
          # CONFIG_ARCH_IXP2000 is not set
          # CONFIG_ARCH_L7200 is not set
          # CONFIG_ARCH_PXA is not set
          # CONFIG_ARCH_RPC is not set
          # CONFIG_ARCH_SA1100 is not set
          CONFIG_ARCH_S3C2410=y
          # CONFIG_ARCH_SHARK is not set
          # CONFIG_ARCH_LH7A40X is not set
          # CONFIG_ARCH_OMAP is not set
          # CONFIG_ARCH_VERSATILE is not set
          # CONFIG_ARCH_IMX is not set
          # CONFIG_ARCH_H720X is not set

          # S3C24XX Implementations
          # CONFIG_ARCH_BAST is not set
          # CONFIG_ARCH_H1940 is not set
          CONFIG_ARCH_SMDK2410=y
          # CONFIG_MACH_VR1000 is not set
          # CONFIG_MACH_RX3715 is not set
          CONFIG_CPU_S3C2410=y

          # S3C2410 Setup
          CONFIG_S3C2410_DMA=y
          # CONFIG_S3C2410_DMA_DEBUG is not set
          CONFIG_S3C2410_LOWLEVEL_UART_PORT=0

          # Processor Type
          CONFIG_CPU_32=y
          CONFIG_CPU_ARM920T=y
          CONFIG_CPU_32v4=y
          CONFIG_CPU_ABRT_EV4T=y
          CONFIG_CPU_CACHE_V4WT=y
          CONFIG_CPU_CACHE_VIVT=y
          CONFIG_CPU_COPY_V4WB=y
          CONFIG_CPU_TLB_V4WBI=y

          # Processor Features
          CONFIG_ARM_THUMB=y
          # CONFIG_CPU_ICACHE_DISABLE is not set
          # CONFIG_CPU_DCACHE_DISABLE is not set
          # CONFIG_CPU_DCACHE_WRITETHROUGH is not set

          # General setup
          CONFIG_ZBOOT_ROM_TEXT=0
          CONFIG_ZBOOT_ROM_BSS=0
          # CONFIG_XIP_KERNEL is not set

          # PCCARD (PCMCIA/CardBus) support
          # CONFIG_PCCARD is not set

          # PC-card bridges

          # At least one math emulation must be selected
          CONFIG_FPE_NWFPE=y
          # CONFIG_FPE_NWFPE_XP is not set
          # CONFIG_FPE_FASTFPE is not set
          CONFIG_BINFMT_ELF=y
          CONFIG_BINFMT_AOUT=y
          # CONFIG_BINFMT_MISC is not set

          # Generic Driver Options
          CONFIG_STANDALONE=y
          CONFIG_PREVENT_FIRMWARE_BUILD=y
          # CONFIG_FW_LOADER is not set
          # CONFIG_DEBUG_DRIVER is not set
          # CONFIG_PM is not set
          # CONFIG_PREEMPT is not set
          # CONFIG_ARTHUR is not set
          CONFIG_CMDLINE="noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0,115200"
          CONFIG_ALIGNMENT_TRAP=y

          # Parallel port support
          # CONFIG_PARPORT is not set

          # Memory Technology Devices (MTD)
          CONFIG_MTD=y
          # CONFIG_MTD_DEBUG is not set
          CONFIG_MTD_PARTITIONS=y
          # CONFIG_MTD_CONCAT is not set
          # CONFIG_MTD_REDBOOT_PARTS is not set
          # CONFIG_MTD_CMDLINE_PARTS is not set
          # CONFIG_MTD_AFS_PARTS is not set

          # User Modules And Translation Layers
          CONFIG_MTD_CHAR=y
          CONFIG_MTD_BLOCK=y
          # CONFIG_FTL is not set
          # CONFIG_NFTL is not set
          # CONFIG_INFTL is not set

          # RAM/ROM/Flash chip drivers
          CONFIG_MTD_CFI=y
          # CONFIG_MTD_JEDECPROBE is not set
          CONFIG_MTD_GEN_PROBE=y
          # CONFIG_MTD_CFI_ADV_OPTIONS is not set
          CONFIG_MTD_MAP_BANK_WIDTH_1=y
          CONFIG_MTD_MAP_BANK_WIDTH_2=y
          CONFIG_MTD_MAP_BANK_WIDTH_4=y
          # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
          # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
          # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
          CONFIG_MTD_CFI_I1=y
          CONFIG_MTD_CFI_I2=y
          # CONFIG_MTD_CFI_I4 is not set
          # CONFIG_MTD_CFI_I8 is not set
          CONFIG_MTD_CFI_INTELEXT=y
          # CONFIG_MTD_CFI_AMDSTD is not set
          # CONFIG_MTD_CFI_STAA is not set
          CONFIG_MTD_CFI_UTIL=y
          # CONFIG_MTD_RAM is not set
          # CONFIG_MTD_ROM is not set
          # CONFIG_MTD_ABSENT is not set
          # CONFIG_MTD_XIP is not set

          # Mapping drivers for chip access
          # CONFIG_MTD_COMPLEX_MAPPINGS is not set
          # CONFIG_MTD_PHYSMAP is not set
          # CONFIG_MTD_ARM_INTEGRATOR is not set
          # CONFIG_MTD_EDB7312 is not set

          # Self-contained MTD device drivers
          # CONFIG_MTD_SLRAM is not set
          # CONFIG_MTD_PHRAM is not set
          # CONFIG_MTD_MTDRAM is not set
          # CONFIG_MTD_BLKMTD is not set
          # CONFIG_MTD_BLOCK2MTD is not set

          # Disk-On-Chip Device Drivers
          # CONFIG_MTD_DOC2000 is not set
          # CONFIG_MTD_DOC2001 is not set
          # CONFIG_MTD_DOC2001PLUS is not set

          # NAND Flash Device Drivers
          CONFIG_MTD_NAND=y
          # CONFIG_MTD_NAND_VERIFY_WRITE is not set
          CONFIG_MTD_NAND_IDS=y
          CONFIG_MTD_NAND_S3C2410=y
          # CONFIG_MTD_NAND_S3C2410_DEBUG is not set
          # CONFIG_MTD_NAND_S3C2410_HWECC is not set
          # CONFIG_MTD_NAND_DISKONCHIP is not set
          # CONFIG_MTD_NAND_NANDSIM is not set

          # Plug and Play support

          # Block devices
          # CONFIG_BLK_DEV_FD is not set
          # CONFIG_BLK_DEV_COW_COMMON is not set
          # CONFIG_BLK_DEV_LOOP is not set
          # CONFIG_BLK_DEV_NBD is not set
          # CONFIG_BLK_DEV_UB is not set
          # CONFIG_BLK_DEV_RAM is not set
          CONFIG_BLK_DEV_RAM_COUNT=16
          CONFIG_INITRAMFS_SOURCE=""
          # CONFIG_CDROM_PKTCDVD is not set

          # IO Schedulers
          CONFIG_IOSCHED_NOOP=y
          CONFIG_IOSCHED_AS=y
          CONFIG_IOSCHED_DEADLINE=y
          CONFIG_IOSCHED_CFQ=y
          # CONFIG_ATA_OVER_ETH is not set

          # Multi-device support (RAID and LVM)
          # CONFIG_MD is not set

          # Networking support
          CONFIG_NET=y

          # Networking options
          CONFIG_PACKET=y
          CONFIG_PACKET_MMAP=y
          # CONFIG_NETLINK_DEV is not set
          CONFIG_UNIX=y
          # CONFIG_NET_KEY is not set
          CONFIG_INET=y
          CONFIG_IP_MULTICAST=y
          # CONFIG_IP_ADVANCED_ROUTER is not set
          # CONFIG_IP_PNP is not set
          # CONFIG_NET_IPIP is not set
          # CONFIG_NET_IPGRE is not set
          # CONFIG_IP_MROUTE is not set
          # CONFIG_ARPD is not set
          # CONFIG_SYN_COOKIES is not set
          # CONFIG_INET_AH is not set
          # CONFIG_INET_ESP is not set
          # CONFIG_INET_IPCOMP is not set
          # CONFIG_INET_TUNNEL is not set
          # CONFIG_IP_TCPDIAG is not set
          # CONFIG_IP_TCPDIAG_IPV6 is not set
          # CONFIG_IPV6 is not set
          # CONFIG_NETFILTER is not set

          # SCTP Configuration (EXPERIMENTAL)
          # CONFIG_IP_SCTP is not set
          # CONFIG_ATM is not set
          # CONFIG_BRIDGE is not set
          # CONFIG_VLAN_8021Q is not set
          # CONFIG_DECNET is not set
          # CONFIG_LLC2 is not set
          # CONFIG_IPX is not set
          # CONFIG_ATALK is not set
          # CONFIG_X25 is not set
          # CONFIG_LAPB is not set
          # CONFIG_NET_DIVERT is not set
          # CONFIG_ECONET is not set
          # CONFIG_WAN_ROUTER is not set

          # QoS and/or fair queueing
          # CONFIG_NET_SCHED is not set
          # CONFIG_NET_CLS_ROUTE is not set

          # Network testing
          # CONFIG_NET_PKTGEN is not set
          # CONFIG_NETPOLL is not set
          # CONFIG_NET_POLL_CONTROLLER is not set
          # CONFIG_HAMRADIO is not set
          # CONFIG_IRDA is not set
          # CONFIG_BT is not set
          CONFIG_NETDEVICES=y
          # CONFIG_DUMMY is not set
          # CONFIG_BONDING is not set
          # CONFIG_EQUALIZER is not set
          # CONFIG_TUN is not set

          # Ethernet (10 or 100Mbit)
          CONFIG_NET_ETHERNET=y
          # CONFIG_MII is not set
          # CONFIG_SMC91X is not set

          # Ethernet (1000 Mbit)

          # Ethernet (10000 Mbit)

          # Token Ring devices

          # Wireless LAN (non-hamradio)
          # CONFIG_NET_RADIO is not set

          # Wan interfaces
          # CONFIG_WAN is not set
          CONFIG_PPP=y
          CONFIG_PPP_MULTILINK=y
          # CONFIG_PPP_FILTER is not set
          CONFIG_PPP_ASYNC=y
          CONFIG_PPP_SYNC_TTY=y
          # CONFIG_PPP_DEFLATE is not set
          # CONFIG_PPP_BSDCOMP is not set
          CONFIG_PPPOE=y
          # CONFIG_SLIP is not set
          # CONFIG_SHAPER is not set
          # CONFIG_NETCONSOLE is not set

          # ATA/ATAPI/MFM/RLL support
          # CONFIG_IDE is not set

          # SCSI device support
          CONFIG_SCSI=y
          CONFIG_SCSI_PROC_FS=y

          # SCSI support type (disk, tape, CD-ROM)
          CONFIG_BLK_DEV_SD=y
          # CONFIG_CHR_DEV_ST is not set
          # CONFIG_CHR_DEV_OSST is not set
          # CONFIG_BLK_DEV_SR is not set
          CONFIG_CHR_DEV_SG=y

          # Some SCSI devices (e.g. CD jukebox) support multiple LUNs
          # CONFIG_SCSI_MULTI_LUN is not set
          # CONFIG_SCSI_CONSTANTS is not set
          # CONFIG_SCSI_LOGGING is not set

          # SCSI Transport Attributes
          # CONFIG_SCSI_SPI_ATTRS is not set
          # CONFIG_SCSI_FC_ATTRS is not set
          # CONFIG_SCSI_ISCSI_ATTRS is not set

          # SCSI low-level drivers
          # CONFIG_SCSI_SATA is not set
          # CONFIG_SCSI_DEBUG is not set

          # Fusion MPT device support

          # IEEE 1394 (FireWire) support

          # I2O device support

          # ISDN subsystem
          # CONFIG_ISDN is not set

          # Input device support
          CONFIG_INPUT=y

          # Userland interfaces
          CONFIG_INPUT_MOUSEDEV=y
          CONFIG_INPUT_MOUSEDEV_PSAUX=y
          CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
          CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
          # CONFIG_INPUT_JOYDEV is not set
          # CONFIG_INPUT_TSDEV is not set
          # CONFIG_INPUT_EVDEV is not set
          # CONFIG_INPUT_EVBUG is not set

          # Input I/O drivers
          # CONFIG_GAMEPORT is not set
          CONFIG_SOUND_GAMEPORT=y
          CONFIG_SERIO=y
          CONFIG_SERIO_SERPORT=y
          # CONFIG_SERIO_CT82C710 is not set
          CONFIG_SERIO_LIBPS2=y
          # CONFIG_SERIO_RAW is not set

          # Input Device Drivers
          CONFIG_INPUT_KEYBOARD=y
          CONFIG_KEYBOARD_ATKBD=y
          # CONFIG_KEYBOARD_SUNKBD is not set
          # CONFIG_KEYBOARD_LKKBD is not set
          # CONFIG_KEYBOARD_XTKBD is not set
          # CONFIG_KEYBOARD_NEWTON is not set
          CONFIG_INPUT_MOUSE=y
          CONFIG_MOUSE_PS2=y
          # CONFIG_MOUSE_SERIAL is not set
          # CONFIG_MOUSE_VSXXXAA is not set
          # CONFIG_INPUT_JOYSTICK is not set
          # CONFIG_INPUT_TOUCHSCREEN is not set
          # CONFIG_INPUT_MISC is not set

          # Character devices
          CONFIG_VT=y
          CONFIG_VT_CONSOLE=y
          CONFIG_HW_CONSOLE=y
          # CONFIG_SERIAL_NONSTANDARD is not set

          # Serial drivers
          # CONFIG_SERIAL_8250 is not set

          # Non-8250 serial port support
          CONFIG_SERIAL_S3C2410=y
          CONFIG_SERIAL_S3C2410_CONSOLE=y
          CONFIG_SERIAL_CORE=y
          CONFIG_SERIAL_CORE_CONSOLE=y
          CONFIG_UNIX98_PTYS=y
          CONFIG_LEGACY_PTYS=y
          CONFIG_LEGACY_PTY_COUNT=256

          # IPMI
          # CONFIG_IPMI_HANDLER is not set

          # Watchdog Cards
          # CONFIG_WATCHDOG is not set
          # CONFIG_NVRAM is not set
          # CONFIG_RTC is not set
          CONFIG_S3C2410_RTC=y
          # CONFIG_DTLK is not set
          # CONFIG_R3964 is not set

          # Ftape, the floppy tape device driver
          # CONFIG_DRM is not set
          # CONFIG_RAW_DRIVER is not set

          # I2C support
          # CONFIG_I2C is not set

          # Multimedia devices
          CONFIG_VIDEO_DEV=y

          # Video For Linux

          # Video Adapters
          # CONFIG_VIDEO_CPIA is not set

          # Radio Adapters
          # CONFIG_RADIO_MAESTRO is not set

          # Digital Video Broadcasting Devices
          # CONFIG_DVB is not set

          # File systems
          # CONFIG_EXT2_FS is not set
          # CONFIG_EXT3_FS is not set
          # CONFIG_JBD is not set
          # CONFIG_REISERFS_FS is not set
          # CONFIG_JFS_FS is not set

          # XFS support
          # CONFIG_XFS_FS is not set
          # CONFIG_MINIX_FS is not set
          CONFIG_ROMFS_FS=y
          # CONFIG_QUOTA is not set
          CONFIG_DNOTIFY=y
          # CONFIG_AUTOFS_FS is not set
          CONFIG_AUTOFS4_FS=y

          # CD-ROM/DVD Filesystems
          # CONFIG_ISO9660_FS is not set
          # CONFIG_UDF_FS is not set

          # DOS/FAT/NT Filesystems
          CONFIG_FAT_FS=y
          # CONFIG_MSDOS_FS is not set
          CONFIG_VFAT_FS=y
          CONFIG_FAT_DEFAULT_CODEPAGE=437
          CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
          # CONFIG_NTFS_FS is not set

          # Pseudo filesystems
          CONFIG_PROC_FS=y
          CONFIG_SYSFS=y
          CONFIG_DEVFS_FS=y
          CONFIG_DEVFS_MOUNT=y
          # CONFIG_DEVFS_DEBUG is not set
          # CONFIG_DEVPTS_FS_XATTR is not set
          CONFIG_TMPFS=y
          # CONFIG_TMPFS_XATTR is not set
          # CONFIG_HUGETLB_PAGE is not set
          CONFIG_RAMFS=y

          # Miscellaneous filesystems
          # CONFIG_ADFS_FS 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_BFS_FS is not set
          # CONFIG_EFS_FS is not set
          CONFIG_YAFFS_FS=y
          CONFIG_YAFFS_YAFFS1=y
          # CONFIG_YAFFS_9BYTE_TAGS is not set
          CONFIG_YAFFS_DOES_ECC=y
          # CONFIG_YAFFS_ECC_WRONG_ORDER is not set
          CONFIG_YAFFS_YAFFS2=y
          CONFIG_YAFFS_AUTO_YAFFS2=y
          CONFIG_YAFFS_DISABLE_LAZY_LOAD=y
          CONFIG_YAFFS_CHECKPOINT_RESERVED_BLOCKS=10
          CONFIG_YAFFS_DISABLE_WIDE_TNODES=y
          CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y
          CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
          # CONFIG_JFFS_FS is not set
          # CONFIG_JFFS2_FS is not set
          CONFIG_CRAMFS=y
          # CONFIG_VXFS_FS is not set
          # CONFIG_HPFS_FS is not set
          # CONFIG_QNX4FS_FS is not set
          # CONFIG_SYSV_FS is not set
          # CONFIG_UFS_FS is not set

          # Network File Systems
          CONFIG_NFS_FS=y
          CONFIG_NFS_V3=y
          # CONFIG_NFS_V4 is not set
          # CONFIG_NFS_DIRECTIO is not set
          # CONFIG_NFSD is not set
          CONFIG_LOCKD=y
          CONFIG_LOCKD_V4=y
          CONFIG_SUNRPC=y
          # CONFIG_RPCSEC_GSS_KRB5 is not set
          # CONFIG_RPCSEC_GSS_SPKM3 is not set
          # CONFIG_SMB_FS is not set
          # CONFIG_CIFS is not set
          # CONFIG_NCP_FS is not set
          # CONFIG_CODA_FS is not set
          # CONFIG_AFS_FS is not set

          # Partition Types
          CONFIG_PARTITION_ADVANCED=y
          # CONFIG_ACORN_PARTITION is not set
          # CONFIG_OSF_PARTITION is not set
          # CONFIG_AMIGA_PARTITION is not set
          # CONFIG_ATARI_PARTITION is not set
          # CONFIG_MAC_PARTITION is not set
          CONFIG_MSDOS_PARTITION=y
          # CONFIG_BSD_DISKLABEL is not set
          # CONFIG_MINIX_SUBPARTITION is not set
          # CONFIG_SOLARIS_X86_PARTITION is not set
          # CONFIG_UNIXWARE_DISKLABEL is not set
          # CONFIG_LDM_PARTITION is not set
          # CONFIG_SGI_PARTITION is not set
          # CONFIG_ULTRIX_PARTITION is not set
          # CONFIG_SUN_PARTITION is not set
          # CONFIG_EFI_PARTITION is not set

          # Native Language Support
          CONFIG_NLS=y
          CONFIG_NLS_DEFAULT="iso8859-1"
          # CONFIG_NLS_CODEPAGE_437 is not set
          # CONFIG_NLS_CODEPAGE_737 is not set
          # CONFIG_NLS_CODEPAGE_775 is not set
          # CONFIG_NLS_CODEPAGE_850 is not set
          # CONFIG_NLS_CODEPAGE_852 is not set
          # CONFIG_NLS_CODEPAGE_855 is not set
          # CONFIG_NLS_CODEPAGE_857 is not set
          # CONFIG_NLS_CODEPAGE_860 is not set
          # CONFIG_NLS_CODEPAGE_861 is not set
          # CONFIG_NLS_CODEPAGE_862 is not set
          # CONFIG_NLS_CODEPAGE_863 is not set
          # CONFIG_NLS_CODEPAGE_864 is not set
          # CONFIG_NLS_CODEPAGE_865 is not set
          # CONFIG_NLS_CODEPAGE_866 is not set
          # CONFIG_NLS_CODEPAGE_869 is not set
          CONFIG_NLS_CODEPAGE_936=y
          # CONFIG_NLS_CODEPAGE_950 is not set
          # CONFIG_NLS_CODEPAGE_932 is not set
          # CONFIG_NLS_CODEPAGE_949 is not set
          # CONFIG_NLS_CODEPAGE_874 is not set
          # CONFIG_NLS_ISO8859_8 is not set
          # CONFIG_NLS_CODEPAGE_1250 is not set
          # CONFIG_NLS_CODEPAGE_1251 is not set
          # CONFIG_NLS_ASCII is not set
          # CONFIG_NLS_ISO8859_1 is not set
          # CONFIG_NLS_ISO8859_2 is not set
          # CONFIG_NLS_ISO8859_3 is not set
          # CONFIG_NLS_ISO8859_4 is not set
          # CONFIG_NLS_ISO8859_5 is not set
          # CONFIG_NLS_ISO8859_6 is not set
          # CONFIG_NLS_ISO8859_7 is not set
          # CONFIG_NLS_ISO8859_9 is not set
          # CONFIG_NLS_ISO8859_13 is not set
          # CONFIG_NLS_ISO8859_14 is not set
          # CONFIG_NLS_ISO8859_15 is not set
          # CONFIG_NLS_KOI8_R is not set
          # CONFIG_NLS_KOI8_U is not set
          # CONFIG_NLS_UTF8 is not set

          # Profiling support
          # CONFIG_PROFILING is not set

          # Graphics support
          CONFIG_FB=y
          # CONFIG_FB_MODE_HELPERS is not set
          # CONFIG_FB_TILEBLITTING is not set
          CONFIG_FB_VIRTUAL=y

          # Console display driver support
          # CONFIG_VGA_CONSOLE is not set
          CONFIG_DUMMY_CONSOLE=y
          CONFIG_FRAMEBUFFER_CONSOLE=y
          CONFIG_FONTS=y
          CONFIG_FONT_8x8=y
          # CONFIG_FONT_8x16 is not set
          # CONFIG_FONT_6x11 is not set
          # CONFIG_FONT_PEARL_8x8 is not set
          # CONFIG_FONT_ACORN_8x8 is not set
          # CONFIG_FONT_MINI_4x6 is not set
          # CONFIG_FONT_SUN8x16 is not set
          # CONFIG_FONT_SUN12x22 is not set

          # Logo configuration
          CONFIG_LOGO=y
          CONFIG_LOGO_LINUX_MONO=y
          CONFIG_LOGO_LINUX_VGA16=y
          CONFIG_LOGO_LINUX_CLUT224=y
          CONFIG_BACKLIGHT_LCD_SUPPORT=y
          CONFIG_BACKLIGHT_CLASS_DEVICE=m
          CONFIG_BACKLIGHT_DEVICE=y
          CONFIG_LCD_CLASS_DEVICE=m
          CONFIG_LCD_DEVICE=y

          # Sound
          # CONFIG_SOUND is not set

          # Misc devices

          # USB support
          CONFIG_USB=y
          # CONFIG_USB_DEBUG is not set

          # Miscellaneous USB options
          CONFIG_USB_DEVICEFS=y
          # CONFIG_USB_BANDWIDTH is not set
          # CONFIG_USB_DYNAMIC_MINORS is not set
          # CONFIG_USB_OTG is not set
          CONFIG_USB_ARCH_HAS_HCD=y
          # CONFIG_USB_ARCH_HAS_OHCI is not set

          # USB Host Controller Drivers
          # CONFIG_USB_SL811_HCD is not set

          # USB Device Class drivers
          # CONFIG_USB_BLUETOOTH_TTY is not set
          # CONFIG_USB_ACM is not set
          # CONFIG_USB_PRINTER is not set

          #
          # NOTE: USB_STORAGE enables SCSI, and SCSI disk support may also be needed; see USB_STORAGE Help for more information
          #
          CONFIG_USB_STORAGE=y
          # CONFIG_USB_STORAGE_DEBUG is not set
          # CONFIG_USB_STORAGE_RW_DETECT is not set
          CONFIG_USB_STORAGE_DATAFAB=y
          CONFIG_USB_STORAGE_FREECOM=y
          CONFIG_USB_STORAGE_DPCM=y
          CONFIG_USB_STORAGE_HP8200e=y
          CONFIG_USB_STORAGE_SDDR09=y
          CONFIG_USB_STORAGE_SDDR55=y
          CONFIG_USB_STORAGE_JUMPSHOT=y

          # USB Input Devices
          # CONFIG_USB_HID is not set

          # USB HID Boot Protocol drivers
          # CONFIG_USB_KBD is not set
          # CONFIG_USB_MOUSE is not set
          # CONFIG_USB_AIPTEK is not set
          # CONFIG_USB_WACOM is not set
          # CONFIG_USB_KBTAB is not set
          # CONFIG_USB_POWERMATE is not set
          # CONFIG_USB_MTOUCH is not set
          # CONFIG_USB_EGALAX is not set
          # CONFIG_USB_XPAD is not set
          # CONFIG_USB_ATI_REMOTE is not set

          # USB Imaging devices
          # CONFIG_USB_MDC800 is not set
          # CONFIG_USB_MICROTEK is not set

          # USB Multimedia devices
          # CONFIG_USB_DABUSB is not set
          # CONFIG_USB_VICAM is not set
          # CONFIG_USB_DSBR is not set
          # CONFIG_USB_IBMCAM is not set
          # CONFIG_USB_KONICAWC is not set
          CONFIG_USB_OV511=m
          # CONFIG_USB_SE401 is not set
          CONFIG_USB_SN9C102=m
          # CONFIG_USB_STV680 is not set

          # USB Network Adapters
          # CONFIG_USB_CATC is not set
          # CONFIG_USB_KAWETH is not set
          # CONFIG_USB_PEGASUS is not set
          # CONFIG_USB_RTL8150 is not set
          # CONFIG_USB_USBNET is not set

          # USB port drivers

          # USB Serial Converter support
          # CONFIG_USB_SERIAL is not set

          # USB Miscellaneous drivers
          # CONFIG_USB_EMI62 is not set
          # CONFIG_USB_EMI26 is not set
          # CONFIG_USB_AUERSWALD is not set
          # CONFIG_USB_RIO500 is not set
          # CONFIG_USB_LEGOTOWER is not set
          # CONFIG_USB_LCD is not set
          # CONFIG_USB_LED is not set
          # CONFIG_USB_CYTHERM is not set
          # CONFIG_USB_PHIDGETKIT is not set
          # CONFIG_USB_PHIDGETSERVO is not set
          # CONFIG_USB_IDMOUSE is not set
          # CONFIG_USB_TEST is not set

          # USB ATM/DSL drivers

          # USB Gadget Support
          # CONFIG_USB_GADGET is not set

          # MMC/SD Card support
          # CONFIG_MMC is not set

          # Kernel hacking
          CONFIG_DEBUG_KERNEL=y
          CONFIG_MAGIC_SYSRQ=y
          # CONFIG_SCHEDSTATS is not set
          # CONFIG_DEBUG_SLAB is not set
          # CONFIG_DEBUG_SPINLOCK is not set
          # CONFIG_DEBUG_KOBJECT is not set
          CONFIG_DEBUG_BUGVERBOSE=y
          # CONFIG_DEBUG_INFO is not set
          # CONFIG_DEBUG_FS is not set
          CONFIG_FRAME_POINTER=y
          CONFIG_DEBUG_USER=y
          # CONFIG_DEBUG_WAITQ is not set
          CONFIG_DEBUG_ERRORS=y
          CONFIG_DEBUG_LL=y
          # CONFIG_DEBUG_ICEDCC is not set
          CONFIG_DEBUG_S3C2410_PORT=y
          CONFIG_DEBUG_S3C2410_UART=0

          # Security options
          # CONFIG_KEYS is not set
          # CONFIG_SECURITY is not set

          # Cryptographic options
          # CONFIG_CRYPTO is not set

          # Hardware crypto devices

          # Library routines
          CONFIG_CRC_CCITT=y
          CONFIG_CRC32=y
          CONFIG_LIBCRC32C=y
          CONFIG_ZLIB_INFLATE=y


          關(guān)鍵詞: S3C2410移植Linux2.6內(nèi)

          評(píng)論


          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();