Chinaunix首页 | 论坛 | 博客
  • 博客访问: 31161
  • 博文数量: 18
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 0
  • 用 户 组: 普通用户
  • 注册时间: 2014-07-10 09:30
文章分类
文章存档

2014年(18)

我的朋友

分类: 嵌入式

2014-07-10 09:43:34

自己的内核有了,文件系统也有了,该是用u-boot的时候了,哈哈。

查看主机IP
[root@localhost tftpboot]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:C1:59:FF  
          inet addr:10.50.80.207  Bcast:10.50.81.255  Mask:255.255.254.0
          inet6 addr: 2001:da8:4002:113:20c:29ff:fec1:59ff/64 Scope:Global
          inet6 addr: fe80::20c:29ff:fec1:59ff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12487 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1617 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:962360 (939.8 KiB)  TX bytes:2336470 (2.2 MiB)
          Interrupt:18 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1614 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1614 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:82972 (81.0 KiB)  TX bytes:82972 (81.0 KiB)

比较奇葩的ip,哈哈。学校的网,正常的。

在vivi菜单中,分别下载u-boot,uImage,rootfs.img
选择NAND启动,启动之前按任意键进入U-BOOT命令模式,根据主机和需要设置U-BOOT参数并保存:
  1. I2C: ready
  2. DRAM: 64 MB
  3. Flash: 2 MB
  4. NAND: 256 MiB
  5. Video: 240x320x16 20kHz 62Hz
  6. In: serial
  7. Out: serial
  8. Err: serial
  9. Net: dm9000
  10. U-Boot 2009.11 ( 7鏈?06 2014 - 14:21:34)
  11. modified by fxc
  12. Love Linux
  13. Hit any key to stop autoboot: 0
  14. [u-boot@MINI2440]# setenv bootargs noinitrd root=/dev/mtdblock3 rootfstype=yaffs2 rw console=ttySAC0,115200 init=/linuxrc mem=64M
  15. [u-boot@MINI2440]# setenv bootcmd nand read 0x31000000 0x60000 0x500000\;bootm 0x31000000
  16. [u-boot@MINI2440]# setenv serverip 10.50.80.207
  17. [u-boot@MINI2440]# setenv gatewayip 10.50.80.207
  18. [u-boot@MINI2440]# setenv ipaddr 10.50.80.1
  19. [u-boot@MINI2440]# setenv netmask 255.255.254.0
  20. [u-boot@MINI2440]# printenv
  21. bootdelay=1
  22. baudrate=115200
  23. ethaddr=08:08:11:18:12:27
  24. tekkaman=bmp d 70000
  25.  stdin=serial
  26. stdout=serial
  27. stderr=serial
  28. ethact=dm9000
  29. bootargs=noinitrd root=/dev/mtdblock3 rootfstype=yaffs2 rw console=ttySAC0,115200 init=/linuxrc mem=64M
  30. bootcmd=nand read 0x31000000 0x60000 0x500000;bootm 0x31000000
  31. serverip=10.50.80.207
  32. gatewayip=10.50.80.207
  33. ipaddr=10.50.80.1
  34. netmask=255.255.254.0
  35. Environment size: 383/131068 bytes
  36. [u-boot@MINI2440]# saveenv
  37. Saving Environment to NAND...
  38. Erasing Nand...
  39. Erasing at 0x6000000000002 -- 0% complete.
  40. Writing to Nand... done
  41. [u-boot@MINI2440]#
########其实此时IP不是重点,咱不是从NAND启动嘛#########

uImage和rootfs.img都是经过验证正确无误,u-boot参数也保存了,此时我直接重启开发板,应该是直接自启动了吧,于是复位重启!
错误出现了,居然没有正常启动 !!!
  1. I2C: ready
  2. DRAM: 64 MB
  3. Flash: 2 MB
  4. NAND: 256 MiB
  5. Video: 240x320x16 20kHz 62Hz
  6. In: serial
  7. Out: serial
  8. Err: serial
  9. Net: dm9000
  10. U-Boot 2009.11 ( 7鏈?06 2014 - 14:21:34)
  11. modified by fxc
  12. Love Linux
  13. Hit any key to stop autoboot: 0
  14. NAND read: device 0 offset 0x60000, size 0x500000
  15. NAND read from offset 60000ffffffff failed 0
  16.  5242880 bytes read: ERROR
  17. Wrong Image Format for bootm command
  18. ERROR: can't get kernel
  19. [u-boot@MINI2440]#
