Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4462490
  • 博文数量: 1148
  • 博客积分: 25453
  • 博客等级: 上将
  • 技术积分: 11949
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-06 21:14
文章分类

全部博文(1148)

文章存档

2012年(15)

2011年(1078)

2010年(58)

分类: 嵌入式

2011-03-29 08:22:24

说明:gcc 4.3.3  TQ制作的编译工具
     linux2.6.30.4源码:  tar.bz2
     主机:ubuntu10.10
     开发板:TQ2440 256MB  2009年版 东华LCD-3.5寸
    
     uboot:u-boot_W35_20091031.bin
     文件系统:root_qtopia_2.2.0_2.6.30.4_256MB_20100601.bin
     内核文件:通过源码自己建立

参考资料:天嵌科技出品-Linux移植之Step By Step_V4.0_20091028.pdf  step1~step9
          天嵌科技出品-Linux移植之Step By Step_V4.5_20100605.pdf  内核配置单
          http://blog.chinaunix.net/space.php?uid=22666248&do=blog&id=195362


1.在linux2.6.30.4 内核中,有关s3c2440的头文件
  1. arch/arm/mach-s3c2410/include/
  2. arch/arm/plat-s3c/include/
  3. arch/arm/plat-s3c24xx/include
2.解压源码
  1. #tar jxfv linux-2.6.30.4.tar.bz2 -C /opt/me_linux/
  2.   注意是root权限                  -C  表示 改变目录
3.添加ARM 支持,在内核源码下
  1. #cd linux-2.6.30.4
  2. #vim Makefile
  3. 在193 行
  4. ARCH ?=(SUBARCH)    修改为     ARCH =arm
  5. CROSS_COMPILE?=                CROSS_COMPILE=arm-linux-

4.修改平台输入时钟,以满足TQ2440的工作频率12000000,
  1. #vim arch/arm/mach-s3c2440/mach-smdk2440.c 
  2. //set nu
  3. //:/1693440 查找
  4. //修改 1693440 为12000000

5.修改机器码
    在TQ2440使用的机器码是168,这里需要修改机器码,否则会出现不能启动的情况。机器码保存在内核源码的“arch/arm/tools/mach-types”文件中,在大概379行,把原来的362 改为168即可。
    为什么要给379 这行呢?因为:在内核的“arm/arm/mach-s3c2440/mach-smdk2440.c”文件
“MACHINE_START(S3C2440,"SMDK2440")”这行中的S3C2440,这个就是关键了。
     在TQ自己制作的内核中,arm/arm/mach-s3c2440/mach-smdk2440.c 显示的是MACHINE_START(S3C2440,"TQ2440")

6.把镜像存放到指定位置
  1. #vim arch/arm/boot/Makefile
  2.    $(obj)/zImage:$(obj)/compressed/vmlinux FORCE
  3.    $(call if_changed,objcopy)
  4.    @cp -f arch/arm/boot/zImage zImage.bin  这行是添加的
  5.    @ECHO 'Kernel:$@ is ready'
## 在 vim 中,使用 :/ 或者 :? 来查找指定的字符串,n 表示继续上一次查询

  1. 修改同文件下

-type -f print| xargs rm -f rm -f zImage.bin 

7.nand flash 移植
   修改内核源码下的“arch/arm/plat-s3c2400/common-smdk.c”
  1. static struct mtd_partition smdk_default_nand_part[] = {
  2. #if defined (CONFIG_256MB_NAND)
  3.     [0] = {
  4.         .name    = "ywx-uboot",
  5.         .size    = 0x00040000,   ##256KB
  6.         .offset    = 0x0,
  7.     },
  8.     [1] = {
  9.         .name    = "ywx-kernel",
  10.         .offset = 0x00200000,  
  11.         .size    = 0x00200000,   ##2MB
  12.     },
  13.     [2] = {
  14.         .name    = "ywx-yaffs2",
  15.         .offset = 0x00400000,
  16.         .size    = 0x0fb80000,  ##251.5MB
  17.     }
  18. #endif
  19. };
 
   修改 nand flash 的读写匹配时间,修改 commmon-smdk.c的文件大概140 行的
