3.Orangepi PC2 使用busybox制作文件系统

 

  1. 官网下载最新版正式版BusyBox 1.30.1 (stable)https://busybox.net/
  2. 解压后,进入busybox目录
$make menuconfig CROSS_COMPILE=aarch64-linux-gnu-
    Settings  ---> 
        --- Build Options                                                   
        [*] Build static binary (no shared libs)                             
        [ ] Force NOMMU build                                               
        (aarch64-linux-gnu-) Cross compiler prefix  
        [*] Support /etc/networks 
    #退出,保存配置
    $make CROSS_COMPILE=aarch64-linux-gnu-
   $make install CROSS_COMPILE=aarch64-linux-gnu- 

文件安装到了当前目录下的_install目录

$ls
bin  linuxrc  sbin  usr
$mkdir dev proc sys tmp var mnt
$mkdir var/log var/lock var/lib var/run
$mkdir etc/init.d -p
$touch etc/init.d/rcS

 

$vim etc/inittab
::sysinit:/etc/init.d/rcS
ttyS0::askfirst:-/bin/sh
::ctrlaltdel:/sbin/reboot
::shutdown:/bin/umount -a -r
::shutdown:/sbin/swapoff -a
$vim etc/profile
export PS1="^_^\w#"

 

$chmod 0777 * -R
$vim etc/init.d/rcS
mount -t proc none /proc
mount -t sysfs none /sys
mount -t tmpfs none /tmp
mount -t ramfs none /dev
mdev -s

syslogd

echo /sbin/mdev > /proc/sys/kernel/hotplug

 

#必须在_install 目录
$pwd
/root/Oriangepi/busybox-1.30.1/_install
$tar cvf rootfs.tar.gz *

#挂载u盘,现下面是自动挂载目录,拷贝到第二个分区
$tar -xvf rootfs.tar.gz -C /media/root/rootfs/

下面将上章的驱动也拷贝进去,当然你也可以在内核目录用make model_install命令安装到sdb2目录

$cd /root/Oriangepi/OrangePiH5/output
$tar cvf OrangepiH5_lib.tar.gz ./lib/
$tar -xvf OrangepiH5_lib.tar.gz -C /media/root/rootfs/
$umount /dev/sdb2
$umount /dev/sdb1

如果进入文件失败,和mkfs.ext4版本有关,请按上一章格式化第二个分区

下面为引导信息

HELLO! BOOT0 is starting!
boot0 commit : 661df598b3672fc3bc3e0c2425a77170a26d7a0d

boot0 version : 4.0
set pll start
set pll end
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000
DRAM BOOT DRIVE INFO: V0.6
the chip id is 0x00000001
the chip id is 0x00000001
the chip id is 0x00000001
the chip id is 0x00000001
the chip id is 0x00000001
axp not exist
DRAM CLK =672 MHZ
DRAM Type =3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM zq value: 0x003b3bf9
DRAM SIZE =1024 M
DRAM simple test OK.
dram size =1024
card no is 0
sdcard 0 line count 4
[mmc]: mmc driver ver 2016-03-15 20:40
[mmc]: sdc0 spd mode error, 2
[mmc]: Wrong media type 0x00000000
[mmc]: ***[2]Try SD card 0***
[mmc]: HSSDR52/SDR25 4 bit
[mmc]: 50000000 Hz
[mmc]: 30436 MB
[mmc]: ***SD/MMC 0 init OK!!!***
sum=aae18245
src_sum=aae18245
read boot-pkg from emmc 32800 sector
Succeed in loading uboot from sdmmc flash.
Entry_name        = u-boot
Entry_name        = monitor
Entry_name        = scp
set arisc reset to de-assert state
Ready to disable icache.
▒▒NFO:    Configuring SPC Controller
NOTICE:  BL3-1: v1.0(debug):3ffd944
NOTICE:  BL3-1: Built : 11:09:10, Aug 30 2016
NOTICE:  BL3-1 commit: 3ffd9442d4769d7fc0002770e3b69b55150a288e

INFO:    BL3-1: Initializing runtime services
ERROR:   Error initializing runtime service tspd_fast
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x4a000000
INFO:    BL3-1: Next image spsr = 0x1d3


U-Boot 2014.07-g661df59-dirty (Apr 28 2019 - 21:05:01) Allwinner Technology

uboot commit : 661df598b3672fc3bc3e0c2425a77170a26d7a0d

