06
20

Linux porting on different platform HowTo(1)

這篇主要是介紹如何porting Linux到不同platform的步驟,並且把該修改的檔案和kernel該選的選項稍微介紹一下,會順代提一下debug的方式

因為小弟最近在忙其它的專案,所以這篇HowTo我把它分成幾個部份分開發表,而我打算以NoMMU的QT2410 Linux做為此次移植的目標.

準備的工具我列如下
1. ELDK(Embedded Linux Development Kit):
ftp://ftp.denx.de/pub/eldk/4.1/arm-linux-x86-uclibc/iso/arm-2007-01-22-uclibc-src.iso
2.uClinux 2.6.14:http://opensrc.sec.samsung.com/
3.Segger J-Link ICE

ELDK的安裝我在前一篇網誌中(
u-boot porting guide)有提過,所以略過不提,而uClinux 2.6.14的patch方法請詳細的閱讀此網頁

至於ICE,其實國內有人在賣,用Google找一下都一卡車

以上三個工具都準備好後,就開始以下的步驟
1.新增arch number和name 至arch/arm/tools/mach-types
  1. qt2410                  ARCH_QT2410             QT2410                  858

2.新增arch/arm/mach-qt2410和include/asm-arm/arch-qt2410/資料夾
3.把arch/arm/espd_4510b下的檔案複製到arch/arm/mach-qt2410,再把include/asm-arm/arch-espd_4510b/下的檔案複製到include/asm-arm/arch-qt2410/,我們會拿4510的移植檔當範本是有原因的,因為它夠簡單
4.修改arch/arm/mach-qt2410的Kconfig和arch/arm/mm/Kconfig以符合我們的架構和cpu type
5.把arch/arm/mach-qt2410下的檔案精簡化,去掉不必要的function,並把arch/arm/kernel/head-nommu.S這個檔案複製到arch/arm/mach-qt2410,並更名為head.S
6.因為我們要用ICE debug,所以要修改arch/arm/mach-qt2410/head.S,新增兩行如下
  1. #define qttype 0x35a
  2.         __INIT
  3.         .type   stext, %function
  4. ENTRY(stext)
  5.         mov r0,#0
  6.         ldr r1,=qttype