u-boot,uImage,rootfs.img都在里边了,为什么不行呢?让他们继续在NandFlash里待着吧!
利用交叉网线将开发板和电脑相连,启动开发板并进入U-BOOT命令模式,做如下工作
(1)利用tftp命令下载内核到内存0x31000000
(2)使用nand erase命令擦除kernel分区(0x00060000-0x00500000)
(3)使用nand write命令将刚下载到内存0x31000000处的uImage写入kernel分区(0x00060000-0x00500000)
(4)启动内核:bootm 0x31000000,此时内核启动成功,并成功进入文件系统,O(∩_∩)O哈哈~ 
[u-boot@MINI2440]# tftp 0x31000000 uImage 
  1. dm9000 i/o: 0x20000300, id: 0x90000a46
  2. DM9000: running in 16 bit mode
  3. MAC: 08:08:11:18:12:27
  4. operating at 100M full duplex mode
  5. Using dm9000 device
  6. TFTP from server 10.50.80.207; our IP address is 10.50.80.1
  7. Filename 'uImage'.
  8. Load address: 0x31000000
  9. Loading: T #################################################################
  10.          #################################################################
  11.          ########################
  12. done
  13. Bytes transferred = 2255048 (2268c8 hex)
[u-boot@MINI2440]# nand erase 0x40000 500000
  1. NAND erase: device 0 offset 0x40000, size 0x500000
  2. Erasing at 0x52000002800000 -- 0% complete.
  3. OK
[u-boot@MINI2440]# nand write 0x31000000 0x60000 500000
  1. NAND write: device 0 offset 0x60000, size 0x500000
  2. Writing at 0x54000000020000 -- 100% is complete. 5242880 bytes written: OK