secure enable bit: 0
i2c: secure monitor exist
[      0.737]pmbus:   ready
u0:48105000
[      0.741][ARISC] :arisc initialize
[      0.771][ARISC] :arisc para ok
[SCP] :sunxi-arisc driver begin startup 2
[SCP] :arisc version: [sun8iw5_v0.03.00-244-gb750b8e]
[SCP] :sunxi-arisc driver v1.20 is starting
[      0.786][ARISC] :sunxi-arisc driver startup succeeded
axp: get node[charger0] error
[SCP ERROR] :message process error
[SCP ERROR] :message addr   : 48105080
[SCP ERROR] :message state  : 5
[SCP ERROR] :message attr   : 2
[SCP ERROR] :message type   : 80
[SCP ERROR] :message result : f3
[SCP WARING] :callback not install
[SCP ERROR] :arisc twi read pmu reg 0x3 err
probe axp806 failed
axp_probe error
[      0.821]PMU: cpux 1008 Mhz,AXI=336 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz MBus=400Mhz
run key detect
no key found
no uart input
DRAM:  1 GiB
fdt addr: 0x76e9f080
Relocation Offset is: 35ef2000
axp: get node[charger0] error
In:    serial
Out:   serial
Err:   serial
gic: sec monitor mode
[box standby] read rtc = 0x0
[box standby] start_type = 0x1
[box standby] to kernel
boot_init_gpio used
ir boot recovery not used
workmode = 0,storage type = 1
[      1.026]MMC:        0
[mmc]: mmc driver ver 2016-05-20 17:18:00-test0
[mmc]: get card2_boot_para:sdc_ex_dly_used 0
[mmc]: no mmc-hs400-1_8v!
[mmc]: no mmc-hs200-1_8v!
[mmc]: no mmc-ddr-1_8v!
[mmc]: delete max-frequency from dtb
SUNXI SD/MMC: 0
[mmc]: 50 MHz...
[mmc]: sample: 62 - 161(ps)
[mmc]: 100 MHz...
[mmc]: sample: 31 - 161(ps)
[mmc]: 200 MHz...
[mmc]: sample: 16 - 156(ps)
[mmc]: media type 0x0
[mmc]: Wrong media type 0x0
[mmc]: ************Try SD card 0************
[mmc]: host caps: 0x27
[mmc]: MID 03 PSN 4a541998
[mmc]: PNM SC32G -- 0x53-43-33-32-47
[mmc]: PRV 8.0
[mmc]: MDT m-12 y-2018
[mmc]: speed mode     : HSSDR52/SDR25
[mmc]: clock          : 50000000 Hz
[mmc]: bus_width      : 4 bit
[mmc]: user capacity  : 30436 MB
[mmc]: ************SD/MMC 0 init OK!!!************
[mmc]: erase_grp_size      : 0x1WrBlk*0x200=0x200 Byte
[mmc]: secure_feature      : 0x0
[mmc]: secure_removal_type : 0x0
[      1.234]sunxi flash init ok
[      1.250]start
drv_disp_init
tv_init:
tv_probe:000
no report hpd work,you need support the switch class!
screen 0 don't support TV!
tv_init:
fetch tv1 err.
drv_disp_init finish
hdcp is closed by sys config.
no the part:Reserve0
hpd_dev_num=2, id of def_output_dev is 0
hdmi hpd out, force open?
fdt_setprop_u32 disp.init_disp(0x20b0404) code:<no error>
fb_id=0, size=3686400, gd->ram_size=1073741824, SUNXI_DISPLAY_FRAME_BUFFER_SIZE=16777216
[      1.822]end
PowerBus = 0( 2:vBus 3:acBus other: not exist)
no battery, limit to dc
no battery exist
sunxi_bmp_logo_display
[boot disp] can not find the partition Reserve0
bmp_name=bootlogo.bmp
** Bad device size - sunxi_flash 0 **
sunxi bmp info error : unable to open logo file bootlogo.bmp
fail to find part named env
Using default environment

--------fastboot partitions--------
mbr not exist
base bootcmd=run mmcbootcmd
bootcmd set setargs_mmc
no misc partition is found
to be run cmd=run mmcbootcmd
cann't get the boot_base from the env
read item0 copy0
Item0 (Map) magic is bad
the secure storage item0 copy0 is bad
read item0 copy1
Item0 (Map) magic is bad
the secure storage item0 copy0 == copy1, the data is good
the secure storage map is empty
check user data form private
the private part isn't exist
update dtb dram start
update dtb dram  end
serial is: 24005035c120582a084c
[      1.990]inter uboot shell
Hit any key to stop autoboot:  0
Loading orangepi uEnv.txt from 40000000 ...
reading uEnv.txt
[mmc]: blkcnt should not be 0
114 bytes read in 1 ms (111.3 KiB/s)
Loading boot environment ...
reading boot.scr
** Unable to read file boot.scr **
Booting with defaults ...
Loading orangepi orangepi/OrangePiH5.dtb from 44000000 ...
reading orangepi/OrangePiH5.dtb
73231 bytes read in 6 ms (11.6 MiB/s)
Loading orangepi orangepi/uImage from 4007ffc0 ...
reading orangepi/uImage
12200584 bytes read in 520 ms (22.4 MiB/s)
reading initrd.img
1090786 bytes read in 48 ms (21.7 MiB/s)
Loading orangepi initrd.img from 44300000 ...
bootm kernel:4007ffc0 initrd:44300000 ...
bootm initd_size:10a4e2 fdt_addr:44000000 ...
## Booting kernel from Legacy Image at 4007ffc0 ...
   Image Name:   OrangePiH5
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    12200520 Bytes = 11.6 MiB
   Load Address: 40080000
   Entry Point:  40080000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
   reserving fdt memory region: addr=40020000 size=800
   reserving fdt memory region: addr=48000000 size=1000000
   reserving fdt memory region: addr=48100000 size=4000
   reserving fdt memory region: addr=48104000 size=1000
   reserving fdt memory region: addr=48105000 size=1000
   Loading Ramdisk to 76d85000, end 76e8f4e2 ... OK
   Using Device Tree in place at 44000000, end 44015e1f

