Firefly开源社区

标题: 求助:3288,启动后进入了recover模式,无法正常启动 [打印本页]

作者: yubang    时间: 2016-10-25 11:19
标题: 求助:3288,启动后进入了recover模式,无法正常启动
各位好,
我下载了firefly3288 5.1的代码,更新到最新的;
编译生成了各个映像,然后更新进去,发现板子只能进入到recovery模式,无法正常启动;
下面是我板子的启动信息,请帮忙看看是什么问题导致无法正常进入系统?
谢谢!

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x500
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.0 (david@david) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #10 SMP PREEMPT Thu Oct 20 17:59:37 CST 2016
[    0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Rockchip RK3288 (Flattened Device Tree), model: rockchip,rk3288
[    0.000000] rockchip_uboot_logo_setup: mem: 0x02000000@0xfbc00000, offset:0x00000000
[    0.000000] rockchip_uboot_mem_reserve: reserve 0x02000000@0xfbc00000 for uboot logo
[    0.000000] rockchip_ion_reserve
[    0.000000] ion heap(drm): base(0) size(0) align(0)
[    0.000000] ion heap(cma): base(0) size(28000000) align(0)
[    0.000000] ion heap(vmalloc): base(0) size(0) align(0)
[    0.000000] cma: CMA: reserved 640 MiB at d3c00000
[    0.000000] ion_reserve: cma reserved base d3c00000 size 671088640
[    0.000000] cma: CMA: reserved 16 MiB at 1f000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] Boot mode: RECOVERY (2) flag: RECOVER (0xc3524203)
[    0.000000] PERCPU: Embedded 9 pages/cpu @c2edd000 s13376 r8192 d15296 u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1039360
[    0.000000] Kernel command line: vmalloc=496M console=ttyS2 androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyS2 init=/init  mtdparts=rk29xxnand:0x00002000@0x000000007
[    0.000000] battery charged in loader
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] allocated 8323072 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 4064MB = 4064MB total
[    0.000000] Memory: 3397372k/3397372k available, 764164k reserved, 2949120K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0x0xc0008000 - 0xc0bab728   (11918 kB)
[    0.000000]       .init : 0xc0bac000 - 0xc0c05440   ( 358 kB)
[    0.000000]       .data : 0xc0c06000 - 0xc0d98840   (1611 kB)
[    0.000000]        .bss : 0xc0d98840 - 0xc0eb9afc   (1157 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] rk_clk_tree_init start!
[    0.000000] rkclk: _rkclk_add_provider: fail to get ehci1phy_12m_div
[    0.000000] rkclk: rkclk_cache_parents: ehci1phy_12m_div clk_get error
[    0.000000] rk_get_uboot_display_flag: uboot_logo_on = 1
[    0.000000] rkclk_init_clks: cnt_parent = 7
[    0.000000] rkclk_init_clks: cnt_rate = 28
[    0.000000] rk3288 set GPLL BW 20 for HDMI!
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: ARM arch timer >56 bits at 24000kHz, resolution 41ns
[    0.000000] process version: 2
[    0.000000] channel:0, lkg:31
[    0.000000] target-temp:80
[    0.000000] channel:2, lkg:0
[    0.000000] channel:0, lkg:31
[    0.000000]z, resolution 10000000ns, wraps every 4294967286ms
[    0.858235] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.858250] pid_max: default: 32768 minimum: 301
[    0.858365] Security Framework initialized
[    0.858381] SELinux:  Initializing.
[    0.858454] Mount-cache hash table entries: 512
[    0.859093] Initializing cgroup subsys debug
[    0.859107] Initializing cgroup subsys memory
[    0.859135] Initializing cgroup subsys freezer
[    0.859164] CPU: Testing write buffer coherency: ok
[    0.859475] /cpus/cpu@0 missing clock-frequency property
[    0.859488] /cpus/cpu@1 missing clock-frequency property
[    0.859497] /cpus/cpu@2 missing clock-frequency property
[    0.859506] /cpus/cpu@3 missing clock-frequency property
[    0.859565] CPU0: thread -1, cpu 0, socket 5, mpidr 80000500
[    0.859615] Setting up static identity map for 0xc0858038 - 0xc0858090
[    0.862731] last_log: 0x1e900000 map to 0xe0804000 and copy to 0xe0886000, size 0x80000 early 0x1861 (version 3.1)
[    0.936334] CPU1: Booted secondary processor
[    0.936368] CPU1: thread -1, cpu 1, socket 5, mpidr 80000501
[    0.956008] CPU2: Booted secondary processor
[    0.956032] CPU2: thread -1, cpu 2, socket 5, mpidr 80000502
[    0.975725] CPU3: Booted secondary processor
[    00.975850] Brought up 4 CPUs
[    0.975880] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.975889] CPU: All CPU(s) started in SVC mode.
[    0.976623] devtmpfs: initialized
[    0.981022] VFP support v0.3: implementor 41 architecture 3 part 30 variant d rev 0
[    0.982130] pinctrl core: initialized pinctrl subsystem
[    0.982379] regulator-dummy: no parameters
[    1.007551] NET: Registered protocol family 16
[    1.009444] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    1.009779] ion_snapshot: 0x1e9e8000 map to 0xe0907000 and copy to 0xc0e94e0c (version 0.1)
[    1.010013] Registered FIQ tty driver
[    1.010439] fiq-debugger is disabled in device tree
[    1.011124] rockchip_get_bank_data:name=base start=0xff750000,end=0xff7500ff
[    1.011146] rockchip_get_bank_data:name=mux_bank0 start=0xff730084,end=0xff73008f
[    1.011163] rockchip_get_bank_data:name=pull_bank0 start=0xff730064,end=0xff73006f
[    1.011179] rockchip_get_bank_data:name=drv_bank0 start=0xff730070,end=0xff73007b
[    1.011271] rockchip_get_bank_data:name=/pinctrl@ff770000/gpio1@ff780000 start=0xff780000,end=0xff7800ff
[    1.011335] rockchip_get_bank_data:name=/pinctrl@ff770000/gpio2@ff790000 start=0xff790000,end=0xff7900ff
[    1.011397] rockchip_get_bank_data:name=/pinctrl@ff770000/gpio3@ff7a0000 start=0xff7a0000,end=0xff7a00ff
[    1.011457] rockchip_get_bank_data:name=/pinctrl@ff770000/gpio4@ff7b0000 start=0xff7b0000,end=0xff7b00ff
[    1.011525] rockchip_get_bank_data:name=/pinctrl@ff770000/gpio5@ff7c0000 start=0xff7c0000,end=0xff7c00ff
[    1.011587] rockchip_get_bank_data:name=/pinctrl@ff770000/gpio6@ff7d0000 start=0xff7d0000,end=0xff7d00ff
[    1.011648] rockchip_get_bank_data:name=/pinctrl@ff770000/gpio7@ff7e0000 start=0xff7e0000,end=0xff7e00ff
[    1.011710] rockchip_get_bank_data:name=/pinctrl@ff770000/gpio8@ff7f0000 start=0xff7f0000,end=0xff7f00ff
[    1.011778] rockchip_get_bank_data:name=/pinctrl@ff770000/gpio15@ff7f2000 start=0xff7f2000,end=0xff7f20ff
[    1.011842] rockchip_pinctrl_probe:name=RK3288-GPIO,type=3
[    1.011854] rockchip_pinctrl_probe:name=base start=0xff770000,end=0xff77013f
[    1.011866] rockchip_pinctrl_probe:name=pull start=0xff770140,end=0xff7701bf
[    1.011877] rockchip_pinctrl_probe:name=drv start=0xff7701c0,end=0xff77023f
[    1.012501] rockchip_interrupts_register:bank_num=7
[    1.014449] of_get_gpio_init_config:gpio[0] = 256, value = 0
[    1.014470] of_get_gpio_init_config:gpio[1] = 136, value = 0
[    1.014534] rockchip_pinctrl_probe:init ok
[    1.021243] rk_iommu ff900800.iep_mmu: (iep) Enter
[    1.021336] rk_iommu ff900800.iep_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    1.021349] rk_iommu ff900800.iep_mmu: (iep) Initialized
[    1.021524] rk_iommu ff950800.vip_mmu: (vip) Enter
[    1.021597] rk_iommu ff950800.vip_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    1.021609] rk_iommu ff950800.vip_mmu: (vip) Initialized
[    1.021768] rk_iommu ff930300.vopb_mmu: (vopb) Enter
[    1.021840] rk_iommu ff930300.vopb_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    1.021852] rk_iommu ff930300.vopb_mmu: (vopb) Initialized
[    1.022013] rk_iommu ff940300.vopl_mmu: (vopl) Enter
[    1.022094] rk_iommu ff940300.vopl_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    1.022106] rk_iommu ff940300.vopl_mmu: (vopl) Initialized
[    1.022273] rk_iommu ff9c0440.hevc_mmu: (hevc) Enter
[    1.022347] rk_iommu ff9c0440.hevc_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    1.022359] rk_iommu ff9c0440.hevc_mmu: (hevc) Initialized
[    1.022525] rk_iommu ff9a0800.vpu_mmu: (vpu) Enter
[    1.022604] rk_iommu ff9a0800.vpu_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    1.022617] rk_iommu ff9a0800.vpu_mmu: (vpu) Initialized
[    1.022785] rk_iommu ff914000.isp_mmu: (isp_mmu) Enter
[    1.022861] rk_iommu ff914000.isp_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    1.022873] rk_iommu ff914000.isp_mmu: (isp_mmu) Initialized
[    1.024704] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    1.024717] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    1.025315] rk3368_init_rockchip_pmu_ops: could not find pmu dt node
[    1.025339] DDR DEBUG: version 1.00 20150126
[    1.025367] DDR DEBUG: Channel a:
[    1.025375] DDR DEBUG: DDR3 Device
[    1.025389] DDR DEBUG: Bus Width=32 Col=10 Bank=8 Row=15 CS=2 Total Capability=2048MB
[    1.025398] DDR DEBUG: Channel b:
[    1.025405] DDR DEBUG: DDR3 Device
[    1.025418] DDR DEBUG: Bus Width=32 Col=10 Bank=8 Row=15 CS=2 Total Capability=2048MB
[    1.025427] DDR DEBUG: addr=0xda2000
[    1.025436] DDR DEBUG: stride=13, size=256, halfcap=80000000
[    1.025445] DDR DEBUG: socAddr[0]=0xda2000, socAddr[1]=0xda2100
[    1.025455] DDR DEBUG: chAddr[0]=0xda2000, chAddr[1]=0xda2000
[    1.025466] DDR DEBUG: dtar[0]=0x201b4000, dtar[1]=0x201b4000
[    1.025519] DDR DEBUG: init success!!! freq=200MHz
[    1.025527] DDR DEBUG: Channel a:
[    1.025539] DDR DEBUG: DTONE=0x3, DTERR=0x0, DTIERR=0x0, DTPASS=4,4, DGSL=1,1 extra clock, DGPS=180,180
[    1.025551] DDR DEBUG: DTONE=0x3, DTERR=0x0, DTIERR=0x0, DTPASS=4,4, DGSL=1,1 extra clock, DGPS=180,180
[    1.025563] DDR DEBUG: DTONE=0x3, DTERR=0x0, DTIERR=0x0, DTPASS=4,4, DGSL=1,1 extra clock, DGPS=180,180
[    1.025576] DDR DEBUG: DTONE=0x3, DTERR=0x0, DTIERR=0x0, DTPASS=4,4, DGSL=1,1 extra clock, DGPS=180,180
[    1.025587] DDR DEBUG: ZERR=0, ZDONE=0, ZPD=0x0, ZPU=0x0, OPD=0x0, OPU=0x0
[    1.025596] DDR DEBUG: DRV Pull-Up=0x19, DRV Pull-Dwn=0x19
[    1.025605] DDR DEBUG: ODT Pull-Up=0x2, ODT Pull-Dwn=0x2
[    1.025612] DDR DEBUG: Channel b:
[    1.025623] DDR DEBUG: DTONE=0x3, DTERR=0x0, DTIERR=0x0, DTPASS=4,4, DGSL=1,1 extra clock, DGPS=180,180
[    1.025635] DDR DEBUG: DTONE=0x3, DTERR=0x0, DTIERR=0x0, DTPASS=4,4, DGSL=1,1 extra clock, DGPS=180,180
[    1.025647] DDR DEBUG: DTONE=0x3, DTERR=0x0, DTIERR=0x0, DTPASS=4,4, DGSL=1,1 extra clock, DGPS=180,180
[    1.025659] DDR DEBUG: DTONE=0x3, DTERR=0x0, DTIERR=0x0, DTPASS=4,4, DGSL=1,1 extra clock, DGPS=180,180
[    1.025670] DDR DEBUG: ZERR=0, ZDONE=0, ZPD=0x0, ZPU=0x0, OPD=0x0, OPU=0x0
[    1.025678] DDR DEBUG: DRV Pull-Up=0x19, DRV Pull-Dwn=0x19
[    1.025687] DDR DEBUG: ODT Pull-Up=0x2, ODT Pull-Dwn=0x2
[    1.049287] bio: create slab <bio-0> at 0
[    1.049780] Rockchip hdmi driver version 2.0
[    1.049780] .
[    1.050952] SCSI subsystem initialized
[    1.051112] usbcore: registered new interface driver usbfs
[    1.051163] usbcore: registered new interface driver hub
[    1.051253] usbcore: registered new device driver usb
[    1.054090] rockchip_i2c ff650000.i2c: i2c-0: Rockchip I2C adapter
[    1.054632] rockchip_i2c ff140000.i2c: i2c-1: Rockchip I2C adapter
[    1.055093] rockchip_i2c ff660000.i2c: i2c-2: Rockchip I2C adapter
[    1.055344] rockchip_i2c ff150000.i2c: i2c-3: Rockchip I2C adapter
[    1.056130] rockchip_i2c ff160000.i2c: i2c-4: Rockchip I2C adapter
[    1.056258] media: Linux media interface: v0.10
[    1.056303] Linux video capture interface: v2.00
[    1.056358] pps_core: LinuxPPS API ver. 1 registered
[    1.056368] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.056389] PTP clock support registered
[    1.056446] i2c-core: driver [bq24296] using legacy suspend method
[    1.056456] i2c-core: driver [bq24296] using legacy resume method
[    1.057174] ion_drm_heap_create: 0@0
[    1.057299] Rockchip ion module is successfully loaded (v1.1)
[    1.057457] Advanced Linux Sound Architecture Driver Initialized.
[    1.057834] Bluetooth: Core ver 2.16
[    1.057890] NET: Registered protocol family 31
[    1.057901] Bluetooth: HCI device and connection manager initialized
[    1.057917] Bluetooth: HCI socket layer initialized
[    1.057929] Bluetooth: L2CAP socket layer initialized
[    1.057955] Bluetooth: SCO socket layer initialized
[    1.058183] cfg80211: Calling CRDA to update world regulatory domain
[    1.058885] act8846_i2c_probe,line=898
[    1.060324] act8846 set 0xf4 error!
[    1.060411] act8846: probe of 0-005a failed with error -11
[    1.064914] vdd_arm: 712 <--> 1500 mV at 1000 mV
[    1.065933] The device is not syr82x fffffff5
[    1.065951] syr82x: probe of 0-0041 failed with error -11
[    1.066403] rk808_i2c_probe,line=1355
[    1.067732] The device is not rk808 -11
[    1.067804] rk808: probe of 0-001b failed with error -11
[    1.067879] rk818_i2c_probe,line=1239
[    1.068130] rk818_pre_init,line=1154
[    1.078034] vdd_logic: 712 <--> 1500 mV at 1100 mV
[    1.082859] rk818_dcdc2: 1200 mV
[    1.086436] rk818_dcdc3: 1200 mV
[    1.090174] vccio: 1800 <--> 3300 mV at 3300 mV
[    1.093753] rk818_ldo1: 3300 mV
[    1.097376] rk818_ldo2: 3300 mV
[    1.100936] rk818_ldo3: 1000 mV
[    1.104504] rk818_ldo4: 1800 mV
[    1.108059] rk818_ldo5: 3300 mV
[    1.111645] rk818_ldo6: 1000 mV
[    1.115207] rk818_ldo7: 1800 mV
[    1.118771] rk818_ldo8: 1800 mV
[    1.121248] vcc_sd: 1800 <--> 3300 mV at 3300 mV
[    1.122467] rk818_ldo10: at 3300 mV
[    1.124027] rk818_irq_init: rk818_pmic_irq=1
[    1.124381] i2c-core: driver [rk818] using legacy suspend method
[    1.124392] i2c-core: driver [rk818] using legacy resume method
[    1.124879] rk818_rtc_probe,line=542
[    1.134149] rk818-rtc rk818-rtc: rtc core: registered rk818 as rtc0
[    1.136116] rk818_rtc_probe:ok
[    1.137486] Switching to clocksource arch_sys_counter
[    1.145416] rk_battery_charger_detect_cb , battery_charger_detect 1
[    1.163818] rga: Module initialized.
[    1.164512] rga2 ff920000.rga: rga ion client create success!
[    1.164672] rga: Driver loaded succesfully
[    1.164873] fb disp policy is box
[    1.164916] rk-fb rockchip-fb: rk fb ion client create success!
[    1.164928] rk-fb rockchip-fb: rockchip framebuffer driver probe
[    1.165262] rk-screen rk_screen.8: rockchip screen probe success
[    1.165534] rk32-lvds rk32-lvds: rk32 lvds driver probe success
[    1.165909] rk32-edp ff970000.edp: screen is not edp!
[    1.165931] rk32-edp: probe of ff970000.edp failed with error -22
[    1.166408] rk3288-lcdc lcdc0: can't find power_ctr node for lcdc0
[    1.166636] graphics fb0: rockchip framebuffer registerd:fb0
[    1.166936] graphics fb1: rockchip framebuffer registerd:fb1
[    1.167150] graphics fb2: rockchip framebuffer registerd:fb2
[    1.167332] graphics fb3: rockchip framebuffer registerd:fb3
[    1.168077] rk3288-lcdc lcdc0: lcdc0: dclk:297000000>>fps:120
[    1.168092] rk3288-lcdc lcdc0: wakeup from standby!
[    1.198861] alloc_buffer:ion_phy_addr=0x10000000
[    1.211695] fb0:phy:10000000>>vir:e0991000>>len:0x1800000
[    1.225441] rk_iommu ff930300.vopb_mmu: rockchip_iommu_attach_device: Attached new IOMMU with pgtable 0x1eab0000
[    1.225472] rk3288-lcdc lcdc0: lcdc0 probe ok, iommu enabled
[    1.225687] rk3288-lcdc lcdc1: can't find power_ctr node for lcdc1
[    1.225698] rk_fb_trsm_ops_get:un supported transmitter:0!
[    1.225970] graphics fb4: rockchip framebuffer registerd:fb4
[    1.226339] graphics fb5: rockchip framebuffer registerd:fb5
[    1.226512] graphics fb6: rockchip framebuffer registerd:fb6
[    1.226667] graphics fb7: rockchip framebuffer registerd:fb7
[    1.227499] unknow screen type: 0
[    1.227567] rk3288-lcdc lcdc1: lcdc1: dclk:148500000>>fps:868
[    1.227580] rk3288-lcdc lcdc1: wakeup from standby!
[    1.231360] fb4:phy:10000000>>vir:e0991000>>len:0x1800000
[    1.231374] rk3288-lcdc lcdc1: lcdc1 probe ok, iommu enabled
[    1.232221] rockchip_set_mux:warning ignore bank num 15
[    1.232358] rockchip_set_mux:warning ignore bank num 15
[    1.232474] rockchip_set_mux:warning ignore bank num 15
[    1.232589] rockchip_set_mux:warning ignore bank num 15
[    1.232705] rockchip_set_mux:warning ignore bank num 15
[    1.232818] rockchip_set_mux:warning ignore bank num 15
[    1.233383] rockchip_set_mux:warning ignore bank num 15
[    1.233546] rockchip_set_mux:warning ignore bank num 15
[    1.234091] rockchip_set_mux:warning ignore bank num 15
[    1.234255] rockchip_set_mux:warning ignore bank num 15
[    1.234791] rockchip_set_mux:warning ignore bank num 15
[    1.234937] rockchip_set_mux:warning ignore bank num 15
[    1.235511] rockchip_set_mux:warning ignore bank num 15
[    1.235667] rockchip_set_mux:warning ignore bank num 15
[    1.236208] rockchip_set_mux:warning ignore bank num 15
[    1.237731] NET: Registered protocol family 2
[    1.238380] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    1.238461] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    1.238533] TCP: Hash tables configured (established 4096 bind 4096)
[    1.238595] TCP: reno registered
[    1.238609] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.238633] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.238816] NET: Registered protocol family 1
[    1.259474] rk818-battery rk818-battery: v=4400, ov=4400, rv=0, c=-30, pwroff_min=0
[    1.263621] rk818-battery rk818-battery: loader charged
[    1.263637] rk818-battery rk818-battery: reg soc=100, init soc = 100, init cap=2099
[    1.289979] rk818-battery rk818-battery: battery driver version 4.0.0
[    1.290419] Unpacking initramfs...
[    1.429524] Freeing initrd memory: 2840K (c5bf0000 - c5eb6000)
[    1.430317] hw perfevents: enabled with ARMv7 Cortex-A12 PMU driver, 7 counters available
[    1.430904] vcodec_service: probe device ff9a0000.vpu_service
[    1.431107] vcodec_service: No reset resource define
[    1.431274] vcodec_service: ff9a0000.vpu_service: power on
[    1.431383] vcodec_service: probe device ff9a0000.vpu_service
[/sbin/sh: No controlling tty: open /dev/tty: No such device or a    1.431398] vcodec_service: checking hw id 4831
[    1.432376] vcodec_service: ff9a0000.vpu_service: power off...
[    1.432421] vcodec_service: done
[    1.4324ddress
/sbin/sh: warning: won't have full job control
38] vcodec_service: init success
[    1.432517] vcodec_service: probe device ff9c0000.hevc_service
[    1.432889] vcodec_service: ff9c0000.hevc_service: power on
[    1.432954] vcodec_service: probe device ff9c0000.hevc_service
[    1.432967] vcodec_service: checking hw id 6867
[    1.433226] vcodec_service: ff9c0000.hevc_service: power off...
[    1.433266] vcodec_service: done
[    1.433275] vcodec_service: init success
[    1.433412] rknandbase v1.0 2014-03-31
[    1.433550] rknand: probe of ff400000.nandc failed with error -1
[    1.433687] rknand_driver:ret = 0
[    1.434888] audit: initializing netlink socket (disabled)
[    1.434932] type=2000 audit(0.580:1): initialized
[    1.435961] bounce pool size: 64 pages
[    1.440629] fuse init (API version 7.22)
[    1.441024] msgmni has been set to 913
[    1.442875] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.442892] io scheduler noop registered
[    1.442902] io scheduler deadline registered
[    1.442992] io scheduler cfq registered (default)
[    1.444172] rockchip-hdmiv2 ff980000.hdmi: rockchip hdmiv2 probe sucess.
[    1.444858] IEP Driver loaded succesfully
[    1.444944] Module initialized.
[    1.445722] dma-pl330 ffb20000.pdma: Loaded driver for PL330 DMAC-2364208
[    1.445739] dma-pl330 ffb20000.pdma:         DBUFF-64x8bytes Num_Chans-5 Num_Peri-6 Num_Events-10
[    1.447053] dma-pl330 ff250000.pdma: Loaded driver for PL330 DMAC-2364208
[    1.447070] dma-pl330 ff250000.pdma:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    1.447361] pwm-voltage-regulator pwm_regulator.22: unable to request PWM, trying legacy API
[    1.447376] pwm-voltage-regulator pwm_regulator.22: unable to request legacy PWM
[    1.447385] pwm_regulator_probe:error
[    1.447406] platform pwm_regulator.22: Driver pwm-voltage-regulator requests probe deferral
[    1.447603] rk_serial.c v1.8 2014-03-04
[    1.447840] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 87) is a rk29_serial.0
[    1.448041] serial ff180000.serial: membase e097e000
[    1.448209] ff190000.serial: ttyS1 at MMIO 0xff190000 (irq = 88) is a rk29_serial.1
[    1.448388] serial ff190000.serial: membase e419c000
[    1.448529] ff690000.serial: ttyS2 at MMIO 0xff690000 (irq = 89) is a rk29_serial.2
[    1.448622] 2, baud is:115200
[    1.450211] console [ttyS2] enabled
[    1.450398] serial ff690000.serial: membase fed60000
[    1.450585] ff1b0000.serial: ttyS3 at MMIO 0xff1b0000 (irq = 90) is a rk29_serial.3
[    1.450762] serial ff1b0000.serial: membase e419e000
[    1.452467] --11
[    1.453690] loop: module loaded
[    1.454040] zram: Created 1 device(s) ...
[    1.454134] i2c-core: driver [mpu6050B1] using legacy suspend method
[    1.454147] i2c-core: driver [mpu6050B1] using legacy resume method
[    1.454164] mpu_init: Probe name mpu6050B1
[    1.454317] ak8963_mod_init: Probe name ak8963_mod
[    1.455030] SCSI Media Changer driver v0.25
[    1.455286] dws->regs: e41be000
[    1.456562] rockchip_spi_probe:num_cs=2,bus_num=0,irq=76,freq=45692308 ok
[    1.456855] tun: Universal TUN/TAP device driver, 1.6
[    1.456868] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.456995] vmac_init.
[    1.457567] stmmac_probe_config_dt: Can not read property: pmu_regulator.
[    1.457583] stmmac_probe_config_dt: clock input/output? (input).
[    1.457596] stmmac_probe_config_dt: TX delay(0x30).
[    1.457607] stmmac_probe_config_dt: RX delay(0x20).
[    1.457656] stmmac_probe_config_dt: is rockchip,rk3288-gmac
[    1.457668] stmmc_pltfr_init:
[    1.457677] stmmc_pltfr_init: ERROR: Get power-gpio failed.
[    1.457700] gmac_phy_reset: ERROR: Request pin stmmc_pltfr_init failed.
[    1.457712] stmmc_pltfr_init: init for RGMII
[    1.457722] tx delay=0x30
[    1.457722] rx delay=0x20
[    1.457739] tx delay=0x30
[    1.457739] rx delay=0x20
[    1.458189] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    1.458200]  Normal descriptors
[    1.458209]  Ring mode enabled
[    1.458220]  DMA HW capability register supported
[    1.458232]  RX Checksum Offload Engine supported (type 2)
[    1.458242]  TX Checksum insertion supported
[    1.458251]  Wake-Up On Lan supported
[    1.458287]  Enable RX Mitigation via HW Watchdog Timer
[    1.458736] PPP generic driver version 2.4.2
[    1.458896] PPP BSD Compression module registered
[    1.458910] PPP Deflate Compression module registered
[    1.458933] PPP MPPE Compression module registered
[    1.458947] NET: Registered protocol family 24
[    1.458982] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
[    1.458996] CSLIP: code copyright 1989 Regents of the University of California.
[    1.459011] Rockchip WiFi SYS interface (V1.00) ...
[    1.459047] esp_mem_init enter date Oct 19 2016 18:26:02
[    1.459058] esp_mem_init VERSION [V2.5]
[    1.459101] esp_mem_init complete
[    1.459188] usbcore: registered new interface driver catc
[    1.459229] usbcore: registered new interface driver kaweth
[    1.459242] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    1.459281] usbcore: registered new interface driver pegasus
[    1.459321] usbcore: registered new interface driver rtl8150
[    1.459361] usbcore: registered new interface driver r8152
[    1.459373] hso: drivers/net/usb/hso.c: Option Wireless
[    1.459448] usbcore: registered new interface driver hso
[    1.459495] usbcore: registered new interface driver asix
[    1.459535] usbcore: registered new interface driver ax88179_178a
[    1.459580] usbcore: registered new interface driver cdc_ether
[    1.459621] usbcore: registered new interface driver cdc_eem
[    1.459659] usbcore: registered new interface driver dm9601
[    1.459703] usbcore: registered new interface driver dm9620
[    1.459751] usbcore: registered new interface driver smsc75xx
[    1.459800] usbcore: registered new interface driver smsc95xx
[    1.459840] usbcore: registered new interface driver gl620a
[    1.459879] usbcore: registered new interface driver net1080
[    1.459918] usbcore: registered new interface driver plusb
[    1.459964] usbcore: registered new interface driver rndis_host
[    1.460005] usbcore: registered new interface driver cdc_subset
[    1.460043] usbcore: registered new interface driver zaurus
[    1.460085] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    1.460149] usbcore: registered new interface driver int51x1
[    1.460189] usbcore: registered new interface driver kalmia
[    1.460229] usbcore: registered new interface driver ipheth
[    1.460279] usbcore: registered new interface driver sierra_net
[    1.460322] usbcore: registered new interface driver cx82310_eth
[    1.460371] usbcore: registered new interface driver cdc_ncm
[    1.460411] usbcore: registered new interface driver qmi_wwan
[    1.460452] usbcore: registered new interface driver cdc_mbim
[    1.460466] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.462914] EHCI: ehci_rk_probe e4240000 e4240010
[    1.462934] rockchip_ehci_host ff500000.usb: EHCI Host Controller
[    1.462966] rockchip_ehci_host ff500000.usb: new USB bus registered, assigned bus number 1
[    1.463292] rockchip_ehci_host ff500000.usb: irq 56, io mem 0xff500000
[    1.481954] rockchip_ehci_host ff500000.usb: USB 2.0 started, EHCI 1.00
[    1.482039] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.482057] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.482072] usb usb1: Product: EHCI Host Controller
[    1.482085] usb usb1: Manufacturer: Linux 3.10.0 ehci_hcd
[    1.482098] usb usb1: SerialNumber: ff500000.usb
[    1.482563] hub 1-0:1.0: USB hub found
[    1.482587] hub 1-0:1.0: 1 port detected
[    1.482767] EHCI: ehci_rk_probe ok
[    1.482879] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.483087] usbcore: registered new interface driver cdc_acm
[    1.483100] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.483166] usbcore: registered new interface driver usblp
[    1.483214] usbcore: registered new interface driver cdc_wdm
[    1.483282] usbcore: registered new interface driver usb-storage
[    1.483323] usbcore: registered new interface driver ums-alauda
[    1.483363] usbcore: registered new interface driver ums-cypress
[    1.483403] usbcore: registered new interface driver ums-datafab
[    1.483441] usbcore: registered new interface driver ums_eneub6250
[    1.483480] usbcore: registered new interface driver ums-freecom
[    1.483527] usbcore: registered new interface driver ums-isd200
[    1.483568] usbcore: registered new interface driver ums-jumpshot
[    1.483608] usbcore: registered new interface driver ums-karma
[    1.483648] usbcore: registered new interface driver ums-onetouch
[    1.483688] usbcore: registered new interface driver ums-sddr09
[    1.483728] usbcore: registered new interface driver ums-sddr55
[    1.483768] usbcore: registered new interface driver ums-usbat
[    1.483859] usbcore: registered new interface driver usbserial
[    1.483910] usbcore: registered new interface driver usbserial_generic
[    1.483946] usbserial: USB Serial support registered for generic
[    1.483989] usbcore: registered new interface driver option
[    1.484020] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.484116] usbcore: registered new interface driver trancevibrator
[    1.484128] usb20_otg: version 3.10a 21-DEC-2012
[    1.484562] e4280040
[    1.484575] Core Release: 3.10a
[    1.484587] Setting default values for core params
[    1.484739] Using Buffer DMA mode
[    1.484750] Periodic Transfer Interrupt Enhancement - disabled
[    1.484761] Multiprocessor Interrupt Enhancement - disabled
[    1.484773] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.484783] ^^^^^^^^^^^^^^^^^Device Mode
[    1.484798] Dedicated Tx FIFOs mode
[    1.484818] pcd_init otg_dev = ddf3b940
[    1.484961] usb20_otg ff580000.usb: DWC OTG Controller
[    1.484990] usb20_otg ff580000.usb: new USB bus registered, assigned bus number 2
[    1.485022] usb20_otg ff580000.usb: irq 55, io mem 0x00000000
[    1.485082] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.485098] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.485113] usb usb2: Product: DWC OTG Controller
[    1.485126] usb usb2: Manufacturer: Linux 3.10.0 dwc_otg_hcd
[    1.485139] usb usb2: SerialNumber: ff580000.usb
[    1.485533] hub 2-0:1.0: USB hub found
[    1.485556] hub 2-0:1.0: 1 port detected
[    1.485865] usb20_host: version 3.10a 21-DEC-2012
[    1.488372] e4300040
[    1.488385] Core Release: 3.10a
[    1.488397] Setting default values for core params
[    1.488496] Using Buffer DMA mode
[    1.488507] Periodic Transfer Interrupt Enhancement - disabled
[    1.488517] Multiprocessor Interrupt Enhancement - disabled
[    1.488528] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.488539] ^^^^^^^^^^^^^^^^^^Host Mode
[    1.488564] usb20_host ff540000.usb: DWC OTG Controller
[    1.488590] usb20_host ff540000.usb: new USB bus registered, assigned bus number 3
[    1.488619] usb20_host ff540000.usb: irq 57, io mem 0x00000000
[    1.488712] Init: Power Port (0)
[    1.488776] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.488792] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.488807] usb usb3: Product: DWC OTG Controller
[    1.488820] usb usb3: Manufacturer: Linux 3.10.0 dwc_otg_hcd
[    1.488833] usb usb3: SerialNumber: ff540000.usb
[    1.489223] hub 3-0:1.0: USB hub found
[    1.489245] hub 3-0:1.0: 1 port detected
[    1.489934] usbcore: registered new interface driver xpad
[    1.489998] usbcore: registered new interface driver usb_acecad
[    1.490047] usbcore: registered new interface driver aiptek
[    1.490091] usbcore: registered new interface driver gtco
[    1.490137] usbcore: registered new interface driver hanwang
[    1.490181] usbcore: registered new interface driver kbtab
[    1.490240] usbcore: registered new interface driver wacom
[    1.490366] ==gsl_ts_init==
[    1.490413] ret=0
[    1.490670] sensor_register_slave:mma8452,id=17
[    1.490685] sensor_register_slave:gs_mc3230,id=23
[    1.490695] gsensor_init
[    1.490705] sensor_register_slave:mpu6880_acc,id=24
[    1.490716] sensor_register_slave:mpu6500_acc,id=25
[    1.490727] sensor_register_slave:cm3217,id=48
[    1.490739] sensor_register_slave:cm3218,id=49
[    1.490955] .. rk pwm remotectl v1.1 init
[    1.491195] input: ff680000.pwm as /devices/ff680000.pwm/input/input0
[    1.494465] rtc_hym8563 0-0051: clock/calendar information is no longer guaranteed
[    1.500615] hdmi->edidread:1[    1.505012] rtc_hym8563 0-0051: rtc core: registered hym8563 as rtc1
[    1.505067] i2c /dev entries driver
[    1.505762] IR NEC protocol handler initialized
[    1.505777] IR RC5(x) protocol handler initialized
[    1.505788] IR RC6 protocol handler initialized
[    1.505798] IR JVC protocol handler initialized
[    1.505808] IR Sony protocol handler initialized
[    1.505819] IR RC5 (streamzap) protocol handler initialized
[    1.505829] IR SANYO protocol handler initialized
[    1.505839] IR MCE Keyboard/mouse protocol handler initialized
[    1.506021] usbcore: registered new interface driver uvcvideo
[    1.506034] USB Video Class driver (1.1.1)
[    1.506047] CamSys driver version: v0.32.0,  CamSys head file version: v0.11.0
[    1.507530] D1:camsys_platform_probe(1300): 1-gpios-cifpower: gpio=236
[    1.507556] D1:camsys_platform_probe(1303): gpios-cifpower: gpio_request
[    1.507577] D1:camsys_platform_probe(1305): 1-gpios-cifpower: gpio_request=0
[    1.507600] D1:camsys_platform_probe(1314): gpios-cifpower: 236 high
[    1.507643] D1:camsys_mipiphy_probe_cb(115): compatible is rockchip,rk3288
[    1.507643]
[    1.507723] D1:camsys_mipiphy_probe_cb(186): ff910000.isp mipi phy0 probe success(reg_phy: 0x0  reg_vir: 0x0  size: 0x0)
[    1.507871] D1:camsys_mipiphy_probe_cb(183): ff910000.isp mipi phy1 probe success(reg_phy: 0xff968000  reg_vir: 0xe41f8000  size: 0x4000)
[    1.508484] D1:camsys_platform_probe(1447): ff910000.isp memory:
[    1.508503] D1:camsys_platform_probe(1457):     Register memory (phy: 0xff910000 vir: 0xe4220000 size: 0x10000)
[    1.508520] D1:camsys_platform_probe(1452):     I2c memory (phy: 0x1dee7000 vir: 0xddee7000 size: 0x1000)
[    1.508535] D1:camsys_init_ext_fsh_module(20): init external flash module
[    1.508548] D1:camsys_platform_probe(1472): Probe ff910000.isp device success
[    1.509009] not find test_power_init dev node
[    1.509071] i2c-core: driver [bq27320] using legacy suspend method
[    1.509083] i2c-core: driver [bq27320] using legacy resume method
[    1.509448] rockchip_temp_probe,line=364
[    1.560671] tsadc ff280000.tsadc: initialized
[    1.561078] device-mapper: uevent: version 1.0.3
[    1.561355] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[    1.561676] Bluetooth: HCI UART driver ver 2.2
[    1.561692] Bluetooth: HCI H4 protocol initialized
[    1.561704] Bluetooth: HCILL protocol initialized
[    1.561716] rtk_btusb: Realtek Bluetooth USB driver module init, version 2.21
[    1.561728] rtk_btusb: Register usb char device interface for BT driver
[    1.561920] usbcore: registered new interface driver rtk_btusb
[    1.562545] DVFS WARNING:    clk_enable_dvfs: clk(aclk_vio1) freq table all value are smaller than default(594000), use default, just enable dvfs
[    1.562582] DVFS ERR:        clk_enable_dvfs: vd(vd_gpu) can't get regulator(vdd_gpu)!
[    1.564786] cpufreq version 1.0, suspend freq 1200 MHz
[    1.564993] cpuidle: using governor ladder
[    1.565007] cpuidle: using governor menu
[    1.565045] Synopsys Designware Multimedia Card Interface Driver
[    1.565057] MHSC version = Ver 2.00 2015-06-10
[    1.565382] dw cru_regsbase addr 0x1d8.
[    1.565396] dw cru_reset_offset val 3.
[    1.565411] dwmmc_rockchip ff0f0000.rksdmmc: Version ID is 270a
[    1.565456] dwmmc_rockchip ff0f0000.rksdmmc: failed to get hpclk_mmc
[    1.565781] dwmmc_rockchip ff0f0000.rksdmmc: Using internal DMA controller.
[    1.565979] dw_mci_init_slot: fmin=400000, fmax=100000000 [mmc0]
[    1.566113] 1358..dw_mci_set_ios:  no card. [mmc0]
[    1.580381] 1358..dw_mci_set_ios:  no card. [mmc0]
[    1.581409] dwc_otg_hcd_suspend, usb device mode