smdk_nand_info 结构体
  1. static struct s3c2410_platform_nand smdk_nand_info = {
  2.     .tacls        = 10,
  3.     .twrph0        = 25,
  4.     .twrph1        = 10,
  5.     .nr_sets    = ARRAY_SIZE(smdk_nand_sets),
  6.     .sets        = smdk_nand_sets,
  7. };

   修改内核源码 “drivers/mtd/nand/Kconfig”,添加 nand flash
  1. config MTD_NAND_S3C2410_HWECC
  2.     bool "S3C2410 NAND Hardware ECC"
  3.     depends on MTD_NAND_S3C2410
  4.     help
  5.      Enable the use of the S3C2410's internal ECC generator when
  6.      using NAND. Early versions of the chip have had problems with
  7.      incorrect ECC generation, and if using these, the default of
  8.      software ECC is preferable.
  9. #################

  10. choice
  11.     prompt "nand capacity select"
  12.     depends on MTD
  13.     help
  14.         nand capacity select

  15. config 256MB_NAND
  16.     boolean "256MB nand for tq-board"
  17.     depends on MTD
  18.     help
  19.         set 256MB nand parts
  20. endchoice

  21. #################

  22. config MTD_NAND_NDFC
  23.     tristate "NDFC NanD Flash Controller"
  24.     depends on 4xx
  25.     select MTD_NAND_ECC_SMC
  26.     help
  27.      NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs

8.移植yaffs2文件系统
   yaffs2下载
   得到补丁后,解压补丁,然后打上 yaffs2的补丁
  1. #tar zxfz cvs-root.tar.gz
  2. #cd cvs/yaffs2/
  3. ./patch-ker.sh c /opt/me_linux/linux-2.6.30.4/

9.保存配置单
默认的s3c2410 配置单
  1. arch/arm/configs/s3c2410_defconfig
10.修改配置单
   10.1 添加自己的信息
  1. general setup->
  2.     [-EmbedSky]local version.......
  3. 这里,如果修改为 yuweixian 会出错,出错在下面介绍
   10.2 支持 EABI gcc是4.3.3 需要EABI
  1. kernel->features
  2. [*]use the EABI to compile
  3. [*]allow old eabi binailes

   10.3 nand flash 支持
  1. device features->
  2.     nand device support ->
  3.         nand flash support s3c2410/2440 soc
  4.         [*]s3c2410 nand hardware ecc    选上,由于tq板上是256MB nand,
  5.                                          ecc:error checking code 错误检查纠正

   10.4板子支持
  1. system type ->
  2.     s3c2440 machines->
  3.             [] SMDK2440  只选择这个

   10.5 boot 选项
可能根据个人板子的设置会不一样,TQ2440是从Nand Flash中加载文件系统,其中mtdblock2是存放Linux文件系统的分区。
  1. noinitrd root=/dev/mtdblock2 init=/linuxrc/ console=ttySAC0

   10.6 real time clock
  1. device drivers->
  2.     < >real time clock 这个去掉

   10.7 yaffs2文件系统支持
  1. File systems----->
  2.       Miscellaneous filesystems --->
  3.          <*>YAFFS2 file system support

11 出错信息
  1. <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>input_polldev: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '2.6.30.4-yuweixian mod_unload ARMv4 '
  2. insmod: can't insert '/lib/input-polldev.ko': invalid module format
  3. mac80211: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '2.6.30.4-yuweixian mod_unload ARMv4 '
  4. uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : insmod: can't insert '/lib/mac80211.ko': invalid module format
  5. <3>rt2x00lib: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '2.6.30.4-yuweixian mod_unload ARMv4 '


  6. 这里出错:general setup-> 添加自己的信息

  7. (-yuweixian)local version -append to kernel release 出错了

  8. 可能在uboot中 指定了 EmbedSky 了,不能添加自己的信息了。