[u-boot@MINI2440]# bootm 0x31000000
  1. ## Booting kernel from Legacy Image at 31000000 ...
  2.    Image Name: mini2440_linux
  3.    Created: 2014-07-08 15:02:40 UTC
  4.    Image Type: ARM Linux Kernel Image (uncompressed)
  5.    Data Size: 2254984 Bytes = 2.2 MB
  6.    Load Address: 31000000
  7.    Entry Point: 31000040
  8.    Verifying Checksum ... OK
  9.    XIP Kernel Image ... OK
  10. OK


  11. Starting kernel ...


  12. Uncompressing Linux................................................................................................................................................. done, booting the kernel.
  13. Linux version 2.6.32-FriendlyARM (root@localhost.localdomain) (gcc version 4.4.3 (ctng-1.6.1) ) #5 Tue Jul 8 22:29:19 CST 2014
  14. CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
  15. CPU: VIVT data cache, VIVT instruction cache
  16. Machine: FriendlyARM MINI2440
  17. Memory policy: ECC disabled, Data cache writeback
  18. CPU S3C2440A (id 0x32440001)
  19. S3C24XX Clocks, (c) 2004 Simtec Electronics
  20. S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 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: 16256
  23. Kernel command line: noinitrd root=/dev/mtdblock3 rootfstype=yaffs2 rw console=ttySAC0,115200 init=/linuxrc mem=64M
  24. PID hash table entries: 256 (order: -2, 1024 bytes)
  25. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  26. Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  27. Memory: 64MB = 64MB total
  28. Memory: 60108KB available (4172K code, 449K data, 116K init, 0K highmem)
  29. SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  30. Hierarchical RCU implementation.
  31. NR_IRQS:85
  32. irq: clearing subpending status 00000003
  33. irq: clearing subpending status 00000002
  34. Console: colour dummy device 80x30
  35. console [ttySAC0] enabled
  36. Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
  37. Mount-cache hash table entries: 512
  38. CPU: Testing write buffer coherency: ok
  39. NET: Registered protocol family 16
  40. S3C2440: Initialising architecture
  41. S3C2440: IRQ Support
  42. S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
  43. DMA channel 0 at c4808000, irq 33
  44. DMA channel 1 at c4808040, irq 34
  45. DMA channel 2 at c4808080, irq 35
  46. DMA channel 3 at c48080c0, irq 36
  47. S3C244X: Clock Support, DVS off
  48. bio: create slab <bio-0> at 0
  49. SCSI subsystem initialized
  50. usbcore: registered new interface driver usbfs
  51. usbcore: registered new interface driver hub
  52. usbcore: registered new device driver usb
  53. s3c-i2c s3c2440-i2c: slave address 0x10
  54. s3c-i2c s3c2440-i2c: bus frequency set to 98 KHz
  55. s3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
  56. NET: Registered protocol family 2
  57. IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  58. TCP established hash table entries: 2048 (order: 2, 16384 bytes)
  59. TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  60. TCP: Hash tables configured (established 2048 bind 2048)
  61. TCP reno registered
  62. NET: Registered protocol family 1
  63. RPC: Registered udp transport module.
  64. RPC: Registered tcp transport module.
  65. RPC: Registered tcp NFSv4.1 backchannel transport module.
  66. NetWinder Floating Point Emulator V0.97 (double precision)
  67. yaffs Jul 8 2014 22:21:53 Installing.
  68. msgmni has been set to 117
  69. alg: No test for stdrng (krng)
  70. io scheduler noop registered (default)
  71. Console: switching to colour frame buffer device 30x20
  72. fb0: s3c2410fb frame buffer device
  73. s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
  74. s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
  75. s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
  76. loop: module loaded
  77. S3C24XX NAND Driver, (c) 2004 Simtec Electronics
  78. s3c24xx-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
  79. s3c24xx-nand s3c2440-nand: NAND soft ECC
  80. NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
  81. Scanning device for bad blocks
  82. Bad eraseblock 250 at 0x000001f40000
  83. Creating 5 MTD partitions on "NAND 256MiB 3,3V 8-bit":
  84. 0x000000000000-0x000000040000 : "boot"
  85. 0x000000040000-0x000000060000 : "param"
  86. 0x000000060000-0x000000560000 : "Kernel"
  87. 0x000000560000-0x000040560000 : "root"
  88. mtd: partition "root" extends beyond the end of device "NAND 256MiB 3,3V 8-bit" -- size truncated to 0xfaa0000
  89. 0x000000000000-0x000040000000 : "nand"
  90. mtd: partition "nand" extends beyond the end of device "NAND 256MiB 3,3V 8-bit" -- size truncated to 0x10000000
  91. dm9000 Ethernet Driver, V1.31
  92. eth0: dm9000e at c4810300,c4814304 IRQ 51 MAC: 08:90:90:90:90:90 (chip)
  93. ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  94. s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
  95. s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
  96. s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
  97. usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
  98. usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  99. usb usb1: Product: S3C24XX OHCI
  100. usb usb1: Manufacturer: Linux 2.6.32-FriendlyARM ohci_hcd
  101. usb usb1: SerialNumber: s3c24xx
  102. usb usb1: configuration #1 chosen from 1 choice
  103. hub 1-0:1.0: USB hub found
  104. hub 1-0:1.0: 2 ports detected
  105. Initializing USB Mass Storage driver...
  106. usbcore: registered new interface driver usb-storage
  107. USB Mass Storage support registered.
  108. usbcore: registered new interface driver ums-alauda
  109. usbcore: registered new interface driver ums-cypress
  110. usbcore: registered new interface driver ums-datafab
  111. usbcore: registered new interface driver ums-freecom
  112. usbcore: registered new interface driver ums-isd200
  113. usbcore: registered new interface driver ums-jumpshot
  114. usbcore: registered new interface driver ums-karma
  115. usbcore: registered new interface driver ums-onetouch
  116. usbcore: registered new interface driver ums-sddr09
  117. usbcore: registered new interface driver ums-sddr55
  118. usbcore: registered new interface driver ums-usbat
  119. usbcore: registered new interface driver usbserial
  120. USB Serial support registered for generic
  121. usbcore: registered new interface driver usbserial_generic
  122. usbserial: USB Serial Driver core
  123. USB Serial support registered for aircable
  124. usbcore: registered new interface driver aircable
  125. USB Serial support registered for ark3116
  126. usbcore: registered new interface driver ark3116
  127. USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter
  128. usbcore: registered new interface driver belkin
  129. belkin_sa: v1.2:USB Belkin Serial converter driver
  130. USB Serial support registered for ch341-uart
  131. usbcore: registered new interface driver ch341
  132. USB Serial support registered for cp210x
  133. usbcore: registered new interface driver cp210x
  134. cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
  135. USB Serial support registered for Reiner SCT Cyberjack USB card reader
  136. usbcore: registered new interface driver cyberjack
  137. cyberjack: v1.01 Matthias Bruestle
  138. cyberjack: REINER SCT cyberJack pinpad/e-com USB Chipcard Reader Driver
  139. USB Serial support registered for DeLorme Earthmate USB
  140. USB Serial support registered for HID->COM RS232 Adapter
  141. USB Serial support registered for Nokia CA-42 V2 Adapter
  142. usbcore: registered new interface driver cypress
  143. cypress_m8: v1.09:Cypress USB to Serial Driver
  144. USB Serial support registered for Digi 2 port USB adapter
  145. USB Serial support registered for Digi 4 port USB adapter
  146. usbcore: registered new interface driver digi_acceleport
  147. digi_acceleport: v1.80.1.2:Digi AccelePort USB-2/USB-4 Serial Converter driver
  148. USB Serial support registered for Edgeport 2 port adapter
  149. USB Serial support registered for Edgeport 4 port adapter
  150. USB Serial support registered for Edgeport 8 port adapter
  151. USB Serial support registered for EPiC device
  152. usbcore: registered new interface driver io_edgeport
  153. io_edgeport: v2.7:Edgeport USB Serial Driver
  154. USB Serial support registered for Edgeport TI 1 port adapter
  155. USB Serial support registered for Edgeport TI 2 port adapter
  156. usbcore: registered new interface driver io_ti
  157. io_ti: v0.7mode043006:Edgeport USB Serial Driver
  158. USB Serial support registered for empeg
  159. usbcore: registered new interface driver empeg
  160. empeg: v1.2:USB Empeg Mark I/II Driver
  161. USB Serial support registered for FTDI USB Serial Device
  162. usbcore: registered new interface driver ftdi_sio
  163. ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
  164. USB Serial support registered for funsoft
  165. usbcore: registered new interface driver funsoft
  166. USB Serial support registered for Garmin GPS usb/tty
  167. usbcore: registered new interface driver garmin_gps
  168. garmin_gps: v0.33:garmin gps driver
  169. USB Serial support registered for hp4X
  170. usbcore: registered new interface driver hp4X
  171. hp4x: v1.00:HP4x (48/49) Generic Serial driver
  172. USB Serial support registered for PocketPC PDA
  173. usbcore: registered new interface driver ipaq
  174. ipaq: v0.5:USB PocketPC PDA driver
  175. USB Serial support registered for IPWireless converter
  176. usbcore: registered new interface driver ipwtty
  177. ipw: v0.3:IPWireless tty driver
  178. USB Serial support registered for IR Dongle
  179. usbcore: registered new interface driver ir-usb
  180. ir_usb: v0.4:USB IR Dongle driver
  181. USB Serial support registered for iuu_phoenix
  182. usbcore: registered new interface driver iuu_phoenix
  183. iuu_phoenix: v0.11:Infinity USB Unlimited Phoenix driver
  184. USB Serial support registered for Keyspan - (without firmware)
  185. USB Serial support registered for Keyspan 1 port adapter
  186. USB Serial support registered for Keyspan 2 port adapter
  187. USB Serial support registered for Keyspan 4 port adapter
  188. usbcore: registered new interface driver keyspan
  189. keyspan: v1.1.5:Keyspan USB to Serial Converter Driver
  190. USB Serial support registered for Keyspan PDA
  191. USB Serial support registered for Keyspan PDA - (prerenumeration)
  192. USB Serial support registered for Xircom / Entregra PGS - (prerenumeration)
  193. usbcore: registered new interface driver keyspan_pda
  194. keyspan_pda: v1.1:USB Keyspan PDA Converter driver
  195. USB Serial support registered for KL5KUSB105D / PalmConnect
  196. usbcore: registered new interface driver kl5kusb105d
  197. kl5kusb105: v0.3a:KLSI KL5KUSB105 chipset USB->Serial Converter driver
  198. USB Serial support registered for KOBIL USB smart card terminal
  199. usbcore: registered new interface driver kobil
  200. kobil_sct: 21/05/2004:KOBIL USB Smart Card Terminal Driver (experimental)
  201. USB Serial support registered for MCT U232
  202. usbcore: registered new interface driver mct_u232
  203. mct_u232: z2.1:Magic Control Technology USB-RS232 converter driver
  204. USB Serial support registered for Moschip 2 port adapter
  205. mos7720: 1.0.0.4F:Moschip USB Serial Driver
  206. usbcore: registered new interface driver moschip7720
  207. USB Serial support registered for Moschip 7840/7820 USB Serial Driver
  208. mos7840: 1.3.2:Moschip 7840/7820 USB Serial Driver
  209. usbcore: registered new interface driver mos7840
  210. USB Serial support registered for moto-modem
  211. usbcore: registered new interface driver moto-modem
  212. USB Serial support registered for navman
  213. usbcore: registered new interface driver navman
  214. USB Serial support registered for ZyXEL - omni.net lcd plus usb
  215. usbcore: registered new interface driver omninet
  216. omninet: v1.1:USB ZyXEL omni.net LCD PLUS Driver
  217. USB Serial support registered for opticon
  218. usbcore: registered new interface driver opticon
  219. USB Serial support registered for GSM modem (1-port)
  220. usbcore: registered new interface driver option
  221. option: v0.7.2:USB Driver for GSM modems
  222. USB Serial support registered for oti6858
  223. usbcore: registered new interface driver oti6858
  224. USB Serial support registered for pl2303
  225. usbcore: registered new interface driver pl2303
  226. pl2303: Prolific PL2303 USB to serial adaptor driver
  227. USB Serial support registered for Qualcomm USB modem
  228. usbcore: registered new interface driver qcserial
  229. safe_serial: v0.0b:USB Safe Encapsulated Serial
  230. USB Serial support registered for safe_serial
  231. usbcore: registered new interface driver safe_serial
  232. USB Serial support registered for siemens_mpi
  233. usbcore: registered new interface driver siemens_mpi
  234. Driver for Siemens USB/MPI adapter
  235. Version 0.1 09/26/2005 Thomas Hergenhahn@web.de http://libnodave.sf.net
  236. USB Serial support registered for Sierra USB modem
  237. usbcore: registered new interface driver sierra
  238. sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
  239. USB Serial support registered for SPCP8x5
  240. usbcore: registered new interface driver spcp8x5
  241. spcp8x5: v0.04:SPCP8x5 USB to serial adaptor driver
  242. USB Serial support registered for symbol
  243. usbcore: registered new interface driver symbol
  244. USB Serial support registered for TI USB 3410 1 port adapter
  245. USB Serial support registered for TI USB 5052 2 port adapter
  246. usbcore: registered new interface driver ti_usb_3410_5052
  247. ti_usb_3410_5052: v0.9:TI USB 3410/5052 Serial Driver
  248. USB Serial support registered for Handspring Visor / Palm OS
  249. USB Serial support registered for Sony Clie 3.5
  250. USB Serial support registered for Sony Clie 5.0
  251. usbcore: registered new interface driver visor
  252. visor: USB HandSpring Visor / Palm OS driver
  253. USB Serial support registered for Connect Tech - WhiteHEAT - (prerenumeration)
  254. USB Serial support registered for Connect Tech - WhiteHEAT
  255. usbcore: registered new interface driver whiteheat
  256. whiteheat: v2.0:USB ConnectTech WhiteHEAT driver
  257. mice: PS/2 mouse device common for all mice
  258. S3C24XX RTC, (c) 2004,2006 Simtec Electronics
  259. i2c /dev entries driver
  260. Linux video capture interface: v2.00
  261. gspca: main v2.7.0 registered
  262. usbcore: registered new interface driver conex
  263. conex: registered
  264. usbcore: registered new interface driver etoms
  265. etoms: registered
  266. usbcore: registered new interface driver finepix
  267. finepix: registered
  268. usbcore: registered new interface driver jeilinj
  269. jeilinj: registered
  270. usbcore: registered new interface driver mars
  271. mars: registered
  272. usbcore: registered new interface driver mr97310a
  273. mr97310a: registered
  274. usbcore: registered new interface driver ov519
  275. ov519: registered
  276. usbcore: registered new interface driver ov534
  277. ov534: registered
  278. usbcore: registered new interface driver pac207
  279. pac207: registered
  280. usbcore: registered new interface driver pac7311
  281. pac7311: registered
  282. usbcore: registered new interface driver sn9c20x
  283. sn9c20x: registered
  284. usbcore: registered new interface driver sonixb
  285. sonixb: registered
  286. usbcore: registered new interface driver sonixj
  287. sonixj: registered
  288. usbcore: registered new interface driver spca500
  289. spca500: registered
  290. usbcore: registered new interface driver spca501
  291. spca501: registered
  292. usbcore: registered new interface driver spca505
  293. spca505: registered
  294. usbcore: registered new interface driver spca506
  295. spca506: registered
  296. usbcore: registered new interface driver spca508
  297. spca508: registered
  298. usbcore: registered new interface driver spca561
  299. spca561: registered
  300. usbcore: registered new interface driver sq905
  301. sq905: registered
  302. usbcore: registered new interface driver sq905c
  303. sq905c: registered
  304. usbcore: registered new interface driver sunplus
  305. sunplus: registered
  306. usbcore: registered new interface driver stk014
  307. stk014: registered
  308. usbcore: registered new interface driver t613
  309. t613: registered
  310. usbcore: registered new interface driver tv8532
  311. tv8532: registered
  312. usbcore: registered new interface driver vc032x
  313. vc032x: registered
  314. usbcore: registered new interface driver zc3xx
  315. zc3xx: registered
  316. usbcore: registered new interface driver ALi m5602
  317. ALi m5602: registered
  318. usbcore: registered new interface driver STV06xx
  319. STV06xx: registered
  320. gspca_gl860: driver startup - version 0.9d10
  321. usbcore: registered new interface driver gspca_gl860
  322. gspca_gl860: driver registered
  323. usbcore: registered new interface driver uvcvideo
  324. USB Video Class driver (v0.1.0)
  325. S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
  326. s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
  327. usbcore: registered new interface driver usbhid
  328. usbhid: v2.6:USB HID core driver
  329. Advanced Linux Sound Architecture Driver Version 1.0.21.
  330. No device for DAI UDA134X
  331. No device for DAI s3c24xx-i2s
  332. ALSA device list:
  333.   No soundcards found.
  334. TCP cubic registered
  335. NET: Registered protocol family 17
  336. drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
  337. yaffs: dev is 32505859 name is "mtdblock3"
  338. yaffs: passed flags ""
  339. yaffs: Attempting MTD mount on 31.3, "mtdblock3"
  340. block 208 is bad
  341. Partially written block 46 detected
  342. Partially written block 46 detected
  343. Partially written block 46 detected
  344. Partially written block 46 detected
  345. Partially written block 46 detected
  346. Partially written block 46 detected
  347. Partially written block 46 detected
  348. Partially written block 46 detected
  349. Partially written block 46 detected
  350. Partially written block 46 detected
  351. Partially written block 46 detected
  352. Partially written block 46 detected
  353. Partially written block 46 detected
  354. Partially written block 46 detected
  355. Partially written block 46 detected
  356. Partially written block 46 detected
  357. Partially written block 46 detected
  358. Partially written block 46 detected
  359. Partially written block 46 detected
  360. Partially written block 46 detected
  361. Partially written block 46 detected
  362. Partially written block 46 detected
  363. Partially written block 46 detected
  364. Partially written block 46 detected
  365. Partially written block 46 detected
  366. Partially written block 46 detected
  367. Partially written block 46 detected
  368. Partially written block 46 detected
  369. Partially written block 46 detected
  370. Partially written block 46 detected
  371. Partially written block 46 detected
  372. Partially written block 46 detected
  373. Partially written block 46 detected
  374. Partially written block 46 detected
  375. Partially written block 46 detected
  376. Partially written block 46 detected
  377. Partially written block 46 detected
  378. Partially written block 46 detected
  379. Partially written block 46 detected
  380. Partially written block 46 detected
  381. Partially written block 46 detected
  382. Partially written block 46 detected
  383. Partially written block 46 detected
  384. Partially written block 46 detected
  385. Partially written block 46 detected
  386. Partially written block 46 detected
  387. Partially written block 46 detected
  388. Partially written block 46 detected
  389. yaffs_read_super: isCheckpointed 0
  390. VFS: Mounted root (yaffs2 filesystem) on device 31:3.
  391. Freeing init memory: 116K
  392. ----------munt all----------------
  393. ***********************************************
  394. ****************Studying ARM*********************
  395. Kernel version:linux-2.6.29.1
  396. Student:Huang huahai
  397. Date:2009.10.1
  398. ***********************************************


  399. Please press Enter to activate this console.
  400. [root@MINI2440]#
重启开发板,此时开发板可以自启动并成功进入我们自己的文件系统!至此u-boot已经成功引导内核,内核成功启动文件系统。
下来实现nfs挂载文件系统,便于以后的学习和开发!!!



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