[    1.596898] hdmi output corlor mode is 3
[    1.596916] hdmi connect to lcdc0
[    1.596928] switch:en=1,lcdc_id=0,screen type=6,cur type=1
[    1.597016] rk3288-lcdc lcdc0: lcdc0: dclk:74250000>>fps:60
[    1.597072] pixel clk is 74250000 tmds clk is 74250000
[    1.597130] rockchip-hdmiv2 ff980000.hdmi: [hdmi_dev_config_video] sucess output HDMI.
[    1.600094] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out 800000Hz for init[mmc0]
[    1.600109] dwmmc_rockchip ff0f0000.rksdmmc: DW MMC controller at irq 67, 32 bit host data width, 256 deep fifo
[    1.600120] dwmmc_rockchip ff0f0000.rksdmmc: 1 slots initialized
[    1.600437] dw cru_regsbase addr 0x1d8.
[    1.600451] dw cru_reset_offset val 0.
[    1.600466] dwmmc_rockchip ff0c0000.rksdmmc: Version ID is 270a
[    1.600502] dwmmc_rockchip ff0c0000.rksdmmc: failed to get hpclk_mmc
[    1.601277] dwmmc_rockchip ff0c0000.rksdmmc: Using internal DMA controller.
[    1.601440] dw_mci_init_slot: fmin=300000, fmax=50000000 [mmc1]
[    1.601549] mmc1: no vmmc regulator found
[    1.601687] dwmmc_rockchip ff0c0000.rksdmmc: mmc1: No udbg pinctrl found!
[    1.601763] 1358..dw_mci_set_ios:  no card. [mmc1]
[    1.619727] 1358..dw_mci_set_ios:  no card. [mmc1]
[    1.639403] 1358..dw_mci_set_ios:  no card. [mmc1]
[    1.639422] dwmmc_rockchip ff0c0000.rksdmmc: DW MMC controller at irq 64, 32 bit host data width, 256 deep fifo
[    1.639435] dwmmc_rockchip ff0c0000.rksdmmc: 1 slots initialized
[    1.639718] dw cru_regsbase addr 0x1d8.
[    1.639726] dw cru_reset_offset val 1.
[    1.639736] dwmmc_rockchip ff0d0000.rksdmmc: Version ID is 270a
[    1.639765] dwmmc_rockchip ff0d0000.rksdmmc: failed to get hpclk_mmc
[    1.640465] dwmmc_rockchip ff0d0000.rksdmmc: Using internal DMA controller.
[    1.640578] dw_mci_init_slot: fmin=200000, fmax=50000000 [mmc2]
[    1.640818] 1358..dw_mci_set_ios:  no card. [mmc2]
[    1.659085] 1358..dw_mci_set_ios:  no card. [mmc2]
[    1.678763] 1358..dw_mci_set_ios:  no card. [mmc2]
[    1.678799] dwmmc_rockchip ff0d0000.rksdmmc: DW MMC controller at irq 65, 32 bit host data width, 256 deep fifo
[    1.678813] dwmmc_rockchip ff0d0000.rksdmmc: 1 slots initialized
[    1.679086] leds-gpio leds.29: pins are not configured from the driver
[    1.679307] hidraw: raw HID events driver (C) Jiri Kosina
[    1.680758] usbcore: registered new interface driver usbhid
[    1.680768] usbhid: USB HID core driver
[    1.680882] ashmem: initialized
[    1.681002] logger: created 256K log 'log_main'
[    1.681093] logger: created 256K log 'log_events'
[    1.681192] logger: created 256K log 'log_radio'
[    1.681281] logger: created 256K log 'log_system'
[    1.682366] input: rk29-keypad as /devices/ff100000.adc/key.32/input/input1
[    1.683217] rockchip-pinctrl ff770000.pinctrl: pin gpio6-8 already requested by ff890000.rockchip-i2s; cannot claim for 2-0010
[    1.683234] rockchip-pinctrl ff770000.pinctrl: pin-200 (2-0010) status -22
[    1.683244] rockchip-pinctrl ff770000.pinctrl: could not request pin 200 on device rockchip-pinctrl
[    1.683255] ES8323 2-0010: Error applying setting, reverse things back
[    1.683958] es8323 probe error
[    1.683975] ES8323: probe of 2-0010 failed with error -11
[    1.684710] rockchip-spdif ff880000.rockchip-spdif: spdif ready.
[    1.685231] rockchip-es8323 rockchip-es8323.27: ASoC: CODEC (null) not registered
[    1.685265] rockchip_es8323_audio_probe() register card failed:-517
[    1.685282] platform rockchip-es8323.27: Driver rockchip-es8323 requests probe deferral
[    1.685468] u32 classifier
[    1.685477]     Actions configured
[    1.685489] Netfilter messages via NETLINK v0.30.
[    1.685548] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    1.685889] ctnetlink v0.93: registering with nfnetlink.
[    1.685960] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    1.685969] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    1.686255] xt_time: kernel timezone is -0000
[    1.686470] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.686606] arp_tables: (C) 2002 David S. Miller
[    1.686646] TCP: cubic registered
[    1.686653] Initializing XFRM netlink socket
[    1.686883] NET: Registered protocol family 10
[    1.687436] mip6: Mobile IPv6
[    1.687465] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.687590] sit: IPv6 over IPv4 tunneling driver
[    1.687940] NET: Registered protocol family 17
[    1.687969] NET: Registered protocol family 15
[    1.688026] Bridge firewalling registered
[    1.688039] Ebtables v2.0 registered
[    1.688192] Bluetooth: RFCOMM TTY layer initialized
[    1.688220] Bluetooth: RFCOMM socket layer initialized
[    1.688230] Bluetooth: RFCOMM ver 1.11
[    1.688239] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.688246] Bluetooth: BNEP filters: protocol multicast
[    1.688258] Bluetooth: BNEP socket layer initialized
[    1.688267] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.688279] Bluetooth: HIDP socket layer initialized
[    1.688307] l2tp_core: L2TP core driver, V2.0
[    1.688321] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[    1.688329] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    1.688534] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    1.688546] [WLAN_RFKILL]: can't find rockchip,grf property
[    1.688556] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = bcmwifi
[    1.688566] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[    1.688607] [WLAN_RFKILL]: wlan_platdata_parse_dt: disable wifi io reference voltage control.
[    1.688618] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    1.688642] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,poweren_gpio = 156, flags = 0.
[    1.688666] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 158, flags = 0.
[    1.688676] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    1.688703] [WLAN_RFKILL]: rockchip_wifi_voltage_select: wifi & sdio reference voltage: 1.8V
[    1.688712] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    1.688758] [BT_RFKILL]: Enter rfkill_rk_init
[    1.688906] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 147.
[    1.688925] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,power_gpio = 155.
[    1.688941] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,reset_gpio = 157.
[    1.688957] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_gpio = 154.
[    1.688973] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 159.
[    1.689028] [BT_RFKILL]: Request irq for bt wakeup host
[    1.689125] [BT_RFKILL]: ** disable irq
[    1.689209] [BT_RFKILL]: ap6335 device registered.
[    1.690028] rk3288_init_suspend
[    1.690044] rk3288_suspend_init enter
[    1.690250] rk3288_suspend_init: pm_ctrbits =200007
[    1.690282] gpio_get_dts_info suspend:4
[    1.690290] gpio_get_dts_info resume:4
[    1.690297] rockchip,pmic-suspend_gpios:14007a10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[    1.690331] rockchip,pmic-resume_gpios:2007a11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[    1.690486] clks_gating_suspend_init:clkgt info ok
[    1.690597] Registering SWP/SWPB emulation handler
[    1.690610] rockchip_uboot_mem_late_init: Freeing uboot logo memory: 0x02000000@0xfbc00000
[    1.693847] ddrfreq: verion 1.2 20140526
[    1.693862] ddrfreq: normal 456MHz video_1080p 0MHz video_4k 456MHz dualview 0MHz idle 0MHz suspend 200MHz reboot 456MHz
[    1.693871] ddrfreq: auto-freq=0
[    1.693878] ddrfreq: auto-freq-table[0] 240MHz
[    1.693885] ddrfreq: auto-freq-table[1] 324MHz
[    1.693892] ddrfreq: auto-freq-table[2] 456MHz
[    1.693899] ddrfreq: auto-freq-table[3] 528MHz
[    1.704788] rk818_ldo2: disabling
[    1.705407] regulator-dummy: disabling
[    1.705811] rockchip-es8323 rockchip-es8323.27: ASoC: CODEC (null) not registered
[    1.705835] rockchip_es8323_audio_probe() register card failed:-517
[    1.705848] platform rockchip-es8323.27: Driver rockchip-es8323 requests probe deferral
[    1.705874] =======================================================
[    1.705883] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
[    1.705889] =======================================================
[    1.705895]  WiFi driver (Powered by Rockchip,Ver 5.10.WFD.OOB.64bit) init.
[    1.705949] dhd_module_init: in
[    1.705957] ======== bcm_wlan_set_plat_data ========
[    1.705963] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
[    1.705983] host_oob_irq: 203
[    1.705988] host_oob_irq_flags=4
[    1.705993] dhd_wifi_platform_load: Enter
[    1.706007] Power-up adapter 'DHD generic adapter'
[    1.706015] pcd_pullup, is_on 0
[    1.706027] wifi_platform_set_power = 1
[    1.706032] ======== PULL WL_REG_ON HIGH! ========
[    1.706038] [WLAN_RFKILL]: rockchip_wifi_power: 1
[    1.706044] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: 1
[    1.706050] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: wifi io reference voltage control is disabled.
[    1.706052] file system registered
[    1.706580] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    1.706589] android_usb gadget: Number of LUNs=2
[    1.706597]  lun0: LUN: removable file: (no medium)
[    1.706603]  lun1: LUN: removable file: (no medium)
[    1.706738] android_usb gadget: android_usb ready
[    1.706820] sensor_init: Probe name sensors
[    1.706836] sensor-dev.c v1.4 add angle calculation support between two gsensors 2013-09-01
[    1.709029] rk818-rtc rk818-rtc: setting system clock to 2013-01-21 08:53:40 UTC (1358758420)
[    1.715374] rockchip-spdif-card rockchip-spdif-card.25:  rk-hdmi-spdif-hifi <-> ff880000.rockchip-spdif mapping ok
[    1.715966] rockchip-es8323 rockchip-es8323.27: ASoC: CODEC (null) not registered
[    1.715992] rockchip_es8323_audio_probe() register card failed:-517
[    1.716006] platform rockchip-es8323.27: Driver rockchip-es8323 requests probe deferral
[    1.716100] usbcore: registered new interface driver snd-usb-audio
[    1.716109] ALSA device list:
[    1.716114]   #0: RK-SPDIF-CARD
[    1.716374] 2, baud is:115200
[    1.716543] Freeing unused kernel memory: 356K (c0bac000 - c0c05000)
[    1.806669] [WLAN_RFKILL]: wifi turn on power. 156
[    1.947814] type=1403 audit(1358758420.730:2): policy loaded auid=4294967295 ses=4294967295
[    1.972678] init: could not import file '/init.recovery.rk30board.rc' from '/init.rc'
[    1.974201] bat_cap: oldcap path is /sys/devices/ff100000.adc
[    1.974252] bat_cap: oldcap_path no exist
[    1.974357] init: invalid gid 'trace'
[    1.975427] healthd: BatteryTemperaturePath not found
[    1.975448] healthd: BatteryTechnologyPath not found
[    1.975991] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
[    1.976500] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
[    1.976983] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
[    2.001504] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
[    2.002023] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
[    2.002561] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
[    2.013309] wifi_platform_bus_enumerate device present 1
[    2.013324] ======== Card detection to detect SDIO card! ========
[    2.013332] mmc2:mmc host rescan start!
[    2.062628] init: /dev/hw_random not found
[    2.062737] 2, baud is:115200
[    2.179160] init: /dev/hw_random not found
[    2.180024] android_usb: already disabled
[    2.180199] init: property 'ro.serialno' doesn't exist while expanding '${ro.serialno}'
[    2.180219] init: cannot expand '${ro.serialno}' while writing to '/sys/class/android_usb/android0/iSerial'
[    2.180628] rk30xxnand_ko: module license '' taints kernel.
[    2.180646] Disabling lock debugging due to kernel taint
[    2.181619] rknand_init:
[    2.181633] NandInit fail
[    2.181646] init_nand_blk_dev:ret = ffffffff
[    2.229795] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out 800000Hz for init[mmc2]
[    2.264529] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    2.266050] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.267568] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.270284] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.279310] init: Unable to open persistent property directory /data/property errno: 2
[    2.280035] android_usb: already disabled
[    2.280062] 2, baud is:115200
[    2.280184] init: using deprecated syntax for specifying property 'ro.product.manufacturer', use ${name} instead
[    2.280237] init: using deprecated syntax for specifying property 'ro.product.model', use ${name} instead
[    2.280278] init: using deprecated syntax for specifying property 'ro.serialno', use ${name} instead
[    2.280293] init: property 'ro.serialno' doesn't exist while expanding '$ro.serialno'
[    2.280307] init: cannot expand '$ro.serialno' while writing to '/sys/class/android_usb/android0/iSerial'
[    2.281318] init: Warning!  Service console needs a SELinux domain defined; please fix!
[    2.283145] read descriptors
[    2.283158] read strings
[    2.283184] pcd_pullup, is_on 1
[    2.323248] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    2.323271] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out normal clock [mmc2]
[    2.323333] rk_sdmmc: BOOT Bus speed=50000000Hz,Bus width=4bits.[mmc2]
[    2.325048] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[    2.325071] mmc2: new high speed SDIO card at address 0001
[    2.325651] rockchip-es8323 rockchip-es8323.27: ASoC: CODEC (null) not registered
[    2.325678] rockchip_es8323_audio_probe() register card failed:-517
[    2.325693] platform rockchip-es8323.27: Driver rockchip-es8323 requests probe deferral
[    2.341311] bcmsdh_register: register client driver
[    2.341391] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
[    2.341454] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter
[    2.341462] bus num (host idx)=2, slot num (rca)=1
[    2.341469] found adapter info 'DHD generic adapter'
[    2.341588] rockchip-es8323 rockchip-es8323.27: ASoC: CODEC (null) not registered
[    2.341607] rockchip_es8323_audio_probe() register card failed:-517
[    2.341618] platform rockchip-es8323.27: Driver rockchip-es8323 requests probe deferral
[    2.341700] F1 signature read @0x18000000=0x16224335
[    2.343593] F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2
[    2.343882] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[    2.343927] wifi_platform_get_mac_addr
[    2.343933] ======== bcm_wlan_get_mac_address ========
[    2.343940] [WLAN_RFKILL]: rockchip_wifi_mac_addr: enter.
[    2.343949] [WLAN_RFKILL]: falsh wifi_custom_mac_addr=[00:00:00:00:00:00]
[    2.343955] [WLAN_RFKILL]: This mac address is not valid, ignored...
[    2.343964] dhd_conf_set_chiprev: chip=0x4339, chiprev=1
[    2.344006] dhd_conf_set_conf_path_by_nv_path: config_path=/system/etc/firmware/config.txt
[    2.344300] wl_create_event_handler(): thread:wl_event_handler:87 started
[    2.344305] tsk Enter, tsk = 0xc5b8149c
[    2.344439] dhd_attach(): thread:dhd_watchdog_thread:88 started
[    2.344489] dhd_attach(): thread:dhd_dpc:89 started
[    2.344501] dhd_dpc_thread: set dpc_cpucore 0 from config.txt
[    2.344544] dhd_attach(): thread:dhd_rxf:8a started
[    2.344555] dhd_deferred_work_init: work queue initialized
[    2.344672] dhdsdio_probe_init: set use_rxchain 1 from config.txt
[    2.349777] Dongle Host Driver, version 1.201.59.5 (r506368)
[    2.349777] Compiled in drivers/net/wireless/bcmdhd on Oct 19 2016 at 18:26:12
[    2.350136] Register interface [wlan0]  MAC: 94:a1:a2:1f:b8:78
[    2.350136]
[    2.350149] dhd_prot_ioctl : bus is down. we have nothing to do
[    2.350184] bcmsdh_oob_intr_unregister: Enter
[    2.350190] bcmsdh_oob_intr_unregister: irq is not registered
[    2.350200] dhd_txglom_enable: enable 0
[    2.350205] dhd_bus_devreset:  WLAN OFF DONE
[    2.350238] wifi_platform_set_power = 0
[    2.350251] ======== PULL WL_REG_ON LOW! ========
[    2.350258] [WLAN_RFKILL]: rockchip_wifi_power: 0
[    2.456103] [WLAN_RFKILL]: wifi shut off power.
[    2.456111] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: 0
[    2.456117] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: wifi io reference voltage control is disabled.
[    2.456162] dhd_module_init: Exit err=0
[    2.456370] rockchip-es8323 rockchip-es8323.27: ASoC: CODEC (null) not registered
[    2.456390] rockchip_es8323_audio_probe() register card failed:-517
[    2.456401] platform rockchip-es8323.27: Driver rockchip-es8323 requests probe deferral
[    3.459780] EHCI: rk_ehci_hcd_enable, disable host controller
[    3.459790] dwc_otg_hcd_enable, enable host controller
[    3.592641] Using Buffer DMA mode
[    3.592649] Periodic Transfer Interrupt Enhancement - disabled
[    3.592654] Multiprocessor Interrupt Enhancement - disabled
[    3.592660] OTG VER PARAM: 0, OTG VER FLAG: 0
[    3.592665] ^^^^^^^^^^^^^^^^^^Host Mode
[    3.636975] Init: Power Port (0)
[    3.637002] ff540000.usb resume, HPRT0:0x21401
[    3.774698] Indeed it is in host mode hprt0 = 00021501
[    3.951784] usb 3-1: new high-speed USB device number 2 using usb20_host
[    3.951987] Indeed it is in host mode hprt0 = 00001101
[    4.149647] usb 3-1: New USB device found, idVendor=05e3, idProduct=0608
[    4.149656] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.149663] usb 3-1: Product: USB2.0 Hub
[    4.150173] hub 3-1:1.0: USB hub found
[    4.150432] hub 3-1:1.0: 4 ports detected
[    4.151996] rockchip-es8323 rockchip-es8323.27: ASoC: CODEC (null) not registered
[    4.152015] rockchip_es8323_audio_probe() register card failed:-517
[    4.152027] platform rockchip-es8323.27: Driver rockchip-es8323 requests probe deferral
[    4.266692] ff540000.usb suspend, HPRT0:0x1485
[    4.272697] rk3288-lcdc lcdc0: blank mode:0
[    6.221973] rk818-battery rk818-battery: changed: dsoc=100, rsoc=100
[    6.222827] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
[    6.223354] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
[    6.223907] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
[    6.224591] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
# [    7.207173] rk818-battery rk818-battery: changed: dsoc=100, rsoc=100
[    7.208051] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
[    7.208641] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
[    7.209247] rk818-battery rk818-battery: set charge to digital termination mode
[    7.209293] healthd: battery l=66 v=3800 t=0.0 h=2 st=2 c=1000 chg=a
[    8.247876] type=1400 audit(1358758427.130:3): avc:  denied  { write } for  pid=129 comm="recovery" name="block" dev="tmpfs" ino=7919 scontext=u:r:recovery:s0 tcontext=u:object_r:block_device:s0 tclass1
[    8.247911] type=1400 audit(1358758427.130:4): avc:  denied  { add_name } for  pid=129 comm="recovery" name="rknand_cache" scontext=u:r:recovery:s0 tcontext=u:object_r:block_device:s0 tclass=dir permis1
[    8.247957] type=1400 audit(1358758427.130:5): avc:  denied  { create } for  pid=129 comm="recovery" name="rknand_cache" scontext=u:r:recovery:s0 tcontext=u:object_r:block_device:s0 tclass=file permiss1
[    8.248013] type=1400 audit(1358758427.130:6): avc:  denied  { write open } for  pid=129 comm="recovery" path="/dev/block/rknand_cache" dev="tmpfs" ino=5732 scontext=u:r:recovery:s0 tcontext=u:object_r1
[    8.248057] type=1400 audit(1358758427.130:7): avc:  denied  { getattr } for  pid=129 comm="recovery" path="/dev/block/rknand_cache" dev="tmpfs" ino=5732 scontext=u:r:recovery:s0 tcontext=u:object_r:bl1
[    9.363787] [otg id chg] last id -1 current id 1
[    9.363807] PortPower off
[    9.363815] rk_battery_charger_detect_cb , battery_charger_detect 6
[    9.463235] Using Buffer DMA mode
[    9.463247] Periodic Transfer Interrupt Enhancement - disabled
[    9.463253] Multiprocessor Interrupt Enhancement - disabled
[    9.463260] OTG VER PARAM: 0, OTG VER FLAG: 0
[    9.463266] ^^^^^^^^^^^^^^^^^Device Mode
[    9.954190] ***************vbus detect*****************
[    9.956373] rk_battery_charger_detect_cb , battery_charger_detect 1
[   10.133431] Using Buffer DMA mode
[   10.133445] Periodic Transfer Interrupt Enhancement - disabled
[   10.133452] Multiprocessor Interrupt Enhancement - disabled
[   10.133458] OTG VER PARAM: 0, OTG VER FLAG: 0
[   10.133464] ^^^^^^^^^^^^^^^^^Device Mode
[   10.133504] *******************soft connect!!!*******************
[   10.257377] USB RESET
[   10.367722] android_work: sent uevent USB_STATE=CONNECTED
[   10.371185] USB RESET
[   10.494978] android_usb gadget: high-speed config #1: android
[   10.495015] WARN::do_gadget_setup:1320: do_gadget_setup warning: pcd->lock locked without unlock
[   10.495015]
[   10.495190] android_work: sent uevent USB_STATE=CONFIGURED
#
#
作者: yubang    时间: 2016-10-25 11:52
U-Boot 2014.10-RK3288-10 (Oct 19 2016 - 16:34:47)