12.最后 make zImage 下载板子,实验
  1. 说明:使用默认的 s3c2410_defconfig
  2.       只 修改了 板子 cpu 部分



  3. ##### EmbedSky BIOS for SKY2440/TQ2440 #####
  4. Press Space key to Download Mode !
  5. Booting Linux ...
  6. Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ...

  7. Copy Kernel to SDRAM done,NOW, Booting Linux......
  8. Uncompressing

  9. Linux....................................................................

  10. ....................................... done, booting the kernel.
  11. Linux version 2.6.30.4-EmbedSky (root@ywx) (gcc version 4.3.3 (Sourcery

  12. G++ Lite 2009q1-176) ) #7 Tue Mar 29 11:54:12 CST 2011
  13. CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
  14. CPU: VIVT data cache, VIVT instruction cache
  15. Machine: SMDK2440
  16. ATAG_INITRD is deprecated; please update your bootloader.
  17. Memory policy: ECC disabled, Data cache writeback
  18. CPU S3C2440A (id 0x32440001)
  19. S3C24XX Clocks, (c) 2004 Simtec Electronics
  20. S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
  21. CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
  22. Built 1 zonelists in Zone order, mobility grouping on. Total pages:

  23. 16256
  24. Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc

  25. console=ttySAC0
  26. NR_IRQS:85
  27. irq: clearing pending ext status 00080000
  28. irq: clearing subpending status 00000002
  29. PID hash table entries: 256 (order: 8, 1024 bytes)
  30. Console: colour dummy device 80x30
  31. console [ttySAC0] enabled
  32. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  33. Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  34. Memory: 64MB = 64MB total
  35. Memory: 61364KB available (3008K code, 285K data, 112K init, 0K highmem)
  36. Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
  37. Mount-cache hash table entries: 512
  38. CPU: Testing write buffer coherency: ok
  39. net_namespace: 936 bytes
  40. NET: Registered protocol family 16
  41. S3C Power Management, Copyright 2004 Simtec Electronics
  42. S3C2440: Initialising architecture
  43. S3C2440: IRQ Support
  44. S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
  45. DMA channel 0 at c4808000, irq 33
  46. DMA channel 1 at c4808040, irq 34
  47. DMA channel 2 at c4808080, irq 35
  48. DMA channel 3 at c48080c0, irq 36
  49. S3C244X: Clock Support, DVS off
  50. bio: create slab <bio-0> at 0
  51. SCSI subsystem initialized
  52. usbcore: registered new interface driver usbfs
  53. usbcore: registered new interface driver hub
  54. usbcore: registered new device driver usb
  55. s3c2440-i2c s3c2440-i2c: slave address 0x10
  56. s3c2440-i2c s3c2440-i2c: bus frequency set to 97 KHz
  57. s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
  58. NET: Registered protocol family 2
  59. IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  60. TCP established hash table entries: 2048 (order: 2, 16384 bytes)
  61. TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  62. TCP: Hash tables configured (established 2048 bind 2048)
  63. TCP reno registered
  64. NET: Registered protocol family 1
  65. NetWinder Floating Point Emulator V0.97 (extended precision)
  66. JFFS2 version 2.2. (NAND) (SUMMARY) 漏 2001-2006 Red Hat, Inc.
  67. ROMFS MTD (C) 2007 Red Hat, Inc.
  68. yaffs Mar 29 2011 11:34:55 Installing.
  69. msgmni has been set to 119
  70. io scheduler noop registered
  71. io scheduler anticipatory registered (default)
  72. io scheduler deadline registered
  73. io scheduler cfq registered
  74. Console: switching to colour frame buffer device 30x40
  75. fb0: s3c2410fb frame buffer device
  76. lp: driver loaded but no devices found
  77. ppdev: user-space parallel port driver
  78. Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
  79. s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a

  80. S3C2440
  81. s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a

  82. S3C2440
  83. s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a

  84. S3C2440
  85. brd: module loaded
  86. loop: module loaded
  87. Uniform Multi-Platform E-IDE driver
  88. ide-gd driver 1.18
  89. ide-cd driver 5.00
  90. Driver 'sd' needs updating - please use bus_type methods
  91. dm9000 Ethernet Driver, V1.31
  92. S3C24XX NAND Driver, (c) 2004 Simtec Electronics
  93. s3c2440-nand s3c2440-nand: Tacls=2, 20ns Twrph0=3 30ns, Twrph1=2 20ns
  94. NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB

  95. 3,3V 8-bit)
  96. Scanning device for bad blocks
  97. Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
  98. 0x000000000000-0x000000040000 : "ywx-uboot"
  99. 0x000000200000-0x000000400000 : "ywx-kernel"
  100. 0x000000400000-0x00000ff80000 : "ywx-yaffs2"
  101. usbmon: debugfs is not available
  102. ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  103. s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
  104. s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
  105. s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
  106. usb usb1: configuration #1 chosen from 1 choice
  107. hub 1-0:1.0: USB hub found
  108. hub 1-0:1.0: 2 ports detected
  109. usbcore: registered new interface driver libusual
  110. usbcore: registered new interface driver usbserial
  111. USB Serial support registered for generic
  112. usbcore: registered new interface driver usbserial_generic
  113. usbserial: USB Serial Driver core
  114. USB Serial support registered for FTDI USB Serial Device
  115. usbcore: registered new interface driver ftdi_sio
  116. ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
  117. USB Serial support registered for pl2303
  118. usbcore: registered new interface driver pl2303
  119. pl2303: Prolific PL2303 USB to serial adaptor driver
  120. mice: PS/2 mouse device common for all mice
  121. S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
  122. s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
  123. Advanced Linux Sound Architecture Driver Version 1.0.20.
  124. ALSA device list:
  125.   No soundcards found.
  126. TCP cubic registered
  127. NET: Registered protocol family 17
  128. yaffs: dev is 32505858 name is "mtdblock2"
  129. yaffs: passed flags ""
  130. yaffs: Attempting MTD mount on 31.2, "mtdblock2"
  131. yaffs: auto selecting yaffs2
  132. Partially written block 476 detected
  133. Partially written block 476 detected
  134. Partially written block 476 detected
  135. Partially written block 474 detected
  136. Partially written block 474 detected
  137. Partially written block 474 detected
  138. Partially written block 474 detected
  139. Partially written block 474 detected
  140. Partially written block 474 detected
  141. Partially written block 474 detected
  142. Partially written block 474 detected
  143. Partially written block 474 detected
  144. Partially written block 474 detected
  145. Partially written block 474 detected
  146. Partially written block 474 detected
  147. Partially written block 474 detected
  148. Partially written block 474 detected
  149. Partially written block 474 detected
  150. Partially written block 474 detected
  151. Partially written block 474 detected
  152. Partially written block 474 detected
  153. Partially written block 474 detected
  154. Partially written block 474 detected
  155. Partially written block 398 detected
  156. Partially written block 398 detected
  157. Partially written block 398 detected
  158. Partially written block 398 detected
  159. Partially written block 398 detected
  160. Partially written block 398 detected
  161. Partially written block 398 detected
  162. Partially written block 398 detected
  163. Partially written block 398 detected
  164. Partially written block 398 detected
  165. Partially written block 398 detected
  166. Partially written block 398 detected
  167. Partially written block 398 detected
  168. Partially written block 398 detected
  169. yaffs_read_super: isCheckpointed 0
  170. VFS: Mounted root (yaffs filesystem) on device 31:2.
  171. Freeing init memory: 112K
  172. hwclock: can't open '/dev/misc/rtc': No such file or directory
  173. input_polldev: Unknown symbol kmalloc_caches
  174. insmod: can't insert '/lib/input-polldev.ko': unknown symbol in module,

  175. or unknown parameter
  176. mac80211: Unknown symbol cfg80211_scan_done
  177. mac80211: Unknown symbol regulatory_hint_11d
  178. mac80211: Unknown symbol cfg80211_wext_giwscan
  179. mac80211: Unknown symbol cfg80211_wext_giwname
  180. mac80211: Unknown symbol cfg80211_wext_giwmode
  181. mac80211: Unknown symbol cfg80211_wext_giwrange
  182. mac80211: Unknown symbol wiphy_register
  183. mac80211: Unknown symbol wiphy_new
  184. mac80211: Unknown symbol cfg80211_put_bss
  185. mac80211: Unknown symbol cfg80211_hold_bss
  186. mac80211: Unknown symbol cfg80211_send_rx_auth
  187. mac80211: Unknown symbol cfg80211_send_rx_disassoc
  188. mac80211: Unknown symbol wiphy_unregister
  189. mac80211: Unknown symbol ieee80211_radiotap_iterator_init
  190. mac80211: Unknown symbol cfg80211_get_bss
  191. mac80211: Unknown symbol __ieee80211_get_channel
  192. mac80211: Unknown symbol cfg80211_wext_siwmode
  193. mac80211: Unknown symbol cfg80211_send_rx_assoc
  194. mac80211: Unknown symbol ieee80211_radiotap_iterator_next
  195. mac80211: Unknown symbol ieee80211_channel_to_frequency
  196. mac80211: Unknown symbol cfg80211_wext_siwscan
  197. mac80211: Unknown symbol cfg80211_inform_bss_frame
  198. mac80211: Unknown symbol ieee80211_frequency_to_channel
  199. mac80211: Unknown symbol cfg80211_send_rx_deauth
  200. mac80211: Unknown symbol cfg80211_unhold_bss
  201. mac80211: Unknown symbol cfg80211_unlink_bss
  202. mac80211: Unknown symbol wiphy_free
  203. mac80211: Unknown symbol kmalloc_caches
  204. insmod: can't insert '/lib/mac80211.ko': unknown symbol in module, or

  205. unknown parameter
  206. rt2x00lib: Unknown symbol ieee80211_register_hw
  207. rt2x00lib: Unknown symbol ieee80211_get_hdrlen_from_skb
  208. rt2x00lib: Unknown symbol ieee80211_wake_queue
  209. rt2x00lib: Unknown symbol input_allocate_polled_device
  210. rt2x00lib: Unknown symbol ieee80211_tx_status_irqsafe
  211. rt2x00lib: Unknown symbol input_free_polled_device
  212. rt2x00lib: Unknown symbol ieee80211_ctstoself_get
  213. rt2x00lib: Unknown symbol ieee80211_wake_queues
  214. rt2x00lib: Unknown symbol ieee80211_iterate_active_interfaces
  215. rt2x00lib: Unknown symbol ieee80211_stop_queue
  216. rt2x00lib: Unknown symbol ieee80211_stop_queues
  217. rt2x00lib: Unknown symbol ieee80211_iterate_active_interfaces_atomic
  218. rt2x00lib: Unknown symbol ieee80211_channel_to_frequency
  219. rt2x00lib: Unknown symbol ieee80211_unregister_hw
  220. rt2x00lib: Unknown symbol input_register_polled_device
  221. rt2x00lib: Unknown symbol ieee80211_rts_get
  222. rt2x00lib: Unknown symbol ieee80211_beacon_get
  223. rt2x00lib: Unknown symbol input_unregister_polled_device
  224. rt2x00lib: Unknown symbol ieee80211_rx_irqsafe
  225. insmod: can't insert '/lib/rt2x00lib.ko': unknown symbol in module, or

  226. unknown parameter
  227. rt2x00usb: Unknown symbol rt2x00lib_probe_dev
  228. rt2x00usb: Unknown symbol ieee80211_free_hw
  229. rt2x00usb: Unknown symbol ieee80211_alloc_hw
  230. rt2x00usb: Unknown symbol rt2x00lib_rxdone
  231. rt2x00usb: Unknown symbol rt2x00lib_remove_dev
  232. rt2x00usb: Unknown symbol rt2x00lib_txdone
  233. rt2x00usb: Unknown symbol rt2x00queue_get_queue
  234. rt2x00usb: Unknown symbol kmalloc_caches
  235. insmod: can't insert '/lib/rt2x00usb.ko': unknown symbol in module, or

  236. unknown parameter
  237. rt73usb: Unknown symbol rt2x00mac_add_interface
  238. rt73usb: Unknown symbol crc_itu_t_table
  239. rt73usb: Unknown symbol rt2x00mac_get_stats
  240. rt73usb: Unknown symbol rt2x00usb_disable_radio
  241. rt73usb: Unknown symbol rt2x00mac_set_key
  242. rt73usb: Unknown symbol rt2x00usb_vendor_request_buff
  243. rt73usb: Unknown symbol rt2x00usb_vendor_request_large_buff
  244. rt73usb: Unknown symbol rt2x00usb_kick_tx_queue
  245. rt73usb: Unknown symbol rt2x00usb_write_tx_data
  246. rt73usb: Unknown symbol rt2x00mac_config_interface
  247. rt73usb: Unknown symbol rt2x00mac_remove_interface
  248. rt73usb: Unknown symbol rt2x00usb_vendor_request
  249. rt73usb: Unknown symbol rt2x00usb_probe
  250. rt73usb: Unknown symbol rt2x00mac_config
  251. rt73usb: Unknown symbol rt2x00queue_get_queue
  252. rt73usb: Unknown symbol rt2x00usb_clear_entry
  253. rt73usb: Unknown symbol rt2x00mac_conf_tx
  254. rt73usb: Unknown symbol rt2x00mac_start
  255. rt73usb: Unknown symbol rt2x00mac_stop
  256. rt73usb: Unknown symbol rt2x00mac_configure_filter
  257. rt73usb: Unknown symbol rt2x00usb_disconnect
  258. rt73usb: Unknown symbol rt2x00mac_tx
  259. rt73usb: Unknown symbol rt2x00usb_vendor_req_buff_lock
  260. rt73usb: Unknown symbol rt2x00mac_get_tx_stats
  261. rt73usb: Unknown symbol rt2x00usb_regbusy_read
  262. rt73usb: Unknown symbol rt2x00usb_kill_tx_queue
  263. rt73usb: Unknown symbol crc_itu_t
  264. rt73usb: Unknown symbol rt2x00usb_uninitialize
  265. rt73usb: Unknown symbol rt2x00usb_initialize
  266. rt73usb: Unknown symbol rt2x00mac_bss_info_changed
  267. insmod: can't insert '/lib/rt73usb.ko': unknown symbol in module, or

  268. unknown parameter
  269. zd1211rw: Unknown symbol ieee80211_free_hw
  270. zd1211rw: Unknown symbol ieee80211_alloc_hw
  271. zd1211rw: Unknown symbol regulatory_hint
  272. zd1211rw: Unknown symbol ieee80211_register_hw
  273. zd1211rw: Unknown symbol ieee80211_tx_status_irqsafe
  274. zd1211rw: Unknown symbol ieee80211_wake_queues
  275. zd1211rw: Unknown symbol ieee80211_stop_queues
  276. zd1211rw: Unknown symbol ieee80211_unregister_hw
  277. zd1211rw: Unknown symbol ieee80211_beacon_get
  278. zd1211rw: Unknown symbol kmalloc_caches
  279. zd1211rw: Unknown symbol ieee80211_rx_irqsafe
  280. insmod: can't insert '/lib/zd1211rw.ko': unknown symbol in module, or

  281. unknown parameter
  282. ov9650: Unknown symbol kmalloc_caches
  283. insmod: can't insert '/lib/ov9650.ko': unknown symbol in module, or

  284. unknown parameter
  285. ifconfig: SIOCGIFFLAGS: No such device
  286. ifconfig: SIOCSIFHWADDR: No such device
  287. ifconfig: SIOCSIFADDR: No such device
  288. open device leds: No such file or directory
  289. route: SIOCADDRT: Network is unreachable
  290. [01/Jan/1970:00:00:12 +0000] boa: server version Boa/0.94.13
  291. [01/Jan/1970:00:00:12 +0000] boa: server built Jul 29 2009 at 14:27:34.
  292. [01/Jan/1970:00:00:12 +0000] boa: starting server pid=913, port 80

  293. Please press Enter to activate this console.
  294. [root@EmbedSky /]# ls
  295. bin linuxrc root tq2440_serial0
  296. dev lost+found sbin udisk
  297. etc mnt sddisk usr
  298. home opt sys var
  299. lib proc tmp web
  300. [root@EmbedSky /]#


  301. 问题:这里 的tq2440_serial0 是 怎么生成的?






阅读(2351) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~