本帖最后由 tll 于 2013-6-21 23:47 编辑
感谢hipboi,本帖子在Ubuntu 12.04.1 (Mac)下写
A 直接用img弄,但是这样分区大小固定
img我用的是512的卡导出的,下次给
B 用fdisk分区,分区大小为最大
其中分两个,一种不编译,下载编译好的,一种自己编译
这里讲不需要编译的
先下载东西:- wget http://stud.netgroup.uniroma2.it/~saverio/sunxi/v4/openwrt-sunxi-cubie-rootfs.tar.gz
- #下载rootfs
- wget http://stud.netgroup.uniroma2.it/~saverio/sunxi/v4/script.bin
- #下载script.bin配置文件
- wget http://stud.netgroup.uniroma2.it/~saverio/sunxi/v4/sunxi-spl.bin
- wget http://stud.netgroup.uniroma2.it/~saverio/sunxi/v4/u-boot.bin
- #下载uboot
- wget http://stud.netgroup.uniroma2.it/~saverio/sunxi/v4/openwrt-sunxi-uImage
- #下载uimage
复制代码 然后呢,插入SD卡(读卡器),使用dmesg命令看下SD卡是哪个文件,我就因为弄错文件而把我的本地磁盘格式化了……幸亏找回了数据
我这里以/dev/sdb为例开始
Ubuntu会自动挂上插入的磁盘,所以我们需要去掉挂载(假设我的SD上有两个分区)- umount /dev/sdb1
- umount /dev/sdb2
复制代码 然后开始分区咯,先用fdisk -l记录下磁盘的数据(这是我另一个卡,只有32M,给大家做演示的)- Disk /dev/sdb: 32 MB, 32112640 bytes
- 2 heads, 32 sectors/track, 980 cylinders, total 62720 sectors
- Units = sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x00000000
- Device Boot Start End Blocks Id System
复制代码 由上可知,1 sector是512字节,即2 sectors就是1kb了,总共有62740个(不同卡可能不同)
再输入 fdisk /dev/sdb,然后输入d 1,再输入 d 2,删除分区(这个不太确定命令是否正确)。
然后开始做第一个分区
要做第一个分区,我们可以使用berryboot的img文件,将他导入进卡即可,这里先不讲。
又或者,你可以继续用fdisk来执行操作,输入n,然后分区号,开始的值都是默认,下面的最后一个sector,我第一个分区需要32M,则
2(2sectors=1k)*1024(1024k=1m)*32(32M)+2048(加上开始的部分)=67584,比我的总数还大,这是因为32M的卡本身就没32M
然后再使用n命令一次,这次全部用默认值,最后用w命令写入。
格式化:- mkfs.vfat /dev/sdb1
- mkfs.ext4 /dev/sdb2
复制代码 然后呢,新建文件夹/temp挂上1到/temp,复制文件,去掉,又上2,解压rootfs- mount /dev/sdb1 /temp
- cp openwrt-sunxi-uImage /mnt/temp/uImage
- cp script.bin /mnt/temp/
- umount /mnt/temp
- mount /dev/sdb2 /temp
- cp openwrt-sunxi-cubie-rootfs.tar.gz /tmp
- cd /mnt/temp
- <pre>tar -zxvf /tmp/openwrt-sunxi-cubie-rootfs.tar.gz
- cd
- umount /mnt/temp
- </pre>
复制代码 OK~
该写入uboot了,执行:- dd if=sunxi-spl.bin of=/dev/sdb bs=1024 seek=8
- dd if=u-boot.bin of=/dev/sdb bs=1024 seek=32
复制代码 接下来插上TTL,然后给cb放上SD卡(两个都是必需要做),在终端里安装screen:- apt-get install screen -y
复制代码 接着启动:- screen /dev/ttyUSB0 115200
复制代码 此时终端变空了,插上电源,在3秒倒数是按下任意按钮进入uboot命令行,输入:- setenv setargs setenv bootargs console=${console} root=${root} loglevel=${loglevel} ${panicarg} ${extraargs} init=/etc/preinit
- saveenv
复制代码 原因:openwrt要先启动preinit而不是直接启动init
好了,使用boot命令启动吧~
最后附上启动出现的字:- U-Boot SPL 2012.10-04280-g1a8ac55 (May 25 2013 - 19:42:12)
- DRAM: 1024MB
- SUNXI SD/MMC: 0
- U-Boot 2012.10-04280-g1a8ac55 (May 25 2013 - 19:42:12) Allwinner Technology
- CPU: SUNXI Family
- Board: Cubieboard
- I2C: ready
- DRAM: 1 GiB
- MMC: SUNXI SD/MMC: 0
- In: serial
- Out: serial
- Err: serial
- Hit any key to stop autoboot: 0
- reading uEnv.txt
- ** Unable to read "uEnv.txt" from mmc 0:1 **
- Loading file "uEnv.txt" from mmc device 0:1
- Failed to mount ext2 filesystem...
- ** Bad ext2 partition or disk - mmc 0:1 **
- ext2load - load binary file from a Ext2 filesystem
- Usage:
- ext2load <interface> <dev[:part]> [addr] [filename] [bytes]
- - load binary file 'filename' from 'dev' on 'interface'
- to address 'addr' from ext2 filesystem
- Loading file "boot/uEnv.txt" from mmc device 0:1
- Failed to mount ext2 filesystem...
- ** Bad ext2 partition or disk - mmc 0:1 **
- ext2load - load binary file from a Ext2 filesystem
- Usage:
- ext2load <interface> <dev[:part]> [addr] [filename] [bytes]
- - load binary file 'filename' from 'dev' on 'interface'
- to address 'addr' from ext2 filesystem
- reading boot.scr
- ** Unable to read "boot.scr" from mmc 0:1 **
- Loading file "boot.scr" from mmc device 0:1
- Failed to mount ext2 filesystem...
- ** Bad ext2 partition or disk - mmc 0:1 **
- ext2load - load binary file from a Ext2 filesystem
- Usage:
- ext2load <interface> <dev[:part]> [addr] [filename] [bytes]
- - load binary file 'filename' from 'dev' on 'interface'
- to address 'addr' from ext2 filesystem
- Loading file "boot/boot.scr" from mmc device 0:1
- Failed to mount ext2 filesystem...
- ** Bad ext2 partition or disk - mmc 0:1 **
- ext2load - load binary file from a Ext2 filesystem
- Usage:
- ext2load <interface> <dev[:part]> [addr] [filename] [bytes]
- - load binary file 'filename' from 'dev' on 'interface'
- to address 'addr' from ext2 filesystem
- reading script.bin
- 43628 bytes read
- reading uImage
- 3410200 bytes read
- ## Booting kernel from Legacy Image at 48000000 ...
- Image Name: Linux-3.4.43
- Image Type: ARM Linux Kernel Image (uncompressed)
- Data Size: 3410136 Bytes = 3.3 MiB
- Load Address: 40008000
- Entry Point: 40008000
- Verifying Checksum ... OK
- Loading Kernel Image ... OK
- OK
- Starting kernel ...
- [ 0.000000] Booting Linux on physical CPU 0
- [ 0.000000] Linux version 3.4.43 (saverio@nockid) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r36556) ) #1 PREEMPT Sat May 25 19:11:24 CEST 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 Reserved:
- [ 0.000000] SYS : 0x43000000 - 0x4300ffff ( 64 kB)
- [ 0.000000] VE : 0x44000000 - 0x48ffffff ( 80 MB)
- [ 0.000000] G2D : 0x49000000 - 0x49ffffff ( 16 MB)
- [ 0.000000] Memory policy: ECC disabled, Data cache writeback
- [ 0.000000] chip-id: A10 (AW1623 revision C)
- [ 0.000000] On node 0 totalpages: 262144
- [ 0.000000] free_area_init_node: node 0, pgdat c0669974, node_mem_map c0710000
- [ 0.000000] Normal zone: 1520 pages used for memmap
- [ 0.000000] Normal zone: 0 pages reserved
- [ 0.000000] Normal zone: 193040 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: 260096
- [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10 init=/etc/preinit
- [ 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: 1024MB = 1024MB total
- [ 0.000000] Memory: 933936k/933936k available, 114640k 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 - 0xc0600000 (6112 kB)
- [ 0.000000] .init : 0xc0600000 - 0xc062a000 ( 168 kB)
- [ 0.000000] .data : 0xc062a000 - 0xc0672d98 ( 292 kB)
- [ 0.000000] .bss : 0xc0672dbc - 0xc070f220 ( 626 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.000000] Calibrating delay loop... 383.38 BogoMIPS (lpj=1916928)
- [ 0.050000] pid_max: default: 32768 minimum: 301
- [ 0.050000] Mount-cache hash table entries: 512
- [ 0.050000] CPU: Testing write buffer coherency: ok
- [ 0.050000] Setting up static identity map for 0x4044dc10 - 0x4044dc68
- [ 0.050000] devtmpfs: initialized
- [ 0.050000] dummy:
- [ 0.050000] NET: Registered protocol family 16
- [ 0.050000] Init eGon pin module V2.0
- [ 0.050000] SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
- [ 0.050000] Initialize DMAC OK
- [ 0.050000] bio: create slab <bio-0> at 0
- [ 0.050000] SCSI subsystem initialized
- [ 0.050000] libata version 3.00 loaded.
- [ 0.050000] usbcore: registered new interface driver usbfs
- [ 0.050000] usbcore: registered new interface driver hub
- [ 0.050000] usbcore: registered new device driver usb
- [ 0.050000] Linux video capture interface: v2.00
- [ 0.050000] Advanced Linux Sound Architecture Driver Version 1.0.25.
- [ 0.050000] Bluetooth: Core ver 2.16
- [ 0.060000] NET: Registered protocol family 31
- [ 0.060000] Bluetooth: HCI device and connection manager initialized
- [ 0.060000] Bluetooth: HCI socket layer initialized
- [ 0.060000] Bluetooth: L2CAP socket layer initialized
- [ 0.060000] Bluetooth: SCO socket layer initialized
- [ 0.060000] cfg80211: Calling CRDA to update world regulatory domain
- [ 0.060000] Switching to clocksource aw 64bits couter
- [ 0.060000] FS-Cache: Loaded
- [ 0.060000] CacheFiles: Loaded
- [ 0.090000] sw_hcd_host0 sw_hcd_host0: sw_hcd host driver
- [ 0.090000] sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1
- [ 0.090000] hub 1-0:1.0: USB hub found
- [ 0.090000] hub 1-0:1.0: 1 port detected
- [ 0.090000] NET: Registered protocol family 2
- [ 0.090000] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
- [ 0.090000] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
- [ 0.100000] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
- [ 0.100000] TCP: Hash tables configured (established 131072 bind 65536)
- [ 0.100000] TCP: reno registered
- [ 0.100000] UDP hash table entries: 512 (order: 1, 8192 bytes)
- [ 0.100000] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
- [ 0.100000] NET: Registered protocol family 1
- [ 0.100000] audit: initializing netlink socket (disabled)
- [ 0.100000] type=2000 audit(0.099:1): initialized
- [ 0.100000] highmem bounce pool size: 64 pages
- [ 0.110000] VFS: Disk quotas dquot_6.5.2
- [ 0.110000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
- [ 0.120000] fuse init (API version 7.18)
- [ 0.120000] msgmni has been set to 1296
- [ 0.120000] alg: No test for stdrng (krng)
- [ 0.120000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
- [ 0.120000] io scheduler noop registered
- [ 0.120000] io scheduler deadline registered
- [ 0.120000] io scheduler cfq registered (default)
- [ 0.120000] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
- [ 0.130000] [uart]: used uart info.: 0x05
- [ 0.130000] [uart]: serial probe 0 irq 1 mapbase 0x01c28000
- [ 0.150000] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 1) is a U6_16550A
- [ 0.680000] console [ttyS0] enabled
- [ 0.680000] [uart]: serial probe 2 irq 3 mapbase 0x01c28800
- [ 0.710000] sunxi-uart.2: ttyS1 at MMIO 0x1c28800 (irq = 3) is a U6_16550A
- [ 0.720000] G2D: drv_g2d_init
- [ 0.720000] G2D: g2dmem: g2d_start=49000000, g2d_size=1000000
- [ 0.730000] G2D: head:c9000000,tail:ca000000
- [ 0.730000] G2D: Module initialized.major:252
- [ 0.740000] brd: module loaded
- [ 0.740000] loop: module loaded
- [ 0.750000] [NAND]nand driver, init.
- [ 0.750000] cmu_clk is 480
- [ 0.750000] nand clk init end
- [ 0.760000] offset 0xc: 0x6141
- [ 0.760000] offset 0x14: 0x8200000b
- [ 0.760000] [NAND] nand gpio_request
- [ 0.770000] [NAND] nand driver version: 0x2 0x9
- [ 0.770000] nand interrupte register ok
- [ 0.780000] ret of NFC_ChangMode is 0
- [ 0.780000] dma_hdle is 0
- [ 0.780000] dma_hdle is 10000008
- [ 0.790000] cmu_clk is 480
- [ 0.790000] nand clk init end
- [ 0.790000] offset 0xc: 0x6141
- [ 0.800000] offset 0x14: 0x82000007
- [ 0.860000] Dev nand: part 1, start 2048, size 131072
- [ 0.860000] Dev nand: part 2, start 133120, size 4096
- [ 0.870000] Dev nand: part 3, start 137216, size 2097152
- [ 0.870000] Dev nand: part 4, start 2234368, size 2097152
- [ 0.880000] Dev nand: part 5, start 4331520, size 2097152
- [ 0.880000] Dev nand: part 6, start 6428672, size 1048576
- [ 0.890000] Dev nand: part 7, start 7477248, size 501760
- [ 0.890000] nand: nanda nandb nandc nandd nande nandf nandg
- [ 0.900000] benn: nand probe enter
- [ 0.910000] [NAND]nand driver, ok.
- [ 0.910000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
- [ 0.920000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
- [ 0.920000] [sw-ehci1]: open clock
- [ 0.950000] [sw-ehci1]: Set USB Power ON
- [ 0.950000] sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
- [ 0.960000] sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 2
- [ 0.960000] sw-ehci sw-ehci.1: irq 39, io mem 0xf1c14000
- [ 0.990000] sw-ehci sw-ehci.1: USB 0.0 started, EHCI 1.00
- [ 0.990000] hub 2-0:1.0: USB hub found
- [ 1.000000] hub 2-0:1.0: 1 port detected
- [ 1.000000] [sw-ohci1]: open clock
- [ 1.020000] sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
- [ 1.030000] sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 3
- [ 1.040000] sw-ohci sw-ohci.1: irq 64, io mem 0xf1c14400
- [ 1.100000] hub 3-0:1.0: USB hub found
- [ 1.100000] hub 3-0:1.0: 1 port detected
- [ 1.110000] [sw-ehci2]: open clock
- [ 1.130000] [sw-ehci2]: Set USB Power ON
- [ 1.140000] sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
- [ 1.140000] sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 4
- [ 1.150000] sw-ehci sw-ehci.2: irq 40, io mem 0xf1c1c000
- [ 1.180000] sw-ehci sw-ehci.2: USB 0.0 started, EHCI 1.00
- [ 1.180000] hub 4-0:1.0: USB hub found
- [ 1.190000] hub 4-0:1.0: 1 port detected
- [ 1.190000] [sw-ohci2]: open clock
- [ 1.210000] sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
- [ 1.220000] sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 5
- [ 1.230000] sw-ohci sw-ohci.2: irq 65, io mem 0xf1c1c400
- [ 1.290000] hub 5-0:1.0: USB hub found
- [ 1.290000] hub 5-0:1.0: 1 port detected
- [ 1.300000] mousedev: PS/2 mouse device common for all mice
- [ 1.300000] sunxi RTC version 0.1
- [ 1.310000] sunxi-rtc sunxi-rtc: sunxi_rtc_probe tmp_data = 380248073
- [ 1.310000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
- [ 1.320000] sunxi-rtc sunxi-rtc: read time 2010-1-1 0:4:16
- [ 1.330000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
- [ 1.330000] sunxi-rtc sunxi-rtc: read time 2010-1-1 0:4:16
- [ 1.340000] sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0
- [ 1.340000] i2c /dev entries driver
- [ 1.350000] lirc_dev: IR Remote Control driver registered, major 251
- [ 1.350000] IR NEC protocol handler initialized
- [ 1.360000] IR RC5(x) protocol handler initialized
- [ 1.360000] IR RC6 protocol handler initialized
- [ 1.370000] IR JVC protocol handler initialized
- [ 1.370000] IR Sony protocol handler initialized
- [ 1.380000] IR RC5 (streamzap) protocol handler initialized
- [ 1.380000] IR SANYO protocol handler initialized
- [ 1.390000] IR MCE Keyboard/mouse protocol handler initialized
- [ 1.390000] IR LIRC bridge handler initialized
- [ 1.400000] [cedar dev]: install start!!!
- [ 1.400000] [cedar dev]: install end!!!
- [ 1.400000] [ace_drv] start!!!
- [ 1.410000] [ace_drv] init end!!!
- [ 1.410000] [pa_drv] start!!!
- [ 1.410000] [pa_drv] init end!!!
- [ 1.420000] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
- [ 1.430000] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
- [ 1.430000] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
- [ 1.440000] platform reg-20-cs-buck2: Driver reg-20-cs-buck2 requests probe deferral
- [ 1.450000] platform reg-20-cs-buck3: Driver reg-20-cs-buck3 requests probe deferral
- [ 1.460000] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
- [ 1.470000] Bluetooth: HCI UART driver ver 2.2
- [ 1.470000] Bluetooth: HCI H4 protocol initialized
- [ 1.480000] Bluetooth: HCI BCSP protocol initialized
- [ 1.480000] Bluetooth: HCILL protocol initialized
- [ 1.480000] cpuidle: using governor ladder
- [ 1.490000] cpuidle: using governor menu
- [ 1.490000] [mmc_pm]: no sdio card used in configuration
- [ 1.500000] [mmc]: sunximmc_init
- [ 1.500000] [mmc]: sunxi mmc controller using config : 0xb
- [ 1.510000] [mmc]: sunxi-mmc.0: pdev->name: sunxi-mmc, pdev->id: 0
- [ 1.510000] [mmc]: mmc 0 power off !!
- [ 1.520000] [mmc]: mmc0 Probe: base:0xf1c0f000 irq:32 dma:0 pdes:0xef394000, ret 0.
- [ 1.530000] [mmc]: sunxi-mmc.1: pdev->name: sunxi-mmc, pdev->id: 1
- [ 1.530000] [mmc]: mmc 1 power off !!
- [ 1.540000] [mmc]: mmc1 Probe: base:0xf1c10000 irq:33 dma:0 pdes:0xef398000, ret 0.
- [ 1.550000] [mmc]: sunxi-mmc.3: pdev->name: sunxi-mmc, pdev->id: 3
- [ 1.550000] [mmc]: mmc 3 power off !!
- [ 1.560000] [mmc]: mmc3 Probe: base:0xf1c12000 irq:35 dma:0 pdes:0xef39c000, ret 0.
- [ 1.570000] IPv4 over IPv4 tunneling driver
- [ 1.570000] TCP: cubic registered
- [ 1.570000] Initializing XFRM netlink socket
- [ 1.580000] NET: Registered protocol family 10
- [ 1.590000] IPv6 over IPv4 tunneling driver
- [ 1.590000] NET: Registered protocol family 17
- [ 1.600000] NET: Registered protocol family 15
- [ 1.600000] Bluetooth: RFCOMM TTY layer initialized
- [ 1.610000] Bluetooth: RFCOMM socket layer initialized
- [ 1.610000] Bluetooth: RFCOMM ver 1.11
- [ 1.620000] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
- [ 1.620000] Bluetooth: BNEP filters: protocol multicast
- [ 1.630000] 8021q: 802.1Q VLAN Support v1.8
- [ 1.630000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
- [ 1.640000] Registering SWP/SWPB emulation handler
- [ 1.640000] registered taskstats version 1
- [ 1.650000] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
- [ 1.660000] platform reg-20-cs-buck3: Driver reg-20-cs-buck3 requests probe deferral
- [ 1.660000] platform reg-20-cs-buck2: Driver reg-20-cs-buck2 requests probe deferral
- [ 1.670000] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
- [ 1.680000] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
- [ 1.690000] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
- [ 1.690000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime
- [ 1.700000] sunxi-rtc sunxi-rtc: read time 2010-1-1 0:4:16
- [ 1.710000] sunxi-rtc sunxi-rtc: setting system clock to 2010-01-01 00:04:16 UTC (1262304256)
- [ 1.710000] ALSA device list:
- [ 1.720000] No soundcards found.
- [ 1.720000] Waiting for root device /dev/mmcblk0p2...
- [ 2.520000] [mmc]: mmc 0 detect change, present 1
- [ 2.820000] [mmc]: mmc 0 power on !!
- [ 2.860000] [mmc]: sdxc_request_done(L1114): smc 0 err, cmd 52, RTO !!
- [ 2.860000] [mmc]: sdxc_request_done(L1114): smc 0 err, cmd 52, RTO !!
- [ 2.870000] [mmc]: sdxc_request_done(L1114): smc 0 err, cmd 8, RTO !!
- [ 2.880000] [mmc]: sdxc_request_done(L1114): smc 0 err, cmd 5, RTO !!
- [ 2.890000] [mmc]: sdxc_request_done(L1114): smc 0 err, cmd 5, RTO !!
- [ 2.900000] [mmc]: sdxc_request_done(L1114): smc 0 err, cmd 5, RTO !!
- [ 2.900000] [mmc]: sdxc_request_done(L1114): smc 0 err, cmd 5, RTO !!
- [ 2.920000] [mmc]: sdxc_request_done(L1114): smc 0 err, cmd 8, RTO !!
- [ 2.940000] mmc0: new high speed SD card at address 0260
- [ 2.950000] mmcblk0: mmc0:0260 NCard 481 MiB
- [ 2.960000] mmcblk0: p1 p2
- [ 2.960000] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
- [ 2.970000] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
- [ 2.980000] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
- [ 2.980000] platform reg-20-cs-buck2: Driver reg-20-cs-buck2 requests probe deferral
- [ 2.990000] platform reg-20-cs-buck3: Driver reg-20-cs-buck3 requests probe deferral
- [ 3.000000] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
- [ 3.050000] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
- [ 3.060000] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
- [ 3.080000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
- [ 3.090000] VFS: Mounted root (ext4 filesystem) on device 179:2.
- [ 3.100000] devtmpfs: mounted
- [ 3.100000] Freeing init memory: 168K
- probing /dev/mmcblk0 for uboot env data
- Detected generic sunxi // generic sunxi
- - preinit -
- Press the [f] key and hit [enter] to enter failsafe mode
- - regular preinit -
- [ 9.270000] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
- - init -
- Please press Enter to activate this console. [ 10.500000] !!! base_Addr = 0xf1c2ac00
- [ 10.510000] config i2c gpio with gpio_config api
- [ 10.510000] twi0, apb clock = 24000000
- [ 10.530000] axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected
- [ 10.550000] axp20_ldo1: 1300 mV
- [ 10.570000] axp20_ldo2: 1800 <--> 3300 mV at 3000 mV
- [ 10.600000] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
- [ 10.600000] platform reg-20-cs-buck3: Driver reg-20-cs-buck3 requests probe deferral
- [ 10.620000] axp20_ldo3: 700 <--> 3500 mV at 2800 mV
- [ 10.640000] platform reg-20-cs-buck2: Driver reg-20-cs-buck2 requests probe deferral
- [ 10.640000] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
- [ 10.680000] axp20_ldo4: 1250 <--> 3300 mV at 2800 mV
- [ 10.740000] axp20_ldo2: Failed to create debugfs directory
- [ 10.740000] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
- [ 10.820000] axp20_buck2: 700 <--> 2275 mV at 1400 mV
- [ 10.820000] platform reg-20-cs-buck3: Driver reg-20-cs-buck3 requests probe deferral
- [ 10.900000] axp20_buck3: 700 <--> 3500 mV at 1250 mV
- [ 10.970000] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
- [ 10.990000] axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV
- [ 11.080000] input: axp20-supplyer as /devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.41/input/input0
- [ 11.380000] I2C: i2c-0: AW16XX I2C adapter
- [ 11.490000] !!! base_Addr = 0xf1c2b000
- [ 11.490000] twi1, apb clock = 24000000
- [ 11.580000] I2C: i2c-1: AW16XX I2C adapter
- [ 11.650000] !!! base_Addr = 0xf1c2b400
- [ 11.650000] twi2, apb clock = 24000000
- [ 11.760000] I2C: i2c-2: AW16XX I2C adapter
- [ 11.930000] enter sun4i Audio codec!!!
- [ 11.930000] sun4i audio support initialized
- [ 11.940000] sun4i Audio codec successfully loaded..
- [ 11.960000] input: sun4i-ir as /devices/virtual/input/input1
- [ 11.960000] IR Initial OK
- [ 11.970000] wemac Ethernet Driver, V1.01 in file:drivers/net/ethernet/sun4i/sun4i_wemac.c
- [ 11.980000] [EMAC] ahb clk enable
- [ 11.980000] [EMAC] ahb gate clk: 0x2615f
- [ 12.030000] emac MAC isn't valid!
- [ 12.040000] sw_ahci sw_ahci.0: controller can't do PMP, turning off CAP_PMP
- [ 12.050000] sw_ahci sw_ahci.0: forcing PORTS_IMPL to 0x1
- [ 12.060000] sw_ahci sw_ahci.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
- [ 12.070000] sw_ahci sw_ahci.0: flags: ncq sntf pm led clo only pio slum part ccc
- [ 12.070000] scsi0 : sw_ahci_platform
- [ 12.080000] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 56
- [ 12.440000] ata1: SATA link down (SStatus 0 SControl 300)
- [ 12.480000] PPP generic driver version 2.4.2
- [ 12.500000] tun: Universal TUN/TAP device driver, 1.6
- [ 12.500000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
- [ 12.540000] ip_tables: (C) 2000-2006 Netfilter Core Team
- [ 12.600000] xt_time: kernel timezone is -0000
- [ 12.630000] nf_conntrack version 0.5.0 (14595 buckets, 58380 max)
- [ 12.730000] usbcore: registered new interface driver cdc_acm
- [ 12.740000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
- [ 12.760000] usbcore: registered new interface driver usbserial
- [ 12.770000] usbcore: registered new interface driver usbserial_generic
- [ 12.780000] USB Serial support registered for generic
- [ 12.780000] usbserial: USB Serial Driver core
- [ 12.800000] Initializing USB Mass Storage driver...
- [ 12.810000] usbcore: registered new interface driver usb-storage
- [ 12.810000] USB Mass Storage support registered.
- [ 12.820000] usbcore: registered new interface driver cdc_ncm
- [ 12.850000] usbcore: registered new interface driver option
- [ 12.860000] USB Serial support registered for GSM modem (1-port)
- [ 12.900000] usbcore: registered new interface driver uvcvideo
- [ 12.900000] USB Video Class driver (1.1.1)
- [ 16.030000] wemac wemac.0: WARNING: no IRQ resource flags set.
- [ 16.140000] wemac wemac.0: eth0: link down
- [ 16.140000] ADDRCONF(NETDEV_UP): eth0: link is not ready
- [ 16.210000] device eth0 entered promiscuous mode
- [ 16.210000] ADDRCONF(NETDEV_UP): br-lan: link is not ready
- BusyBox v1.19.4 (2013-05-25 19:11:40 CEST) built-in shell (ash)
- Enter 'help' for a list of built-in commands.
- _______ ________ __
- | |.-----.-----.-----.| | | |.----.| |_
- | - || _ | -__| || | | || _|| _|
- |_______|| __|_____|__|__||________||__| |____|
- |__| W I R E L E S S F R E E D O M
- -----------------------------------------------------
- BARRIER BREAKER (Bleeding Edge, r36713)
- -----------------------------------------------------
- * 1/2 oz Galliano Pour all ingredients into
- * 4 oz cold Coffee an irish coffee mug filled
- * 1 1/2 oz Dark Rum with crushed ice. Stir.
- * 2 tsp. Creme de Cacao
- -----------------------------------------------------
- root@OpenWrt:/#
复制代码 Busybox:- root@OpenWrt:/# busybox
- BusyBox v1.19.4 (2013-05-25 19:11:40 CEST) multi-call binary.
- Copyright (C) 1998-2011 Erik Andersen, Rob Landley, Denys Vlasenko
- and others. Licensed under GPLv2.
- See source distribution for full notice.
- Usage: busybox [function] [arguments]...
- or: busybox --list[-full]
- 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:
- [, [[, arping, ash, awk, basename, brctl, bunzip2, bzcat, cat, chgrp,
- chmod, chown, chroot, clear, cmp, cp, crond, crontab, cut, date, dd,
- df, dirname, dmesg, du, echo, egrep, env, expr, false, fgrep, find,
- free, fsync, grep, gunzip, gzip, halt, head, hexdump, hostid, hwclock,
- id, ifconfig, init, insmod, kill, killall, klogd, less, ln, lock,
- logger, logread, ls, lsmod, md5sum, mkdir, mkfifo, mknod, mkswap,
- mktemp, mount, mv, nc, netmsg, netstat, nice, nslookup, ntpd, passwd,
- pgrep, pidof, ping, ping6, pivot_root, poweroff, printf, ps, pwd,
- readlink, reboot, reset, rm, rmdir, rmmod, route, sed, seq, sh, sleep,
- sort, start-stop-daemon, strings, swapoff, swapon, switch_root, sync,
- sysctl, syslogd, tail, tar, tee, telnet, telnetd, test, time, top,
- touch, tr, traceroute, true, udhcpc, umount, uname, uniq, uptime,
- vconfig, vi, watchdog, wc, wget, which, xargs, yes, zcat
- root@OpenWrt:/#
复制代码 |