CPU: rk3288
david debug cpu version = 0
CPU's clock information:
    arm pll = 600000000HZ
    periph pll = 297000000HZ
    ddr pll = 200000000HZ
    codec pll = 384000000HZ
Board:  Rockchip platform Board
DRAM:  Found dram banks: 1
Adding bank:0000000000000000(0000000100000000)
128 MiB
david debug board_init_r
david debug board_init
GIC CPU mask = 0x00000001
SdmmcInit = 0 400
SdmmcInit = 2 0
storage init OK!
david debug initr_env env_relocate
Using default environment

david debug board_late_init
david debug getenv: bootdelay = 3
GetParam
Load FDT from resource image.
power key: bank-0 pin-5
david debug pmic_init
david debug pmic_init bus0 rk818.
battery: gl=0 dl=100 rl=100, v=4400, m=0
pmic:rk818
david debug pwm_regulator_init
DCDC vdd_logic has been used, pwm regulator not init it.
david debug fg_init
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2016-10-19#2.30
empty serial no.
david debug fbt preboot
checkKey
vbus = 1
read logo on state from dts [1]
can't find power_ctr node for lcdc0
pll_src = 1, dclk_hz = 148500000, dclk_div = 2
got recovery cmd from misc.
load fdt from resouce.
ERROR: [get_entry_ram]: Cannot find logo_kernel.bmp!
Secure Boot state: 0
kernel   @ 0x02000000 (0x006a32e0)
ramdisk  @ 0x05bf0000 (0x002c6784)
bootrk: do_bootm_linux...
   Loading Device Tree to 05600000, end 0561cb7c ... OK