試著編譯核心(make zImage),底下是我的config檔
  1. #
  2. # Automatically generated make config: don't edit
  3. # Linux kernel version: 2.6.14-hsc0
  4. # Fri Jun 20 14:56:15 2008
  5. #
  6. CONFIG_ARM=y
  7. # CONFIG_MMU is not set
  8. # CONFIG_MPU is not set
  9. CONFIG_NO_MU=y
  10. CONFIG_UID16=y
  11. CONFIG_RWSEM_GENERIC_SPINLOCK=y
  12. CONFIG_GENERIC_CALIBRATE_DELAY=y
  13.  
  14. #
  15. # Code maturity level options
  16. #
  17. CONFIG_EXPERIMENTAL=y
  18. CONFIG_CLEAN_COMPILE=y
  19. CONFIG_BROKEN_ON_SMP=y
  20. CONFIG_INIT_ENV_ARG_LIMIT=32
  21.  
  22. #
  23. # General setup
  24. #
  25. CONFIG_LOCALVERSION=""
  26. # CONFIG_LOCALVERSION_AUTO is not set
  27. CONFIG_POSIX_MQUEUE=y
  28. CONFIG_BSD_PROCESS_ACCT=y
  29. # CONFIG_BSD_PROCESS_ACCT_V3 is not set
  30. CONFIG_SYSCTL=y
  31. CONFIG_AUDIT=y
  32. CONFIG_HOTPLUG=y
  33. CONFIG_KOBJECT_UEVENT=y
  34. # CONFIG_IKCONFIG is not set
  35. CONFIG_INITRAMFS_SOURCE=""
  36. # CONFIG_EMBEDDED is not set
  37. CONFIG_KALLSYMS=y
  38. # CONFIG_KALLSYMS_ALL is not set
  39. CONFIG_KALLSYMS_EXTRA_PASS=y
  40. CONFIG_PRINTK=y
  41. CONFIG_BUG=y
  42. CONFIG_BASE_FULL=y
  43. CONFIG_EPOLL=y
  44. CONFIG_CC_OPTIMIZE_FOR_SIZE=y
  45. CONFIG_CC_ALIGN_FUNCTIONS=0
  46. CONFIG_CC_ALIGN_LABELS=0
  47. CONFIG_CC_ALIGN_LOOPS=0
  48. CONFIG_CC_ALIGN_JUMPS=0
  49. CONFIG_BASE_SMALL=0
  50.  
  51. #
  52. # Loadable module support
  53. #
  54. CONFIG_MODULES=y
  55. CONFIG_MODULE_UNLOAD=y
  56. # CONFIG_MODULE_FORCE_UNLOAD is not set
  57. CONFIG_OBSOLETE_MODPARM=y
  58. CONFIG_MODVERSIONS=y
  59. CONFIG_MODULE_SRCVERSION_ALL=y
  60. CONFIG_KMOD=y
  61.  
  62. #
  63. # System Type
  64. #
  65. # CONFIG_ARCH_CLPS7500 is not set
  66. # CONFIG_ARCH_CLPS711X is not set
  67. # CONFIG_ARCH_CO285 is not set
  68. # CONFIG_ARCH_EBSA110 is not set
  69. # CONFIG_ARCH_CAMELOT is not set
  70. # CONFIG_ARCH_FOOTBRIDGE is not set
  71. # CONFIG_ARCH_INTEGRATOR is not set
  72. # CONFIG_ARCH_IOP3XX is not set
  73. # CONFIG_ARCH_IXP4XX is not set
  74. # CONFIG_ARCH_IXP2000 is not set
  75. # CONFIG_ARCH_L7200 is not set
  76. # CONFIG_ARCH_PXA is not set
  77. # CONFIG_ARCH_RPC is not set
  78. # CONFIG_ARCH_SA1100 is not set
  79. # CONFIG_ARCH_S3C2410 is not set
  80. CONFIG_ARCH_QT2410=y
  81. # CONFIG_ARCH_SHARK is not set
  82. # CONFIG_ARCH_LH7A40X is not set
  83. # CONFIG_ARCH_OMAP is not set
  84. # CONFIG_ARCH_VERSATILE is not set
  85. # CONFIG_ARCH_IMX is not set
  86. # CONFIG_ARCH_H720X is not set
  87. # CONFIG_ARCH_AAEC2000 is not set
  88. # CONFIG_ARCH_S5C7375 is not set
  89. # CONFIG_ARCH_S3C24A0 is not set
  90. # CONFIG_ARCH_S3C2500 is not set
  91. # CONFIG_ARCH_ATMEL is not set
  92. # CONFIG_ARCH_S3C3410 is not set
  93. # CONFIG_ARCH_ESPD_4510B is not set
  94. # CONFIG_ARCH_S3C44B0 is not set
  95. # CONFIG_ARCH_P2001 is not set
  96. # CONFIG_SET_MEM_PARAM is not set
  97. CONFIG_DRAM_BASE=0x30000000
  98. CONFIG_DRAM_SIZE=0x04000000
  99. CONFIG_FLASH_MEM_BASE=0x00400000
  100. CONFIG_FLASH_SIZE=0x00400000
  101.  
  102. #
  103. # Processor Type
  104. #
  105. CONFIG_CPU_32=y
  106. CONFIG_CPU_ARM920T=y
  107. CONFIG_CPU_32v4=y
  108. CONFIG_CPU_ABRT_EV4T=y
  109. CONFIG_CPU_CACHE_V4WT=y
  110. CONFIG_CPU_CACHE_VIVT=y
  111.  
  112. #
  113. # Processor Features
  114. #
  115. CONFIG_ARM_THUMB=y
  116. # CONFIG_CPU_MXU_ENABLE is not set
  117. # CONFIG_CPU_ICACHE_DISABLE is not set
  118. # CONFIG_CPU_DCACHE_DISABLE is not set
  119. # CONFIG_CPU_DCACHE_WRITETHROUGH is not set
  120. CONFIG_TLS_REG_EMUL=y
  121.  
  122. #
  123. # Bus support
  124. #
  125. CONFIG_ISA_DMA_API=y
  126.  
  127. #
  128. # PCCARD (PCMCIA/CardBus) support
  129. #
  130. # CONFIG_PCCARD is not set
  131.  
  132. #
  133. # Kernel Features
  134. #
  135. # CONFIG_PREEMPT is not set
  136. # CONFIG_NO_IDLE_HZ is not set
  137. # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set
  138. CONFIG_SELECT_MEMORY_MODEL=y
  139. CONFIG_FLATMEM_MANUAL=y
  140. # CONFIG_DISCONTIGMEM_MANUAL is not set
  141. # CONFIG_SPARSEMEM_MANUAL is not set
  142. CONFIG_FLATMEM=y
  143. CONFIG_FLAT_NODE_MEM_MAP=y
  144. # CONFIG_SPARSEMEM_STATIC is not set
  145. CONFIG_ALIGNMENT_TRAP=y
  146.  
  147. #
  148. # Boot options
  149. #
  150. CONFIG_ZBOOT_ROM_TEXT=0
  151. CONFIG_ZBOOT_ROM_BSS=0
  152. CONFIG_CMDLINE="noinitrd root=/dev/mtdblock/2 console=ttySAC0,115200 mem=64M"
  153. # CONFIG_XIP_KERNEL is not set
  154.  
  155. #
  156. # Floating point emulation
  157. #
  158.  
  159. #
  160. # At least one emulation must be selected
  161. #
  162. CONFIG_FPE_NWFPE=y
  163. # CONFIG_FPE_NWFPE_XP is not set
  164. # CONFIG_FPE_FASTFPE is not set
  165.  
  166. #
  167. # Userspace binary formats
  168. #
  169. CONFIG_BINFMT_FLAT=y
  170. # CONFIG_BINFMT_ZFLAT is not set
  171. # CONFIG_BINFMT_SHARED_FLAT is not set
  172. # CONFIG_BINFMT_AOUT is not set
  173. # CONFIG_BINFMT_MISC is not set
  174. # CONFIG_ARTHUR is not set
  175.  
  176. #
  177. # Power management options
  178. #
  179. # CONFIG_PM is not set
  180.  
  181. #
  182. # Networking
  183. #
  184. CONFIG_NET=y
  185.  
  186. #
  187. # Networking options
  188. #
  189. CONFIG_PACKET=y
  190. CONFIG_PACKET_MMAP=y
  191. CONFIG_UNIX=y
  192. CONFIG_XFRM=y
  193. CONFIG_XFRM_USER=y
  194. CONFIG_NET_KEY=m
  195. CONFIG_INET=y
  196. CONFIG_IP_MULTICAST=y
  197. CONFIG_IP_ADVANCED_ROUTER=y
  198. CONFIG_ASK_IP_FIB_HASH=y
  199. # CONFIG_IP_FIB_TRIE is not set
  200. CONFIG_IP_FIB_HASH=y
  201. CONFIG_IP_MULTIPLE_TABLES=y
  202. CONFIG_IP_ROUTE_FWMARK=y
  203. CONFIG_IP_ROUTE_MULTIPATH=y
  204. # CONFIG_IP_ROUTE_MULTIPATH_CACHED is not set
  205. CONFIG_IP_ROUTE_VERBOSE=y
  206. # CONFIG_IP_PNP is not set
  207. CONFIG_NET_IPIP=m
  208. CONFIG_NET_IPGRE=m
  209. CONFIG_NET_IPGRE_BROADCAST=y
  210. CONFIG_IP_MROUTE=y
  211. CONFIG_IP_PIMSM_V1=y
  212. CONFIG_IP_PIMSM_V2=y
  213. # CONFIG_ARPD is not set
  214. CONFIG_SYN_COOKIES=y
  215. CONFIG_INET_AH=m
  216. CONFIG_INET_ESP=m
  217. CONFIG_INET_IPCOMP=m
  218. CONFIG_INET_TUNNEL=m
  219. CONFIG_INET_DIAG=m
  220. CONFIG_INET_TCP_DIAG=m
  221. CONFIG_TCP_CONG_ADVANCED=y
  222.  
  223. #
  224. # TCP congestion control
  225. #
  226. CONFIG_TCP_CONG_BIC=y
  227. CONFIG_TCP_CONG_WESTWOOD=m
  228. CONFIG_TCP_CONG_HTCP=m
  229. CONFIG_TCP_CONG_HSTCP=m
  230. CONFIG_TCP_CONG_HYBLA=m
  231. CONFIG_TCP_CONG_VEGAS=m
  232. CONFIG_TCP_CONG_SCALABLE=m
  233.  
  234. #
  235. # IP: Virtual Server Configuration
  236. #
  237. CONFIG_IP_VS=m
  238. # CONFIG_IP_VS_DEBUG is not set
  239. CONFIG_IP_VS_TAB_BITS=12
  240.  
  241. #
  242. # IPVS transport protocol load balancing support
  243. #
  244. CONFIG_IP_VS_PROTO_TCP=y
  245. CONFIG_IP_VS_PROTO_UDP=y
  246. CONFIG_IP_VS_PROTO_ESP=y
  247. CONFIG_IP_VS_PROTO_AH=y
  248.  
  249. #
  250. # IPVS scheduler
  251. #
  252. CONFIG_IP_VS_RR=m
  253. CONFIG_IP_VS_WRR=m
  254. CONFIG_IP_VS_LC=m
  255. CONFIG_IP_VS_WLC=m
  256. CONFIG_IP_VS_LBLC=m
  257. CONFIG_IP_VS_LBLCR=m
  258. CONFIG_IP_VS_DH=m
  259. CONFIG_IP_VS_SH=m
  260. CONFIG_IP_VS_SED=m
  261. CONFIG_IP_VS_NQ=m
  262.  
  263. #
  264. # IPVS application helper
  265. #
  266. CONFIG_IP_VS_FTP=m
  267. CONFIG_IPV6=m
  268. CONFIG_IPV6_PRIVACY=y
  269. CONFIG_INET6_AH=m
  270. CONFIG_INET6_ESP=m
  271. CONFIG_INET6_IPCOMP=m
  272. CONFIG_INET6_TUNNEL=m
  273. CONFIG_IPV6_TUNNEL=m
  274. CONFIG_NETFILTER=y
  275. # CONFIG_NETFILTER_DEBUG is not set
  276. CONFIG_BRIDGE_NETFILTER=y
  277. CONFIG_NETFILTER_NETLINK=m
  278. CONFIG_NETFILTER_NETLINK_QUEUE=m
  279. CONFIG_NETFILTER_NETLINK_LOG=m
  280.  
  281. #
  282. # IP: Netfilter Configuration
  283. #
  284. CONFIG_IP_NF_CONNTRACK=m
  285. CONFIG_IP_NF_CT_ACCT=y
  286. CONFIG_IP_NF_CONNTRACK_MARK=y
  287. CONFIG_IP_NF_CONNTRACK_EVENTS=y
  288. CONFIG_IP_NF_CONNTRACK_NETLINK=m
  289. CONFIG_IP_NF_CT_PROTO_SCTP=m
  290. CONFIG_IP_NF_FTP=m
  291. CONFIG_IP_NF_IRC=m
  292. CONFIG_IP_NF_NETBIOS_NS=m
  293. CONFIG_IP_NF_TFTP=m
  294. CONFIG_IP_NF_AMANDA=m
  295. CONFIG_IP_NF_PPTP=m
  296. CONFIG_IP_NF_QUEUE=m
  297. CONFIG_IP_NF_IPTABLES=m
  298. # CONFIG_IP_NF_MATCH_LIMIT is not set
  299. CONFIG_IP_NF_MATCH_IPRANGE=m
  300. # CONFIG_IP_NF_MATCH_MAC is not set
  301. # CONFIG_IP_NF_MATCH_PKTTYPE is not set
  302. # CONFIG_IP_NF_MATCH_MARK is not set
  303. # CONFIG_IP_NF_MATCH_MULTIPORT is not set
  304. CONFIG_IP_NF_MATCH_TOS=m
  305. CONFIG_IP_NF_MATCH_RECENT=m
  306. CONFIG_IP_NF_MATCH_ECN=m
  307. CONFIG_IP_NF_MATCH_DSCP=m
  308. # CONFIG_IP_NF_MATCH_AH_ESP is not set
  309. # CONFIG_IP_NF_MATCH_LENGTH is not set
  310. CONFIG_IP_NF_MATCH_TTL=m
  311. # CONFIG_IP_NF_MATCH_TCPMSS is not set
  312. # CONFIG_IP_NF_MATCH_HELPER is not set
  313. # CONFIG_IP_NF_MATCH_STATE is not set
  314. # CONFIG_IP_NF_MATCH_CONNTRACK is not set
  315. CONFIG_IP_NF_MATCH_OWNER=m
  316. # CONFIG_IP_NF_MATCH_PHYSDEV is not set
  317. CONFIG_IP_NF_MATCH_ADDRTYPE=m
  318. # CONFIG_IP_NF_MATCH_REALM is not set
  319. # CONFIG_IP_NF_MATCH_SCTP is not set
  320. # CONFIG_IP_NF_MATCH_DCCP is not set
  321. # CONFIG_IP_NF_MATCH_COMMENT is not set
  322. # CONFIG_IP_NF_MATCH_CONNMARK is not set
  323. # CONFIG_IP_NF_MATCH_CONNBYTES is not set
  324. CONFIG_IP_NF_MATCH_HASHLIMIT=m
  325. # CONFIG_IP_NF_MATCH_STRING is not set
  326. CONFIG_IP_NF_FILTER=m
  327. CONFIG_IP_NF_TARGET_REJECT=m
  328. CONFIG_IP_NF_TARGET_LOG=m
  329. CONFIG_IP_NF_TARGET_ULOG=m
  330. CONFIG_IP_NF_TARGET_TCPMSS=m
  331. # CONFIG_IP_NF_TARGET_NFQUEUE is not set
  332. CONFIG_IP_NF_NAT=m
  333. CONFIG_IP_NF_NAT_NEEDED=y
  334. CONFIG_IP_NF_TARGET_MASQUERADE=m
  335. CONFIG_IP_NF_TARGET_REDIRECT=m
  336. CONFIG_IP_NF_TARGET_NETMAP=m
  337. CONFIG_IP_NF_TARGET_SAME=m
  338. CONFIG_IP_NF_NAT_SNMP_BASIC=m
  339. CONFIG_IP_NF_NAT_IRC=m
  340. CONFIG_IP_NF_NAT_FTP=m
  341. CONFIG_IP_NF_NAT_TFTP=m
  342. CONFIG_IP_NF_NAT_AMANDA=m
  343. CONFIG_IP_NF_NAT_PPTP=m
  344. CONFIG_IP_NF_MANGLE=m
  345. CONFIG_IP_NF_TARGET_TOS=m
  346. CONFIG_IP_NF_TARGET_ECN=m
  347. CONFIG_IP_NF_TARGET_DSCP=m
  348. # CONFIG_IP_NF_TARGET_MARK is not set
  349. # CONFIG_IP_NF_TARGET_CLASSIFY is not set
  350. CONFIG_IP_NF_TARGET_TTL=m
  351. # CONFIG_IP_NF_TARGET_CONNMARK is not set
  352. CONFIG_IP_NF_TARGET_CLUSTERIP=m
  353. CONFIG_IP_NF_RAW=m
  354. # CONFIG_IP_NF_TARGET_NOTRACK is not set
  355. CONFIG_IP_NF_ARPTABLES=m
  356. CONFIG_IP_NF_ARPFILTER=m
  357. CONFIG_IP_NF_ARP_MANGLE=m
  358.  
  359. #
  360. # IPv6: Netfilter Configuration (EXPERIMENTAL)
  361. #
  362. CONFIG_IP6_NF_QUEUE=m
  363. CONFIG_IP6_NF_IPTABLES=m
  364. # CONFIG_IP6_NF_MATCH_LIMIT is not set
  365. # CONFIG_IP6_NF_MATCH_MAC is not set
  366. CONFIG_IP6_NF_MATCH_RT=m
  367. CONFIG_IP6_NF_MATCH_OPTS=m
  368. CONFIG_IP6_NF_MATCH_FRAG=m
  369. CONFIG_IP6_NF_MATCH_HL=m
  370. # CONFIG_IP6_NF_MATCH_MULTIPORT is not set
  371. CONFIG_IP6_NF_MATCH_OWNER=m
  372. # CONFIG_IP6_NF_MATCH_MARK is not set
  373. CONFIG_IP6_NF_MATCH_IPV6HEADER=m
  374. # CONFIG_IP6_NF_MATCH_AHESP is not set
  375. # CONFIG_IP6_NF_MATCH_LENGTH is not set
  376. CONFIG_IP6_NF_MATCH_EUI64=m
  377. # CONFIG_IP6_NF_MATCH_PHYSDEV is not set
  378. CONFIG_IP6_NF_FILTER=m
  379. CONFIG_IP6_NF_TARGET_LOG=m
  380. CONFIG_IP6_NF_TARGET_REJECT=m
  381. # CONFIG_IP6_NF_TARGET_NFQUEUE is not set
  382. CONFIG_IP6_NF_MANGLE=m
  383. # CONFIG_IP6_NF_TARGET_MARK is not set
  384. CONFIG_IP6_NF_TARGET_HL=m
  385. CONFIG_IP6_NF_RAW=m
  386.  
  387. #
  388. # Bridge: Netfilter Configuration
  389. #
  390. CONFIG_BRIDGE_NF_EBTABLES=m
  391. CONFIG_BRIDGE_EBT_BROUTE=m
  392. CONFIG_BRIDGE_EBT_T_FILTER=m
  393. CONFIG_BRIDGE_EBT_T_NAT=m
  394. CONFIG_BRIDGE_EBT_802_3=m
  395. CONFIG_BRIDGE_EBT_AMONG=m
  396. CONFIG_BRIDGE_EBT_ARP=m
  397. CONFIG_BRIDGE_EBT_IP=m
  398. CONFIG_BRIDGE_EBT_LIMIT=m
  399. CONFIG_BRIDGE_EBT_MARK=m
  400. CONFIG_BRIDGE_EBT_PKTTYPE=m
  401. CONFIG_BRIDGE_EBT_STP=m
  402. CONFIG_BRIDGE_EBT_VLAN=m
  403. CONFIG_BRIDGE_EBT_ARPREPLY=m
  404. CONFIG_BRIDGE_EBT_DNAT=m
  405. CONFIG_BRIDGE_EBT_MARK_T=m
  406. CONFIG_BRIDGE_EBT_REDIRECT=m
  407. CONFIG_BRIDGE_EBT_SNAT=m
  408. CONFIG_BRIDGE_EBT_LOG=m
  409. CONFIG_BRIDGE_EBT_ULOG=m
  410.  
  411. #
  412. # DCCP Configuration (EXPERIMENTAL)
  413. #
  414. CONFIG_IP_DCCP=m
  415. CONFIG_INET_DCCP_DIAG=m
  416.  
  417. #
  418. # DCCP CCIDs Configuration (EXPERIMENTAL)
  419. #
  420. CONFIG_IP_DCCP_CCID3=m
  421. CONFIG_IP_DCCP_TFRC_LIB=m
  422.  
  423. #
  424. # DCCP Kernel Hacking
  425. #
  426. # CONFIG_IP_DCCP_DEBUG is not set
  427. # CONFIG_IP_DCCP_UNLOAD_HACK is not set
  428.  
  429. #
  430. # SCTP Configuration (EXPERIMENTAL)
  431. #
  432. CONFIG_IP_SCTP=m
  433. # CONFIG_SCTP_DBG_MSG is not set
  434. # CONFIG_SCTP_DBG_OBJCNT is not set
  435. # CONFIG_SCTP_HMAC_NONE is not set
  436. # CONFIG_SCTP_HMAC_SHA1 is not set
  437. CONFIG_SCTP_HMAC_MD5=y
  438. CONFIG_ATM=m
  439. CONFIG_ATM_CLIP=m
  440. # CONFIG_ATM_CLIP_NO_ICMP is not set
  441. CONFIG_ATM_LANE=m
  442. # CONFIG_ATM_MPOA is not set
  443. CONFIG_ATM_BR2684=m
  444. # CONFIG_ATM_BR2684_IPFILTER is not set
  445. CONFIG_BRIDGE=m
  446. CONFIG_VLAN_8021Q=m
  447. # CONFIG_DECNET is not set
  448. # CONFIG_LLC2 is not set
  449. # CONFIG_IPX is not set
  450. # CONFIG_ATALK is not set
  451. # CONFIG_X25 is not set
  452. # CONFIG_LAPB is not set
  453. # CONFIG_NET_DIVERT is not set
  454. # CONFIG_ECONET is not set
  455. # CONFIG_WAN_ROUTER is not set
  456. CONFIG_NET_SCHED=y
  457. # CONFIG_NET_SCH_CLK_JIFFIES is not set
  458. CONFIG_NET_SCH_CLK_GETTIMEOFDAY=y
  459. # CONFIG_NET_SCH_CLK_CPU is not set
  460. CONFIG_NET_SCH_CBQ=m
  461. CONFIG_NET_SCH_HTB=m
  462. CONFIG_NET_SCH_HFSC=m
  463. CONFIG_NET_SCH_ATM=m
  464. CONFIG_NET_SCH_PRIO=m
  465. CONFIG_NET_SCH_RED=m
  466. CONFIG_NET_SCH_SFQ=m
  467. CONFIG_NET_SCH_TEQL=m
  468. CONFIG_NET_SCH_TBF=m
  469. CONFIG_NET_SCH_GRED=m
  470. CONFIG_NET_SCH_DSMARK=m
  471. CONFIG_NET_SCH_NETEM=m
  472. CONFIG_NET_SCH_INGRESS=m
  473. # CONFIG_NET_QOS is not set
  474. CONFIG_NET_CLS=y
  475. CONFIG_NET_CLS_BASIC=m
  476. CONFIG_NET_CLS_TCINDEX=m
  477. CONFIG_NET_CLS_ROUTE4=m
  478. CONFIG_NET_CLS_ROUTE=y
  479. CONFIG_NET_CLS_FW=m
  480. CONFIG_NET_CLS_U32=m
  481. CONFIG_CLS_U32_PERF=y
  482. CONFIG_NET_CLS_IND=y
  483. CONFIG_CLS_U32_MARK=y
  484. CONFIG_NET_EMATCH=y
  485. CONFIG_NET_EMATCH_STACK=32
  486. CONFIG_NET_EMATCH_CMP=m
  487. CONFIG_NET_EMATCH_NBYTE=m
  488. CONFIG_NET_EMATCH_U32=m
  489. CONFIG_NET_EMATCH_META=m
  490. CONFIG_NET_EMATCH_TEXT=m
  491.  
  492. #
  493. # Network testing
  494. #
  495. CONFIG_NET_PKTGEN=m
  496. # CONFIG_HAMRADIO is not set
  497. # CONFIG_IRDA is not set
  498. # CONFIG_BT is not set
  499. CONFIG_IEEE80211=m
  500. # CONFIG_IEEE80211_DEBUG is not set
  501. CONFIG_IEEE80211_CRYPT_WEP=m
  502. # CONFIG_IEEE80211_CRYPT_CCMP is not set
  503. # CONFIG_IEEE80211_CRYPT_TKIP is not set
  504.  
  505. #
  506. # Device Drivers
  507. #
  508.  
  509. #
  510. # Generic Driver Options
  511. #
  512. CONFIG_STANDALONE=y
  513. CONFIG_PREVENT_FIRMWARE_BUILD=y
  514. CONFIG_FW_LOADER=y
  515. # CONFIG_DEBUG_DRIVER is not set
  516.  
  517. #
  518. # Memory Technology Devices (MTD)
  519. #
  520. # CONFIG_MTD is not set
  521.  
  522. #
  523. # Parallel port support
  524. #
  525. # CONFIG_PARPORT is not set
  526.  
  527. #
  528. # Plug and Play support
  529. #
  530.  
  531. #
  532. # Block devices
  533. #
  534. # CONFIG_BLK_DEV_COW_COMMON is not set
  535. CONFIG_BLK_DEV_LOOP=m
  536. CONFIG_BLK_DEV_CRYPTOLOOP=m
  537. CONFIG_BLK_DEV_NBD=m
  538. CONFIG_BLK_DEV_RAM=y
  539. CONFIG_BLK_DEV_RAM_COUNT=16
  540. CONFIG_BLK_DEV_RAM_SIZE=16384
  541. CONFIG_BLK_DEV_INITRD=y
  542. # CONFIG_CDROM_PKTCDVD is not set
  543.  
  544. #
  545. # IO Schedulers
  546. #
  547. CONFIG_IOSCHED_NOOP=y
  548. CONFIG_IOSCHED_AS=y
  549. CONFIG_IOSCHED_DEADLINE=y
  550. CONFIG_IOSCHED_CFQ=y
  551. # CONFIG_ATA_OVER_ETH is not set
  552.  
  553. #
  554. # SCSI device support
  555. #
  556. # CONFIG_RAID_ATTRS is not set
  557. CONFIG_SCSI=m
  558. # CONFIG_SCSI_PROC_FS is not set
  559.  
  560. #
  561. # SCSI support type (disk, tape, CD-ROM)
  562. #
  563. # CONFIG_BLK_DEV_SD is not set
  564. # CONFIG_CHR_DEV_ST is not set
  565. # CONFIG_CHR_DEV_OSST is not set
  566. # CONFIG_BLK_DEV_SR is not set
  567. # CONFIG_CHR_DEV_SG is not set
  568. # CONFIG_CHR_DEV_SCH is not set
  569.  
  570. #
  571. # Some SCSI devices (e.g. CD jukebox) support multiple LUNs
  572. #
  573. # CONFIG_SCSI_MULTI_LUN is not set
  574. # CONFIG_SCSI_CONSTANTS is not set
  575. # CONFIG_SCSI_LOGGING is not set
  576.  
  577. #
  578. # SCSI Transport Attributes
  579. #
  580. # CONFIG_SCSI_SPI_ATTRS is not set
  581. # CONFIG_SCSI_FC_ATTRS is not set
  582. # CONFIG_SCSI_ISCSI_ATTRS is not set
  583. # CONFIG_SCSI_SAS_ATTRS is not set
  584.  
  585. #
  586. # SCSI low-level drivers
  587. #
  588. # CONFIG_SCSI_SATA is not set
  589. # CONFIG_SCSI_DEBUG is not set
  590.  
  591. #
  592. # Multi-device support (RAID and LVM)
  593. #
  594. # CONFIG_MD is not set
  595.  
  596. #
  597. # Fusion MPT device support
  598. #
  599. # CONFIG_FUSION is not set
  600.  
  601. #
  602. # IEEE 1394 (FireWire) support
  603. #
  604.  
  605. #
  606. # I2O device support
  607. #
  608.  
  609. #
  610. # Network device support
  611. #
  612. CONFIG_NETDEVICES=y
  613. # CONFIG_DUMMY is not set
  614. # CONFIG_BONDING is not set
  615. # CONFIG_EQUALIZER is not set
  616. # CONFIG_TUN is not set
  617.  
  618. #
  619. # PHY device support
  620. #
  621. CONFIG_PHYLIB=m
  622. # CONFIG_PHYCONTROL is not set
  623.  
  624. #
  625. # MII PHY device drivers
  626. #
  627. CONFIG_MARVELL_PHY=m
  628. CONFIG_DAVICOM_PHY=m
  629. CONFIG_QSEMI_PHY=m
  630. CONFIG_LXT_PHY=m
  631. CONFIG_CICADA_PHY=m
  632.  
  633. #
  634. # Ethernet (10 or 100Mbit)
  635. #
  636. CONFIG_NET_ETHERNET=y
  637. CONFIG_MII=m
  638. # CONFIG_SMC91X is not set
  639. # CONFIG_DM9000 is not set
  640.  
  641. #
  642. # Ethernet (1000 Mbit)
  643. #
  644.  
  645. #
  646. # Ethernet (10000 Mbit)
  647. #
  648.  
  649. #
  650. # Token Ring devices
  651. #
  652.  
  653. #
  654. # Wireless LAN (non-hamradio)
  655. #
  656. # CONFIG_NET_RADIO is not set
  657.  
  658. #
  659. # Wan interfaces
  660. #
  661. # CONFIG_WAN is not set
  662.  
  663. #
  664. # ATM drivers
  665. #
  666. # CONFIG_ATM_TCP is not set
  667. # CONFIG_PPP is not set
  668. CONFIG_SLIP=m
  669. CONFIG_SLIP_COMPRESSED=y
  670. CONFIG_SLIP_SMART=y
  671. # CONFIG_SLIP_MODE_SLIP6 is not set
  672. # CONFIG_SHAPER is not set
  673. CONFIG_NETCONSOLE=m
  674. CONFIG_NETPOLL=y
  675. # CONFIG_NETPOLL_RX is not set
  676. CONFIG_NETPOLL_TRAP=y
  677. CONFIG_NET_POLL_CONTROLLER=y
  678.  
  679. #
  680. # ISDN subsystem
  681. #
  682. # CONFIG_ISDN is not set
  683.  
  684. #
  685. # Input device support
  686. #
  687. CONFIG_INPUT=y
  688.  
  689. #
  690. # Userland interfaces
  691. #
  692. CONFIG_INPUT_MOUSEDEV=y
  693. # CONFIG_INPUT_MOUSEDEV_PSAUX is not set
  694. CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
  695. CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
  696. # CONFIG_INPUT_JOYDEV is not set
  697. # CONFIG_INPUT_TSDEV is not set
  698. CONFIG_INPUT_EVDEV=y
  699. # CONFIG_INPUT_EVBUG is not set
  700.  
  701. #
  702. # Input Device Drivers
  703. #
  704. # CONFIG_INPUT_KEYBOARD is not set
  705. # CONFIG_INPUT_MOUSE is not set
  706. # CONFIG_INPUT_JOYSTICK is not set
  707. # CONFIG_INPUT_TOUCHSCREEN is not set
  708. # CONFIG_INPUT_MISC is not set
  709.  
  710. #
  711. # Hardware I/O ports
  712. #
  713. CONFIG_SERIO=y
  714. CONFIG_SERIO_SERPORT=y
  715. CONFIG_SERIO_RAW=m
  716. CONFIG_GAMEPORT=m
  717. # CONFIG_GAMEPORT_NS558 is not set
  718. # CONFIG_GAMEPORT_L4 is not set
  719.  
  720. #
  721. # Character devices
  722. #
  723. CONFIG_VT=y
  724. CONFIG_VT_CONSOLE=y
  725. CONFIG_HW_CONSOLE=y
  726. CONFIG_SERIAL_NONSTANDARD=y
  727. # CONFIG_COMPUTONE is not set
  728. # CONFIG_ROCKETPORT is not set
  729. # CONFIG_CYCLADES is not set
  730. # CONFIG_DIGIEPCA is not set
  731. # CONFIG_MOXA_INTELLIO is not set
  732. # CONFIG_MOXA_SMARTIO is not set
  733. # CONFIG_ISI is not set
  734. # CONFIG_SYNCLINKMP is not set
  735. # CONFIG_N_HDLC is not set
  736. # CONFIG_RISCOM8 is not set
  737. # CONFIG_SPECIALIX is not set
  738. # CONFIG_SX is not set
  739. # CONFIG_RIO is not set
  740. # CONFIG_STALDRV is not set
  741.  
  742. #
  743. # Serial drivers
  744. #
  745. CONFIG_SERIAL_8250=y
  746. CONFIG_SERIAL_8250_CONSOLE=y
  747. CONFIG_SERIAL_8250_NR_UARTS=32
  748. CONFIG_SERIAL_8250_EXTENDED=y
  749. CONFIG_SERIAL_8250_MANY_PORTS=y
  750. CONFIG_SERIAL_8250_SHARE_IRQ=y
  751. CONFIG_SERIAL_8250_DETECT_IRQ=y
  752. CONFIG_SERIAL_8250_RSA=y
  753.  
  754. #
  755. # Non-8250 serial port support
  756. #
  757. CONFIG_SERIAL_CORE=y
  758. CONFIG_SERIAL_CORE_CONSOLE=y
  759. # CONFIG_SERIAL_DCC is not set
  760. CONFIG_UNIX98_PTYS=y
  761. # CONFIG_LEGACY_PTYS is not set
  762.  
  763. #
  764. # IPMI
  765. #
  766. CONFIG_IPMI_HANDLER=m
  767. # CONFIG_IPMI_PANIC_EVENT is not set
  768. CONFIG_IPMI_DEVICE_INTERFACE=m
  769. CONFIG_IPMI_SI=m
  770. CONFIG_IPMI_WATCHDOG=m
  771. CONFIG_IPMI_POWEROFF=m
  772.  
  773. #
  774. # Watchdog Cards
  775. #
  776. CONFIG_WATCHDOG=y
  777. # CONFIG_WATCHDOG_NOWAYOUT is not set
  778.  
  779. #
  780. # Watchdog Device Drivers
  781. #
  782. CONFIG_SOFT_WATCHDOG=m
  783. CONFIG_NVRAM=y
  784. CONFIG_RTC=y
  785. # CONFIG_DTLK is not set
  786. # CONFIG_R3964 is not set
  787.  
  788. #
  789. # Ftape, the floppy tape device driver
  790. #
  791. CONFIG_RAW_DRIVER=y
  792. CONFIG_MAX_RAW_DEVS=8192
  793.  
  794. #
  795. # TPM devices
  796. #
  797.  
  798. #
  799. # I2C support
  800. #
  801. # CONFIG_I2C is not set
  802.  
  803. #
  804. # Hardware Monitoring support
  805. #
  806. # CONFIG_HWMON is not set
  807. # CONFIG_HWMON_VID is not set
  808.  
  809. #
  810. # Misc devices
  811. #
  812.  
  813. #
  814. # Multimedia Capabilities Port drivers
  815. #
  816.  
  817. #
  818. # Multimedia devices
  819. #
  820. # CONFIG_VIDEO_DEV is not set
  821.  
  822. #
  823. # Digital Video Broadcasting Devices
  824. #
  825. # CONFIG_DVB is not set
  826.  
  827. #
  828. # Graphics support
  829. #
  830. # CONFIG_FB is not set
  831.  
  832. #
  833. # Console display driver support
  834. #
  835. # CONFIG_VGA_CONSOLE is not set
  836. CONFIG_DUMMY_CONSOLE=y
  837.  
  838. #
  839. # Sound
  840. #
  841. # CONFIG_SOUND is not set
  842.  
  843. #
  844. # USB support
  845. #
  846. CONFIG_USB_ARCH_HAS_HCD=y
  847. # CONFIG_USB_ARCH_HAS_OHCI is not set
  848. # CONFIG_USB is not set
  849.  
  850. #
  851. # USB Gadget Support
  852. #
  853. # CONFIG_USB_GADGET is not set
  854.  
  855. #
  856. # MMC/SD Card support
  857. #
  858. # CONFIG_MMC is not set
  859.  
  860. #
  861. # File systems
  862. #
  863. CONFIG_EXT2_FS=y
  864. CONFIG_EXT2_FS_XATTR=y
  865. CONFIG_EXT2_FS_POSIX_ACL=y
  866. CONFIG_EXT2_FS_SECURITY=y
  867. # CONFIG_EXT2_FS_XIP is not set
  868. # CONFIG_EXT3_FS is not set
  869. # CONFIG_JBD is not set
  870. CONFIG_FS_MBCACHE=y
  871. # CONFIG_REISERFS_FS is not set
  872. # CONFIG_JFS_FS is not set
  873. CONFIG_FS_POSIX_ACL=y
  874. # CONFIG_XFS_FS is not set
  875. # CONFIG_MINIX_FS is not set
  876. # CONFIG_ROMFS_FS is not set
  877. CONFIG_INOTIFY=y
  878. # CONFIG_QUOTA is not set
  879. CONFIG_DNOTIFY=y
  880. # CONFIG_AUTOFS_FS is not set
  881. # CONFIG_AUTOFS4_FS is not set
  882. # CONFIG_FUSE_FS is not set
  883.  
  884. #
  885. # CD-ROM/DVD Filesystems
  886. #
  887. CONFIG_ISO9660_FS=y
  888. CONFIG_JOLIET=y
  889. CONFIG_ZISOFS=y
  890. CONFIG_ZISOFS_FS=y
  891. CONFIG_UDF_FS=m
  892. CONFIG_UDF_NLS=y
  893.  
  894. #
  895. # DOS/FAT/NT Filesystems
  896. #
  897. CONFIG_FAT_FS=m
  898. CONFIG_MSDOS_FS=m
  899. CONFIG_VFAT_FS=m
  900. CONFIG_FAT_DEFAULT_CODEPAGE=437
  901. CONFIG_FAT_DEFAULT_IOCHARSET="ascii"
  902. # CONFIG_NTFS_FS is not set
  903.  
  904. #
  905. # Pseudo filesystems
  906. #
  907. CONFIG_PROC_FS=y
  908. CONFIG_SYSFS=y
  909. CONFIG_TMPFS=y
  910. # CONFIG_HUGETLB_PAGE is not set
  911. CONFIG_RAMFS=y
  912. # CONFIG_RELAYFS_FS is not set
  913.  
  914. #
  915. # Miscellaneous filesystems
  916. #
  917. # CONFIG_ADFS_FS is not set
  918. # CONFIG_AFFS_FS is not set
  919. CONFIG_HFS_FS=m
  920. CONFIG_HFSPLUS_FS=m
  921. # CONFIG_BEFS_FS is not set
  922. # CONFIG_BFS_FS is not set
  923. # CONFIG_EFS_FS is not set
  924. CONFIG_CRAMFS=m
  925. CONFIG_VXFS_FS=m
  926. # CONFIG_HPFS_FS is not set
  927. # CONFIG_QNX4FS_FS is not set
  928. # CONFIG_SYSV_FS is not set
  929. # CONFIG_UFS_FS is not set
  930.  
  931. #
  932. # Network File Systems
  933. #
  934. CONFIG_NFS_FS=m
  935. CONFIG_NFS_V3=y
  936. CONFIG_NFS_V3_ACL=y
  937. CONFIG_NFS_V4=y
  938. CONFIG_NFS_DIRECTIO=y
  939. # CONFIG_NFSD is not set
  940. CONFIG_LOCKD=m
  941. CONFIG_LOCKD_V4=y
  942. CONFIG_NFS_ACL_SUPPORT=m
  943. CONFIG_NFS_COMMON=y
  944. CONFIG_SUNRPC=m
  945. CONFIG_SUNRPC_GSS=m
  946. CONFIG_RPCSEC_GSS_KRB5=m
  947. # CONFIG_RPCSEC_GSS_SPKM3 is not set
  948. # CONFIG_SMB_FS is not set
  949. # CONFIG_CIFS is not set
  950. # CONFIG_NCP_FS is not set
  951. # CONFIG_CODA_FS is not set
  952. # CONFIG_AFS_FS is not set
  953. # CONFIG_9P_FS is not set
  954.  
  955. #
  956. # Partition Types
  957. #
  958. CONFIG_PARTITION_ADVANCED=y
  959. # CONFIG_ACORN_PARTITION is not set
  960. CONFIG_OSF_PARTITION=y
  961. CONFIG_AMIGA_PARTITION=y
  962. # CONFIG_ATARI_PARTITION is not set
  963. CONFIG_MAC_PARTITION=y
  964. CONFIG_MSDOS_PARTITION=y
  965. CONFIG_BSD_DISKLABEL=y
  966. CONFIG_MINIX_SUBPARTITION=y
  967. CONFIG_SOLARIS_X86_PARTITION=y
  968. CONFIG_UNIXWARE_DISKLABEL=y
  969. # CONFIG_LDM_PARTITION is not set
  970. CONFIG_SGI_PARTITION=y
  971. # CONFIG_ULTRIX_PARTITION is not set
  972. CONFIG_SUN_PARTITION=y
  973. CONFIG_EFI_PARTITION=y
  974.  
  975. #
  976. # Native Language Support
  977. #
  978. CONFIG_NLS=y
  979. CONFIG_NLS_DEFAULT="utf8"
  980. CONFIG_NLS_CODEPAGE_437=y
  981. CONFIG_NLS_CODEPAGE_737=m
  982. CONFIG_NLS_CODEPAGE_775=m
  983. CONFIG_NLS_CODEPAGE_850=m
  984. CONFIG_NLS_CODEPAGE_852=m
  985. CONFIG_NLS_CODEPAGE_855=m
  986. CONFIG_NLS_CODEPAGE_857=m
  987. CONFIG_NLS_CODEPAGE_860=m
  988. CONFIG_NLS_CODEPAGE_861=m
  989. CONFIG_NLS_CODEPAGE_862=m
  990. CONFIG_NLS_CODEPAGE_863=m
  991. CONFIG_NLS_CODEPAGE_864=m
  992. CONFIG_NLS_CODEPAGE_865=m
  993. CONFIG_NLS_CODEPAGE_866=m
  994. CONFIG_NLS_CODEPAGE_869=m
  995. CONFIG_NLS_CODEPAGE_936=m
  996. CONFIG_NLS_CODEPAGE_950=m
  997. CONFIG_NLS_CODEPAGE_932=m
  998. CONFIG_NLS_CODEPAGE_949=m
  999. CONFIG_NLS_CODEPAGE_874=m
  1000. CONFIG_NLS_ISO8859_8=m
  1001. CONFIG_NLS_CODEPAGE_1250=m
  1002. CONFIG_NLS_CODEPAGE_1251=m
  1003. CONFIG_NLS_ASCII=y
  1004. CONFIG_NLS_ISO8859_1=m
  1005. CONFIG_NLS_ISO8859_2=m
  1006. CONFIG_NLS_ISO8859_3=m
  1007. CONFIG_NLS_ISO8859_4=m
  1008. CONFIG_NLS_ISO8859_5=m
  1009. CONFIG_NLS_ISO8859_6=m
  1010. CONFIG_NLS_ISO8859_7=m
  1011. CONFIG_NLS_ISO8859_9=m
  1012. CONFIG_NLS_ISO8859_13=m
  1013. CONFIG_NLS_ISO8859_14=m
  1014. CONFIG_NLS_ISO8859_15=m
  1015. CONFIG_NLS_KOI8_R=m
  1016. CONFIG_NLS_KOI8_U=m
  1017. CONFIG_NLS_UTF8=m
  1018.  
  1019. #
  1020. # Profiling support
  1021. #
  1022. CONFIG_PROFILING=y
  1023. CONFIG_OPROFILE=m
  1024.  
  1025. #
  1026. # Kernel hacking
  1027. #
  1028. # CONFIG_PRINTK_TIME is not set
  1029. CONFIG_DEBUG_KERNEL=y
  1030. CONFIG_MAGIC_SYSRQ=y
  1031. CONFIG_LOG_BUF_SHIFT=17
  1032. CONFIG_DETECT_SOFTLOCKUP=y
  1033. CONFIG_SCHEDSTATS=y
  1034. # CONFIG_DEBUG_SLAB is not set
  1035. # CONFIG_DEBUG_SPINLOCK is not set
  1036. # CONFIG_DEBUG_SPINLOCK_SLEEP is not set
  1037. # CONFIG_DEBUG_KOBJECT is not set
  1038. CONFIG_DEBUG_BUGVERBOSE=y
  1039. CONFIG_DEBUG_INFO=y
  1040. CONFIG_DEBUG_FS=y
  1041. CONFIG_FRAME_POINTER=y
  1042. # CONFIG_DEBUG_USER is not set
  1043. # CONFIG_DEBUG_WAITQ is not set
  1044. # CONFIG_DEBUG_ERRORS is not set
  1045. # CONFIG_DEBUG_LL is not set
  1046.  
  1047. #
  1048. # Security options
  1049. #
  1050. # CONFIG_KEYS is not set
  1051. # CONFIG_SECURITY is not set
  1052.  
  1053. #
  1054. # Cryptographic options
  1055. #
  1056. CONFIG_CRYPTO=y
  1057. CONFIG_CRYPTO_HMAC=y
  1058. CONFIG_CRYPTO_NULL=m
  1059. CONFIG_CRYPTO_MD4=m
  1060. CONFIG_CRYPTO_MD5=y
  1061. CONFIG_CRYPTO_SHA1=y
  1062. CONFIG_CRYPTO_SHA256=m
  1063. CONFIG_CRYPTO_SHA512=m
  1064. CONFIG_CRYPTO_WP512=m
  1065. CONFIG_CRYPTO_TGR192=m
  1066. CONFIG_CRYPTO_DES=m
  1067. CONFIG_CRYPTO_BLOWFISH=m
  1068. CONFIG_CRYPTO_TWOFISH=m
  1069. CONFIG_CRYPTO_SERPENT=m
  1070. CONFIG_CRYPTO_AES=m
  1071. CONFIG_CRYPTO_CAST5=m
  1072. CONFIG_CRYPTO_CAST6=m
  1073. CONFIG_CRYPTO_TEA=m
  1074. CONFIG_CRYPTO_ARC4=m
  1075. CONFIG_CRYPTO_KHAZAD=m
  1076. CONFIG_CRYPTO_ANUBIS=m
  1077. CONFIG_CRYPTO_DEFLATE=m
  1078. CONFIG_CRYPTO_MICHAEL_MIC=m
  1079. CONFIG_CRYPTO_CRC32C=y
  1080. # CONFIG_CRYPTO_TEST is not set
  1081.  
  1082. #
  1083. # Hardware crypto devices
  1084. #
  1085.  
  1086. #
  1087. # Library routines
  1088. #
  1089. CONFIG_CRC_CCITT=m
  1090. CONFIG_CRC16=m
  1091. CONFIG_CRC32=y
  1092. CONFIG_LIBCRC32C=y
  1093. CONFIG_ZLIB_INFLATE=y
  1094. CONFIG_ZLIB_DEFLATE=m
  1095. CONFIG_TEXTSEARCH=y
  1096. CONFIG_TEXTSEARCH_KMP=m
  1097. CONFIG_TEXTSEARCH_BM=m
  1098. CONFIG_TEXTSEARCH_FSM=m


編譯完後,開啟arm-elf-insight(arm-elf-insight與ICE的使用方法請看此網誌(
u-boot porting guide),載入vmlinux檔案後,單步追縱到start_kernel即可,


因為我們到目前為止的步驟只是幫我們新的架構建一個殼,其實還有一些跟平台有關的檔案要修改,例如irq,timer…等…待續
標籤: embedded
評論: 0 | 引用: 0 | 閱讀: 33956
發表評論
暱 稱: 密 碼:
網 址: E - mail:
驗證碼: 驗證碼圖片 選 項:
頭 像:
內 容: