极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4250|回复: 0

构建cb嵌入式系统

[复制链接]
发表于 2014-9-2 18:40:54 | 显示全部楼层 |阅读模式
大家买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
  • tar xjvf busy*
  • cd busy*

[color=rgb(46, 166, 255) !important]复制代码

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可以保留)
  • mount /dev/nandb /mnt
  • cd ~/busy*
  • cp -Rv _install/* /mnt
  • cp -Rv examples/bootfloppy/etc /mnt
  • chroot /mnt ash
  • mkdir /dev /proc /sys /var /home /tmp /mnt /run
  • exit


[color=rgb(46, 166, 255) !important]复制代码

修改/mnt/etc/fstab:
  • proc /proc proc nosuid,noexec,nodev 0 0
  • sysfs /sys sysfs nosuid,noexec,nodev 0 0
  • devpts /dev/pts devpts gid=4,mode=620 0 0
  • tmpfs /tmp tmpfs defaults 0 0
  • devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
  • /dev/nanda /boot vfat defaults 0 2
  • /dev/nandb / ext2 defaults,noatime 0 1

[color=rgb(46, 166, 255) !important]复制代码

启动,然后发现可以进入了,log:
  • ?HELLO! BOOT0 is starting!
  • boot0 version : 1.5.0
  • dram size =1024
  • Succeed in opening nand flash.
  • Succeed in reading Boot1 file head.
  • The size of Boot1 is 0x00056000.
  • The file stored in 0X00000000 of block 2 is perfect.
  • Check is correct.
  • Ready to disable icache.
  • Succeed in loading Boot1.
  • Jump to Boot1.
  • [       0.178] boot1 version : 1.5.0
  • [       0.178] pmu type = 3
  • [       0.179] bat vol = 0
  • [       0.211] axi:ahb:apb=3:2:2
  • [       0.211] set dcdc2=1400, clock=1008 successed
  • [       0.213] key
  • [       0.226] no key found
  • [       0.226] flash init start
  • [       0.258] flash init finish
  • [       0.261] fs init ok
  • [       0.262] fattype FAT12
  • [       0.262] fs mount ok
  • [       0.268] script finish
  • [       0.269] power finish
  • [       0.269] storage_type=0
  • [       0.279] BootMain start
  • [       0.279] 0
  • [       0.312] key value = 0
  • [       0.312] recovery key high 6, low 4
  • [       0.313] unable to find fastboot_key key_max value
  • [       0.321] test for multi os boot with display
  • [       0.323] logo name is invalid or dont need show logo
  • [       0.328] load kernel start
  • [       0.355] load kernel successed
  • [       0.355] start address = 0x4a000000
  • [       0.357] jump to
  • U-Boot 2013.01-05530-g8843079-dirty (Feb 04 2013 - 02:41:41) Allwinner Technology
  • Board: Cubieboard
  • I2C:   ready
  • DRAM:  1 GiB
  • NAND:  0 MiB
  • MMC:   SUNXI SD/MMC: 0
  • MMC init failed
  • Using default environment
  • In:    serial
  • Out:   serial
  • Err:   serial
  • Net:   wemac
  • Hit any key to stop autoboot:  0
  • ** File not found /boot/uEnv.txt **
  • reading /uEnv.txt
  • ** Unable to read file /uEnv.txt **
  • 261 bytes read in 12 ms (20.5 KiB/s)
  • Jumping to /boot.scr
  • ## Executing script at 44000000
  • ** Bad device mmc 0 **
  • ** Bad device mmc 0 **
  • Wrong Image Format for bootm command
  • ERROR: can't get kernel image!
  • 4189696 bytes read in 265 ms (15.1 MiB/s)
  • ## Booting kernel from Legacy Image at 48000000 ...
  •    Image Name:   Linux-3.4.43
  •    Created:      2013-08-13  10:45:14 UTC
  •    Image Type:   ARM Linux Kernel Image (uncompressed)
  •    Data Size:    4189632 Bytes = 4 MiB
  •    Load Address: 40008000
  •    Entry Point:  40008000
  •    Verifying Checksum ... OK
  •    Loading Kernel Image ... OK
  • OK
  • Starting kernel ...
  • <6>Booting Linux on physical CPU 0
  • <6>Initializing cgroup subsys cpuset
  • <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
  • CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
  • CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  • Machine: sun4i
  • <6>Memory cut off:
  • <6>        MALI : 0x5c000000 - 0x5fffffff  (  64 MB)
  • <4>Ignoring unrecognised tag 0x00000000
  • <6>Memory Reserved:
  • <6>        SYS  : 0x43000000 - 0x4300ffff  (  64 kB)
  • <6>        VE   : 0x44000000 - 0x48ffffff  (  80 MB)
  • <6>        G2D  : 0x49000000 - 0x49ffffff  (  16 MB)
  • <6>        LCD  : 0x5a000000 - 0x5bffffff  (  32 MB)
  • Memory policy: ECC disabled, Data cache writeback
  • <6>chip-id: A10 (AW1623 revision C)
  • <7>On node 0 totalpages: 245760
  • <7>free_area_init_node: node 0, pgdat c07c0260, node_mem_map c097b000
  • <7>  Normal zone: 1520 pages used for memmap
  • <7>  Normal zone: 0 pages reserved
  • <7>  Normal zone: 176656 pages, LIFO batch:31
  • <7>  HighMem zone: 528 pages used for memmap
  • <7>  HighMem zone: 67056 pages, LIFO batch:15
  • <7>pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768<c>
  • <7>pcpu-alloc: <c>[0] <c>0 <c>
  • Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 243712
  • <5>Kernel command line: console=ttyS0,115200 root=/dev/nandb rootwait loglevel=8 panic=10
  • <6>PID hash table entries: 4096 (order: 2, 16384 bytes)
  • <6>Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
  • <6>Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
  • <6>Memory: 448MB 512MB = 960MB total
  • <5>Memory: 833668k/833668k available, 149372k reserved, 270336K highmem
  • <5>Virtual kernel memory layout:
  •     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  •     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
  •     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
  •     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
  •     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
  •     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
  •       .text : 0xc0008000 - 0xc074ade0   (7436 kB)
  •       .init : 0xc074b000 - 0xc0775000   ( 168 kB)
  •       .data : 0xc0776000 - 0xc07c6020   ( 321 kB)
  •        .bss : 0xc07c6044 - 0xc097a588   (1746 kB)
  • <6>SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  • <6>NR_IRQS:128
  • <6>timer0: Periodic Mode
  • <6>sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
  • <6>Console: colour dummy device 80x30
  • <6>Calibrating delay loop... <c>1001.88 BogoMIPS (lpj=5009408)
  • <6>pid_max: default: 32768 minimum: 301
  • <6>Mount-cache hash table entries: 512
  • <6>Initializing cgroup subsys cpuacct
  • <6>Initializing cgroup subsys devices
  • <6>Initializing cgroup subsys freezer
  • <6>Initializing cgroup subsys blkio
  • <6>CPU: Testing write buffer coherency: ok
  • <6>hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
  • <6>Setting up static identity map for 0x40501838 - 0x40501890
  • <6>devtmpfs: initialized
  • <6>dummy:
  • <6>NET: Registered protocol family 16
  • <6>hw-breakpoint: debug architecture 0x4 unsupported.
  • <6>Init eGon pin module V2.0
  • SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
  • <6>Initialize DMAC OK
  • <6>bio: create slab <bio-0> at 0
  • <5>SCSI subsystem initialized
  • <7>libata version 3.00 loaded.
  • <6>usbcore: registered new interface driver usbfs
  • <6>usbcore: registered new interface driver hub
  • <6>usbcore: registered new device driver usb
  • <6>Linux video capture interface: v2.00
  • <6>Advanced Linux Sound Architecture Driver Version 1.0.25.
  • <6>Switching to clocksource aw 64bits couter
  • <5>FS-Cache: Loaded
  • <6>CacheFiles: Loaded
  • <6>cfg80211: Calling CRDA to update world regulatory domain
  • [usb_manager]: CONFIG_USB_SW_SUN4I_USB0_HOST_ONLY
  • [sw_hcd0]: usb host driver initialize........
  • [sw_hcd0]: open_usb_clock
  • [sw_hcd0]: host_init_state = 0
  • [sw_hcd0]: platform is usb host
  • [sw_hcd0]: sw_hcd_host0: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)
  • [sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 38
  • <6>sw_hcd_host0 sw_hcd_host0: sw_hcd host driver
  • <6>sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1
  • <6>hub 1-0:1.0: USB hub found
  • <6>hub 1-0:1.0: 1 port detected
  • [sw_hcd_host0]: Set USB Power ON
  • <6>NET: Registered protocol family 2
  • <6>IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
  • <6>TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
  • <6>TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
  • <6>TCP: Hash tables configured (established 131072 bind 65536)
  • <6>TCP: reno registered
  • <6>UDP hash table entries: 512 (order: 1, 8192 bytes)
  • <6>UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
  • <6>NET: Registered protocol family 1
  • <6>RPC: Registered named UNIX socket transport module.
  • <6>RPC: Registered udp transport module.
  • <6>RPC: Registered tcp transport module.
  • <6>RPC: Registered tcp NFSv4.1 backchannel transport module.
  • <6>audit: initializing netlink socket (disabled)
  • <5>type=2000 audit(0.299:1): initialized
  • highmem bounce pool size: 64 pages
  • <5>VFS: Disk quotas dquot_6.5.2
  • Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  • <5>NFS: Registering the id_resolver key type
  • <6>NTFS driver 2.1.30 [Flags: R/W].
  • <6>fuse init (API version 7.18)
  • <6>msgmni has been set to 1100
  • <6>alg: No test for stdrng (krng)
  • <6>Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
  • <6>io scheduler noop registered
  • <6>io scheduler deadline registered
  • <6>io scheduler cfq registered (default)
  • <6>Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
  • <6>[uart]: used uart info.: 0x1f
  • <6>[uart]: serial probe 0 irq 1 mapbase 0x01c28000
  • <6>sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 1) is a U6_16550A
  • [    0.000000] Booting Linux on physical CPU 0
  • [    0.000000] Initializing cgroup subsys cpuset
  • [    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
  • [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
  • [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  • [    0.000000] Machine: sun4i
  • [    0.000000] Memory cut off:
  • [    0.000000]         MALI : 0x5c000000 - 0x5fffffff  (  64 MB)
  • [    0.000000] Ignoring unrecognised tag 0x00000000
  • [    0.000000] Memory Reserved:
  • [    0.000000]         SYS  : 0x43000000 - 0x4300ffff  (  64 kB)
  • [    0.000000]         VE   : 0x44000000 - 0x48ffffff  (  80 MB)
  • [    0.000000]         G2D  : 0x49000000 - 0x49ffffff  (  16 MB)
  • [    0.000000]         LCD  : 0x5a000000 - 0x5bffffff  (  32 MB)
  • [    0.000000] Memory policy: ECC disabled, Data cache writeback
  • [    0.000000] chip-id: A10 (AW1623 revision C)
  • [    0.000000] On node 0 totalpages: 245760
  • [    0.000000] free_area_init_node: node 0, pgdat c07c0260, node_mem_map c097b000
  • [    0.000000]   Normal zone: 1520 pages used for memmap
  • [    0.000000]   Normal zone: 0 pages reserved
  • [    0.000000]   Normal zone: 176656 pages, LIFO batch:31
  • [    0.000000]   HighMem zone: 528 pages used for memmap
  • [    0.000000]   HighMem zone: 67056 pages, LIFO batch:15
  • [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
  • [    0.000000] pcpu-alloc: [0] 0
  • [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 243712
  • [    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/nandb rootwait loglevel=8 panic=10
  • [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
  • [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
  • [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
  • [    0.000000] Memory: 448MB 512MB = 960MB total
  • [    0.000000] Memory: 833668k/833668k available, 149372k reserved, 270336K highmem
  • [    0.000000] Virtual kernel memory layout:
  • [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  • [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
  • [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
  • [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
  • [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
  • [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
  • [    0.000000]       .text : 0xc0008000 - 0xc074ade0   (7436 kB)
  • [    0.000000]       .init : 0xc074b000 - 0xc0775000   ( 168 kB)
  • [    0.000000]       .data : 0xc0776000 - 0xc07c6020   ( 321 kB)
  • [    0.000000]        .bss : 0xc07c6044 - 0xc097a588   (1746 kB)
  • [    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  • [    0.000000] NR_IRQS:128
  • [    0.000000] timer0: Periodic Mode
  • [    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
  • [    0.000000] Console: colour dummy device 80x30
  • [    0.010000] Calibrating delay loop... 1001.88 BogoMIPS (lpj=5009408)
  • [    0.050000] pid_max: default: 32768 minimum: 301
  • [    0.050000] Mount-cache hash table entries: 512
  • [    0.060000] Initializing cgroup subsys cpuacct
  • [    0.060000] Initializing cgroup subsys devices
  • [    0.060000] Initializing cgroup subsys freezer
  • [    0.070000] Initializing cgroup subsys blkio
  • [    0.070000] CPU: Testing write buffer coherency: ok
  • [    0.070000] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
  • [    0.080000] Setting up static identity map for 0x40501838 - 0x40501890
  • [    0.090000] devtmpfs: initialized
  • [    0.090000] dummy:
  • [    0.090000] NET: Registered protocol family 16
  • [    0.090000] hw-breakpoint: debug architecture 0x4 unsupported.
  • [    0.100000] Init eGon pin module V2.0
  • [    0.100000] SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
  • [    0.100000] Initialize DMAC OK
  • [    0.110000] bio: create slab <bio-0> at 0
  • [    0.110000] SCSI subsystem initialized
  • [    0.110000] libata version 3.00 loaded.
  • [    0.120000] usbcore: registered new interface driver usbfs
  • [    0.120000] usbcore: registered new interface driver hub
  • [    0.120000] usbcore: registered new device driver usb
  • [    0.130000] Linux video capture interface: v2.00
  • [    0.130000] Advanced Linux Sound Architecture Driver Version 1.0.25.
  • [    0.140000] Switching to clocksource aw 64bits couter
  • [    0.140000] FS-Cache: Loaded
  • [    0.140000] CacheFiles: Loaded
  • [    0.150000] cfg80211: Calling CRDA to update world regulatory domain
  • [    0.150000] [usb_manager]: CONFIG_USB_SW_SUN4I_USB0_HOST_ONLY
  • [    0.150000] [sw_hcd0]: usb host driver initialize........
  • [    0.160000] [sw_hcd0]: open_usb_clock
  • [    0.180000] [sw_hcd0]: host_init_state = 0
  • [    0.180000] [sw_hcd0]: platform is usb host
  • [    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)
  • [    0.200000] [sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 38
  • [    0.210000] sw_hcd_host0 sw_hcd_host0: sw_hcd host driver
  • [    0.210000] sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1
  • [    0.220000] hub 1-0:1.0: USB hub found
  • [    0.220000] hub 1-0:1.0: 1 port detected
  • [    0.220000] [sw_hcd_host0]: Set USB Power ON
  • [    0.230000] NET: Registered protocol family 2
  • [    0.230000] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
  • [    0.240000] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
  • [    0.250000] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
  • [    0.250000] TCP: Hash tables configured (established 131072 bind 65536)
  • [    0.260000] TCP: reno registered
  • [    0.260000] UDP hash table entries: 512 (order: 1, 8192 bytes)
  • [    0.260000] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
  • [    0.270000] NET: Registered protocol family 1
  • [    0.270000] RPC: Registered named UNIX socket transport module.
  • [    0.280000] RPC: Registered udp transport module.
  • [    0.280000] RPC: Registered tcp transport module.
  • [    0.290000] RPC: Registered tcp NFSv4.1 backchannel transport module.
  • [    0.290000] audit: initializing netlink socket (disabled)
  • [    0.300000] type=2000 audit(0.299:1): initialized
  • [    0.300000] highmem bounce pool size: 64 pages
  • [    0.310000] VFS: Disk quotas dquot_6.5.2
  • [    0.310000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  • [    0.320000] NFS: Registering the id_resolver key type
  • [    0.320000] NTFS driver 2.1.30 [Flags: R/W].
  • [    0.330000] fuse init (API version 7.18)
  • [    0.330000] msgmni has been set to 1100
  • [    0.340000] alg: No test for stdrng (krng)
  • [    0.340000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
  • [    0.350000] io scheduler noop registered
  • [    0.350000] io scheduler deadline registered
  • [    0.350000] io scheduler cfq registered (default)
  • [    0.360000] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
  • [    0.360000] [uart]: used uart info.: 0x1f
  • [    0.370000] [uart]: serial probe 0 irq 1 mapbase 0x01c28000
  • [    0.390000] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 1) is a U6_16550A
  • <6>console [ttyS0] enabled
  • [    1.030000] console [ttyS0] enabled
  • <6>[uart]: serial probe 1 irq 2 mapbase 0x01c28400
  • [    1.040000] [uart]: serial probe 1 irq 2 mapbase 0x01c28400
  • <6>sunxi-uart.1: ttyS1 at MMIO 0x1c28400 (irq = 2) is a U6_16550A
  • [    1.070000] sunxi-uart.1: ttyS1 at MMIO 0x1c28400 (irq = 2) is a U6_16550A
  • <6>[uart]: serial probe 2 irq 3 mapbase 0x01c28800
  • [    1.080000] [uart]: serial probe 2 irq 3 mapbase 0x01c28800
  • <6>sunxi-uart.2: ttyS2 at MMIO 0x1c28800 (irq = 3) is a U6_16550A
  • [    1.110000] sunxi-uart.2: ttyS2 at MMIO 0x1c28800 (irq = 3) is a U6_16550A
  • <6>[uart]: serial probe 3 irq 4 mapbase 0x01c28c00
  • [    1.120000] [uart]: serial probe 3 irq 4 mapbase 0x01c28c00
  • <6>sunxi-uart.3: ttyS3 at MMIO 0x1c28c00 (irq = 4) is a U6_16550A
  • [    1.150000] sunxi-uart.3: ttyS3 at MMIO 0x1c28c00 (irq = 4) is a U6_16550A
  • <6>[uart]: serial probe 4 irq 17 mapbase 0x01c29000
  • [    1.170000] [uart]: serial probe 4 irq 17 mapbase 0x01c29000
  • <6>sunxi-uart.4: ttyS4 at MMIO 0x1c29000 (irq = 17) is a U6_16550A
  • [    1.200000] sunxi-uart.4: ttyS4 at MMIO 0x1c29000 (irq = 17) is a U6_16550A
  • <7>G2D: drv_g2d_init
  • [    1.210000] G2D: drv_g2d_init
  • <6>G2D: g2dmem: g2d_start=49000000, g2d_size=1000000
  • [    1.210000] G2D: g2dmem: g2d_start=49000000, g2d_size=1000000
  • <6>G2D: head:c9000000,tail:ca000000
  • [    1.230000] G2D: head:c9000000,tail:ca000000
  • <6>G2D: Module initialized.major:252
  • [    1.230000] G2D: Module initialized.major:252
  • <6>brd: module loaded
  • [    1.240000] brd: module loaded
  • <6>loop: module loaded
  • [    1.250000] loop: module loaded
  • [NAND]nand driver, init.
  • [    1.250000] [NAND]nand driver, init.
  • cmu_clk is 480
  • [    1.260000] cmu_clk is 480
  • nand clk init end
  • [    1.260000] nand clk init end
  • offset 0xc:  0x26141
  • [    1.270000] offset 0xc:  0x26141
  • offset 0x14:  0x8200000b
  • [    1.270000] offset 0x14:  0x8200000b
  • [NAND] nand gpio_request
  • [    1.280000] [NAND] nand gpio_request
  • [NAND] nand driver version: 0x2 0x9
  • [    1.290000] [NAND] nand driver version: 0x2 0x9
  • nand interrupte register ok
  • [    1.290000] nand interrupte register ok
  • ret of NFC_ChangMode is 0
  • [    1.300000] ret of NFC_ChangMode is 0
  • dma_hdle  is 0
  • [    1.310000] dma_hdle  is 0
  • dma_hdle  is 10000008
  • [    1.310000] dma_hdle  is 10000008
  • cmu_clk is 480
  • [    1.320000] cmu_clk is 480
  • nand clk init end
  • [    1.320000] nand clk init end
  • offset 0xc:  0x26141
  • [    1.320000] offset 0xc:  0x26141
  • offset 0x14:  0x82000007
  • [    1.330000] offset 0x14:  0x82000007
  • <4>Dev nand: part 1, start 8, size 1016
  • [    1.370000] Dev nand: part 1, start 8, size 1016
  • <4>Dev nand: part 2, start 1024, size 7977984
  • [    1.380000] Dev nand: part 2, start 1024, size 7977984
  • <6> nand: nanda nandb
  • [    1.390000]  nand: nanda nandb
  • <6>benn: nand probe enter
  • [    1.400000] benn: nand probe enter
  • [NAND]nand driver, ok.
  • [    1.400000] [NAND]nand driver, ok.
  • <6>wemac Ethernet Driver, V1.01 in file:drivers/net/ethernet/sun4i/sun4i_wemac.c
  • [    1.410000] wemac Ethernet Driver, V1.01 in file:drivers/net/ethernet/sun4i/sun4i_wemac.c
  • <6>[EMAC] ahb clk enable
  • [    1.420000] [EMAC] ahb clk enable
  • <6>[EMAC] ahb gate clk: 0x26141
  • [    1.430000] [EMAC] ahb gate clk: 0x26141
  • <4>emac MAC isn't valid!
  • [    1.470000] emac MAC isn't valid!
  • <6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  • [    1.470000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  • <6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  • [    1.480000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  • [sw-ehci1]: open clock
  • [    1.500000] [sw-ehci1]: open clock
  • [sw-ehci1]: Set USB Power ON
  • [    1.520000] [sw-ehci1]: Set USB Power ON
  • <6>sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
  • [    1.530000] sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
  • <6>sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 2
  • [    1.540000] sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 2
  • <6>sw-ehci sw-ehci.1: irq 39, io mem 0xf1c14000
  • [    1.550000] sw-ehci sw-ehci.1: irq 39, io mem 0xf1c14000
  • <6>sw-ehci sw-ehci.1: USB 0.0 started, EHCI 1.00
  • [    1.580000] sw-ehci sw-ehci.1: USB 0.0 started, EHCI 1.00
  • <6>hub 2-0:1.0: USB hub found
  • [    1.590000] hub 2-0:1.0: USB hub found
  • <6>hub 2-0:1.0: 1 port detected
  • [    1.590000] hub 2-0:1.0: 1 port detected
  • [sw-ohci1]: open clock
  • [    1.600000] [sw-ohci1]: open clock
  • <6>sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
  • [    1.620000] sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
  • <6>sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 3
  • [    1.640000] sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 3
  • <6>sw-ohci sw-ohci.1: irq 64, io mem 0xf1c14400
  • [    1.650000] sw-ohci sw-ohci.1: irq 64, io mem 0xf1c14400
  • <6>hub 3-0:1.0: USB hub found
  • [    1.720000] hub 3-0:1.0: USB hub found
  • <6>hub 3-0:1.0: 1 port detected
  • [    1.730000] hub 3-0:1.0: 1 port detected
  • [sw-ehci2]: open clock
  • [    1.730000] [sw-ehci2]: open clock
  • [sw-ehci2]: Set USB Power ON
  • [    1.760000] [sw-ehci2]: Set USB Power ON
  • <6>sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
  • [    1.760000] sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
  • <6>sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 4
  • [    1.780000] sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 4
  • <6>sw-ehci sw-ehci.2: irq 40, io mem 0xf1c1c000
  • [    1.790000] sw-ehci sw-ehci.2: irq 40, io mem 0xf1c1c000
  • <6>sw-ehci sw-ehci.2: USB 0.0 started, EHCI 1.00
  • [    1.820000] sw-ehci sw-ehci.2: USB 0.0 started, EHCI 1.00
  • <6>hub 4-0:1.0: USB hub found
  • [    1.830000] hub 4-0:1.0: USB hub found
  • <6>hub 4-0:1.0: 1 port detected
  • [    1.830000] hub 4-0:1.0: 1 port detected
  • [sw-ohci2]: open clock
  • [    1.840000] [sw-ohci2]: open clock
  • <6>sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
  • [    1.860000] sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
  • <6>sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 5
  • [    1.880000] sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 5
  • <6>sw-ohci sw-ohci.2: irq 65, io mem 0xf1c1c400
  • [    1.890000] sw-ohci sw-ohci.2: irq 65, io mem 0xf1c1c400
  • <6>hub 5-0:1.0: USB hub found
  • [    1.960000] hub 5-0:1.0: USB hub found
  • <6>hub 5-0:1.0: 1 port detected
  • [    1.970000] hub 5-0:1.0: 1 port detected
  • <6>Initializing USB Mass Storage driver...
  • [    1.970000] Initializing USB Mass Storage driver...
  • <6>usbcore: registered new interface driver usb-storage
  • [    1.980000] usbcore: registered new interface driver usb-storage
  • <6>USB Mass Storage support registered.
  • [    1.990000] USB Mass Storage support registered.
  • <6>usbcore: registered new interface driver ums-alauda
  • [    2.000000] usbcore: registered new interface driver ums-alauda
  • <6>usbcore: registered new interface driver ums-cypress
  • [    2.010000] usbcore: registered new interface driver ums-cypress
  • <6>usbcore: registered new interface driver ums-datafab
  • [    2.020000] usbcore: registered new interface driver ums-datafab
  • <6>usbcore: registered new interface driver ums_eneub6250
  • [    2.030000] usbcore: registered new interface driver ums_eneub6250
  • <6>usbcore: registered new interface driver ums-freecom
  • [    2.040000] usbcore: registered new interface driver ums-freecom
  • <6>usbcore: registered new interface driver ums-isd200
  • [    2.060000] usbcore: registered new interface driver ums-isd200
  • <6>usbcore: registered new interface driver ums-jumpshot
  • [    2.070000] usbcore: registered new interface driver ums-jumpshot
  • <6>usbcore: registered new interface driver ums-karma
  • [    2.080000] usbcore: registered new interface driver ums-karma
  • <6>usbcore: registered new interface driver ums-onetouch
  • [    2.090000] usbcore: registered new interface driver ums-onetouch
  • <6>usbcore: registered new interface driver ums-realtek
  • [    2.100000] usbcore: registered new interface driver ums-realtek
  • <6>usbcore: registered new interface driver ums-sddr09
  • [    2.110000] usbcore: registered new interface driver ums-sddr09
  • <6>usbcore: registered new interface driver ums-sddr55
  • [    2.120000] usbcore: registered new interface driver ums-sddr55
  • <6>usbcore: registered new interface driver ums-usbat
  • [    2.130000] usbcore: registered new interface driver ums-usbat
  • <6>mousedev: PS/2 mouse device common for all mice
  • [    2.140000] mousedev: PS/2 mouse device common for all mice
  • sunxi RTC version 0.1
  • [    2.150000] sunxi RTC version 0.1
  • <6>sunxi-rtc sunxi-rtc: sunxi_rtc_probe tmp_data = 380248073
  • [    2.160000] sunxi-rtc sunxi-rtc: sunxi_rtc_probe tmp_data = 380248073
  • <6>sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
  • [    2.170000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
  • <6>sunxi-rtc sunxi-rtc: read time 2013-9-14 22:40:56
  • [    2.180000] sunxi-rtc sunxi-rtc: read time 2013-9-14 22:40:56
  • <6>sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
  • [    2.190000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
  • <6>sunxi-rtc sunxi-rtc: read time 2013-9-14 22:40:56
  • [    2.200000] sunxi-rtc sunxi-rtc: read time 2013-9-14 22:40:56
  • <6>sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0
  • [    2.210000] sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0
  • <6>i2c /dev entries driver
  • [    2.220000] i2c /dev entries driver
  • !!! base_Addr = 0xf1c2ac00
  • [    2.230000] !!! base_Addr = 0xf1c2ac00
  • config i2c gpio with gpio_config api
  • [    2.230000] config i2c gpio with gpio_config api
  • twi0, apb clock = 24000000
  • [    2.240000] twi0, apb clock = 24000000
  • <6>axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected
  • [    2.250000] axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected
  • <6>I2C: i2c-0: AW16XX I2C adapter
  • [    2.260000] I2C: i2c-0: AW16XX I2C adapter
  • !!! base_Addr = 0xf1c2b000
  • [    2.270000] !!! base_Addr = 0xf1c2b000
  • twi1, apb clock = 24000000
  • [    2.270000] twi1, apb clock = 24000000
  • <6>I2C: i2c-1: AW16XX I2C adapter
  • [    2.280000] I2C: i2c-1: AW16XX I2C adapter
  • !!! base_Addr = 0xf1c2b400
  • [    2.290000] !!! base_Addr = 0xf1c2b400
  • twi2, apb clock = 24000000
  • [    2.290000] twi2, apb clock = 24000000
  • <6>I2C: i2c-2: AW16XX I2C adapter
  • [    2.300000] I2C: i2c-2: AW16XX I2C adapter
  • <6>lirc_dev: IR Remote Control driver registered, major 251
  • [    2.310000] lirc_dev: IR Remote Control driver registered, major 251
  • <6>IR NEC protocol handler initialized
  • [    2.320000] IR NEC protocol handler initialized
  • <6>IR RC5(x) protocol handler initialized
  • [    2.330000] IR RC5(x) protocol handler initialized
  • <6>IR RC6 protocol handler initialized
  • [    2.330000] IR RC6 protocol handler initialized
  • <6>IR JVC protocol handler initialized
  • [    2.340000] IR JVC protocol handler initialized
  • <6>IR Sony protocol handler initialized
  • [    2.350000] IR Sony protocol handler initialized
  • <6>IR RC5 (streamzap) protocol handler initialized
  • [    2.360000] IR RC5 (streamzap) protocol handler initialized
  • <6>IR SANYO protocol handler initialized
  • [    2.370000] IR SANYO protocol handler initialized
  • <6>IR MCE Keyboard/mouse protocol handler initialized
  • [    2.380000] IR MCE Keyboard/mouse protocol handler initialized
  • <6>IR LIRC bridge handler initialized
  • [    2.390000] IR LIRC bridge handler initialized
  • [cedar dev]: install start!!!
  • [    2.400000] [cedar dev]: install start!!!
  • [cedar dev]: install end!!!
  • [    2.400000] [cedar dev]: install end!!!
  • [tt]----- avs_dev driver load... ----
  • [    2.410000] [tt]----- avs_dev driver load... ----
  • [tt]-----      register iomem      ----
  • [    2.420000] [tt]-----      register iomem      ----
  • [tt]--- avs_dev driver load ok!! -----
  • [    2.430000] [tt]--- avs_dev driver load ok!! -----
  • [ace_drv] start!!!
  • [    2.430000] [ace_drv] start!!!
  • [ace_drv] init end!!!
  • [    2.440000] [ace_drv] init end!!!
  • [pa_drv] start!!!
  • [    2.440000] [pa_drv] start!!!
  • [pa_drv] init end!!!
  • [    2.450000] [pa_drv] init end!!!
  • <6>axp20_ldo1: 1300 mV
  • [    2.450000] axp20_ldo1: 1300 mV
  • <6>axp20_ldo2: 1800 <--> 3300 mV at 3000 mV
  • [    2.460000] axp20_ldo2: 1800 <--> 3300 mV at 3000 mV
  • <6>axp20_ldo3: 700 <--> 3500 mV at 2800 mV
  • [    2.470000] axp20_ldo3: 700 <--> 3500 mV at 2800 mV
  • <6>axp20_ldo4: 1250 <--> 3300 mV at 2800 mV
  • [    2.480000] axp20_ldo4: 1250 <--> 3300 mV at 2800 mV
  • <6>axp20_buck2: 700 <--> 2275 mV at 1400 mV
  • [    2.490000] axp20_buck2: 700 <--> 2275 mV at 1400 mV
  • <6>axp20_buck3: 700 <--> 3500 mV at 1250 mV
  • [    2.500000] axp20_buck3: 700 <--> 3500 mV at 1250 mV
  • <6>axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV
  • [    2.510000] axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV
  • <6>input: axp20-supplyer as /devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.41/input/input0
  • [    2.520000] input: axp20-supplyer as /devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.41/input/input0
  • <4>axp20_ldo2: Failed to create debugfs directory
  • [    2.550000] axp20_ldo2: Failed to create debugfs directory
  • <6>cpuidle: using governor ladder
  • [    2.560000] cpuidle: using governor ladder
  • <6>cpuidle: using governor menu
  • [    2.570000] cpuidle: using governor menu
  • [mmc_pm]: no sdio card used in configuration
  • [    2.580000] [mmc_pm]: no sdio card used in configuration
  • [mmc]: sunximmc_init
  • [    2.590000] [mmc]: sunximmc_init
  • [mmc]: sunxi mmc controller using config : 0xb
  • [    2.590000] [mmc]: sunxi mmc controller using config : 0xb
  • [mmc]: sunxi-mmc.0: pdev->name: sunxi-mmc, pdev->id: 0
  • [    2.600000] [mmc]: sunxi-mmc.0: pdev->name: sunxi-mmc, pdev->id: 0
  • [mmc]: mmc 0 power off !!
  • [    2.610000] [mmc]: mmc 0 power off !!
  • [mmc]: mmc0 Probe: base:0xf1c0f000 irq:32 dma:0 pdes:0xee808000, ret 0.
  • [    2.620000] [mmc]: mmc0 Probe: base:0xf1c0f000 irq:32 dma:0 pdes:0xee808000, ret 0.
  • [mmc]: sunxi-mmc.1: pdev->name: sunxi-mmc, pdev->id: 1
  • [    2.630000] [mmc]: sunxi-mmc.1: pdev->name: sunxi-mmc, pdev->id: 1
  • [mmc]: mmc 1 power off !!
  • [    2.650000] [mmc]: mmc 1 power off !!
  • [mmc]: mmc1 Probe: base:0xf1c10000 irq:33 dma:0 pdes:0xee810000, ret 0.
  • [    2.650000] [mmc]: mmc1 Probe: base:0xf1c10000 irq:33 dma:0 pdes:0xee810000, ret 0.
  • [mmc]: sunxi-mmc.3: pdev->name: sunxi-mmc, pdev->id: 3
  • [    2.670000] [mmc]: sunxi-mmc.3: pdev->name: sunxi-mmc, pdev->id: 3
  • [mmc]: mmc 3 power off !!
  • [    2.680000] [mmc]: mmc 3 power off !!
  • [mmc]: mmc3 Probe: base:0xf1c12000 irq:35 dma:0 pdes:0xee814000, ret 0.
  • [    2.690000] [mmc]: mmc3 Probe: base:0xf1c12000 irq:35 dma:0 pdes:0xee814000, ret 0.
  • <6>sunxi_leds driver init
  • [    2.700000] sunxi_leds driver init
  • <7>Registered led device: green:ph20:led1
  • [    2.710000] Registered led device: green:ph20:led1
  • <7>Registered led device: blue:ph21:led2
  • [    2.710000] Registered led device: blue:ph21:led2
  • <6>ledtrig-cpu: registered to indicate activity on CPUs
  • [    2.720000] ledtrig-cpu: registered to indicate activity on CPUs
  • <6>usbcore: registered new interface driver usbhid
  • [    2.730000] usbcore: registered new interface driver usbhid
  • <6>usbhid: USB HID core driver
  • [    2.740000] usbhid: USB HID core driver
  • <6>logger: created 256K log 'log_main'
  • [    2.750000] logger: created 256K log 'log_main'
  • <6>logger: created 256K log 'log_events'
  • [    2.760000] logger: created 256K log 'log_events'
  • <6>logger: created 256K log 'log_radio'
  • [    2.770000] logger: created 256K log 'log_radio'
  • <6>logger: created 256K log 'log_system'
  • [    2.780000] logger: created 256K log 'log_system'
  • enter sun4i Audio codec!!!
  • [    2.780000] enter sun4i Audio codec!!!
  • <6>sun4i audio support initialized
  • [    2.790000] sun4i audio support initialized
  • sun4i Audio codec successfully loaded..
  • [    2.800000] sun4i Audio codec successfully loaded..
  • <6>IPv4 over IPv4 tunneling driver
  • [    2.810000] IPv4 over IPv4 tunneling driver
  • <6>TCP: cubic registered
  • [    2.810000] TCP: cubic registered
  • <6>Initializing XFRM netlink socket
  • [    2.820000] Initializing XFRM netlink socket
  • <6>NET: Registered protocol family 17
  • [    2.830000] NET: Registered protocol family 17
  • <6>NET: Registered protocol family 15
  • [    2.840000] NET: Registered protocol family 15
  • <6>8021q: 802.1Q VLAN Support v1.8
  • [    2.840000] 8021q: 802.1Q VLAN Support v1.8
  • <6>lib80211: common routines for IEEE802.11 drivers
  • [    2.850000] lib80211: common routines for IEEE802.11 drivers
  • <7>lib80211_crypt: registered algorithm 'NULL'
  • [    2.860000] lib80211_crypt: registered algorithm 'NULL'
  • <5>Registering the dns_resolver key type
  • [    2.870000] Registering the dns_resolver key type
  • <6>VFP support v0.3: [    2.880000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
  • implementor 41 architecture 3 part 30 variant c rev 3
  • <5>Registering SWP/SWPB emulation handler
  • [    2.890000] Registering SWP/SWPB emulation handler
  • <4>axp20_buck2: Failed to create debugfs directory
  • [    2.900000] axp20_buck2: Failed to create debugfs directory
  • <6>registered taskstats version 1
  • [    2.910000] registered taskstats version 1
  • <4>axp20_buck3: incomplete constraints, leaving on
  • [    2.920000] axp20_buck3: incomplete constraints, leaving on
  • <4>axp20_buck2: incomplete constraints, leaving on
  • [    2.930000] axp20_buck2: incomplete constraints, leaving on
  • <4>axp20_ldo4: incomplete constraints, leaving on
  • [    2.940000] axp20_ldo4: incomplete constraints, leaving on
  • <4>axp20_ldo3: incomplete constraints, leaving on
  • [    2.950000] axp20_ldo3: incomplete constraints, leaving on
  • <4>axp20_ldo2: incomplete constraints, leaving on
  • [    2.960000] axp20_ldo2: incomplete constraints, leaving on
  • <6>sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
  • [    2.970000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
  • <6>sunxi-rtc sunxi-rtc: read time 2013-9-14 22:40:56
  • [    2.980000] sunxi-rtc sunxi-rtc: read time 2013-9-14 22:40:56
  • [mmc]: mmc 3 power on !!
  • [    2.990000] [mmc]: mmc 3 power on !!
  • <6>sunxi-rtc sunxi-rtc: setting system clock to 2013-09-14 22:40:56 UTC (1379198456)
  • [    3.000000] sunxi-rtc sunxi-rtc: setting system clock to 2013-09-14 22:40:56 UTC (1379198456)
  • <6>ALSA device list:
  • [    3.010000] ALSA device list:
  • <6>  #0: sun4i-CODEC  Audio Codec
  • [    3.020000]   #0: sun4i-CODEC  Audio Codec
  • <4>EXT2-fs (nandb): warning: mounting unchecked fs, running e2fsck is recommended
  • [    3.040000] EXT2-fs (nandb): warning: mounting unchecked fs, running e2fsck is recommended
  • <6>VFS: Mounted root (ext2 filesystem) on device 93:2.
  • [    3.050000] VFS: Mounted root (ext2 filesystem) on device 93:2.
  • [mmc]: sdxc_request_done(L1114): [    3.060000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 52,  RTO !!
  • smc 3 err, cmd 52,  RTO !!
  • [mmc]: sdxc_request_done(L1114): [    3.080000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 52,  RTO !!
  • smc 3 err, cmd 52,  RTO !!
  • [mmc]: sdxc_request_done(L1114): [    3.090000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 8,  RTO !!
  • smc 3 err, cmd 8,  RTO !!
  • [mmc]: sdxc_request_done(L1114): [    3.100000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 5,  RTO !!
  • smc 3 err, cmd 5,  RTO !!
  • <6>devtmpfs: mounted
  • [    3.120000] devtmpfs: mounted
  • [mmc]: sdxc_request_done(L1114): [    3.120000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 5,  RTO !!
  • smc 3 err, cmd 5,  RTO !!
  • <6>Freeing init memory: 168K
  • [    3.130000] Freeing init memory: 168K
  • [mmc]: sdxc_request_done(L1114): [    3.140000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 5,  RTO !!
  • smc 3 err, cmd 5,  RTO !!
  • [mmc]: sdxc_request_done(L1114): [    3.150000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 5,  RTO !!
  • smc 3 err, cmd 5,  RTO !!
  • [mmc]: sdxc_request_done(L1114): [    3.160000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 55,  RTO !!
  • smc 3 err, cmd 55,  RTO !!
  • [mmc]: sdxc_request_done(L1114): [    3.180000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 55,  RTO !!
  • smc 3 err, cmd 55,  RTO !!
  • [mmc]: sdxc_request_done(L1114): [    3.190000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 55,  RTO !!
  • smc 3 err, cmd 55,  RTO !!
  • [mmc]: sdxc_request_done(L1114): [    3.200000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 55,  RTO !!
  • smc 3 err, cmd 55,  RTO !!
  • [mmc]: sdxc_request_done(L1114): [    3.220000] [mmc]: sdxc_request_done(L1114): smc 3 err, cmd 1,  RTO !!
  • smc 3 err, cmd 1,  RTO !!
  • [mmc]: mmc 3 power off !!
  • [    3.230000] [mmc]: mmc 3 power off !!
  • mount: mounting devpts on /dev/pts failed: No such file or directory
  • Processing /etc/profile... Done
  • / #


[color=rgb(46, 166, 255) !important]复制代码

然后呢,我自己弄了我的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都有
  • / # busybox
  • BusyBox v1.21.1 (2013-09-14 22:43:52 CST) multi-call binary.
  • BusyBox is copyrighted by many authors between 1998-2012.
  • Licensed under GPLv2. See source distribution for detailed
  • copyright notices.
  • Usage: busybox [function [arguments]...]
  •    or: busybox --list[-full]
  •    or: busybox --install [-s] [DIR]
  •    or: function [arguments]...
  •         BusyBox is a multi-call binary that combines many common Unix
  •         utilities into a single executable.  Most people will create a
  •         link to busybox for each function they wish to use and BusyBox
  •         will act like whatever it was invoked as.
  • Currently defined functions:
  •         [, [[, acpid, add-shell, addgroup, adduser, adjtimex, arp, arping, ash,
  •         awk, base64, basename, beep, blkid, blockdev, bootchartd, brctl,
  •         bunzip2, bzcat, bzip2, cal, cat, catv, chat, chattr, chgrp, chmod,
  •         chown, chpasswd, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm,
  •         conspy, cp, cpio, crond, crontab, cryptpw, cttyhack, cut, date, dc, dd,
  •         deallocvt, delgroup, deluser, depmod, devmem, df, dhcprelay, diff,
  •         dirname, dmesg, dnsd, dnsdomainname, dos2unix, dpkg, dpkg-deb, du,
  •         dumpkmap, dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid,
  •         ether-wake, expand, expr, fakeidentd, false, fbset, fbsplash, fdflush,
  •         fdformat, fdisk, fgconsole, fgrep, find, findfs, flock, fold, free,
  •         freeramdisk, fsck, fsck.minix, fsync, ftpd, ftpget, ftpput, fuser,
  •         getopt, getty, grep, groups, gunzip, gzip, halt, hd, hdparm, head,
  •         hexdump, hostid, hostname, httpd, hush, hwclock, id, ifconfig, ifdown,
  •         ifenslave, ifplugd, ifup, inetd, init, insmod, install, ionice, iostat,
  •         ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel,
  •         kbd_mode, kill, killall, killall5, klogd, last, less, linux32, linux64,
  •         linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread,
  •         losetup, lpd, lpq, lpr, ls, lsattr, lsmod, lsof, lspci, lsusb, lzcat,
  •         lzma, lzop, lzopcat, makedevs, makemime, man, md5sum, mdev, mesg,
  •         microcom, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, mkfs.minix,
  •         mkfs.vfat, mknod, mkpasswd, mkswap, mktemp, modinfo, modprobe, more,
  •         mount, mountpoint, mpstat, mt, mv, nameif, nanddump, nandwrite,
  •         nbd-client, nc, netstat, nice, nmeter, nohup, nslookup, ntpd, od,
  •         openvt, passwd, patch, pgrep, pidof, ping, ping6, pipe_progress,
  •         pivot_root, pkill, pmap, popmaildir, poweroff, powertop, printenv,
  •         printf, ps, pscan, pstree, pwd, pwdx, raidautorun, rdate, rdev,
  •         readahead, readlink, readprofile, realpath, reboot, reformime,
  •         remove-shell, renice, reset, resize, rev, rm, rmdir, rmmod, route, rpm,
  •         rpm2cpio, rtcwake, run-parts, runlevel, runsv, runsvdir, rx, script,
  •         scriptreplay, sed, sendmail, seq, setarch, setconsole, setfont,
  •         setkeycodes, setlogcons, setserial, setsid, setuidgid, sh, sha1sum,
  •         sha256sum, sha3sum, sha512sum, showkey, slattach, sleep, smemcap,
  •         softlimit, sort, split, start-stop-daemon, stat, strings, stty, su,
  •         sulogin, sum, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl,
  •         syslogd, tac, tail, tar, tcpsvd, tee, telnet, telnetd, test, tftp,
  •         tftpd, time, timeout, top, touch, tr, traceroute, traceroute6, true,
  •         tty, ttysize, tunctl, ubiattach, ubidetach, ubimkvol, ubirmvol,
  •         ubirsvol, ubiupdatevol, udhcpc, udhcpd, udpsvd, umount, uname,
  •         uncompress, unexpand, uniq, unix2dos, unlzma, unlzop, unxz, unzip,
  •         uptime, users, usleep, uudecode, uuencode, vconfig, vi, vlock, volname,
  •         wall, watch, watchdog, wc, wget, which, who, whoami, whois, xargs, xz,
  •         xzcat, yes, zcat, zcip


[color=rgb(46, 166, 255) !important]复制代码

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

原文作者:tll
原文链接:http://forum.cubietech.com/forum.php?mod=viewthread&tid=1107&extra=page%3D2
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|联系我们|极客工坊 ( 浙ICP备09023225号 )

GMT+8, 2019-8-19 04:02 , Processed in 0.047832 second(s), 24 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表