Add bank:0000000000000000, 00000000fe000000

Starting kernel ...


这是uboot的打印信息,这里提示说:
got recovery cmd from misc.

我应该做哪些改动吗?

谢谢;
作者: yubang    时间: 2016-10-25 12:03
这是接了hdmi屏的显示

recovery.jpg (91.87 KB, 下载次数: 151)

recovery.jpg

作者: yubang    时间: 2016-10-25 12:03
是什么原因导致这样呀?
作者: yubang    时间: 2016-10-25 21:45
我把以下同样的固件更新到firefly3288 reload 板子,板子是能够正常启动的:
boot.img
misc.img
kernel.img
recovery.img
system.img
resource resource.img
RK3288UbootLoader_V2.30.10.bin


我的板子和firefly 3288 reload 不同的地方是所用的pmic不同,我用的rk818; 在dts文件中,我添加了rk818的信息;
我的dts文件内容:

/dts-v1/;

#include "rk3288.dtsi"
#include "lcd-box.dtsi"
#include <dt-bindings/input/input.h>

/ {
        fiq-debugger {
                status = "disabled";
        };

        hsic-usb-hub{
                compatible = "hub_reset";
                reset,pin =<&gpio7 GPIO_A6 GPIO_ACTIVE_HIGH>;        // hub reset pin
                status = "disabled";
        };
    wireless-wlan {
        compatible = "wlan-platdata";

        /* wifi_chip_type - wifi chip define
        * bcmwifi ==> like ap6xxx, rk90x;
        * rtkwifi ==> like rtl8188xx, rtl8723xx,rtl8812auv;
        * esp8089 ==> esp8089;
        * other   ==> for other wifi;
        */
        wifi_chip_type = "bcmwifi";
        sdio_vref = <1800>; //1800mv or 3300mv

        //keep_wifi_power_on;
        //power_ctrl_by_pmu;
        power_pmu_regulator = "act_ldo3";
        power_pmu_enable_level = <1>; //1->HIGH, 0->LOW

        //vref_ctrl_enable;
        //vref_ctrl_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
        vref_pmu_regulator = "act_ldo3";
        vref_pmu_enable_level = <1>; //1->HIGH, 0->LOW

        WIFI,poweren_gpio = <&gpio4 GPIO_D4 GPIO_ACTIVE_HIGH>;
        WIFI,host_wake_irq = <&gpio4 GPIO_D6 GPIO_ACTIVE_HIGH>;
        //WIFI,reset_gpio = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;

        status = "okay";
    };

    wireless-bluetooth {
        compatible = "bluetooth-platdata";

        //wifi-bt-power-toggle;

        uart_rts_gpios = <&gpio4 GPIO_C3 GPIO_ACTIVE_LOW>;
        pinctrl-names = "default","rts_gpio";
        pinctrl-0 = <&uart0_rts>;
        pinctrl-1 = <&uart0_rts_gpio>;

        BT,power_gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
        BT,reset_gpio = <&gpio4 GPIO_D5 GPIO_ACTIVE_HIGH>;
        BT,wake_gpio = <&gpio4 GPIO_D2 GPIO_ACTIVE_HIGH>;
        BT,wake_host_irq = <&gpio4 GPIO_D7 GPIO_ACTIVE_LOW>;

        status = "okay";
    };

        pwm_regulator {
                compatible = "rockchip_pwm_regulator";
                pwms = <&pwm1 0 2000>;
                rockchip,pwm_id= <1>;
                rockchip,pwm_voltage_map= <925000 950000 975000 1000000 1025000 1050000 1075000 1100000 1125000 1150000 1175000 1200000 1225000 1250000 1275000 1300000 1325000 1350000 1375000 1400000>;
                rockchip,pwm_voltage= <1100000>;
                rockchip,pwm_min_voltage= <925000>;
                rockchip,pwm_max_voltage= <1400000>;
                rockchip,pwm_suspend_voltage= <950000>;
                rockchip,pwm_coefficient= <475>;
                regulators {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        pwm_reg0: regulator@0 {
                                regulator-compatible = "pwm_dcdc1";
                                regulator-name= "vdd_logic";
                                regulator-min-microvolt = <925000>;
                                regulator-max-microvolt = <1400000>;
                                regulator-always-on;
                                regulator-boot-on;
                        };
                };
        };

        codec_hdmi_i2s: codec-hdmi-i2s {
                compatible = "hdmi-i2s";
        };

        codec_hdmi_spdif: codec-hdmi-spdif {
                compatible = "hdmi-spdif";
        };

        rockchip-hdmi-i2s {
                status = "disabled";
                compatible = "rockchip-hdmi-i2s";
                dais {
                        dai0 {
                                audio-codec = <&codec_hdmi_i2s>;
                                audio-controller = <&i2s>;
                                format = "i2s";
                                //continuous-clock;
                                //bitclock-inversion;
                                //frame-inversion;
                                //bitclock-master;
                                //frame-master;
                        };
                };
        };

        rockchip-spdif-card {
                compatible = "rockchip-spdif-card";
                dais {
                        dai0 {
                                audio-codec = <&codec_hdmi_spdif>;
                                audio-controller = <&spdif>;
                        };
                };
        };


        rockchip-rk1000 {
                compatible = "rockchip-rk1000";
                dais {
                        dai0 {
                                audio-codec = <&rk1000_codec>;
                                audio-controller = <&i2s>;
                                format = "i2s";
                        };
                };
        };


        rockchip-es8323 {
                compatible = "rockchip-es8323";
                dais {
                        dai0 {
                                audio-codec = <&es8323>;
                                audio-controller = <&i2s>;
                                format = "i2s";
                                //continuous-clock;
                                //bitclock-inversion;
                                //frame-inversion;
                                //bitclock-master;
                                //frame-master;
                        };
                };
        };
        rkxx-remotectl{
                compatible = "rockchip,remotectl";
                module-gpios = <&gpio7 GPIO_A0 GPIO_ACTIVE_LOW>;
        led-power = <&gpio8 GPIO_A1 GPIO_ACTIVE_LOW>;
                status = "disabled";
        };
       
        firefly-led{
                compatible = "firefly,led";
                led-work = <&gpio8 GPIO_A2 GPIO_ACTIVE_LOW>;
                led-power = <&gpio8 GPIO_A1 GPIO_ACTIVE_LOW>;
                status = "okay";
        };
        leds {
       compatible = "gpio-leds";
       power {
           label = "firefly:blue:power";
           linux,default-trigger = "ir-power-click";
           default-state = "on";
           gpios = <&gpio8 GPIO_A1 GPIO_ACTIVE_LOW>;
       };  
        user {
           label = "firefly:yellow:user";
           linux,default-trigger = "ir-user-click";
           default-state = "off";
           gpios = <&gpio8 GPIO_A2 GPIO_ACTIVE_LOW>;
       };  
   };
        atx8_unsetup{
                compatible = "firefly,noatx8";
                atx8-rst = <&gpio7 GPIO_C5 GPIO_ACTIVE_HIGH>;
                status = "okay";
        };
        usb_control {
                compatible = "rockchip,rk3288-usb-control";

                host_drv_gpio = <&gpio0 GPIO_B6 GPIO_ACTIVE_LOW>;
                otg_drv_gpio = <&gpio0 GPIO_B4 GPIO_ACTIVE_LOW>;

                rockchip,remote_wakeup;
                rockchip,usb_irq_wakeup;
        };
};

