构建cb嵌入式系统

大家买Cubieboard,是用来做什么的?
很多人是买来做嵌入式的。
但是现在的系统,安卓拿去做嵌入式?不好 debian?也不好 cbos?这个压根不是给嵌入式设计的,是给新手或老手方便使用的
lubuntu? 卡啊卡……更不行
于是我就设想弄个小点的系统,能联网,能干嘛的,满足最小需求即可
Then,我开始了我的系统构建之路,构建出了一个30多M大小的系统——BusyOS(在cbos上进一步安装)
但是,我现在可不满足于这个了,当初定义是作为维修系统,现在就不是了,毕竟作为嵌入式,谁还要CbOS啊
我决定做出个真正的busyOS,并把它安装在nand里,嵌入式难道还插sd卡?
我还准备给它弄一些功能
于是呢,我开始制作咯~
【以上写于2013 9 14 22:23】
1、直接下载:
shell:还未推出
2、以下分享过程:
[1 install busybox from http://blog.csdn.net/sara4321/article/details/8844715]
1.先把cbos安装到sd里,启动
2.下载busybox(以下可能简称bb)
Link:http://busybox.net/downloads/
3.解压&into

  1. tar xjvf busy*

  2. cd busy*


4.make menuconfig然后慢慢选
如果你想用ssh连接你的cb而非telnet,请在Login/Password Management Utilities选中
Support for PAM (Pluggable Authentication Modules) 
5.make然后慢慢等
6.借助cbos的nand安装程序,把cbos安装到nand(这是为了等下改)
7.poweroff一下然后看看能不能bot
8.进SD系统
rm -rf掉除boot boot2以外其他东西(lib可以保留)


  1. mount /dev/nandb /mnt

  2. cd ~/busy*

  3. cp -Rv _install/* /mnt

  4. cp -Rv examples/bootfloppy/etc /mnt

  5. chroot /mnt ash

  6. mkdir /dev /proc /sys /var /home /tmp /mnt /run

  7. exit



修改/mnt/etc/fstab:

  1. proc /proc proc nosuid,noexec,nodev 0 0

  2. sysfs /sys sysfs nosuid,noexec,nodev 0 0

  3. devpts /dev/pts devpts gid=4,mode=620 0 0

  4. tmpfs /tmp tmpfs defaults 0 0

  5. devtmpfs /dev devtmpfs mode=0755,nosuid 0 0


  6. /dev/nanda /boot vfat defaults 0 2


  7. /dev/nandb / ext2 defaults,noatime 0 1


启动,然后发现可以进入了,log:

  1. ?HELLO! BOOT0 is starting!

  2. boot0 version : 1.5.0

  3. dram size =1024

  4. Succeed in opening nand flash.

  5. Succeed in reading Boot1 file head.

  6. The size of Boot1 is 0x00056000.

  7. The file stored in 0X00000000 of block 2 is perfect.

  8. Check is correct.

  9. Ready to disable icache.

  10. Succeed in loading Boot1.

  11. Jump to Boot1.

  12. [       0.178] boot1 version : 1.5.0

  13. [       0.178] pmu type = 3

  14. [       0.179] bat vol = 0

  15. [       0.211] axi:ahb:apb=3:2:2

  16. [       0.211] set dcdc2=1400, clock=1008 successed

  17. [       0.213] key

  18. [       0.226] no key found

  19. [       0.226] flash init start

  20. [       0.258] flash init finish

  21. [       0.261] fs init ok

  22. [       0.262] fattype FAT12

  23. [       0.262] fs mount ok

  24. [       0.268] script finish

  25. [       0.269] power finish

  26. [       0.269] storage_type=0

  27. [       0.279] BootMain start

  28. [       0.279] 0

  29. [       0.312] key value = 0

  30. [       0.312] recovery key high 6, low 4

  31. [       0.313] unable to find fastboot_key key_max value

  32. [       0.321] test for multi os boot with display

  33. [       0.323] logo name is invalid or dont need show logo

  34. [       0.328] load kernel start

  35. [       0.355] load kernel successed

  36. [       0.355] start address = 0x4a000000

  37. [       0.357] jump to



  38. U-Boot 2013.01-05530-g8843079-dirty (Feb 04 2013 - 02:41:41) Allwinner Technology 


  39. Board: Cubieboard

  40. I2C:   ready

  41. DRAM:  1 GiB

  42. NAND:  0 MiB

  43. MMC:   SUNXI SD/MMC: 0

  44. MMC init failed

  45. Using default environment


  46. In:    serial

  47. Out:   serial

  48. Err:   serial

  49. Net:   wemac

  50. Hit any key to stop autoboot:  0 

  51. ** File not found /boot/uEnv.txt **

  52. reading /uEnv.txt

  53. ** Unable to read file /uEnv.txt **

  54. 261 bytes read in 12 ms (20.5 KiB/s)

  55. Jumping to /boot.scr

  56. ## Executing script at 44000000

  57. ** Bad device mmc 0 **

  58. ** Bad device mmc 0 **

  59. Wrong Image Format for bootm command

  60. ERROR: can't get kernel image!

  61. 4189696 bytes read in 265 ms (15.1 MiB/s)

  62. ## Booting kernel from Legacy Image at 48000000 ...

  63.    Image Name:   Linux-3.4.43

  64.    Created:      2013-08-13  10:45:14 UTC

  65.    Image Type:   ARM Linux Kernel Image (uncompressed)

  66.    Data Size:    4189632 Bytes = 4 MiB

  67.    Load Address: 40008000

  68.    Entry Point:  40008000

  69.    Verifying Checksum ... OK

  70.    Loading Kernel Image ... OK

  71. OK


  72. Starting kernel ...


  73. <6>Booting Linux on physical CPU 0

  74. <6>Initializing cgroup subsys cpuset

  75. <5>Linux version 3.4.43 (root@tll-MacBookPro) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #7 PREEMPT Tue Aug 13 18:45:02 CST 2013

  76. CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d

  77. CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

  78. Machine: sun4i

  79. <6>Memory cut off:

  80. <6>        MALI : 0x5c000000 - 0x5fffffff  (  64 MB)

  81. <4>Ignoring unrecognised tag 0x00000000

  82. <6>Memory Reserved:

  83. <6>        SYS  : 0x43000000 - 0x4300ffff  (  64 kB)

  84. <6>        VE   : 0x44000000 - 0x48ffffff  (  80 MB)

  85. <6>        G2D  : 0x49000000 - 0x49ffffff  (  16 MB)

  86. <6>        LCD  : 0x5a000000 - 0x5bffffff  (  32 MB)

  87. Memory policy: ECC disabled, Data cache writeback

  88. <6>chip-id: A10 (AW1623 revision C)

  89. <7>On node 0 totalpages: 245760

  90. <7>free_area_init_node: node 0, pgdat c07c0260, node_mem_map c097b000

  91. <7>  Normal zone: 1520 pages used for memmap

  92. <7>  Normal zone: 0 pages reserved

  93. <7>  Normal zone: 176656 pages, LIFO batch:31

  94. <7>  HighMem zone: 528 pages used for memmap

  95. <7>  HighMem zone: 67056 pages, LIFO batch:15

  96. <7>pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768<c>

  97. <7>pcpu-alloc: <c>[0] <c>0 <c>

  98. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 243712

  99. <5>Kernel command line: console=ttyS0,115200 root=/dev/nandb rootwait loglevel=8 panic=10

  100. <6>PID hash table entries: 4096 (order: 2, 16384 bytes)

  101. <6>Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

  102. <6>Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

  103. <6>Memory: 448MB 512MB = 960MB total

  104. <5>Memory: 833668k/833668k available, 149372k reserved, 270336K highmem

  105. <5>Virtual kernel memory layout:

  106.     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

  107.     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

  108.     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)

  109.     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)

  110.     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

  111.     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

  112.       .text : 0xc0008000 - 0xc074ade0   (7436 kB)

  113.       .init : 0xc074b000 - 0xc0775000   ( 168 kB)

  114.       .data : 0xc0776000 - 0xc07c6020   ( 321 kB)

  115.        .bss : 0xc07c6044 - 0xc097a588   (1746 kB)

  116. <6>SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

  117. <6>NR_IRQS:128

  118. <6>timer0: Periodic Mode

  119. <6>sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms

  120. <6>Console: colour dummy device 80x30

  121. <6>Calibrating delay loop... <c>1001.88 BogoMIPS (lpj=5009408)

  122. <6>pid_max: default: 32768 minimum: 301

  123. <6>Mount-cache hash table entries: 512

  124. <6>Initializing cgroup subsys cpuacct

  125. <6>Initializing cgroup subsys devices

  126. <6>Initializing cgroup subsys freezer

  127. <6>Initializing cgroup subsys blkio

  128. <6>CPU: Testing write buffer coherency: ok

  129. <6>hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available

  130. <6>Setting up static identity map for 0x40501838 - 0x40501890

  131. <6>devtmpfs: initialized

  132. <6>dummy: 

  133. <6>NET: Registered protocol family 16

  134. <6>hw-breakpoint: debug architecture 0x4 unsupported.

  135. <6>Init eGon pin module V2.0

  136. SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics

  137. <6>Initialize DMAC OK

  138. <6>bio: create slab <bio-0> at 0

  139. <5>SCSI subsystem initialized

  140. <7>libata version 3.00 loaded.

  141. <6>usbcore: registered new interface driver usbfs

  142. <6>usbcore: registered new interface driver hub

  143. <6>usbcore: registered new device driver usb

  144. <6>Linux video capture interface: v2.00

  145. <6>Advanced Linux Sound Architecture Driver Version 1.0.25.

  146. <6>Switching to clocksource aw 64bits couter

  147. <5>FS-Cache: Loaded

  148. <6>CacheFiles: Loaded

  149. <6>cfg80211: Calling CRDA to update world regulatory domain

  150. [usb_manager]: CONFIG_USB_SW_SUN4I_USB0_HOST_ONLY

  151. [sw_hcd0]: usb host driver initialize........

  152. [sw_hcd0]: open_usb_clock

  153. [sw_hcd0]: host_init_state = 0

  154. [sw_hcd0]: platform is usb host

  155. [sw_hcd0]: sw_hcd_host0: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)

  156. [sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 38

  157. <6>sw_hcd_host0 sw_hcd_host0: sw_hcd host driver

  158. <6>sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1

  159. <6>hub 1-0:1.0: USB hub found

  160. <6>hub 1-0:1.0: 1 port detected

  161. [sw_hcd_host0]: Set USB Power ON

  162. <6>NET: Registered protocol family 2

  163. <6>IP route cache hash table entries: 32768 (order: 5, 131072 bytes)

  164. <6>TCP established hash table entries: 131072 (order: 8, 1048576 bytes)

  165. <6>TCP bind hash table entries: 65536 (order: 6, 262144 bytes)

  166. <6>TCP: Hash tables configured (established 131072 bind 65536)

  167. <6>TCP: reno registered

  168. <6>UDP hash table entries: 512 (order: 1, 8192 bytes)

  169. <6>UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)

  170. <6>NET: Registered protocol family 1

  171. <6>RPC: Registered named UNIX socket transport module.

  172. <6>RPC: Registered udp transport module.

  173. <6>RPC: Registered tcp transport module.

  174. <6>RPC: Registered tcp NFSv4.1 backchannel transport module.

  175. <6>audit: initializing netlink socket (disabled)

  176. <5>type=2000 audit(0.299:1): initialized

  177. highmem bounce pool size: 64 pages

  178. <5>VFS: Disk quotas dquot_6.5.2

  179. Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

  180. <5>NFS: Registering the id_resolver key type

  181. <6>NTFS driver 2.1.30 [Flags: R/W].

  182. <6>fuse init (API version 7.18)

  183. <6>msgmni has been set to 1100

  184. <6>alg: No test for stdrng (krng)

  185. <6>Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

  186. <6>io scheduler noop registered

  187. <6>io scheduler deadline registered

  188. <6>io scheduler cfq registered (default)

  189. <6>Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled

  190. <6>[uart]: used uart info.: 0x1f

  191. <6>[uart]: serial probe 0 irq 1 mapbase 0x01c28000

  192. <6>sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 1) is a U6_16550A

  193. [    0.000000] Booting Linux on physical CPU 0

  194. [    0.000000] Initializing cgroup subsys cpuset

  195. [    0.000000] Linux version 3.4.43 (root@tll-MacBookPro) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #7 PREEMPT Tue Aug 13 18:45:02 CST 2013

  196. [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d

  197. [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

  198. [    0.000000] Machine: sun4i

  199. [    0.000000] Memory cut off:

  200. [    0.000000]         MALI : 0x5c000000 - 0x5fffffff  (  64 MB)

  201. [    0.000000] Ignoring unrecognised tag 0x00000000

  202. [    0.000000] Memory Reserved:

  203. [    0.000000]         SYS  : 0x43000000 - 0x4300ffff  (  64 kB)

  204. [    0.000000]         VE   : 0x44000000 - 0x48ffffff  (  80 MB)

  205. [    0.000000]         G2D  : 0x49000000 - 0x49ffffff  (  16 MB)

  206. [    0.000000]         LCD  : 0x5a000000 - 0x5bffffff  (  32 MB)

  207. [    0.000000] Memory policy: ECC disabled, Data cache writeback

  208. [    0.000000] chip-id: A10 (AW1623 revision C)

  209. [    0.000000] On node 0 totalpages: 245760

  210. [    0.000000] free_area_init_node: node 0, pgdat c07c0260, node_mem_map c097b000

  211. [    0.000000]   Normal zone: 1520 pages used for memmap

  212. [    0.000000]   Normal zone: 0 pages reserved

  213. [    0.000000]   Normal zone: 176656 pages, LIFO batch:31

  214. [    0.000000]   HighMem zone: 528 pages used for memmap

  215. [    0.000000]   HighMem zone: 67056 pages, LIFO batch:15

  216. [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768

  217. [    0.000000] pcpu-alloc: [0] 0 

  218. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 243712

  219. [    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/nandb rootwait loglevel=8 panic=10

  220. [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

  221. [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

  222. [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

  223. [    0.000000] Memory: 448MB 512MB = 960MB total

  224. [    0.000000] Memory: 833668k/833668k available, 149372k reserved, 270336K highmem

  225. [    0.000000] Virtual kernel memory layout:

  226. [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

  227. [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

  228. [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)

  229. [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)

  230. [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

  231. [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

  232. [    0.000000]       .text : 0xc0008000 - 0xc074ade0   (7436 kB)

  233. [    0.000000]       .init : 0xc074b000 - 0xc0775000   ( 168 kB)

  234. [    0.000000]       .data : 0xc0776000 - 0xc07c6020   ( 321 kB)

  235. [    0.000000]        .bss : 0xc07c6044 - 0xc097a588   (1746 kB)

  236. [    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

  237. [    0.000000] NR_IRQS:128

  238. [    0.000000] timer0: Periodic Mode

  239. [    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms

  240. [    0.000000] Console: colour dummy device 80x30

  241. [    0.010000] Calibrating delay loop... 1001.88 BogoMIPS (lpj=5009408)

  242. [    0.050000] pid_max: default: 32768 minimum: 301

  243. [    0.050000] Mount-cache hash table entries: 512

  244. [    0.060000] Initializing cgroup subsys cpuacct

  245. [    0.060000] Initializing cgroup subsys devices

  246. [    0.060000] Initializing cgroup subsys freezer

  247. [    0.070000] Initializing cgroup subsys blkio

  248. [    0.070000] CPU: Testing write buffer coherency: ok

  249. [    0.070000] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available

  250. [    0.080000] Setting up static identity map for 0x40501838 - 0x40501890

  251. [    0.090000] devtmpfs: initialized

  252. [    0.090000] dummy: 

  253. [    0.090000] NET: Registered protocol family 16

  254. [    0.090000] hw-breakpoint: debug architecture 0x4 unsupported.

  255. [    0.100000] Init eGon pin module V2.0

  256. [    0.100000] SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics

  257. [    0.100000] Initialize DMAC OK

  258. [    0.110000] bio: create slab <bio-0> at 0

  259. [    0.110000] SCSI subsystem initialized

  260. [    0.110000] libata version 3.00 loaded.

  261. [    0.120000] usbcore: registered new interface driver usbfs

  262. [    0.120000] usbcore: registered new interface driver hub

  263. [    0.120000] usbcore: registered new device driver usb

  264. [    0.130000] Linux video capture interface: v2.00

  265. [    0.130000] Advanced Linux Sound Architecture Driver Version 1.0.25.

  266. [    0.140000] Switching to clocksource aw 64bits couter

  267. [    0.140000] FS-Cache: Loaded

  268. [    0.140000] CacheFiles: Loaded

  269. [    0.150000] cfg80211: Calling CRDA to update world regulatory domain

  270. [    0.150000] [usb_manager]: CONFIG_USB_SW_SUN4I_USB0_HOST_ONLY

  271. [    0.150000] [sw_hcd0]: usb host driver initialize........

  272. [    0.160000] [sw_hcd0]: open_usb_clock

  273. [    0.180000] [sw_hcd0]: host_init_state = 0

  274. [    0.180000] [sw_hcd0]: platform is usb host

  275. [    0.190000] [sw_hcd0]: sw_hcd_host0: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)

  276. [    0.200000] [sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 38

  277. [    0.210000] sw_hcd_host0 sw_hcd_host0: sw_hcd host driver

  278. [    0.210000] sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1

  279. [    0.220000] hub 1-0:1.0: USB hub found

  280. [    0.220000] hub 1-0:1.0: 1 port detected

  281. [    0.220000] [sw_hcd_host0]: Set USB Power ON

  282. [    0.230000] NET: Registered protocol family 2

  283. [    0.230000] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)

  284. [    0.240000] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)

  285. [    0.250000] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)

  286. [    0.250000] TCP: Hash tables configured (established 131072 bind 65536)

  287. [    0.260000] TCP: reno registered

  288. [    0.260000] UDP hash table entries: 512 (order: 1, 8192 bytes)

  289. [    0.260000] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)

  290. [    0.270000] NET: Registered protocol family 1

  291. [    0.270000] RPC: Registered named UNIX socket transport module.

  292. [    0.280000] RPC: Registered udp transport module.

  293. [    0.280000] RPC: Registered tcp transport module.

  294. [    0.290000] RPC: Registered tcp NFSv4.1 backchannel transport module.

  295. [    0.290000] audit: initializing netlink socket (disabled)

  296. [    0.300000] type=2000 audit(0.299:1): initialized

  297. [    0.300000] highmem bounce pool size: 64 pages

  298. [    0.310000] VFS: Disk quotas dquot_6.5.2

  299. [    0.310000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

  300. [    0.320000] NFS: Registering the id_resolver key type

  301. [    0.320000] NTFS driver 2.1.30 [Flags: R/W].

  302. [    0.330000] fuse init (API version 7.18)

  303. [    0.330000] msgmni has been set to 1100

  304. [    0.340000] alg: No test for stdrng (krng)

  305. [    0.340000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

  306. [    0.350000] io scheduler noop registered

  307. [    0.350000] io scheduler deadline registered

  308. [    0.350000] io scheduler cfq registered (default)

  309. [    0.360000] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled

  310. [    0.360000] [uart]: used uart info.: 0x1f

  311. [    0.370000] [uart]: serial probe 0 irq 1 mapbase 0x01c28000

  312. [    0.390000] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 1) is a U6_16550A

  313. <6>console [ttyS0] enabled

  314. [    1.030000] console [ttyS0] enabled

  315. <6>[uart]: serial probe 1 irq 2 mapbase 0x01c28400

  316. [    1.040000] [uart]: serial probe 1 irq 2 mapbase 0x01c28400

  317. <6>sunxi-uart.1: ttyS1 at MMIO 0x1c28400 (irq = 2) is a U6_16550A

  318. [    1.070000] sunxi-uart.1: ttyS1 at MMIO 0x1c28400 (irq = 2) is a U6_16550A

  319. <6>[uart]: serial probe 2 irq 3 mapbase 0x01c28800

  320. [    1.080000] [uart]: serial probe 2 irq 3 mapbase 0x01c28800

  321. <6>sunxi-uart.2: ttyS2 at MMIO 0x1c28800 (irq = 3) is a U6_16550A

  322. [    1.110000] sunxi-uart.2: ttyS2 at MMIO 0x1c28800 (irq = 3) is a U6_16550A

  323. <6>[uart]: serial probe 3 irq 4 mapbase 0x01c28c00

  324. [    1.120000] [uart]: serial probe 3 irq 4 mapbase 0x01c28c00

  325. <6>sunxi-uart.3: ttyS3 at MMIO 0x1c28c00 (irq = 4) is a U6_16550A

  326. [    1.150000] sunxi-uart.3: ttyS3 at MMIO 0x1c28c00 (irq = 4) is a U6_16550A

  327. <6>[uart]: serial probe 4 irq 17 mapbase 0x01c29000

  328. [    1.170000] [uart]: serial probe 4 irq 17 mapbase 0x01c29000

  329. <6>sunxi-uart.4: ttyS4 at MMIO 0x1c29000 (irq = 17) is a U6_16550A

  330. [    1.200000] sunxi-uart.4: ttyS4 at MMIO 0x1c29000 (irq = 17) is a U6_16550A

  331. <7>G2D: drv_g2d_init

  332. [    1.210000] G2D: drv_g2d_init

  333. <6>G2D: g2dmem: g2d_start=49000000, g2d_size=1000000

  334. [    1.210000] G2D: g2dmem: g2d_start=49000000, g2d_size=1000000

  335. <6>G2D: head:c9000000,tail:ca000000

  336. [    1.230000] G2D: head:c9000000,tail:ca000000

  337. <6>G2D: Module initialized.major:252

  338. [    1.230000] G2D: Module initialized.major:252

  339. <6>brd: module loaded

  340. [    1.240000] brd: module loaded

  341. <6>loop: module loaded

  342. [    1.250000] loop: module loaded

  343. [NAND]nand driver, init.

  344. [    1.250000] [NAND]nand driver, init.

  345. cmu_clk is 480 

  346. [    1.260000] cmu_clk is 480 

  347. nand clk init end 

  348. [    1.260000] nand clk init end 

  349. offset 0xc:  0x26141 

  350. [    1.270000] offset 0xc:  0x26141 

  351. offset 0x14:  0x8200000b 

  352. [    1.270000] offset 0x14:  0x8200000b 

  353. [NAND] nand gpio_request

  354. [    1.280000] [NAND] nand gpio_request

  355. [NAND] nand driver version: 0x2 0x9 

  356. [    1.290000] [NAND] nand driver version: 0x2 0x9 

  357. nand interrupte register ok

  358. [    1.290000] nand interrupte register ok

  359. ret of NFC_ChangMode is 0 

  360. [    1.300000] ret of NFC_ChangMode is 0 

  361. dma_hdle  is 0 

  362. [    1.310000] dma_hdle  is 0 

  363. dma_hdle  is 10000008 

  364. [    1.310000] dma_hdle  is 10000008 

  365. cmu_clk is 480 

  366. [    1.320000] cmu_clk is 480 

  367. nand clk init end 

  368. [    1.320000] nand clk init end 

  369. offset 0xc:  0x26141 

  370. [    1.320000] offset 0xc:  0x26141 

  371. offset 0x14:  0x82000007 

  372. [    1.330000] offset 0x14:  0x82000007 

  373. <4>Dev nand: part 1, start 8, size 1016

  374. [    1.370000] Dev nand: part 1, start 8, size 1016

  375. <4>Dev nand: part 2, start 1024, size 7977984

  376. [    1.380000] Dev nand: part 2, start 1024, size 7977984

  377. <6> nand: nanda nandb

  378. [    1.390000]  nand: nanda nandb

  379. <6>benn: nand probe enter

  380. [    1.400000] benn: nand probe enter

  381. [NAND]nand driver, ok.

  382. [    1.400000] [NAND]nand driver, ok.

  383. <6>wemac Ethernet Driver, V1.01 in file:drivers/net/ethernet/sun4i/sun4i_wemac.c

  384. [    1.410000] wemac Ethernet Driver, V1.01 in file:drivers/net/ethernet/sun4i/sun4i_wemac.c

  385. <6>[EMAC] ahb clk enable

  386. [    1.420000] [EMAC] ahb clk enable

  387. <6>[EMAC] ahb gate clk: 0x26141

  388. [    1.430000] [EMAC] ahb gate clk: 0x26141

  389. <4>emac MAC isn't valid!

  390. [    1.470000] emac MAC isn't valid!

  391. <6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

  392. [    1.470000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

  393. <6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

  394. [    1.480000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

  395. [sw-ehci1]: open clock

  396. [    1.500000] [sw-ehci1]: open clock

  397. [sw-ehci1]: Set USB Power ON

  398. [    1.520000] [sw-ehci1]: Set USB Power ON

  399. <6>sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

  400. [    1.530000] sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

  401. <6>sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 2

  402. [    1.540000] sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 2

  403. <6>sw-ehci sw-ehci.1: irq 39, io mem 0xf1c14000

  404. [    1.550000] sw-ehci sw-ehci.1: irq 39, io mem 0xf1c14000

  405. <6>sw-ehci sw-ehci.1: USB 0.0 started, EHCI 1.00

  406. [    1.580000] sw-ehci sw-ehci.1: USB 0.0 started, EHCI 1.00

  407. <6>hub 2-0:1.0: USB hub found

  408. [    1.590000] hub 2-0:1.0: USB hub found

  409. <6>hub 2-0:1.0: 1 port detected

  410. [    1.590000] hub 2-0:1.0: 1 port detected

  411. [sw-ohci1]: open clock

  412. [    1.600000] [sw-ohci1]: open clock

  413. <6>sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver

  414. [    1.620000] sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver

  415. <6>sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 3

  416. [    1.640000] sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 3

  417. <6>sw-ohci sw-ohci.1: irq 64, io mem 0xf1c14400

  418. [    1.650000] sw-ohci sw-ohci.1: irq 64, io mem 0xf1c14400

  419. <6>hub 3-0:1.0: USB hub found

  420. [    1.720000] hub 3-0:1.0: USB hub found

  421. <6>hub 3-0:1.0: 1 port detected

  422. [    1.730000] hub 3-0:1.0: 1 port detected

  423. [sw-ehci2]: open clock

  424. [    1.730000] [sw-ehci2]: open clock

  425. [sw-ehci2]: Set USB Power ON

  426. [    1.760000] [sw-ehci2]: Set USB Power ON

  427. <6>sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

  428. [    1.760000] sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

  429. <6>sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 4

  430. [    1.780000] sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 4

  431. <6>sw-ehci sw-ehci.2: irq 40, io mem 0xf1c1c000

  432. [    1.790000] sw-ehci sw-ehci.2: irq 40, io mem 0xf1c1c000

  433. <6>sw-ehci sw-ehci.2: USB 0.0 started, EHCI 1.00

  434. [    1.820000] sw-ehci sw-ehci.2: USB 0.0 started, EHCI 1.00

  435. <6>hub 4-0:1.0: USB hub found

  436. [    1.830000] hub 4-0:1.0: USB hub found

  437. <6>hub 4-0:1.0: 1 port detected

  438. [    1.830000] hub 4-0:1.0: 1 port detected

  439. [sw-ohci2]: open clock

  440. [    1.840000] [sw-ohci2]: open clock

  441. <6>sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver

  442. [    1.860000] sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver

  443. <6>sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 5

  444. [    1.880000] sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 5

  445. <6>sw-ohci sw-ohci.2: irq 65, io mem 0xf1c1c400

  446. [    1.890000] sw-ohci sw-ohci.2: irq 65, io mem 0xf1c1c400

  447. <6>hub 5-0:1.0: USB hub found

  448. [    1.960000] hub 5-0:1.0: USB hub found

  449. <6>hub 5-0:1.0: 1 port detected

  450. [    1.970000] hub 5-0:1.0: 1 port detected

  451. <6>Initializing USB Mass Storage driver...

  452. [    1.970000] Initializing USB Mass Storage driver...

  453. <6>usbcore: registered new interface driver usb-storage

  454. [    1.980000] usbcore: registered new interface driver usb-storage

  455. <6>USB Mass Storage support registered.

  456. [    1.990000] USB Mass Storage support registered.

  457. <6>usbcore: registered new interface driver ums-alauda

  458. [    2.000000] usbcore: registered new interface driver ums-alauda

  459. <6>usbcore: registered new interface driver ums-cypress

  460. [    2.010000] usbcore: registered new interface driver ums-cypress

  461. <6>usbcore: registered new interface driver ums-datafab

  462. [    2.020000] usbcore: registered new interface driver ums-datafab

  463. <6>usbcore: registered new interface driver ums_eneub6250

  464. [    2.030000] usbcore: registered new interface driver ums_eneub6250

  465. <6>usbcore: registered new interface driver ums-freecom

  466. [    2.040000] usbcore: registered new interface driver ums-freecom

  467. <6>usbcore: registered new interface driver ums-isd200

  468. [    2.060000] usbcore: registered new interface driver ums-isd200

  469. <6>usbcore: registered new interface driver ums-jumpshot

  470. [    2.070000] usbcore: registered new interface driver ums-jumpshot

  471. <6>usbcore: registered new interface driver ums-karma

  472. [    2.080000] usbcore: registered new interface driver ums-karma

  473. <6>usbcore: registered new interface driver ums-onetouch

  474. [    2.090000] usbcore: registered new interface driver ums-onetouch

  475. <6>usbcore: registered new interface driver ums-realtek

  476. [    2.100000] usbcore: registered new interface driver ums-realtek

  477. <6>usbcore: registered new interface driver ums-sddr09

  478. [    2.110000] usbcore: registered new interface driver ums-sddr09

  479. <6>usbcore: registered new interface driver ums-sddr55

  480. [    2.120000] usbcore: registered new interface driver ums-sddr55

  481. <6>usbcore: registered new interface driver ums-usbat

  482. [    2.130000] usbcore: registered new interface driver ums-usbat

  483. <6>mousedev: PS/2 mouse device common for all mice

  484. [    2.140000] mousedev: PS/2 mouse device common for all mice

  485. sunxi RTC version 0.1 

  486. [    2.150000] sunxi RTC version 0.1 

  487. <6>sunxi-rtc sunxi-rtc: sunxi_rtc_probe tmp_data = 380248073

  488. [    2.160000] sunxi-rtc sunxi-rtc: sunxi_rtc_probe tmp_data = 380248073

  489. <6>sunxi-rtc sunxi-rtc: sunxi_rtc_gettime

  490. [    2.170000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime

  491. <6>sunxi-rtc sunxi-rtc: read time 2013-9-14 22:40:56

  492. [    2.180000] sunxi-rtc sunxi-rtc: read time 2013-9-14 22:40:56

  493. <6>sunxi-rtc sunxi-rtc: sunxi_rtc_gettime

  494. [    2.190000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime

  495. <6>sunxi-rtc sunxi-rtc: read time 2013-9-14 22:40:56

  496. [    2.200000] sunxi-rtc sunxi-rtc: read time 2013-9-14 22:40:56

  497. <6>sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0

  498. [    2.210000] sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0

  499. <6>i2c /dev entries driver

  500. [    2.220000] i2c /dev entries driver

  501. !!! base_Addr = 0xf1c2ac00 

  502. [    2.230000] !!! base_Addr = 0xf1c2ac00 

  503. config i2c gpio with gpio_config api 

  504. [    2.230000] config i2c gpio with gpio_config api 

  505. twi0, apb clock = 24000000 

  506. [    2.240000] twi0, apb clock = 24000000 

  507. <6>axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected

  508. [    2.250000] axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected

  509. <6>I2C: i2c-0: AW16XX I2C adapter

  510. [    2.260000] I2C: i2c-0: AW16XX I2C adapter

  511. !!! base_Addr = 0xf1c2b000 

  512. [    2.270000] !!! base_Addr = 0xf1c2b000 

  513. twi1, apb clock = 24000000 

  514. [    2.270000] twi1, apb clock = 24000000 

  515. <6>I2C: i2c-1: AW16XX I2C adapter

  516. [    2.280000] I2C: i2c-1: AW16XX I2C adapter

  517. !!! base_Addr = 0xf1c2b400 

  518. [    2.290000] !!! base_Addr = 0xf1c2b400 

  519. twi2, apb clock = 24000000 

  520. [    2.290000] twi2, apb clock = 24000000 

  521. <6>I2C: i2c-2: AW16XX I2C adapter

  522. [    2.300000] I2C: i2c-2: AW16XX I2C adapter

  523. <6>lirc_dev: IR Remote Control driver registered, major 251 

  524. [    2.310000] lirc_dev: IR Remote Control driver registered, major 251 

  525. <6>IR NEC protocol handler initialized

  526. [    2.320000] IR NEC protocol handler initialized

  527. <6>IR RC5(x) protocol handler initialized

  528. [    2.330000] IR RC5(x) protocol handler initialized

  529. <6>IR RC6 protocol handler initialized

  530. [    2.330000] IR RC6 protocol handler initialized

  531. <6>IR JVC protocol handler initialized

  532. [    2.340000] IR JVC protocol handler initialized

  533. <6>IR Sony protocol handler initialized

  534. [    2.350000] IR Sony protocol handler initialized

  535. <6>IR RC5 (streamzap) protocol handler initialized

  536. [    2.360000] IR RC5 (streamzap) protocol handler initialized

  537. <6>IR SANYO protocol handler initialized

  538. [    2.370000] IR SANYO protocol handler initialized

  539. <6>IR MCE Keyboard/mouse protocol handler initialized

  540. [    2.380000] IR MCE Keyboard/mouse protocol handler initialized

  541. <6>IR LIRC bridge handler initialized

  542. [    2.390000] IR LIRC bridge handler initialized

  543. [cedar dev]: install start!!!

  544. [    2.400000] [cedar dev]: install start!!!

  545. [cedar dev]: install end!!!

  546. [    2.400000] [cedar dev]: install end!!!

  547. [tt]----- avs_dev driver load... ----

  548. [    2.410000] [tt]----- avs_dev driver load... ----

  549. [tt]-----      register iomem      ----

  550. [    2.420000] [tt]-----      register iomem      ----

  551. [tt]--- avs_dev driver load ok!! -----

  552. [    2.430000] [tt]--- avs_dev driver load ok!! -----

  553. [ace_drv] start!!!

  554. [    2.430000] [ace_drv] start!!!

  555. [ace_drv] init end!!!

  556. [    2.440000] [ace_drv] init end!!!

  557. [pa_drv] start!!!

  558. [    2.440000] [pa_drv] start!!!

  559. [pa_drv] init end!!!

  560. [    2.450000] [pa_drv] init end!!!

  561. <6>axp20_ldo1: 1300 mV 

  562. [    2.450000] axp20_ldo1: 1300 mV 

  563. <6>axp20_ldo2: 1800 <--> 3300 mV at 3000 mV 

  564. [    2.460000] axp20_ldo2: 1800 <--> 3300 mV at 3000 mV 

  565. <6>axp20_ldo3: 700 <--> 3500 mV at 2800 mV 

  566. [    2.470000] axp20_ldo3: 700 <--> 3500 mV at 2800 mV 

  567. <6>axp20_ldo4: 1250 <--> 3300 mV at 2800 mV 

  568. [    2.480000] axp20_ldo4: 1250 <--> 3300 mV at 2800 mV 

  569. <6>axp20_buck2: 700 <--> 2275 mV at 1400 mV 

  570. [    2.490000] axp20_buck2: 700 <--> 2275 mV at 1400 mV 

  571. <6>axp20_buck3: 700 <--> 3500 mV at 1250 mV 

  572. [    2.500000] axp20_buck3: 700 <--> 3500 mV at 1250 mV 

  573. <6>axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV 

  574. [    2.510000] axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV 

  575. <6>input: axp20-supplyer as /devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.41/input/input0

  576. [    2.520000] input: axp20-supplyer as /devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.41/input/input0

  577. <4>axp20_ldo2: Failed to create debugfs directory

  578. [    2.550000] axp20_ldo2: Failed to create debugfs directory

  579. <6>cpuidle: using governor ladder

  580. [    2.560000] cpuidle: using governor ladder

  581. <6>cpuidle: using governor menu

  582. [    2.570000] cpuidle: using governor menu

  583. [mmc_pm]: no sdio card used in configuration

  584. [    2.580000] [mmc_pm]: no sdio card used in configuration

  585. [mmc]: sunximmc_init

  586. [    2.590000] [mmc]: sunximmc_init

  587. [mmc]: sunxi mmc controller using config : 0xb

  588. [    2.590000] [mmc]: sunxi mmc controller using config : 0xb

  589. [mmc]: sunxi-mmc.0: pdev->name: sunxi-mmc, pdev->id: 0

  590. [    2.600000] [mmc]: sunxi-mmc.0: pdev->name: sunxi-mmc, pdev->id: 0

  591. [mmc]: mmc 0 power off !!

  592. [    2.610000] [mmc]: mmc 0 power off !!

  593. [mmc]: mmc0 Probe: base:0xf1c0f000 irq:32 dma:0 pdes:0xee808000, ret 0.

  594. [    2.620000] [mmc]: mmc0 Probe: base:0xf1c0f000 irq:32 dma:0 pdes:0xee808000, ret 0.

  595. [mmc]: sunxi-mmc.1: pdev->name: sunxi-mmc, pdev->id: 1

  596. [    2.630000] [mmc]: sunxi-mmc.1: pdev->name: sunxi-mmc, pdev->id: 1

  597. [mmc]: mmc 1 power off !!

  598. [    2.650000] [mmc]: mmc 1 power off !!

  599. [mmc]: mmc1 Probe: base:0xf1c10000 irq:33 dma:0 pdes:0xee810000, ret 0.

  600. [    2.650000] [mmc]: mmc1 Probe: base:0xf1c10000 irq:33 dma:0 pdes:0xee810000, ret 0.

  601. [mmc]: sunxi-mmc.3: pdev->name: sunxi-mmc, pdev->id: 3

  602. [    2.670000] [mmc]: sunxi-mmc.3: pdev->name: sunxi-mmc, pdev->id: 3

  603. [mmc]: mmc 3 power off !!

  604. [    2.680000] [mmc]: mmc 3 power off !!

  605. [mmc]: mmc3 Probe: base:0xf1c12000 irq:35 dma:0 pdes:0xee814000, ret 0.

  606. [    2.690000] [mmc]: mmc3 Probe: base:0xf1c12000 irq:35 dma:0 pdes:0xee814000, ret 0.

  607. <6>sunxi_leds driver init

  608. [    2.700000] sunxi_leds driver init

  609. <7>Registered led device: green:ph20:led1

  610. [    2.710000] Registered led device: green:ph20:led1

  611. <7>Registered led device: blue:ph21:led2

  612. [    2.710000] Registered led device: blue:ph21:led2

  613. <6>ledtrig-cpu: registered to indicate activity on CPUs

  614. [    2.720000] ledtrig-cpu: registered to indicate activity on CPUs

  615. <6>usbcore: registered new interface driver usbhid

  616. [    2.730000] usbcore: registered new interface driver usbhid

  617. <6>usbhid: USB HID core driver

  618. [    2.740000] usbhid: USB HID core driver

  619. <6>logger: created 256K log 'log_main'

  620. [    2.750000] logger: created 256K log 'log_main'

  621. <6>logger: created 256K log 'log_events'

  622. [    2.760000] logger: created 256K log 'log_events'

  623. <6>logger: created 256K log 'log_radio'

  624. [    2.770000] logger: created 256K log 'log_radio'

  625. <6>logger: created 256K log 'log_system'

  626. [    2.780000] logger: created 256K log 'log_system'

  627. enter sun4i Audio codec!!!

  628. [    2.780000] enter sun4i Audio codec!!!

  629. <6>sun4i audio support initialized

  630. [    2.790000] sun4i audio support initialized

  631. sun4i Audio codec successfully loaded..

  632. [    2.800000] sun4i Audio codec successfully loaded..

  633. <6>IPv4 over IPv4 tunneling driver

  634. [    2.810000] IPv4 over IPv4 tunneling driver

  635. <6>TCP: cubic registered

  636. [    2.810000] TCP: cubic registered

  637. <6>Initializing XFRM netlink socket

  638. [    2.820000] Initializing XFRM netlink socket

  639. <6>NET: Registered protocol family 17

  640. [    2.830000] NET: Registered protocol family 17

  641. <6>NET: Registered protocol family 15

  642. [    2.840000] NET: Registered protocol family 15

  643. <6>8021q: 802.1Q VLAN Support v1.8

  644. [    2.840000] 8021q: 802.1Q VLAN Support v1.8

  645. <6>lib80211: common routines for IEEE802.11 drivers

  646. [    2.850000] lib80211: common routines for IEEE802.11 drivers

  647. <7>lib80211_crypt: registered algorithm 'NULL'

  648. [    2.860000] lib80211_crypt: registered algorithm 'NULL'

  649. <5>Registering the dns_resolver key type

  650. [    2.870000] Registering the dns_resolver key type

  651. <6>VFP support v0.3: [    2.880000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

  652. implementor 41 architecture 3 part 30 variant c rev 3

  653. <5>Registering SWP/SWPB emulation handler

  654. [    2.890000] Registering SWP/SWPB emulation handler

  655. <4>axp20_buck2: Failed to create debugfs directory

  656. [    2.900000] axp20_buck2: Failed to create debugfs directory

  657. <6>registered taskstats version 1

  658. [    2.910000] registered taskstats version 1

  659. <4>axp20_buck3: incomplete constraints, leaving on

  660. [    2.920000] axp20_buck3: incomplete constraints, leaving on

  661. <4>axp20_buck2: incomplete constraints, leaving on

  662. [    2.930000] axp20_buck2: incomplete constraints, leaving on

  663. <4>axp20_ldo4: incomplete constraints, leaving on

  664. [    2.940000] axp20_ldo4: incomplete constraints, leaving on

  665. <4>axp20_ldo3: incomplete constraints, leaving on

  666. [    2.950000] axp20_ldo3: incomplete constraints, leaving on

  667. <4>axp20_ldo2: incomplete constraints, leaving on

  668. [    2.960000] axp20_ldo2: incomplete constraints, leaving on

  669. <6>sunxi-rtc sunxi-rtc: sunxi_rtc_gettime

  670. [    2.970000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime

  671. <6>sunxi-rtc sunxi-rtc: read time 2013-9-14 22:40:56

  672. [    2.980000] sunxi-rtc sunxi-rtc: read time 2013-9-14 22:40:56

  673. [mmc]: mmc 3 power on !!

  674. [    2.990000] [mmc]: mmc 3 power on !!

  675. <6>sunxi-rtc sunxi-rtc: setting system clock to 2013-09-14 22:40:56 UTC (1379198456)

  676. [    3.000000] sunxi-rtc sunxi-rtc: setting system clock to 2013-09-14 22:40:56 UTC (1379198456)

  677. <6>ALSA device list:

  678. [    3.010000] ALSA device list:

  679. <6>  #0: sun4i-CODEC  Audio Codec

  680. [    3.020000]   #0: sun4i-CODEC  Audio Codec

  681. <4>EXT2-fs (nandb): warning: mounting unchecked fs, running e2fsck is recommended

  682. [    3.040000] EXT2-fs (nandb): warning: mounting unchecked fs, running e2fsck is recommended

  683. <6>VFS: Mounted root (ext2 filesystem) on device 93:2.

  684. [    3.050000] VFS: Mounted root (ext2 filesystem) on device 93:2.

  685. [mmc]: sdxc_request_done(L1114): [    3.060000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 52,  RTO !!

  686. smc 3 err, cmd 52,  RTO !!

  687. [mmc]: sdxc_request_done(L1114): [    3.080000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 52,  RTO !!

  688. smc 3 err, cmd 52,  RTO !!

  689. [mmc]: sdxc_request_done(L1114): [    3.090000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 8,  RTO !!

  690. smc 3 err, cmd 8,  RTO !!

  691. [mmc]: sdxc_request_done(L1114): [    3.100000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 5,  RTO !!

  692. smc 3 err, cmd 5,  RTO !!

  693. <6>devtmpfs: mounted

  694. [    3.120000] devtmpfs: mounted

  695. [mmc]: sdxc_request_done(L1114): [    3.120000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 5,  RTO !!

  696. smc 3 err, cmd 5,  RTO !!

  697. <6>Freeing init memory: 168K

  698. [    3.130000] Freeing init memory: 168K

  699. [mmc]: sdxc_request_done(L1114): [    3.140000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 5,  RTO !!

  700. smc 3 err, cmd 5,  RTO !!

  701. [mmc]: sdxc_request_done(L1114): [    3.150000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 5,  RTO !!

  702. smc 3 err, cmd 5,  RTO !!

  703. [mmc]: sdxc_request_done(L1114): [    3.160000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 55,  RTO !!

  704. smc 3 err, cmd 55,  RTO !!

  705. [mmc]: sdxc_request_done(L1114): [    3.180000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 55,  RTO !!

  706. smc 3 err, cmd 55,  RTO !!

  707. [mmc]: sdxc_request_done(L1114): [    3.190000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 55,  RTO !!

  708. smc 3 err, cmd 55,  RTO !!

  709. [mmc]: sdxc_request_done(L1114): [    3.200000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 55,  RTO !!

  710. smc 3 err, cmd 55,  RTO !!

  711. [mmc]: sdxc_request_done(L1114): [    3.220000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 1,  RTO !!

  712. smc 3 err, cmd 1,  RTO !!

  713. [mmc]: mmc 3 power off !!

  714. [    3.230000] [mmc]: mmc 3 power off !!

  715. mount: mounting devpts on /dev/pts failed: No such file or directory


  716. Processing /etc/profile... Done


  717. / # 



然后呢,我自己弄了我的busyOS,功能:
1.网络DHCP功能,固定mac,和cbos一样
2.安装在nand里,适合嵌入式
3.启动速度快,系统大小370多M(我说下,这个不是系统文件大,是内核大,我把整个cbos的lib复制过来了,包含一堆库和驱动)
4.支持SSh啦!!!终于弄好了,请使用user用户登录而非root,然后su root转到root用户,我用的不是openssh,而是轻量级的dropbear,这个openwrt也在用貌似
5.自动对时,开机时间会长几秒,但是有用
6.还能安装多种pkg,如deb包,rpm包,变得通用了(没有apt-get,只有dpkg!!)
7.功能齐全,unzip啥cmd都有

  1. / # busybox

  2. BusyBox v1.21.1 (2013-09-14 22:43:52 CST) multi-call binary.

  3. BusyBox is copyrighted by many authors between 1998-2012.

  4. Licensed under GPLv2. See source distribution for detailed

  5. copyright notices.


  6. Usage: busybox [function [arguments]...]

  7.    or: busybox --list[-full]

  8.    or: busybox --install [-s] [DIR]

  9.    or: function [arguments]...


  10.         BusyBox is a multi-call binary that combines many common Unix

  11.         utilities into a single executable.  Most people will create a

  12.         link to busybox for each function they wish to use and BusyBox

  13.         will act like whatever it was invoked as.


  14. Currently defined functions:

  15.         [, [[, acpid, add-shell, addgroup, adduser, adjtimex, arp, arping, ash,

  16.         awk, base64, basename, beep, blkid, blockdev, bootchartd, brctl,

  17.         bunzip2, bzcat, bzip2, cal, cat, catv, chat, chattr, chgrp, chmod,

  18.         chown, chpasswd, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm,

  19.         conspy, cp, cpio, crond, crontab, cryptpw, cttyhack, cut, date, dc, dd,

  20.         deallocvt, delgroup, deluser, depmod, devmem, df, dhcprelay, diff,

  21.         dirname, dmesg, dnsd, dnsdomainname, dos2unix, dpkg, dpkg-deb, du,

  22.         dumpkmap, dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid,

  23.         ether-wake, expand, expr, fakeidentd, false, fbset, fbsplash, fdflush,

  24.         fdformat, fdisk, fgconsole, fgrep, find, findfs, flock, fold, free,

  25.         freeramdisk, fsck, fsck.minix, fsync, ftpd, ftpget, ftpput, fuser,

  26.         getopt, getty, grep, groups, gunzip, gzip, halt, hd, hdparm, head,

  27.         hexdump, hostid, hostname, httpd, hush, hwclock, id, ifconfig, ifdown,

  28.         ifenslave, ifplugd, ifup, inetd, init, insmod, install, ionice, iostat,

  29.         ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel,

  30.         kbd_mode, kill, killall, killall5, klogd, last, less, linux32, linux64,

  31.         linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread,

  32.         losetup, lpd, lpq, lpr, ls, lsattr, lsmod, lsof, lspci, lsusb, lzcat,

  33.         lzma, lzop, lzopcat, makedevs, makemime, man, md5sum, mdev, mesg,

  34.         microcom, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, mkfs.minix,

  35.         mkfs.vfat, mknod, mkpasswd, mkswap, mktemp, modinfo, modprobe, more,

  36.         mount, mountpoint, mpstat, mt, mv, nameif, nanddump, nandwrite,

  37.         nbd-client, nc, netstat, nice, nmeter, nohup, nslookup, ntpd, od,

  38.         openvt, passwd, patch, pgrep, pidof, ping, ping6, pipe_progress,

  39.         pivot_root, pkill, pmap, popmaildir, poweroff, powertop, printenv,

  40.         printf, ps, pscan, pstree, pwd, pwdx, raidautorun, rdate, rdev,

  41.         readahead, readlink, readprofile, realpath, reboot, reformime,

  42.         remove-shell, renice, reset, resize, rev, rm, rmdir, rmmod, route, rpm,

  43.         rpm2cpio, rtcwake, run-parts, runlevel, runsv, runsvdir, rx, script,

  44.         scriptreplay, sed, sendmail, seq, setarch, setconsole, setfont,

  45.         setkeycodes, setlogcons, setserial, setsid, setuidgid, sh, sha1sum,

  46.         sha256sum, sha3sum, sha512sum, showkey, slattach, sleep, smemcap,

  47.         softlimit, sort, split, start-stop-daemon, stat, strings, stty, su,

  48.         sulogin, sum, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl,

  49.         syslogd, tac, tail, tar, tcpsvd, tee, telnet, telnetd, test, tftp,

  50.         tftpd, time, timeout, top, touch, tr, traceroute, traceroute6, true,

  51.         tty, ttysize, tunctl, ubiattach, ubidetach, ubimkvol, ubirmvol,

  52.         ubirsvol, ubiupdatevol, udhcpc, udhcpd, udpsvd, umount, uname,

  53.         uncompress, unexpand, uniq, unix2dos, unlzma, unlzop, unxz, unzip,

  54.         uptime, users, usleep, uudecode, uuencode, vconfig, vi, vlock, volname,

  55.         wall, watch, watchdog, wc, wget, which, who, whoami, whois, xargs, xz,

  56.         xzcat, yes, zcat, zcip



好了,先这么说,晚点给大家rootfs和安装sh

原文作者:tll
原文链接:http://forum.cubietech.com/forum.php?mod=viewthread&tid=1107


你可能感兴趣的:(cubieboard,嵌入式系统)