Starting kernel ...

INFO:    BL3-1: Next image address = 0x40080000
INFO:    BL3-1: Next image spsr = 0x3c5
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.65+ (root@flary-VirtualBox) (gcc version 4.9.3 20150113 (prerelease) (Linaro GCC 4.9-2015.01-3) ) #1 SMP PREEMPT Sun Apr 28 22:34:08 CST 2019
[    0.000000] CPU: AArch64 Processor [410fd034] revision 4
[    0.000000] Machine: sun50iw2
[    0.000000] cma: CMA: reserved 16 MiB at 7f000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] PERCPU: Embedded 12 pages/cpu @ffffffc03ef95000 s20224 r8192 d20736 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258560
[    0.000000] Kernel command line: console=tty0 console=ttyS0,115200n8 no_console_suspend earlycon=uart,mmio32,0x01c28000 mac_addr= root=/dev/mmcblk0p2 ro rootwait
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 1024MB = 1024MB total
[    0.000000] Memory: 985196k/985196k available, 63380k reserved
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000   (245759 MB)
[    0.000000]     vmemmap : 0xffffffbc00e00000 - 0xffffffbc01c00000   (    14 MB)
[    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000]       .init : 0xffffffc000ad0000 - 0xffffffc000b59f00   (   552 kB)
[    0.000000]       .text : 0xffffffc000080000 - 0xffffffc000acf6f4   ( 10558 kB)
[    0.000000]       .data : 0xffffffc000b5a000 - 0xffffffc000c22a48   (   803 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    4.091863] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    4.091896] pid_max: default: 32768 minimum: 301
[    4.092377] Security Framework initialized
[    4.092401] SELinux:  Initializing.
[    4.092772] Mount-cache hash table entries: 256
[    4.094775] Initializing cgroup subsys debug
[    4.094798] Initializing cgroup subsys freezer
[    4.095009] ftrace: allocating 28417 entries in 112 pages
[    4.130319] CPU0: update cpu_power 1024
[    4.130354] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[    4.132099] virtual base = 0xffffff800000a000.
[    4.132127] gicd_base = 0xffffff800000c000.
[    4.132140] gicc_base = 0xffffff800000e000.
[    4.134071] CPU1: Booted secondary processor
[    4.134096] CPU1: update cpu_power 1024
[    4.135866] CPU2: Booted secondary processor
[    4.135878] CPU2: update cpu_power 1024
[    4.137628] CPU3: Booted secondary processor
[    4.137640] CPU3: update cpu_power 1024
[    4.137719] Brought up 4 CPUs
[    4.137804] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    4.139092] devtmpfs: initialized
[    4.169494] atomic64 test passed
[    4.169520] pinctrl core: initialized pinctrl subsystem
[    4.172349] NET: Registered protocol family 16
[    4.174929] dump_class_init,839, success
[    4.176161] vdso: 2 pages (1 code, 1 data) at base ffffffc000b69000
[    4.176200] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    4.177460] software IO TLB [mem 0x7d000000-0x7d400000] (4MB) mapped at [ffffffc03d000000-ffffffc03d3fffff]
[    4.178675] DMA: preallocated 256 KiB pool for atomic allocations
[    4.179341] pll_audio-set_default_rate=24576000 success!
[    4.179381] pll_video-set_default_rate=297000000 success!
[    4.179433] pll_ve-set_default_rate=420000000 success!
[    4.179556] pll_de-set_default_rate=864000000 success!
[    4.179857] ahb1-set_default_rate=200000000 success!
[    4.180715] de-set_default_source=pll_de success!
[    4.180732] de-set_default_rate=432000000 success!
[    4.180800] tcon0-set_default_source=pll_video success!
[    4.180889] tve-set_default_source=pll_de success!
[    4.181187] hdmi-set_default_source=pll_video success!
[    4.184850] sun50iw2p1-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    4.187742] sun50iw2p1-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    4.189819] sunxi hwspinlock vbase:0xffffff800005c000
[    4.273211] bio: create slab <bio-0> at 0
[    4.274261] pwm module init!
[    4.280468] SCSI subsystem initialized
[    4.281525] usbcore: registered new interface driver usbfs
[    4.281760] usbcore: registered new interface driver hub
[    4.283338] usbcore: registered new device driver usb
[    4.285731] Linux video capture interface: v2.00
[    4.292518] [ARISC] :sunxi-arisc driver v1.20
[    4.293412] [ARISC] :sunxi-arisc driver v1.20 startup succeeded
[    4.294092] Advanced Linux Sound Architecture Driver Initialized.
[    4.295555] Bluetooth: Core ver 2.16
[    4.295771] NET: Registered protocol family 31
[    4.295787] Bluetooth: HCI device and connection manager initialized
[    4.295830] Bluetooth: HCI socket layer initialized
[    4.295868] Bluetooth: L2CAP socket layer initialized
[    4.295940] Bluetooth: SCO socket layer initialized
[    4.296825] cfg80211: Calling CRDA to update world regulatory domain
[    4.297601] [pm]aw_pm_init!
[    4.297709] np name = /soc@01c00000/rtc@01f00000.
[    4.297726] base = ffffff800006c100, len = 4.
[    4.297741] pmu name: pmic0 .
[    4.297821] Warning: can not find np for pmic0.
[    4.297837] pmu name: pmic1 .
[    4.297866] Warning: can not find np for pmic1.
[    4.297954] add_sys_pwr_dm: get ldo name  for id: vcc-lpddr failed
[    4.297973] add_sys_pwr_dm: get ldo name  for id: vcc-pl failed
[    4.297992] add_sys_pwr_dm: axpdummy_ldo6 ldo already alwayson.
[    4.298024] add_sys_pwr_dm: vcc-pc not sys id.
[    4.298038] after inited: sys_mask config = 0x4855.
[    4.298070] Warning: can not find np for dynamic_standby_para.
[    4.298214] [pm]valid
[    4.298224] [pm]valid
[    4.298234] Notice: sun9i & sun8iw5 & sun50i not need support normal standby,                                change to super standby.
[    4.298275] [DISP]disp_module_init
[    4.299132] [DISP] disp_boot_para_parse,line:347:of_property_read disp.init_disp fail
[    4.299159] [DISP] init_disp:0x0
[    4.299174] [DISP] boot_disp:0x0
[    4.299702] [DISP] fb_base:0x0
[    4.303735] [DISP] Fb_copy_boot_fb,line:959:no boot_fb0
[    4.308674] [DISP]disp_module_init finish
[    4.309794] sunxi budget cooling probe start !
[    4.309831] CPU freq cooling register Success
[    4.309856] CPU hotplug cooling register Success
[    4.310196] CPU budget cooling register Success
[    4.311906] input: sunxi-ths as /devices/virtual/input/input0
[    4.311955] thermal thermal_zone0: failed to read out thermal zone 0
[    4.312461] Switching to clocksource arch_sys_counter
[    4.357149] FS-Cache: Loaded
[    4.357717] CacheFiles: Loaded
[    4.384794] NET: Registered protocol family 2
[    4.386311] TCP established hash table entries: 8192 (order: 5, 131072 bytes)
[    4.386494] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    4.386656] TCP: Hash tables configured (established 8192 bind 8192)
[    4.387845] TCP: reno registered
[    4.387864] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    4.387905] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    4.388657] NET: Registered protocol family 1
[    4.389698] RPC: Registered named UNIX socket transport module.
[    4.389717] RPC: Registered udp transport module.
[    4.389732] RPC: Registered tcp transport module.
[    4.389746] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    4.390713] Unpacking initramfs...
[    4.437704] Freeing initrd memory: 1064K (ffffffc036d85000 - ffffffc036e8f000)
[    4.438810] lock super standby defaultly!
[    4.438840] lookup_scene_lock_name: new scene lock super_standby
[    4.438857] scene_lock_init name=super_standby
[    4.438873] scene_lock: super_standby, type 5, count 1
[    4.440127] audit: initializing netlink socket (disabled)
[    4.440222] type=2000 audit(0.330:1): initialized
[    4.445551] FS-Cache: Netfs 'nfs' registered for caching
[    4.446801] FS-Cache: Netfs 'cifs' registered for caching
[    4.447710] NTFS driver 2.1.30 [Flags: R/W].
[    4.447990] fuse init (API version 7.22)
[    4.449171] msgmni has been set to 1958
[    4.451716] io scheduler noop registered
[    4.451737] io scheduler deadline registered
[    4.451863] io scheduler cfq registered (default)
[    4.453328] sunxi_bootup_extend_probe: bootup extend state 1
[    4.453348] bootup extend probe ok
[    4.453923] failed to get easy_light_used assign
[    4.453942] failed to get standby led pin assign
[    4.453996] gpio_pin_1(362) gpio_is_valid
[    4.454303] gpio_pin_2(20) gpio_is_valid
[    4.454652] gpio name is PL10, ret = 0
[    4.454988] gpio name is PA20, ret = 0
[    4.455442] gpio_init finish with uesd
[    4.456589] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[    4.456623] sw_console_setup()1268 - console setup baud 115200 parity n bits 8, flow n
[    5.368037] console [ttyS0] enabled
[    5.372802] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI
[    5.380031] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI
[    5.388606] misc dump reg init
[    5.400278] loop: module loaded
[    5.403770] Get boot type cmd line fail
[    5.410772] spi spi0: master is unqueued, this is deprecated
[    5.417712] spi spi1: master is unqueued, this is deprecated
[    5.426282] tun: Universal TUN/TAP device driver, 1.6
[    5.431813] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    5.440779] eth0: Use random mac address
[    5.445364] PPP generic driver version 2.4.2
[    5.450567] PPP BSD Compression module registered
[    5.455734] PPP Deflate Compression module registered
[    5.461272] PPP MPPE Compression module registered
[    5.466520] NET: Registered protocol family 24
[    5.471430] PPTP driver version 0.8.5
[    5.475711] hso: drivers/net/usb/hso.c: Option Wireless
[    5.482043] usbcore: registered new interface driver hso
[    5.488081] usbcore: registered new interface driver asix
[    5.494210] usbcore: registered new interface driver ax88179_178a
[    5.501068] usbcore: registered new interface driver cdc_ether
[    5.507668] usbcore: registered new interface driver net1080
[    5.514063] usbcore: registered new interface driver cdc_subset
[    5.520733] usbcore: registered new interface driver zaurus
[    5.527067] usbcore: registered new interface driver cdc_ncm
[    5.533268] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.540673] get ehci0-controller, regulator_io is no nocare
[    5.546858] [sunxi-ehci0]: probe, pdev->name: 1c1a000.ehci0-controller, sunxi_ehci: 0xffffffc000d183e0, 0x:ffffff8000b36000, irq_no:68
[    5.560164] sunxi-ehci 1c1a000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.570093] sunxi-ehci 1c1a000.ehci0-controller: new USB bus registered, assigned bus number 1
[    5.580073] sunxi-ehci 1c1a000.ehci0-controller: irq 104, io mem 0xffffffc00047a564
[    5.601571] sunxi-ehci 1c1a000.ehci0-controller: USB 0.0 started, EHCI 1.00
[    5.609313] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.616751] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.624669] usb usb1: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.632864] usb usb1: Manufacturer: Linux 3.10.65+ ehci_hcd
[    5.638958] usb usb1: SerialNumber: sunxi-ehci
[    5.644849] hub 1-0:1.0: USB hub found
[    5.648975] hub 1-0:1.0: 1 port detected
[    5.653710] get drv_vbus is fail, 84
[    5.657618] get ehci1-controller, regulator_io is no nocare
[    5.663780] [sunxi-ehci1]: probe, pdev->name: 1c1b000.ehci1-controller, sunxi_ehci: 0xffffffc000d18660, 0x:ffffff8000b3c000, irq_no:6a
[    5.677078] sunxi-ehci 1c1b000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.687005] sunxi-ehci 1c1b000.ehci1-controller: new USB bus registered, assigned bus number 2
[    5.696861] sunxi-ehci 1c1b000.ehci1-controller: irq 106, io mem 0xffffffc00047a564
[    5.719649] sunxi-ehci 1c1b000.ehci1-controller: USB 0.0 started, EHCI 1.00
[    5.727375] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    5.734814] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.742726] usb usb2: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.750955] usb usb2: Manufacturer: Linux 3.10.65+ ehci_hcd
[    5.757050] usb usb2: SerialNumber: sunxi-ehci
[    5.762867] hub 2-0:1.0: USB hub found
[    5.766991] hub 2-0:1.0: 1 port detected
[    5.771709] get drv_vbus is fail, 84
[    5.775618] get ehci2-controller, regulator_io is no nocare
[    5.781779] [sunxi-ehci2]: probe, pdev->name: 1c1c000.ehci2-controller, sunxi_ehci: 0xffffffc000d188e0, 0x:ffffff8000b44000, irq_no:6c
[    5.795077] sunxi-ehci 1c1c000.ehci2-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.805002] sunxi-ehci 1c1c000.ehci2-controller: new USB bus registered, assigned bus number 3
[    5.814873] sunxi-ehci 1c1c000.ehci2-controller: irq 108, io mem 0xffffffc00047a564
[    5.837729] sunxi-ehci 1c1c000.ehci2-controller: USB 0.0 started, EHCI 1.00
[    5.845346] ehci_irq: highspeed device connect
[    5.850343] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    5.857782] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.865684] usb usb3: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.873911] usb usb3: Manufacturer: Linux 3.10.65+ ehci_hcd
[    5.880022] usb usb3: SerialNumber: sunxi-ehci
[    5.885994] hub 3-0:1.0: USB hub found
[    5.890130] hub 3-0:1.0: 1 port detected
[    5.894833] get drv_vbus is fail, 84
[    5.898753] get ehci3-controller, regulator_io is no nocare
[    5.904906] [sunxi-ehci3]: probe, pdev->name: 1c1d000.ehci3-controller, sunxi_ehci: 0xffffffc000d18b60, 0x:ffffff8000b4c000, irq_no:6e
[    5.918206] sunxi-ehci 1c1d000.ehci3-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.928132] sunxi-ehci 1c1d000.ehci3-controller: new USB bus registered, assigned bus number 4
[    5.938017] sunxi-ehci 1c1d000.ehci3-controller: irq 110, io mem 0xffffffc00047a564
[    5.965650] sunxi-ehci 1c1d000.ehci3-controller: USB 0.0 started, EHCI 1.00
[    5.973383] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    5.980822] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.988766] usb usb4: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.996963] usb usb4: Manufacturer: Linux 3.10.65+ ehci_hcd
[    6.003058] usb usb4: SerialNumber: sunxi-ehci
[    6.008850] hub 4-0:1.0: USB hub found
[    6.012972] hub 4-0:1.0: 1 port detected
[    6.017985] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.024994] get ohci0-controller, regulator_io is no nocare
[    6.031144] hci: request ohci0-controller gpio:354
[    6.036396] ohci0-controller get usb clk_usbohci12m clk failed.
[    6.042870] ohci0-controller get usb clk_hoscx2 clk failed.
[    6.048972] ohci0-controller get usb clk_hosc failed.
[    6.054505] ohci0-controller get usb clk_losc clk failed.
[    6.060409] [sunxi-ohci0]: probe, pdev->name: 1c1a000.ohci0-controller, sunxi_ohci: 0xffffffc000d179e0
[    6.070660] sunxi-ohci 1c1a000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    6.080209] sunxi-ohci 1c1a000.ohci0-controller: new USB bus registered, assigned bus number 5
[    6.089733] sunxi-ohci 1c1a000.ohci0-controller: irq 105, io mem 0x76b076c07630720
[    6.156656] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[    6.164096] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.171999] usb usb5: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    6.179814] usb usb5: Manufacturer: Linux 3.10.65+ ohci_hcd
[    6.185918] usb usb5: SerialNumber: sunxi-ohci
[    6.191667] hub 5-0:1.0: USB hub found
[    6.195801] hub 5-0:1.0: 1 port detected
[    6.200490] get drv_vbus is fail, 84
[    6.201828] usb 3-1: new high-speed USB device number 2 using sunxi-ehci
[    6.211776] get ohci1-controller, regulator_io is no nocare
[    6.217923] ohci1-controller get usb clk_usbohci12m clk failed.
[    6.224413] ohci1-controller get usb clk_hoscx2 clk failed.
[    6.230514] ohci1-controller get usb clk_hosc failed.
[    6.236051] ohci1-controller get usb clk_losc clk failed.
[    6.241966] [sunxi-ohci1]: probe, pdev->name: 1c1b000.ohci1-controller, sunxi_ohci: 0xffffffc000d17c60
[    6.252214] sunxi-ohci 1c1b000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    6.261761] sunxi-ohci 1c1b000.ohci1-controller: new USB bus registered, assigned bus number 6
[    6.271256] sunxi-ohci 1c1b000.ohci1-controller: irq 107, io mem 0x76b076c07630720
[    6.333765] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    6.341205] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.349111] usb usb6: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    6.356926] usb usb6: Manufacturer: Linux 3.10.65+ ohci_hcd
[    6.363061] usb usb6: SerialNumber: sunxi-ohci
[    6.369089] usb 3-1: New USB device found, idVendor=0bda, idProduct=8179
[    6.376428] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.384255] usb 3-1: Product: 802.11n NIC
[    6.384312] hub 6-0:1.0: USB hub found
[    6.384345] hub 6-0:1.0: 1 port detected
[    6.384743] get drv_vbus is fail, 84
[    6.384746] get ohci2-controller, regulator_io is no nocare
[    6.384800] ohci2-controller get usb clk_usbohci12m clk failed.
[    6.384803] ohci2-controller get usb clk_hoscx2 clk failed.
[    6.384807] ohci2-controller get usb clk_hosc failed.
[    6.384811] ohci2-controller get usb clk_losc clk failed.
[    6.384815] [sunxi-ohci2]: probe, pdev->name: 1c1c000.ohci2-controller, sunxi_ohci: 0xffffffc000d17ee0
[    6.384876] sunxi-ohci 1c1c000.ohci2-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    6.384897] sunxi-ohci 1c1c000.ohci2-controller: new USB bus registered, assigned bus number 7
[    6.384969] sunxi-ohci 1c1c000.ohci2-controller: irq 109, io mem 0x00000000
[    6.442016] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    6.442022] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.442027] usb usb7: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    6.442031] usb usb7: Manufacturer: Linux 3.10.65+ ohci_hcd
[    6.442036] usb usb7: SerialNumber: sunxi-ohci
[    6.501778] usb 3-1: Manufacturer: Realtek
[    6.502296] hub 7-0:1.0: USB hub found
[    6.502326] hub 7-0:1.0: 1 port detected
[    6.502705] get drv_vbus is fail, 84
[    6.502708] get ohci3-controller, regulator_io is no nocare
[    6.502758] ohci3-controller get usb clk_usbohci12m clk failed.
[    6.502762] ohci3-controller get usb clk_hoscx2 clk failed.
[    6.502765] ohci3-controller get usb clk_hosc failed.
[    6.502769] ohci3-controller get usb clk_losc clk failed.
[    6.502773] [sunxi-ohci3]: probe, pdev->name: 1c1d000.ohci3-controller, sunxi_ohci: 0xffffffc000d18160
[    6.502828] sunxi-ohci 1c1d000.ohci3-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    6.502849] sunxi-ohci 1c1d000.ohci3-controller: new USB bus registered, assigned bus number 8
[    6.502921] sunxi-ohci 1c1d000.ohci3-controller: irq 111, io mem 0x00000000
[    6.585339] usb 3-1: SerialNumber: 00F006000388
[    6.589629] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    6.589635] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.589640] usb usb8: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    6.589644] usb usb8: Manufacturer: Linux 3.10.65+ ohci_hcd
[    6.589649] usb usb8: SerialNumber: sunxi-ohci
[    6.590516] hub 8-0:1.0: USB hub found
[    6.590544] hub 8-0:1.0: 1 port detected
[    6.591614] usbcore: registered new interface driver usb-storage
[    6.591825] usbcore: registered new interface driver ums-alauda
[    6.592030] usbcore: registered new interface driver ums-cypress
[    6.592232] usbcore: registered new interface driver ums-datafab
[    6.592440] usbcore: registered new interface driver ums_eneub6250
[    6.592643] usbcore: registered new interface driver ums-freecom
[    6.592840] usbcore: registered new interface driver ums-isd200
[    6.593045] usbcore: registered new interface driver ums-jumpshot
[    6.593249] usbcore: registered new interface driver ums-karma
[    6.593446] usbcore: registered new interface driver ums-onetouch
[    6.593658] usbcore: registered new interface driver ums-realtek
[    6.593868] usbcore: registered new interface driver ums-sddr09
[    6.594070] usbcore: registered new interface driver ums-sddr55
[    6.594272] usbcore: registered new interface driver ums-usbat
[    6.595065] usbcore: registered new interface driver usbserial
[    6.595272] usbcore: registered new interface driver option
[    6.595502] usbserial: USB Serial support registered for GSM modem (1-port)
[    6.745729] mousedev: PS/2 mouse device common for all mice
[    6.752708] usbcore: registered new interface driver xpad
[    6.758903] usbcore: registered new interface driver usb_acecad
[    6.765602] usbcore: registered new interface driver aiptek
[    6.771929] usbcore: registered new interface driver gtco
[    6.778078] usbcore: registered new interface driver hanwang
[    6.784501] usbcore: registered new interface driver kbtab
[    6.790735] usbcore: registered new interface driver wacom
[    6.798261] Set vaild hardware RTC date 2019-01-01
[    6.804160] sunxi-rtc 1f00000.rtc: rtc core: registered sunxi-rtc as rtc0
[    6.811628] sunxi-rtc 1f00000.rtc: RTC enabled
[    6.817242] IR NEC protocol handler initialized
[    6.822210] IR RC5(x) protocol handler initialized
[    6.827448] IR RC6 protocol handler initialized
[    6.832407] IR JVC protocol handler initialized
[    6.837359] IR Sony protocol handler initialized
[    6.842413] IR RC5 (streamzap) protocol handler initialized
[    6.848505] IR SANYO protocol handler initialized
[    6.853660] IR MCE Keyboard/mouse protocol handler initialized
[    6.860036] sunxi cedar version 0.1
[    6.864069] [cedar]: install start!!!
[    6.868161] cedar_ve: cedar-ve the get irq is 90
[    6.873881] [cedar]: install end!!!
[    6.890307] sunxi gpu cooling probe start !
[    6.894924] CPU gpu cooling register Success
[    6.900027] device-mapper: uevent: version 1.0.3
[    6.905573] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[    6.915017] Bluetooth: HCI UART driver ver 2.2
[    6.919878] Bluetooth: HCI H4 protocol initialized
[    6.925128] Bluetooth: HCI Realtek H5 protocol initialized
[    6.931135] rtk_btcoex: rtk_uart_coex_init, version: 1.1
[    6.936941] rtk_btcoex: create workqueue
[    6.942220] cpuidle: using governor ladder
[    6.946701] cpuidle: using governor menu
[    6.952962] sunxi-mmc 1c0f000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.54 2016-05-11 21:04) Compiled in Apr 28 2019 at 22:28:15
[    6.965994] sunxi-mmc 1c0f000.sdmmc: regulator prop vmmc,str vcc-sdcv
[    6.973058] sunxi-mmc 1c0f000.sdmmc: regulator prop vqmmc,str vcc-sdcvq33
[    6.980497] sunxi-mmc 1c0f000.sdmmc: regulator prop vdmmc,str vcc-sdcvd
[    6.987747] sunxi-mmc 1c0f000.sdmmc: No vmmc regulator found
[    6.993945] sunxi-mmc 1c0f000.sdmmc: No vqmmc regulator found
[    7.000238] sunxi-mmc 1c0f000.sdmmc: No vdmmc regulator found
[    7.007097] sunxi-mmc 1c0f000.sdmmc: Got CD GPIO #166.
[    7.013153] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.038211] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.068118] sunxi-mmc 1c0f000.sdmmc: base:0xffffff8000b6c000 irq:92
[    7.069738] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.072124] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.077322] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[    7.077365] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[    7.079741] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[    7.133315] hidraw: raw HID events driver (C) Jiri Kosina
[    7.146880] mmc0: host does not support reading read-only switch. assuming write-enable.
[    7.153042] usbcore: registered new interface driver usbhid
[    7.153045] usbhid: USB HID core driver
[    7.154023] zram: Created 1 device(s) ...
[    7.171378] ashmem: initialized
[    7.175146] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[    7.175169] logger: created 256K log 'log_main'
[    7.175530] logger: created 256K log 'log_events'
[    7.175883] logger: created 256K log 'log_radio'
[    7.176259] logger: created 256K log 'log_system'
[    7.179502] AUDIO :get regulator name failed .
[    7.211742] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[    7.223992] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 4 timing SD-HS(SDR25) dt B
[    7.235864] mmc0: new high speed SDHC card at address aaaa
[    7.236096] sunxi-codec-machine sound.6:  sun50iw2codec <-> 1c22c00.cpudai0-controller mapping ok
[    7.252234] sndhdmi sound.7:  sndhdmi <-> 1c22800.daudio mapping ok
[    7.259154] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
[    7.264537] u32 classifier
[    7.267545]     Actions configured
[    7.271267] Netfilter messages via NETLINK v0.30.
[    7.271323]  mmcblk0: p1 p2
[    7.279639] nf_conntrack version 0.5.0 (7833 buckets, 31332 max)
[    7.286772] ctnetlink v0.93: registering with nfnetlink.
[    7.294890] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    7.302510] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    7.310190] xt_time: kernel timezone is -0000
[    7.315105] ipip: IPv4 over IPv4 tunneling driver
[    7.321393] gre: GRE over IPv4 demultiplexor driver
[    7.326743] ip_gre: GRE over IPv4 tunneling driver
[    7.334581] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.340865] arp_tables: (C) 2002 David S. Miller
[    7.346049] TCP: bic registered
[    7.349481] TCP: cubic registered
[    7.353115] TCP: westwood registered
[    7.357022] TCP: htcp registered
[    7.360547] Initializing XFRM netlink socket
[    7.365595] NET: Registered protocol family 10
[    7.373297] mip6: Mobile IPv6
[    7.376628] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    7.383041] sit: IPv6 over IPv4 tunneling driver
[    7.389559] NET: Registered protocol family 17
[    7.394511] NET: Registered protocol family 15
[    7.399929] Bluetooth: RFCOMM TTY layer initialized
[    7.405334] Bluetooth: RFCOMM socket layer initialized
[    7.410952] Bluetooth: RFCOMM ver 1.11
[    7.415066] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.420874] Bluetooth: BNEP filters: protocol multicast
[    7.426626] Bluetooth: BNEP socket layer initialized
[    7.432066] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    7.438564] Bluetooth: HIDP socket layer initialized
[    7.444674] Registering SWP/SWPB emulation handler
[    7.451785] [DISP] boot_disp:0x0
[    7.456783] [HDMI] cec support = 1
[    7.561315] there is no tve dac(0) offset value.
[    7.566377] [DISP] boot_disp:0x0
[    7.570074] [DISP] disp_init_tv,line:641:screen 0 don't support TV!
[    8.159969] [DISP] disp_device_attached_and_enable,line:165:attched ok, mgr0<-->device0, type=4, mode=4
[    8.171144] usb_serial_number:20080411
[    8.176026] file system registered
[    8.183849] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    8.191420] android_usb gadget: Number of LUNs=3
[    8.196505]  lun0: LUN: removable file: (no medium)
[    8.201861]  lun1: LUN: removable file: (no medium)
[    8.207197]  lun2: LUN: removable file: (no medium)
[    8.213608] android_usb gadget: android_usb ready
[    8.218962] sunxi-rtc 1f00000.rtc: setting system clock to 2019-01-01 00:00:07 UTC (1546300807)
[    8.237637] ALSA device list:
[    8.240925]   #0: audiocodec
[    8.244071]   #1: sndhdmi
[    8.247549] Freeing unused kernel memory: 548K (ffffffc000ad0000 - ffffffc000b59000)
Kernel params: console=tty0 console=ttyS0,115200n8 no_console_suspend earlycon=uart,mmio32,0x01c28000 mac_addr= root=/dev/mmcblk0p2 ro rootwait
Waiting for root system /dev/mmcblk0p2, countdown : 5
Rootfs: /dev/mmcblk0p2
[    8.349459] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (244)
[    8.362242] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    8.423582] EXT4-fs (mmcblk0p2): recovery complete
[    8.429856] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

Please press Enter to activate this console.
^_^/#ls
bin         lib         mnt         sys         var
dev         linuxrc     proc        tmp
etc         lost+found  sbin        usr
^_^/#ls
bin         lib         mnt         sys         var
dev         linuxrc     proc        tmp
etc         lost+found  sbin        usr
^_^/#

 

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页