&gmac {
//        pmu_regulator = "act_ldo5";
//        pmu_enable_level = <1>; //1->HIGH, 0->LOW
//        power-gpio = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;
        reset-gpio = <&gpio4 GPIO_B0 GPIO_ACTIVE_LOW>;
        phy-mode = "rgmii";
        clock_in_out = "input";
        tx_delay = <0x30>;
        rx_delay = <0x20>;
};

&uart_dbg {
         status = "okay";
};

&pinctrl {
        //used for init some gpio
       
        init-gpios = <&gpio8 GPIO_A0 GPIO_ACTIVE_HIGH
//                &gpio7 GPIO_B1 GPIO_ACTIVE_HIGH               
                &gpio4 GPIO_B0 GPIO_ACTIVE_HIGH>;
        gpio0_gpio {
                        gpio0_c2: gpio0-c2 {
                                rockchip,pins = <GPIO0_C2>;
                                rockchip,pull = <VALUE_PULL_DOWN>;
                        };

                        //to add
                };
               
        gpio7_gpio {
                        gpio7_b7: gpio7-b7 {
                                rockchip,pins = <GPIO7_B7>;
                                rockchip,pull = <VALUE_PULL_UP>;
                        };

                        //to add
                };
        //could add other pinctrl definition such as gpio

        // gmac drive strength
        gpio4_gmac {
                mac_clk: mac-clk {
                        rockchip,drive = <VALUE_DRV_12MA>;
                };

                mac_txpins: mac-txpins {
                        rockchip,drive = <VALUE_DRV_12MA>;
                };

                mac_rxpins: mac-rxpins {
                        rockchip,drive = <VALUE_DRV_12MA>;
                };

                mac_crs: mac-crs {
                        rockchip,drive = <VALUE_DRV_12MA>;
                };

                mac_mdpins: mac-mdpins {
                        rockchip,drive = <VALUE_DRV_12MA>;
                };
        };
};
&nandc0 {
        status = "okay"; // used nand set "okay" ,used emmc set "disabled"
};
&nandc1 {
        status = "disabled"; // used nand set "okay" ,used emmc set "disabled"
};   

&nandc0reg {
        status = "disabled"; // used nand set "okay" ,used emmc set "disabled"
};
&emmc {
        clock-frequency = <100000000>;
        clock-freq-min-max = <400000 100000000>;

        supports-highspeed;
        supports-emmc;
        bootpart-no-access;

        //supports-tSD;//only tsd-sdcard mode
        supports-DDR_MODE;
        caps2-mmc-hs200;

        ignore-pm-notify;
                keep-power-in-suspend;
                //poll-hw-reset
                status = "okay";
};
   
&sdmmc {
                clock-frequency = <50000000>;
                lock-freq-min-max = <400000 50000000>;
                supports-highspeed;
                supports-sd;
                broken-cd;
                card-detect-delay = <200>;

                ignore-pm-notify;
                keep-power-in-suspend;
       
                vmmc-supply = <&rk818_ldo9_reg>;
                status = "okay";
};
               
&sdio {
                clock-frequency = <50000000>;
                clock-freq-min-max = <200000 50000000>;
                supports-highspeed;
                supports-sdio;
                ignore-pm-notify;
                keep-power-in-suspend;
                //cap-sdio-irq;
                status = "okay";
};

&spi0 {
        status = "okay";
        max-freq = <48000000>;       
    spidev@00 {
        compatible = "linux,spidev";
        reg = <0x00>;
        spi-max-frequency = <48000000>;
    };
        /*
        spi_test@00 {
                     compatible = "rockchip,spi_test_bus0_cs0";
                reg = <0>;
                spi-max-frequency = <24000000>;
                //spi-cpha;
                //spi-cpol;
                poll_mode = <0>;
                type = <0>;
                enable_dma = <0>;

        };

        spi_test@01 {
                compatible = "rockchip,spi_test_bus0_cs1";
                reg = <1>;
                spi-max-frequency = <24000000>;
                spi-cpha;
                spi-cpol;
                poll_mode = <0>;
                type = <0>;
                enable_dma = <0>;                
        };
        */
};

&spi1 {
        status = "disabled";
        max-freq = <48000000>;
        /*
        spi_test@10 {
                compatible = "rockchip,spi_test_bus1_cs0";
                reg = <0>;
                spi-max-frequency = <24000000>;
                //spi-cpha;
                //spi-cpol;
                poll_mode = <0>;
                type = <0>;
                enable_dma = <0>;
        };

        */
        //dtv: connect to dtv demodulator for control signal
        tstv-ctrl@00 {
                compatible = "rockchip,dtv_spi_ctrl";
                gpio-powerup = <&gpio0 GPIO_D7 GPIO_ACTIVE_HIGH>;
                gpio-powerdown = <&gpio2 GPIO_B6 GPIO_ACTIVE_HIGH>;
                gpio-reset = <&gpio2 GPIO_B7 GPIO_ACTIVE_HIGH>;
                gpio-nreset = <&gpio2 GPIO_B4 GPIO_ACTIVE_HIGH>;
                spi-max-frequency = <12000000>;
                reg = <0>;
                poll_mode = <0>;
                type = <0>;
                enable_dma = <0>;
        };

};

&spi2 {
        status = "disabled";
        max-freq = <48000000>;
        /*
        spi_test@20 {
                compatible = "rockchip,spi_test_bus2_cs0";
                reg = <0>;
                spi-max-frequency = <24000000>;
                //spi-cpha;
                //spi-cpol;
                poll_mode = <0>;
                type = <0>;
                enable_dma = <0>;
        };

        spi_test@21 {
                compatible = "rockchip,spi_test_bus2_cs1";
                reg = <1>;
                spi-max-frequency = <24000000>;
                //spi-cpha;
                //spi-cpol;
                poll_mode = <0>;
                type = <0>;
                enable_dma = <0>;
        };
        */
};



&uart_bt {
        status = "okay";
        dma-names = "!tx", "!rx";
        pinctrl-0 = <&uart0_xfer &uart0_cts>;
};

&uart_dbg {
        status = "okay";
};

&uart_bb {
    status = "okay";
};

&uart_gps {
    status = "okay";
};

&i2c0 {
        status = "okay";
        rk808: rk808@1b {
                reg = <0x1b>;
                status = "okay";
        };
        rk818: rk818@1c {
                reg = <0x1c>;
                status = "okay";
        };
                syr827: syr827@40 {
                compatible = "silergy,syr82x";
          reg = <0x40>;
                status = "okay";
                regulators {
                        #address-cells = <1>;
                        #size-cells = <0>;       
                        syr827_dc1: regulator@0 {
                        reg = <0>;
                        regulator-compatible = "syr82x_dcdc1";
                        regulator-name = "vdd_arm";
                        regulator-min-microvolt = <712500>;
                        regulator-max-microvolt = <1500000>;
                        regulator-always-on;
                        regulator-boot-on;
                        regulator-initial-mode = <0x2>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-mode = <0x2>;
                                regulator-state-enabled;
                                regulator-state-uv = <900000>;
                        };
                };
           };
        };
        syr828: syr828@41 {
                compatible = "silergy,syr82x";
                reg = <0x41>;
                status = "okay";
                regulators {
                        #address-cells = <1>;
                        #size-cells = <0>;       
                        syr828_dc1: regulator@0 {
                        reg = <0>;
                        regulator-compatible = "syr82x_dcdc1";
                        regulator-name = "vdd_gpu";
                        regulator-min-microvolt = <712500>;
                        regulator-max-microvolt = <1500000>;
                        regulator-always-on;
                  regulator-boot-on;
                        regulator-initial-mode = <0x2>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-mode = <0x2>;
                                regulator-state-disabled;
                                regulator-state-uv = <900000>;
                        };       
                };
           };
        };
        act8846: act8846@5a {
                reg = <0x5a>;
                status = "okay";
        };
       
        rtc@51 {
                compatible = "rtc,hym8563";
                reg = <0x51>;
                irq_gpio = <&gpio7 GPIO_A4 IRQ_TYPE_EDGE_FALLING>;
        };
};

&i2c1 {
        status = "okay";
        rtc@51 {
                compatible = "nxp,pcf8563";
                reg = <0x51>;
        };
        synaptics_ts@20 {
                status = "disabled";
                compatible = "synaptics,synaptics_dsx";
                reg = <0x20>;
                touch-gpio = <&gpio8 GPIO_A7 IRQ_TYPE_EDGE_FALLING>;
                reset-gpio = <&gpio5 GPIO_B1 GPIO_ACTIVE_LOW>;
                //power-gpio = <&gpio0 GPIO_C5 GPIO_ACTIVE_LOW>;
                max-x = <1080>;
                max-y = <1920>;
                flip-x = <0>;
                flip-y = <0>;
        };
             mt@40 {
                status = "disabled";
                       compatible = "firefly,gsl3680";
                      reg = <0x40>;
                       touch-gpio = <&gpio5 GPIO_B0 IRQ_TYPE_EDGE_RISING>;
                       reset-gpio = <&gpio7 GPIO_B1 GPIO_ACTIVE_LOW>;
                       max-y = <2048>;
                       max-x = <1536>;
                flip-x = <1>;
                flip-y = <1>;
                swap-xy = <0>;
        };

        ts@41 {
                status = "disabled";
                compatible = "firefly,gsl3680";
                      reg = <0x41>;
                 touch-gpio = <&gpio8 GPIO_A7 IRQ_TYPE_EDGE_RISING>;
                 //reset-gpio = <&gpio8 GPIO_A6 GPIO_ACTIVE_LOW>;
                 max-x = <1280>;
                 max-y = <800>;
                flip-x = <0>;
                flip-y = <0>;
                swap-xy = <1>;
            };
        mpu6050:mpu@68{
            status = "disabled";
            compatible = "mpu6050";
            reg = <0x68>;
            mpu-int_config = <0x10>;
            mpu-level_shifter = <0>;
            mpu-orientation = <0 1 0 1 0 0 0 0 1>;
            orientation-x= <1>;
            orientation-y= <1>;
            orientation-z= <1>;
            irq-gpio = <&gpio5 GPIO_B4 IRQ_TYPE_LEVEL_LOW>;
            mpu-debug = <0>;
        };


};

&i2c2 {
        status = "okay";
        es8323: es8323@10 {
            compatible = "es8323";
                reg = <0x10>;
                spk-con-gpio = <&gpio0 GPIO_B2 GPIO_ACTIVE_HIGH>;
                hp-det-gpio = <&gpio7 GPIO_B7 GPIO_ACTIVE_HIGH>;
                hp-mic-only = <1>;
                clocks = <&clk_i2s>, <&clk_i2s_out>;
                clock-names = "i2s_clk","i2s_mclk";
                pinctrl-names = "default";
                pinctrl-0 = <&i2s_mclk>;
        };
};

&i2c3 {
        status = "okay";
};

&i2c4 {
        status = "okay";
        rk1000_control@40 {
                compatible = "rockchip,rk1000_control";
                reg = <0x40>;
                gpio-reset = <&gpio7 GPIO_C5 GPIO_ACTIVE_LOW>;
                clocks = <&clk_i2s>, <&clk_i2s_out>;
                clock-names = "i2s_clk","i2s_mclk";
                //pinctrl-names = "default";
                //pinctrl-0 = <&i2s_mclk>;
        };
        rk1000_tve@42 {
                compatible = "rockchip,rk1000_tve";
                reg = <0x42>;
//                gpio-switch = <&gpio3 GPIO_D4 GPIO_ACTIVE_LOW>;
                rockchip,source = <0>; //0: LCDC0; 1: LCDC1
                rockchip,prop = <PRMRY>;//<EXTEND>
        };
        rk1000_codec: rk1000_codec@60 {
                compatible = "rockchip,rk1000_codec";
                reg = <0x60>;
                spk_ctl_io = <&gpio7 GPIO_A5 GPIO_ACTIVE_LOW>;
                boot_depop = <1>;
                pa_enable_time = <5000>;
        };
//        vga_ddc@50 {
//                compatible = "firefly,vga_ddc";
//                reg = <0x50>;
//                gpio-pwn = <&gpio0 GPIO_C1 GPIO_ACTIVE_HIGH>;
//                rockchip,source = <0>; //0: LCDC0; 1: LCDC1
//                rockchip,prop = <PRMRY>;//<EXTEND>
//                status = "okay";
//        };
};

&i2c5 {
        status = "disabled";
};

/*$_rbox_$_modify_$_begin_huangzhibao for rk1000*/
//&i2s{
//    pinctrl-names = "default", "sleep";
//                pinctrl-0 = <&i2s_sclk &i2s_lrckrx &i2s_lrcktx &i2s_sdi &i2s_sdo0 &i2s_sdo1 &i2s_sdo2 &i2s_sdo3>;
//                pinctrl-1 = <&i2s_gpio>;
//};
/*$_rbox_$_modify_$_end*/

&fb {
        rockchip,disp-mode = <DUAL>;
        rockchip,uboot-logo-on = <1>;
        rockchip,disp-policy = <DISPLAY_POLICY_BOX_TEMP>;
};

&disp_timings {
        native-mode = <&timing1>;
};

&rk_screen {
         display-timings = <&disp_timings>;
};

/*lcdc0 as PRMRY(HDMI),lcdc1 as EXTEND(RK1000)*/
&lcdc0 {
        status = "okay";
        rockchip,iommu-enabled = <1>;
        rockchip,prop = <PRMRY>;
};

&lcdc1 {
        status = "okay";
        rockchip,iommu-enabled = <1>;
        rockchip,prop = <EXTEND>;
};

&hdmi {
        status = "okay";
        rockchips,hdmi_audio_source = <0>;
        hdmi_cec = <0>;
};

&adc {
        status = "okay";

        key {
                compatible = "rockchip,key";
               
                io-channels = <&adc 1>;
                /*
                vol-up-key {
                        linux,code = <115>;
                        label = "volume up";
                        rockchip,adc_value = <1>;
                };

                vol-down-key {
                        linux,code = <114>;
                        label = "volume down";
                        rockchip,adc_value = <170>;
                };
                */
                power-key {
                        gpios = <&gpio0 GPIO_A5 GPIO_ACTIVE_LOW>;
                        linux,code = <116>;
                        label = "power";
                        gpio-key,wakeup;
                };
                recovery-key {
                        linux,code = <113>;
                        label = "recovery";
                        rockchip,adc_value = <4>;
                };
                /*
                menu-key {
                        linux,code = <59>;
                        label = "menu";
                        rockchip,adc_value = <355>;
                };

                home-key {
                        linux,code = <102>;
                        label = "home";
                        rockchip,adc_value = <746>;
                };

                back-key {
                        linux,code = <158>;
                        label = "back";
                        rockchip,adc_value = <560>;
                };

                camera-key {
                        linux,code = <212>;
                        label = "camera";
                        rockchip,adc_value = <450>;
                };*/
        };
};

/*&pwm0 {
        interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
        status = "okay";
};
*/

&pwm1 {
        status = "disabled";
};


&clk_core_dvfs_table {
        support-pvtm = <0>;
        pvtm-operating-points = <
                /* KHz    uV         pvtm margin*/
                126000 900000        25000
                216000 900000        25000
                312000 900000        25000
                408000 900000        25000
                600000 950000        50000
                696000 950000        25000
                816000 1000000        25000
                1008000 1050000        25000
                1200000 1100000        25000
                1416000 1200000        25000
                1512000 1300000        25000
                1608000 1350000        25000
                1704000 1350000        25000
                1800000 1350000        25000
                >;
        status="okay";
};

&clk_gpu_dvfs_table {
        operating-points = <
                /* KHz    uV */
//                100000 900000
                200000 900000
                300000 950000
                420000 1100000
                500000 1150000
        //        600000 1250000
                >;
        status="okay";
};

&clk_ddr_dvfs_table {
        operating-points = <
                /* KHz    uV */
                200000 1075000
                300000 1075000               
                456000 1125000
                533000 1150000
                >;

        freq-table = <
                /*status                freq(KHz)*/
                SYS_STATUS_NORMAL        456000
                SYS_STATUS_SUSPEND        200000
                //SYS_STATUS_VIDEO_1080P  240000
                SYS_STATUS_VIDEO_4K     456000
                SYS_STATUS_PERFORMANCE  533000
                //SYS_STATUS_BOOST        324000
                //SYS_STATUS_ISP                400000
                >;
        auto-freq-table = <
                240000
                324000
                456000
                528000
                >;
        auto-freq=<0>;
        status="okay";
};
/include/ "act8846.dtsi"
&act8846 {
        gpios =<&gpio7 GPIO_B6 GPIO_ACTIVE_LOW>,<&gpio0 GPIO_A1 GPIO_ACTIVE_HIGH>;
        cpu_det_gpio =<&gpio7 GPIO_B2 GPIO_ACTIVE_LOW>;
        usb_hub_reset_gpio =<&gpio8 GPIO_A3 GPIO_ACTIVE_LOW>;
        act8846,system-power-controller;

        regulators {
               
                dcdc1_reg: regulator@0{
                        regulator-name= "act_dcdc1";
                        regulator-min-microvolt = <1200000>;
                        regulator-max-microvolt = <1200000>;
                        regulator-always-on;
                        regulator-boot-on;
                };

                dcdc2_reg: regulator@1 {
                        regulator-name= "vccio";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
                                regulator-state-uv = <3300000>;
                        };               
                };

                dcdc3_reg: regulator@2 {
                        regulator-name= "vdd_logic";
                        regulator-min-microvolt = <700000>;
                        regulator-max-microvolt = <1500000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
                                regulator-state-uv = <1200000>;
                        };               
               
                };

                dcdc4_reg: regulator@3 {
                        regulator-name= "act_dcdc4";
                        regulator-min-microvolt = <2000000>;
                        regulator-max-microvolt = <2000000>;
                                regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
                                regulator-state-uv = <2000000>;
                        };
                };

                ldo1_reg: regulator@4 {
                        regulator-name= "vccio_sd";
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <3300000>;
                       
                };

                ldo2_reg: regulator@5 {
                        regulator-name= "act_ldo2";
                        regulator-min-microvolt = <1050000>;
                        regulator-max-microvolt = <1050000>;
               
                };

                ldo3_reg: regulator@6 {
                        regulator-name= "act_ldo3";
                        regulator-min-microvolt = <2800000>;
                        regulator-max-microvolt = <2800000>;
                       
                };

                ldo4_reg:regulator@7 {
                        regulator-name= "act_ldo4";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
               
                };

                ldo5_reg: regulator@8 {
                        regulator-name= "act_ldo5";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
               
                };

                ldo6_reg: regulator@9 {
                        regulator-name= "act_ldo6";
                        regulator-min-microvolt = <1100000>;
                        regulator-max-microvolt = <1100000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
                        };
                       
                };

                ldo7_reg: regulator@10 {
                        regulator-name= "vcc_18";
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
                        };
               
                };

                ldo8_reg: regulator@11 {
                        regulator-name= "act_ldo8";
                        regulator-min-microvolt = <1850000>;
                        regulator-max-microvolt = <1850000>;
               
                };
        };
};

/include/ "rk808.dtsi"
&rk808 {
        gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;
        rk808,system-power-controller;

        regulators {
               
                rk808_dcdc1_reg: regulator@0{
                        regulator-name= "vdd_arm";
                        regulator-always-on;
                        regulator-boot-on;
                };

                rk808_dcdc2_reg: regulator@1 {
                        regulator-name= "vdd_gpu";
                        regulator-always-on;
                        regulator-boot-on;
                };

                rk808_dcdc3_reg: regulator@2 {
                        regulator-name= "rk_dcdc3";
                        regulator-min-microvolt = <1200000>;
                        regulator-max-microvolt = <1200000>;
                        regulator-always-on;
                        regulator-boot-on;
                };

                rk808_dcdc4_reg: regulator@3 {
                        regulator-name= "vccio";
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-always-on;
                        regulator-boot-on;
                };

    /* NO USED, 3.3V*/
                rk808_ldo1_reg: regulator@4 {
                        regulator-name= "rk_ldo1";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-always-on;
                        regulator-boot-on;
                };

    /* BOX:RK1000s, 3.3V  */
                rk808_ldo2_reg: regulator@5 {
                        regulator-name= "rk_ldo2";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-always-on;
                        regulator-boot-on;
                };

    /* RK3288 PLL,USB PHY, 1.0V */
                rk808_ldo3_reg: regulator@6 {
                        regulator-name= "rk_ldo3";
                        regulator-min-microvolt = <1000000>;
                        regulator-max-microvolt = <1000000>;
                        regulator-always-on;
                        regulator-boot-on;
                };

    /* BOX:RK1000S CORE, 1.8V  */
                rk808_ldo4_reg:regulator@7 {
                        regulator-name= "rk_ldo4";
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                        regulator-always-on;
                        regulator-boot-on;
                };
   
    /* SDMMC IO, 3.3V*/
                rk808_ldo5_reg: regulator@8 {
                        regulator-name= "rk_ldo5";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-always-on;
                        regulator-boot-on;
                };
   
    /* CAMERA, 1.8V  box modify*/
                rk808_ldo6_reg: regulator@9 {
                        regulator-name= "rk_ldo6";
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                        regulator-always-on;
                        regulator-boot-on;
                };

    /* RK3288 USB PHY, SAR-ADC, WIFI IO, 1.8V */
                rk808_ldo7_reg: regulator@10 {
                        regulator-name= "rk_ldo7";
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                        regulator-always-on;
                        regulator-boot-on;
                };

    /* DTV, 3.3V  box modify*/
                rk808_ldo8_reg: regulator@11 {
                        regulator-name= "rk_ldo8";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-always-on;
                        regulator-boot-on;
                };

                rk808_ldo9_reg: regulator@12 {
                        regulator-name= "rk_ldo9";
                        regulator-always-on;
                        regulator-boot-on;
                };

                rk808_ldo10_reg: regulator@13 {
                        regulator-name= "rk_ldo10";
                        regulator-always-on;
                        regulator-boot-on;
                };
        };
};

/include/ "rk818.dtsi"
&rk818 {
        gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A0 GPIO_ACTIVE_LOW>;
        rk818,system-power-controller;

        regulators {
               
                rk818_dcdc1_reg: regulator@0{
                        regulator-name= "vdd_logic";
                        regulator-min-microvolt = <700000>;
                        regulator-max-microvolt = <1500000>;
                        regulator-initial-mode = <0x2>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-mode = <0x2>;
                                regulator-state-enabled;
                                regulator-state-uv = <900000>;
                        };               
                };

                rk818_dcdc2_reg: regulator@1 {
                        regulator-name= "rk818_dcdc2";
                        regulator-min-microvolt = <1200000>;
                        regulator-max-microvolt = <1200000>;       
                        regulator-initial-mode = <0x2>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-mode = <0x2>;
                                regulator-state-enabled;
                                regulator-state-uv = <1200000>;
                        };       
                };

                rk818_dcdc3_reg: regulator@2 {
                        regulator-name= "rk818_dcdc3";
                        regulator-min-microvolt = <1200000>;
                        regulator-max-microvolt = <1200000>;
                                regulator-initial-mode = <0x2>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-mode = <0x2>;
                                regulator-state-enabled;
                                regulator-state-uv = <1200000>;
                        };       
                };

                rk818_dcdc4_reg: regulator@3 {
                        regulator-name= "vccio";
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-initial-mode = <0x2>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-mode = <0x2>;
                                regulator-state-enabled;
                                regulator-state-uv = <2800000>;
                        };       
                };

                rk818_ldo1_reg: regulator@4 {
                        regulator-name= "rk818_ldo1";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
                                regulator-state-uv = <3300000>;
                        };       
                };

                rk818_ldo2_reg: regulator@5 {
                        regulator-name= "rk818_ldo2";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
                                regulator-state-uv = <3300000>;
                        };       
                };

                rk818_ldo3_reg: regulator@6 {
                        regulator-name= "rk818_ldo3";
                        regulator-min-microvolt = <1000000>;
                        regulator-max-microvolt = <1000000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
                                regulator-state-uv = <1000000>;
                        };       
                };

                rk818_ldo4_reg:regulator@7 {
                        regulator-name= "rk818_ldo4";
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-disabled;
                                regulator-state-uv = <1800000>;
                        };
                };

                rk818_ldo5_reg: regulator@8 {
                        regulator-name= "rk818_ldo5";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
                                regulator-state-uv = <3300000>;
                        };
                };

                rk818_ldo6_reg: regulator@9 {
                        regulator-name= "rk818_ldo6";
                        regulator-min-microvolt = <1000000>;
                        regulator-max-microvolt = <1000000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-disabled;
                                regulator-state-uv = <1000000>;
                        };       
                };

                rk818_ldo7_reg: regulator@10 {
                        regulator-name= "rk818_ldo7";
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
                                regulator-state-uv = <1800000>;
                        };       
                };

                rk818_ldo8_reg: regulator@11 {
                        regulator-name= "rk818_ldo8";
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
                                regulator-state-uv = <1800000>;
                        };       
                };
                rk818_ldo9_reg: regulator@12 {
                        regulator-name= "vcc_sd";
                        regulator-min-microvolt = <1800000>;
                  regulator-max-microvolt = <3300000>;
                        regulator-initial-state = <3>;
                        regulator-state-mem {
                                regulator-state-enabled;
                                regulator-state-uv = <3300000>;
                        };
                };
                rk818_ldo10_reg: regulator@13 {
                        regulator-name= "rk818_ldo10";
                        regulator-state-mem {
                                regulator-state-disabled;
                        };
                };
        };
       battery {
                ocv_table = <3350 3677 3693 3719 3752 3770 3775 3778 3785 3796 3812 3839 3881 3907 3933 3958 3978 4033 4087 4123 4174>;
                design_capacity = <2100>;
                design_qmax = <2200>;
                max_overcharge = <100>;
                bat_res = <80>;
                max_input_currentmA  = <2000>;
                max_chrg_currentmA = <1800>;
                max_charge_voltagemV = <4200>;
                max_bat_voltagemV = <4200>;
                sleep_enter_current = <300>;
                sleep_exit_current = <300>;
                power_off_thresd = <3400>;
                chrg_diff_voltagemV = <0>;
                virtual_power = <1>;
                support_usb_adp = <0>;
                support_dc_adp = <1>;
                power_dc2otg = <0>;
                dc_det_gpio = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
        };
};

&vpu {
        iommu_enabled = <1>;
};

&lcdc_vdd_domain {
        regulator-name = "vcc30_lcd";
        };
&dpio_vdd_domain{
        regulator-name = "vcc18_cif";       
        };
&flash0_vdd_domain{
        regulator-name = "vcc_flash";       
        };
&flash1_vdd_domain{
        regulator-name = "vcc_flash";                       
        };
&apio3_vdd_domain{
        regulator-name = "vccio_wl";               
        };
&apio5_vdd_domain{
        regulator-name = "vccio";               
        };
&apio4_vdd_domain{
        regulator-name = "vccio";               
        };
&apio1_vdd_domain{
        regulator-name = "vccio";                       
        };
&apio2_vdd_domain{
        regulator-name = "vccio";               
        };
&sdmmc0_vdd_domain{
        regulator-name = "vcc_sd";                       
        };
/*
&remotectl {
        handle_cpu_id = <1>;
        status = "okay";
        ir_key1{
                rockchip,usercode = <0xff00>;
                rockchip,key_table =
                        <0xeb   KEY_POWER>,
                        <0xec   KEY_MENU>,
                        <0xfe   KEY_BACK>,
                        <0xb7   KEY_HOME>,
                        <0xa3   250>,
                        <0xf4   KEY_VOLUMEUP>,
                        <0xa7   KEY_VOLUMEDOWN>,
                        <0xf8   KEY_REPLY>,
                        <0xfc   KEY_UP>,
                        <0xfd   KEY_DOWN>,
                        <0xf1   KEY_LEFT>,
                        <0xe5   KEY_RIGHT>;
        };
};
*/
/*
* Due to not have the software of PWM for remotectrl.
* We can _*HACK*_ do that as the following.
*/
&pwm0 {
        compatible = "rockchip,remotectl-pwm";
        remote_pwm_id = <0>;
        handle_cpu_id = <1>;
        status = "okay";

        ir_key1{
                rockchip,usercode = <0xff00>;
                rockchip,key_table =
                        <0xeb   KEY_POWER>,
                        <0xec   KEY_MENU>,
                        <0xfe   KEY_BACK>,
                        <0xb7   KEY_HOME>,
                        <0xa3   250>,
                        <0xf4   KEY_VOLUMEUP>,
                        <0xa7   KEY_VOLUMEDOWN>,
                        <0xf8   KEY_REPLY>,
                        <0xfc   KEY_UP>,
                        <0xfd   KEY_DOWN>,
                        <0xf1   KEY_LEFT>,
                        <0xe5   KEY_RIGHT>;
        };
};
       
如果有在3288上用rk818 的朋友,帮忙查看下上面的dts文件是否有问题?

对比firefly 3288 reload 和我的板子更新了同样的固件后的启动:
reload 是先进入recovery模式,进行分区,然后重启,进入到正常模式;
而我的板子,则是进入recovery模式,但是没有分区成功,而后 一直在recovery模式下;

是什么原因导致这样的问题呢?  

有了解的朋友请指导下,谢谢;


作者: chenglei    时间: 2017-10-17 13:17
yubang 发表于 2016-10-25 21:45
我把以下同样的固件更新到firefly3288 reload 板子,板子是能够正常启动的:
boot.img
misc.img

你好。我的也是进入recovery模式,您怎么解决的?
作者: 27.00    时间: 2017-12-27 14:21
一模一样,怎么解决的

作者: 845069831    时间: 2020-5-17 14:03
你好我也是在 9.0的工程上改 818 也是recovery模式   请问你是什么原因呢




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1