参考链接1: 海豚派 V3s 开发板资料预览
参考链接2: 荔枝派zero v3s开发板资料汇总
参考链接3: 任性买了一片海豚派新的开发板和核心板
海豚派主板原理图: Dolphin-Pi-III_V3S_SCH_V1.pdf
4.3寸电阻触摸液晶屏:rgb_tft_4_3_dophin.pdf
ov2710 mipi 摄像头: ov2710_mipi.pdf
MPU电源管理芯片AXP203: AXP203_Datasheet_V1_0.pdf
支持的摄像头模组: Allwinner-V3-V3s-Lens-Support-List_20150818-V1_3.pdf
支持摄像头列表: Allwinner-V3s-Camera-sensor-Support-List20150509-V1_0.pdf
重力传感器支持列表: Allwinner-V3s-Gsensor-Support-List20150509-V1_0.pdf
SPI NOR FLASH支持列表: Allwinner-V3s-SPI-NOR-Flash-Support-List20150509-V1_0.pdf
后置摄像头支持列表: Allwinner-V3s-_20150805-V1_0.pdf
第二版资料:
核心板手册: dpc03_module_V1_2.pdf
底板原理图: dophin-pi-v3s-diban-pwrrst-sch.pdf
底板水印: dophin-pi-v3s-diban-pwrrst-silk.pdf
1. 准备 vmware 14.0.0 build-6661328, ubuntu 14.04LTS
参考链接1: 《VMWare 使用分享》之一 "挂载新虚拟磁盘" 【原创视频】
2. 安装 java SDK
mkdir /usr/java cd /usr/java wget http://85-207-0-21.static.bluetone.cz/java/1.6.0_45/jdk-6u45-linux-x64.bin chmod +x jdk-6u45-linux-x64.bin ./jdk-6u45-linux-x64.bin ###解压缩 ###以下这些环境变量设置可以写到 /etc/profile 或 ~/.bashrc ### export JAVA_HOME=/usr/java/jdk1.6.0_45 export JAVA_BIN=/usr/java/jdk1.6.0_45/bin export PATH=$PATH:$JAVA_HOME/bin export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export JAVA_HOME JAVA_BIN PATH CLASSPATH
3. 下载海豚派SDK
参考链接1: 【海豚派】海豚派 V3s 开发板资料预览
解压 v3s_spinor_v2.gz
/disk5/spinor/camdroid
4. camdroid编译
cd camdroid
source build/envsetup.sh #导入环境变量设置,如下面的这些命令
lunch #选择平台型号,在build/envsetup.sh,包含了device/softwinner/common/vendorsetup.sh
mklichee #编译BootLoader和内核,模块
extract-bsp #拷贝前面的结果
make -j12 #编译camdroid
pack #打包镜像
组合命令执行:
$ source build/envsetup.sh;lunch;mklichee;extract-bsp;make -j2;pack;
yyy@ubuntu:/disk5/spinor/camdroid$ source build/envsetup.sh;lunch;mklichee;extract-bsp;make -j2;pack;
including device/softwinner/common/vendorsetup.sh
platformdef ==>>tiger-cdr
including device/softwinner/tiger-cdr/vendorsetup.shYou're building on Linux
Lunch menu... pick a combo:
1. tiger_cdr-engWhich would you like? [full-eng] 1
CAMLINUX_PRODUCT_FEATURE external media audio storage videoencoder debug camera adb
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=tiger_cdr
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-42-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/disk5/spinor/camdroid/out
============================================1. 1080p : "1080P"
"csi(ar0330_mipi)(1920x1080) & uvc(640x480) & lcd(320x480) & DirectIO"
2. dualCam : "Dual Cameras"
"csi(h22)(1280x720) & uvc(640x480) & lcd(480x272) & DirectIO & new Keycodes"
3. dualCam2 : "Dual Cameras"
"csi(ar0330_mipi)(1280x720) & uvc(640x480) & lcd(320x480) & DirectIO"
Choose the custom config number: 1
在下面的Linux驱动配置中, 一路回车即可生成 /disk5/spinor/lichee/tools/pack/sun8iw8p1_camdroid_tiger-cdr_uart0_none.img
编译打包完成!
5. 烧录
参考链接: 用全志官方软件PhoenixSuit.exe烧录 V3s步骤
6. bug
海豚派 v3s_spinor_v2.gz 有一个奇大无比的坑, 就是烧录编译的固件之后,启动newcdr, 系统会死掉,控制台不接受任何输入。
对新手来说,这个问题太严重了.
解决的办法是修改 device/softwinner/tiger-cdr/custom/1080p/lichee/pack_config/sys_config.fex 文件
lcdd23 = port:PE24<3><0><default><default>
vip_dev0_reset = port:PB3<1><default><default><default>
改为
;lcdd23 = port:PE24<3><0><default><default>
vip_dev0_reset = port:PE24<1><default><default><default>
7. camdroid添加应用程序的方法:
这个目录 camdroid/device/softwinner/tiger-cdr/app/ 添加 Test1 文件夹,
进入 Test1文件夹,加入 CamLinux.mk, test.c两个文件,
可以仿照 fatTest.
打开 camdroid/device/softwinner/tiger-cdr/custom/1080p/camdroid/tiger_cdr.mk,找到 fatTest, 在下面添加Test1即可,
重新运行上面的组合命令, 即可在固件的 /system/bin/目录下生成 Test1可执行文件。
8. 耳机、喇叭测试方法:
#/system/bin/startup_music /system/res/others/startup.wav
或者用整合的命令行:
#tinymix 1 24;tinymix 16 1;tinyplay /system/res/others/startup.wav
离线
hexing@ubuntu:/disk5/v3s_Release/camdroid$ make -j12
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=tiger_ipc
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-42-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/disk5/v3s_Release/camdroid/out
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.Your version is: java version "1.7.0_151".
The correct version is: Java SE 1.6.Please follow the machine setup instructions at
https://source.android.com/source/download.html
************************************************************
build/core/main.mk:141: *** stop. Stop.
hexing@ubuntu:/disk5/v3s_Release/camdroid$ java -version
java version "1.7.0_151"
OpenJDK Runtime Environment (IcedTea 2.6.11) (7u151-2.6.11-2ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.151-b01, mixed mode)
貌似一定要oracle 官方的java sdk
参考链接1: https://askubuntu.com/questions/67909/how-do-i-install-oracle-jdk-6
###卸载官方openjdk ###
sudo apt-get purge openjdk*cd /usr/lib/jvm/
###下载###
wget http://85-207-0-21.static.bluetone.cz/java/1.6.0_45/jdk-6u45-linux-x64.bin###执行(解压)###
./jdk-6u45-linux-x64.binsudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0_45/bin/java" 1
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.6.0_45/bin/javac" 1
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.6.0_45/bin/javaws" 1
sudo update-alternatives --config java
sudo update-alternatives --config javac
sudo update-alternatives --config javaws修改 /etc/profile:
JAVA_HOME=/usr/lib/jvm/jdk1.6.0_45
JAVA_BIN=$JAVA_HOME/bin
PATH=$PATH:$JAVA_HOME:$JAVA_BIN
export JAVA_HOME
export JAVA_BIN
export PATH
离线
build/core/product_config.mk:228: *** _nic.PRODUCTS.[[build/target/product/full.mk]]: "build/target/product/full_base_telephony.mk" does not exist. Stop.
屏蔽 build/target/product/full.mk 的 $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
离线
按这个步骤
$ source build/envsetup.sh;lunch;mklichee;extract-bsp;make -j2;pack;
编译 v3s_spinor_v2, 烧录固件之后, 运行newcdr会死机
\0HELLO! BOOT0 is starting!
get_ifm reg_val=7
===i2c gpio === 22777722
PMU: axp version ok
after set, dcdc2 =1100mv
axp20 set dcdc2 success
DRAM DRIVE INFO: V0.7
DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 408 MHz
DRAM zq value: 000039bb
DRAM size = 64 MB
Succeed in reading Boot1 file head.
Jump to secend Boot.
[ 0.096]
U-Boot 2011.09-rc1-00002-g10d0620 (Aug 21 2015 - 10:10:50) Allwinner Technology
[ 0.104]version: 1.1.0
[ 0.111]pmbus:
===i2c gpio === 22777722
ready
[ 0.119]PMU: AXP20x found
set power on vol to default
axp_set_power_supply_output dcdc2_vol = 1250
axp_set_power_supply_output dcdc3_vol = 3300
axp_set_power_supply_output aldo2_vol = 2500
axp_set_power_supply_output aldo3_vol = 3000
axp_set_power_supply_output ldo1_vol = 3300
axp_set_power_supply_output ldo2_vol = 3000
axp_set_power_supply_output ldo3_vol = 3000
fel key new mode
run key detect
no key found
[ 0.174]DRAM: 64 MiB
[debug_jaosn]:use the clock in sys_config
OK
[ 0.196]sunxi flash init ok
hello @flash_speed=1
env_relocate_spec storage_type = 3
In: serial
Out: serial
Err: serial
WORK_MODE_BOOT
read bootlogo partition successful,start_block=0x71a0,rblock=0x100 ,ret=256
Use decode 2x2 sampling
sunxi_read_bootlogo: jpg convert argb
[ 0.278]Hit any key to stop autoboot: 0
read boot or recovery all
[ 0.564]sunxi flash read :offset 4000, 4194815 bytes OK
[ 0.570]ready to boot
[ 0.572]
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Linux version 3.4.39 (hexing@ubuntu) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #305 Mon Apr 2 08:57:01 CST 2018
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: sun8i
[ 0.000000] Initialized persistent memory from 41d00800-41d107ff
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat c0524d24, node_mem_map c05b3000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16256 pages, LIFO batch:3
[ 0.000000] script_init enter!
[ 0.000000] script_init exit!
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/nor1 init=/init loglevel=8 partitions= mac_addr= uid=1234567890 kmemleak=on fb_base=0x41b00000 boot_type=3 config_size=33140
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 64MB = 64MB total
[ 0.000000] Memory: 30084k/30084k available, 35452k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc4800000 - 0xff000000 ( 936 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0491000 (4644 kB)
[ 0.000000] .init : 0xc0491000 - 0xc04b4000 ( 140 kB)
[ 0.000000] .data : 0xc04b4000 - 0xc0525460 ( 454 kB)
[ 0.000000] .bss : 0xc0525484 - 0xc05b2c64 ( 566 kB)
[ 0.000000] NR_IRQS:544
[ 0.000000] 524 ahb1 set parent pll_periph0d2
[ 0.000000] Architected local timer running at 24.00MHz.
[ 0.000000] Switching to timer-based delay loop
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000155] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[ 0.000175] pid_max: default: 32768 minimum: 301
[ 0.000320] Mount-cache hash table entries: 512
[ 0.000837] CPU: Testing write buffer coherency: ok
[ 0.001092] Setting up static identity map for 0x403694e8 - 0x40369540
[ 0.001758] devtmpfs: initialized
[ 0.003700] pinctrl core: initialized pinctrl subsystem
[ 0.004192] NET: Registered protocol family 16
[ 0.004592] DMA: preallocated 128 KiB pool for atomic coherent allocations
[ 0.004646] script_sysfs_init success
[ 0.004682] sunxi_dump_init success
[ 0.005447] gpiochip_add: registered GPIOs 0 to 223 on device: sunxi-pinctrl
[ 0.006378] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[ 0.006744] gpiochip_add: registered GPIOs 1024 to 1031 on device: axp-pinctrl
[ 0.007469] tsc2003 device registered
[ 0.007748] persistent_ram: uncorrectable error in header
[ 0.007762] persistent_ram: no valid data in buffer (sig = 0x00000004)
[ 0.014115] console [ram-1] enabled
[ 0.014521] [sunxi-module]: [sunxi-module.0] probe success
[ 0.014746] ++axp20_board_init!
[ 0.014937] axp driver uning configuration failed(801)
[ 0.015139] axp driver uning configuration failed(808)
[ 0.015532] script config pll_isp to 360 Mhz
[ 0.015668] Not Found clk pll_video in script
[ 0.015873] script config pll_ve to 360 Mhz
[ 0.015993] Not Found clk pll_periph0 in script
[ 0.016193] Not Found clk pll_de in script
[ 0.016300] sunxi_default_clk_init
[ 0.016408] try to set pll6ahb1 to 200000000
[ 0.016609] Error not get clk pll6ahb1
[ 0.016722] Error not get clk pll6ahb1try to set ahb1 to 200000000
[ 0.016941] try to set apb1 to 100000000
[ 0.017459] ===fe3o4==== sunxi_root_procfs_attach ret:0
[ 0.021310] bio: create slab <bio-0> at 0
[ 0.021752] pwm module init!
[ 0.023422] ion_mem.size = 29360128
[ 0.024115] SCSI subsystem initialized
[ 0.024536] usbcore: registered new interface driver usbfs
[ 0.024715] usbcore: registered new interface driver hub
[ 0.024975] usbcore: registered new device driver usb
[ 0.025310] twi_chan_cfg()342 - [twi0] has no twi_speed!
[ 0.025425] twi_chan_cfg()353 - [twi0] has no twi_regulator.
[ 0.025627] twi_chan_cfg()342 - [twi1] has no twi_speed!
[ 0.025736] twi_chan_cfg()353 - [twi1] has no twi_regulator.
[ 0.025937] sunxi_i2c_adap_init()1563 - Sunxi I2C init channel 0
[ 0.026187] ++sunxi_i2c_probe
[ 0.026429] twi_request_gpio()406 - Pinctrl init 0 ... [twi0]
[ 0.026640] twi_clk_write_reg()241 - twi_clk_write_reg: clk_n = 0, clk_m = 5
[ 0.027131] ++axp_i2c_probe!
[ 0.027410] axp20_init_chip:chip_id = 0x41
[ 0.027410] axp20_board 0-0034: AXP (CHIP ID: 0x41) detected
[ 0.030790] sunxi_i2c_probe()1250 - I2C: i2c-0: sunxi I2C adapter
[ 0.030924] sunxi_i2c_probe()1251 - TWI_CTL 0xf1c2ac0c: 0x000000c4
[ 0.031132] sunxi_i2c_probe()1252 - TWI_STAT 0xf1c2ac10: 0x000000f9
[ 0.031348] sunxi_i2c_probe()1253 - TWI_CLK 0xf1c2ac14: 0x00000028
[ 0.031462] sunxi_i2c_probe()1254 - TWI_SRST 0xf1c2ac18: 0x00000000
[ 0.031664] sunxi_i2c_probe()1255 - TWI_EFR 0xf1c2ac1c: 0x00000000
[ 0.031847] Linux video capture interface: v2.00
[ 0.032389] gpiochip_add: gpios 1024..1028 (axp_pin) failed to register
[ 0.032389] axp pinctrl used,skip
[ 0.032389] Advanced Linux Sound Architecture Driver Version 1.0.25.
[ 0.032389] cfg80211: Calling CRDA to update world regulatory domain
[ 0.033000] Switching to clocksource arch_sys_counter
[ 0.039417] NET: Registered protocol family 2
[ 0.039793] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.040447] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.040693] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.040826] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.041028] TCP: reno registered
[ 0.041143] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.041354] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.041721] NET: Registered protocol family 1
[ 0.042130] Unpacking initramfs...
[ 0.057683] Freeing initrd memory: 220K
[ 0.058041] [pm]aw_pm_init!
[ 0.058155] standby_mode = 1.
[ 0.058355] wakeup src cnt is : 3.
[ 0.058469] pmu name: pmu1_para .
[ 0.058584] pmu1_enable = 0x1.
[ 0.058782] pmux_id = 0x1.
[ 0.058893] pmu name: pmu2_para .
[ 0.059002] config_pmux_para: script_parser_fetch err.
[ 0.059202] pmu2_enable = 0x0.
[ 0.059324] add_sys_pwr_dm: get ldo name failed
[ 0.059434] add_sys_pwr_dm: get ldo name failed
[ 0.059961] add_sys_pwr_dm: get ldo name failed
[ 0.060121] add_sys_pwr_dm: get ldo name failed
[ 0.060234] add_sys_pwr_dm: get ldo name failed
[ 0.060435] add_sys_pwr_dm: get ldo name failed
[ 0.060790] add_sys_pwr_dm: get ldo name failed
[ 0.061227] after inited: sys_mask config = 0x4810.
[ 0.061342] dynamic_standby enalbe = 0x0.
[ 0.061506] sunxi_reg_init enter
[ 0.063513] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.063678] jffs2: version 2.2. (NAND) (SUMMARY) 漏 2001-2006 Red Hat, Inc.
[ 0.064066] msgmni has been set to 59
[ 0.065333] io scheduler noop registered
[ 0.065544] io scheduler deadline registered
[ 0.065735] io scheduler cfq registered (default)
[ 0.066281] [DISP]disp_module_init
[ 0.066894] cmdline,disp=
[ 0.067540] disp_init_rotation_sw
[ 0.067669] @@@rot-degree=0, scn_size[480,272]
[ 0.067915] disp_rot_sw_set_manager,1209
[ 0.068100] fb_para.width = 480,fb_para.height = 272,fb_para.buffer_num = 2
[ 0.068222] gen_pool_alloc:nbits = 255,size = 1044480,order = 12
[ 0.068424] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 29360128
[ 0.068728] end_bit = 7168
[ 0.070262] info->var.bits_per_pixel = 32
[ 0.083287] [DISP] disp_sys_power_enable,line:387:some error happen, fail to get regulator
[ 0.083611] [DISP] disp_sys_gpio_set_value,line:374:OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[ 0.084665] [DISP]disp_module_init finish
[ 0.085051] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator.
[ 0.085576] uart2: ttyS0 at MMIO 0x1c28800 (irq = 34) is a SUNXI
[ 0.085703] sw_uart_pm()890 - uart2 clk is already enable
[ 0.085918] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[ 0.182001] console [ttyS0] enabled
[ 1.003632] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[ 1.011583] spi spi0: master is unqueued, this is deprecated
[ 1.018104] m25p_probe()966 - Use the Dual Mode Read.
[ 1.024051] NorFlash ID: 0xc22018 - 0xc220
[ 1.028707] m25p80 spi0.0: found mx25l12805d, expected at25df641
[ 1.035601] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 1.043017] @@@[debug_jaosn]: Invalid partitions count: 4 9
[ 1.049855] Creating 8 MTD partitions on "spi0.0":
[ 1.055353] 0x000000000000-0x000000040000 : "uboot"
[ 1.061944] 0x000000040000-0x000000440000 : "boot"
[ 1.068327] 0x000000440000-0x000000df0000 : "system"
[ 1.074939] 0x000000df0000-0x000000e70000 : "cfg"
[ 1.081307] 0x000000e70000-0x000000e90000 : "boot_logo"
[ 1.088248] 0x000000e90000-0x000000eb0000 : "shutdown_logo"
[ 1.095542] 0x000000eb0000-0x000000ec0000 : "env"
[ 1.100939] [DISP] disp_lcd_pwm_enable,line:1026:pwm device hdl is NULL
[ 1.109573] 0x000000ec0000-0x000000ed0000 : "private"
[ 1.116506] priv->phy_ext = INT_PHY
[ 1.121314] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.148880] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.158012] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[ 1.166644] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[ 1.190032] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[ 1.197445] hub 1-0:1.0: USB hub found
[ 1.201865] hub 1-0:1.0: 1 port detected
[ 1.206860] sunxi-ehci sunxi-ehci.1: remove, state 1
[ 1.212524] usb usb1: USB disconnect, device number 1
[ 1.502629] sunxi-ehci sunxi-ehci.1: USB bus 1 deregistered
[ 1.519068] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.546250] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[ 1.554992] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 1
[ 1.563568] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[ 1.634684] hub 1-0:1.0: USB hub found
[ 1.638967] hub 1-0:1.0: 1 port detected
[ 1.643858] sunxi-ohci sunxi-ohci.1: remove, state 1
[ 1.649597] usb usb1: USB disconnect, device number 1
[ 1.655923] sunxi-ohci sunxi-ohci.1: USB bus 1 deregistered
[ 1.672446] Initializing USB Mass Storage driver...
[ 1.678044] usbcore: registered new interface driver usb-storage
[ 1.684931] USB Mass Storage support registered.
[ 1.690508] file system registered
[ 1.696037] android_usb gadget: Mass Storage Function, version: 2009/09/11
[ 1.703854] android_usb gadget: Number of LUNs=1
[ 1.709170] lun0: LUN: removable file: (no medium)
[ 1.715187] android_usb gadget: android_usb ready
[ 1.720692] sunxikbd_script_init: key para not found, used default para.
[ 1.728944] tsc2003_ts_init
[ 1.732189] =====ctp_fetch_sysconfig_para=====.
[ 1.737525] ctp_fetch_sysconfig_para: ctp_unused.
[ 1.742951] =========script_get_item_err============
[ 1.748558] tsc2003_ts_init: ctp_fetch_sysconfig_para err.
[ 1.755050] [RTC] WARNING: Rtc time will be wrong!!
[ 1.760902] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[ 1.768612] sunxi cedar version 0.1
[ 1.772764] [cedar]: install start!!!
[ 1.777256] [cedar]: install end!!!
[ 1.788393] pmu_pekoff_time = 6000
[ 1.792309] pmu_pekoff_en = 1
[ 1.795697] pmu_peklong_time = 1500
[ 1.799753] pmu_pekon_time = 1000
[ 1.803550] pmu_pwrok_time = 64
[ 1.807131] pmu_pwrnoe_time = 2000
[ 1.811100] pmu_hot_shutdown = 1
[ 1.815630] POWER20_PEK_SET:2146-->0x9d
[ 1.820414] POWER20_PEK_SET:2157-->0x9d
[ 1.825279] POWER20_PEK_SET:2166-->0x9d
[ 1.830057] POWER20_PEK_SET:2177-->0x9d
[ 1.834859] POWER20_PEK_SET:2189-->0x9d
[ 1.839727] POWER20_HOTOVER_CTL:2198-->0x2d
[ 1.851731] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[ 1.859129] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[ 1.870492] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[ 1.878228] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[ 1.884544] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[ 1.894295] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.114 2015-6-2 10:21) Compiled in Apr 2 2018 at 08:54:04
[ 1.905863] [mmc]: get mmc0's sdc_power failed
[ 1.911014] [mmc]: get mmc1's sdc_power failed
[ 1.916051] [mmc]: MMC host used card: 0x3, boot card: 0x0, io_card 2
[ 1.924214] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 1.937578] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 1.950528] sunxi_leds_fetch_sysconfig_para leds is not used in config
[ 1.957990] =========script_get_err============
[ 1.963350] usbcore: registered new interface driver usbhid
[ 1.969726] usbhid: USB HID core driver
[ 1.974745] ashmem: initialized
[ 1.978469] logger: created 256K log 'log_main'
[ 1.983859] logger: created 32K log 'log_events'
[ 1.989230] logger: created 32K log 'log_radio'
[ 1.994511] logger: created 32K log 'log_system'
[ 2.001376] script_get_item return audio_pa_ctrl type err
[ 2.008330] asoc: sndcodec <-> sunxi-codec mapping ok
[ 2.016331] TCP: cubic registered
[ 2.020167] NET: Registered protocol family 17
[ 2.025476] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 2.034299] ThumbEE CPU extension supported.
[ 2.039165] Registering SWP/SWPB emulation handler
[ 2.046587] sunxi-rtc sunxi-rtc: hctosys: unable to read the hardware clock
[ 2.055973] [wifi module_pm]: select module num is 6
[ 2.061743] [wifi module_pm]: step [0] failed to fetch module_power0
[ 2.068894] [wifi module_pm]: mod has no chip_en gpio
[ 2.074714] [wifi module_pm]: failed to fetch lpo_use_apclk
[ 2.081347] [wifi_pm]: wifi gpio init is OK !!
[ 2.086560]
[ 2.086564] *****Apr 2 2018 08:54:04 EAGLE DRIVER VER:75be56bfbaf7*****
[ 2.086572]
[ 2.097850] =======================================================
[ 2.104931] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
[ 2.112092] =======================================================
[ 2.119145] Espressif ESP8089 SDIO WiFi driver (Powered by Rockchip, Ver2.25(01/22/2016),Drv: 2.26) init.
[ 2.129974] [wifi_pm]: set wl_reg_on 1 !
[ 2.234489] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 2.245987] [mmc]: sdc1 power_supply is null
[ 2.270037] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 2.302351] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 2.311609] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 2.320037] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 2.332890] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 2.345071] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 2.353398] *******************Try sdio*******************
[ 2.359891] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 2.394656] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[ 2.408059] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[ 2.417343] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[ 2.424573] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[ 2.434955] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[ 2.445488] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[ 2.456931] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[ 2.463266] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[ 2.469496] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[ 2.475828] mmc1: new high speed SDIO card at address 0001
[ 2.482400] esp_sdio_dummy_probe enter
[ 2.486817] *******************sdio init ok*******************
[ 2.690020] esp_sdio_init power up OK
[ 3.131981] esp_host:75be56bfbaf7
[ 3.131989] esp_target: 2cefb7b78636 77 18204
[ 3.131995]
[ 3.142640] esp_readwrite_file: file /system/lib/modules/test_results filp_open error
[ 3.151654] first normal exit
[ 3.155152] esp_sdio_remove enter
[ 3.159034] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 3.167500] sif_disable_irq release irq failed
[ 3.172742] mmc1: card 0001 removed
[ 3.176876] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.186951] [mmc]: sdc1 power_supply is null
[ 3.280094] ALSA device list:
[ 3.283490] #0: audiocodec
[ 3.286978] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.297155] Freeing init memory: 140K
[ 3.303287] init: skipping insecure file '/default.prop'
[ 3.309503] init: skipping insecure file '/init.rc'
[ 3.315139] [mmc]: sdc1 power_supply is null
[ 3.321768] init: /init.rc: 132: invalid option 'root'
[ 3.327682] init: skipping insecure file '/init.sun8i.rc'
[ 3.334096] init: /init.sun8i.rc: 58: invalid option 'root'
[ 3.340444] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.350882] init: skipping insecure file 'init.sun8i.usb.rc'
[ 3.357885] init: command 'loglevel' r=0
[ 3.364369] init: skipping insecure file '/ueventd.rc'
[ 3.370322] init: command 'export' r=0
[ 3.374686] init: command 'export' r=0
[ 3.378951] init: command 'export' r=0
[ 3.383539] init: skipping insecure file '/ueventd.sun8i.rc'
[ 3.390902] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 3.399371] init: command 'export' r=0
[ 3.403775] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 3.412133] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.430347] init: command 'symlink' r=0
[ 3.434827] init: command 'symlink' r=0
[ 3.439312] init: command 'symlink' r=0
[ 3.450248] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.470283] init: command 'mkdir' r=0
[ 3.474519] init: command 'mkdir' r=0
[ 3.478816] init: command 'mkdir' r=0
[ 3.485103] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 3.493533] *******************Try sdio*******************
[ 3.510326] init: command 'mkdir' r=-2
[ 3.514623] init: processing action 0x7f6780 (init)
[ 3.525335] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.550285] init: command 'export' r=0
[ 3.554630] init: command 'export' r=0
[ 3.558900] init: command 'export' r=0
[ 3.567320] init: command 'export' r=0
[ 3.571728] init: processing action 0x7f4e90 (early-fs)
[ 3.577761] init: command 'mkdir' r=0
[ 3.582145] init: command 'mkdir' r=0
[ 3.586347] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[ 3.592707] init: command 'mkdir' r=0
[ 3.596887] init: processing action 0x7f7a20 (console_init)
[ 3.603559] init: command 'console_init' r=0
[ 3.608530] init: processing action 0x7f5198 (fs)
[ 3.613950] init: command 'wait' r=0
[ 3.618682] init: command 'setupfs' r=1
[ 3.623330] init: out of loopback devices source = /dev/block/mtdblock2
[ 3.630841] init: out of loopback devices target = /system
[ 3.637149] init: out of loopback devices system = squashfs
[ 3.643469] init: out of loopback devices options = (null)
[ 3.652335] init: command 'mount' r=0
[ 3.656654] init: command 'wait' r=0
[ 3.660816] init: out of loopback devices source = /dev/block/mtdblock3
[ 3.668373] init: out of loopback devices target = /data
[ 3.674508] init: out of loopback devices system = jffs2
[ 3.680530] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[ 3.686726] init: out of loopback devices options = (null)
[ 3.695901] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[ 3.703099] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[ 3.713629] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[ 3.724392] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[ 3.736237] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[ 3.742611] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[ 3.749024] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[ 3.755448] mmc1: new high speed SDIO card at address 0001
[ 3.763688] init: command 'mount' r=0
[ 3.767931] init: processing action 0x7f5278 (post-fs)
[ 3.774405] init: out of loopback devices source = rootfs
[ 3.780555] init: out of loopback devices target = /
[ 3.786167] init: out of loopback devices system = rootfs
[ 3.792443] init: out of loopback devices options = (null)
[ 3.798720] init: command 'mount' r=0
[ 3.804149] init: processing action 0x7f52d8 (post-fs-data)
[ 3.816786] init: command 'chown' r=0
[ 3.832957] init: command 'chmod' r=0
[ 3.837192] init: command 'chmod' r=-2
[ 3.849020] init: command 'mkdir' r=0
[ 3.855823] init: command 'restorecon' r=0
[ 3.866639] init: command 'mkdir' r=0
[ 3.878113] init: command 'mkdir' r=0
[ 3.888675] init: command 'mkdir' r=0
[ 3.898752] init: command 'mkdir' r=0
[ 3.906127] init: processing action 0x7f64b8 (post-fs-data)
[ 3.922577] init: skipping insecure file '/system/vendor/modules/fatfs.ko'
[ 4.274716] misc fatfs initialized
[ 4.278950] init: command 'insmod' r=0
[ 4.283731] init: skipping insecure file '/system/vendor/modules/videobuf-core.ko'
[ 4.298009] Wifi Efuse Mac => ac:d0:74:f0:69:b5
[ 4.303293] esp_host:75be56bfbaf7
[ 4.303299] esp_target: 2cefb7b78636 77 18204
[ 4.303304]
[ 4.323622] esp_sdio: initializing netlink
[ 4.328439] init: command 'insmod' r=0
[ 4.332875] *******************sdio init ok*******************
[ 4.339717] init: skipping insecure file '/system/vendor/modules/videobuf-dma-contig.ko'
[ 4.349904] init: command 'insmod' r=0
[ 4.354349] init: skipping insecure file '/system/vendor/modules/cci.ko'
[ 4.395790] [VFE]cci probe start cci_sel = 0!
[ 4.400937] [VFE]cci probe end cci_sel = 0!
[ 4.405788] [VFE]cci_init end
[ 4.409390] init: command 'insmod' r=0
[ 4.413832] init: skipping insecure file '/system/vendor/modules/vfe_os.ko'
[ 4.452852] init: command 'insmod' r=0
[ 4.457283] init: skipping insecure file '/system/vendor/modules/vfe_subdev.ko'
[ 4.466546] init: command 'insmod' r=0
[ 4.471033] init: skipping insecure file '/system/vendor/modules/ov2710_mipi.ko'
[ 4.490575] [VFE_DEV_CCI_DBG]cci init device
[ 4.495542] [VFE_DEV_CCI_DBG]cci_subdev_init!
[ 4.500530] [VFE_DEV_CCI_DBG]cci_dev_num_id = 1, name = ov2710_mipi, cci_subdev_init,sd pt=c1b27d80!
[ 4.511052] init: command 'insmod' r=0
[ 4.515488] init: skipping insecure file '/system/vendor/modules/vfe_v4l2.ko'
[ 4.669290] [VFE]Welcome to Video Front End driver
[ 4.675458] [VFE]pdev->id = 0
[ 4.678861] [VFE]dev->mipi_sel = 0
[ 4.682777] [VFE]dev->vip_sel = 0
[ 4.686551] [VFE]dev->isp_sel = 0
[ 4.696652] [VFE_WARN]vfe vpu clock is null
[ 4.701441] gen_pool_alloc:nbits = 1,size = 4096,order = 12
[ 4.707737] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28315648
[ 4.717510] end_bit = 7168
[ 4.725710] gen_pool_alloc:nbits = 1,size = 4096,order = 12
[ 4.732019] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28311552
[ 4.741889] end_bit = 7168
[ 4.751366] [ISP] isp platform_id = 6!
[ 4.755805] [VFE]vfe_init end
[ 4.759771] init: command 'insmod' r=0
[ 4.764106] [VFE]probe_work_handle start!
[ 4.768657] [VFE]..........................vfe clk open!.......................
[ 4.777021] init: processing action 0x7f7a68 (property_service_init)
[ 4.785679] dev->dev_qty = 1
[ 4.789096] [VFE]v4l2 subdev register input_num = 0
[ 4.794664] [VFE]vfe sensor detect start! input_num = 0
[ 4.800672] [VFE]Find sensor name is "ov2710_mipi", i2c address is 6c, type is "RAW" !
[ 4.809564] [VFE]Sub device register "ov2710_mipi" i2c_addr = 0x6c start!
[ 4.817298] [VFE_DEV_CCI_DBG]try cci dev name =ov2710_mipi!
[ 4.823588] [VFE_DEV_CCI_DBG]cci_drv->name = ov2710_mipi, check name = ov2710_mipi
[ 4.832189] [VFE_DEV_CCI_DBG]cci_bus_match name matched!
[ 4.838277] [VFE_DEV_CCI_DBG]sd = c1b27d80, cci_drv pt = bf0ac6a8,id = 0,saddr = 36, name = ov2710_mipi
[ 4.848818] [VFE]v4l2_device_register_subdev return 0
[ 4.854620] [VFE]registered sensor subdev is OK!
[ 4.859844] [VFE]Check sensor!
[ 4.863339] [VFE]Sub device register "ov2710_mipi" is OK!
[ 4.870979] init: skipping insecure file '/system/build.prop'
[ 4.920707] [VFE]Check open /system/etc/hawkview/ov2710_mipi/isp_test_param.ini failed!
[ 4.920723] Match isp cfg start!
[ 4.933704] [VFE]Match isp cfg ok
[ 4.938220] init: Created socket '/dev/socket/property_service' with mode '666', user '0', group '0'
[ 4.948701] init: command 'property_service_init' r=0
[ 4.954918] [VFE]V4L2 device registered as video0
[ 4.960338] init: processing action 0x7f7ab0 (signal_init)
[ 4.966717] init: command 'signal_init' r=0
[ 4.971540] [VFE]..........................vfe clk close!.......................
[ 4.979969] [VFE]probe_work_handle end!
[ 4.984376] init: processing action 0x7f7af8 (check_startup)
[ 4.990920] init: command 'check_startup' r=0
[ 4.995880] init: processing action 0x7f5490 (boot)
[ 5.001939] init: command 'ifup' r=0
[ 5.006167] init: command 'hostname' r=0
[ 5.010735] init: command 'domainname' r=0
[ 5.015516] init: command 'setrlimit' r=0
[ 5.025197] init: command 'chown' r=0
[ 5.029613] init: starting 'servicemanager'
[ 5.034986] init: starting 'vold'
[ 5.039213] init: starting 'media'
[ 5.050463] init: Created socket '/dev/socket/vold' with mode '660', user '0', group '1009'
[ 5.068891] init: starting 'startupSound'
[ 5.084718] init: command 'class_start' r=0
[ 5.098422] init: starting 'newcdr'
[ 5.107514] init: command 'class_start' r=0
[ 5.112444] init: processing action 0x7f65e8 (boot)
[ 5.118136] init: starting 'adbd'
[ 5.128694] init: command 'start' r=0
[ 5.140695] init: Created socket '/dev/socket/adbd' with mode '660', user '1000', group '1000'
[ 5.162163] init: starting 'debuggerd'
[ 5.166936] init: command 'start' r=0
[ 5.192725] init: command 'setprop' r=0
[ 5.197169] init: command 'setprop' r=0
[ 5.201991] adb_open
[ 5.215718] init: processing action 0x7f7b40 (queue_property_triggers)
[ 5.224075] init: command 'queue_property_triggers' r=0
[ 5.230799] init: processing action 0x7f5770 (property:ro.debuggable=1)
[ 5.238522] init: starting 'console'
[ 5.243139] init: command 'start' r=0
[ 5.247350] init: processing action 0x7f7458 (property:sys.usb.config=mass_storage,adb)
[ 5.265487] android_usb: already disabled
[ 5.270961] init: command 'write' r=0
[ 5.278780] init: command 'write' r=0
[ 5.292096] init: command 'write' r=0
[ 5.299611] init: command 'write' r=0
[ 5.306169] ep_matches, wrn: endpoint already claimed, ep(0xc0513ba4, 0xc1a73ac0, ep1in-bulk)
[ 5.316011] adb_bind_config
[ 5.319246] ep_matches, wrn: endpoint already claimed, ep(0xc0513ba4, 0xc1a73ac0, ep1in-bulk)
[ 5.333938] ep_matches, wrn: endpoint already claimed, ep(0xc0513bf0, 0xc1a73ac0, ep1out-bulk)
[ 5.343709] ep_matches, wrn: endpoint already claimed, ep(0xc0513ba4, 0xc1a73ac0, ep1in-bulk)
[ 5.353379] ep_matches, wrn: endpoint already claimed, ep(0xc0513bf0, 0xc1a73ac0, ep1out-bulk)
[ 5.363047] ep_matches, wrn: endpoint already claimed, ep(0xc0513c3c, 0xc1a8dec0, ep2in-bulk)
[ 5.373376] init: command 'write' r=0
[ 5.377645] init: command 'setprop' r=0
root@camdroid:/ # [ 7.820557] ★·newcdr·★: main entry
[ 7.835291] ★·newcdr·★: ===no need to check battery capacity ===
[ 8.551897] [DISP] ready enter pm_runtime_get_sync, device0
[ 8.863366] [VFE]vfe_open
[ 8.866402] [VFE]..........................vfe clk open!.......................
[ 8.875074] gen_pool_alloc:nbits = 1,size = 3584,order = 12
[ 8.881374] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28307456
[ 8.891154] end_bit = 7168
[ 8.894306] gen_pool_alloc:nbits = 1,size = 1536,order = 12
[ 8.900607] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28303360
[ 8.910479] end_bit = 7168
[ 8.913593] gen_pool_alloc:nbits = 3,size = 8448,order = 12
[ 8.919875] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28299264
[ 8.929773] end_bit = 7168
[ 8.938005] gen_pool_alloc:nbits = 3,size = 8448,order = 12
[ 8.944404] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28286976
[ 8.954267] end_bit = 7168
[ 8.957391] gen_pool_alloc:nbits = 3,size = 8448,order = 12
[ 8.963685] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28274688
[ 8.973548] end_bit = 7168
[ 8.976660] gen_pool_alloc:nbits = 3,size = 8448,order = 12
[ 8.983042] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28262400
[ 8.992905] end_bit = 7168
[ 8.996015] gen_pool_alloc:nbits = 3,size = 8448,order = 12
[ 9.002307] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28250112
[ 9.012173] end_bit = 7168
[ 9.015283] [VFE]vfe_open ok
[ 9.018803] [VFE]Set vfe core clk = 216000000, after Set vfe core clk = 180000000
[ 9.039443] [OV2710 Raw]CSI_SUBDEV_PWR_ON!
[ 9.044204] [VFE_WARN]os_gpio_set_status, hdl is NULL
[ 9.050037] [VFE_WARN]os_gpio_set_status, hdl is NULL
[ 9.055941] vfe_gpio_write:gpio_type = 2,status = 1
[ 9.061478] os_gpio_write:set gpio 35 to 1
[ 9.066121] os_gpio_write:set gpio 35 to 1
然而换一台电脑,重新编译烧录, 问题依旧。
离线
root@camdroid:/ # ls /system/lib
crtbegin_so.o
crtend_so.o
hw
libAdas.so
libCedarX.so
libFatFs.so
libGsensor.so
libMemAdapter.so
libVE.so
libadecoder.so
libasan_preload.so
libaudioflinger.so
libaudioutils.so
libavcodec-2.2.git.so
libavdevice-2.2.git.so
libavfilter-2.2.git.so
libavformat-2.2.git.so
libavresample-2.2.git.so
libavutil-2.2.git.so
libaw_net.so
libawmd.so
libbinder.so
libc.so
libcamera_client.so
libcamera_metadata.so
libcameraservice.so
libcdx_base.so
libcdx_parser.so
libcdx_stream.so
libcedarx_aencoder.so
libcedarxbase.so
libcedarxplayer.so
libcedarxstream.so
libcodec_audio.so
libcommon_time_client.so
libcorkscrew.so
libcpuinfo.so
libcrypto.so
libcutils.so
libdatabase.so
libdiskconfig.so
libdisplay_client.so
libdisplayservice.so
libdl.so
libeffects.so
libexpat.so
libext4_utils.so
libgabi++.so
libgccdemangle.so
libhardware.so
libhardware_legacy.so
libhttpsrv.so
libhwdisp.so
libjpeg.so
libjpegdecoder.so
liblog.so
libm.so
libmedia.so
libmedia_native.so
libmedia_proxy.so
libmediaplayerservice.so
libminigui_ths-3.0.so.12
libnbaio.so
libnetutils.so
libnormal_audio.so
libpagemap.so
libpng.so
libpower.so
libpowermanager.so
libqrdecode.so
libril_audio.so
libsdecoder.so
libsparse.so
libspeexresampler.so
libsqlite.so
libssl.so
libstagefright_color_conversion.so
libstagefright_foundation.so
libstandby.so
libstdc++.so
libstlport.so
libstorage.so
libswresample-2.2.git.so
libswscale-2.2.git.so
libsync.so
libsysutils.so
libthirdpartstream.so
libthread_db.so
libtinyalsa.so
libui.so
libutils.so
libvdecoder.so
libvencoder.so
libvideoresizer.so
libwater_mark.so
libwpa_client.so
libz.so
离线
上传一个海豚派固件可以录像的固件,未使用 camdroid 架构,未整合编解码器,仅仅把 ov2710采集的原始数据保存到TF卡.
固件下载地址:sun8iw8p1_linux_qt_dophin_pi_uart0_none_20180428.7z
使用PhoenixSuit.exe烧录到海豚派第一代(红色)板子.
运行指令:
mount /dev/mmcblk0p1 /root ###挂载TF卡
cd /root
insmod /lib/modules/3.4.39/videobuf2-core.ko
insmod /lib/modules/3.4.39/videobuf2-memops.ko
insmod /lib/modules/3.4.39/videobuf2-vmalloc.ko
insmod /lib/modules/3.4.39/cci.ko
insmod /lib/modules/3.4.39/vfe_os.ko
insmod /lib/modules/3.4.39/vfe_subdev.ko
insmod /lib/modules/3.4.39/videobuf-core.ko
insmod /lib/modules/3.4.39/videobuf-dma-contig.ko
insmod /lib/modules/3.4.39/ov2710_mipi.ko
insmod /lib/modules/3.4.39/vfe_v4l2.ko
/usr/bin/camera
离线
离线
离线
晕哥 说:Longer 说:linux小白表示不太理解……是因为只有camdroid上面才有这个驱动吗?其它环境下能不能也有这些驱动?
摄像头驱动被社区整出来了,
关键是视频编解码器吧,
因为不开源,
所以绑死在了camdroid.明白了……看来做视频编解码的话,camdroid是绕不开的了。
也不一定,海豚派他们有源码,所以能porting 到Linux.
离线
你的根文件系统是在 TF 卡吗,
感觉你的卡问题比较大
[ 16.230011] [mmc]: *** sunxi_mci_update_clk(L492): update clock timeout, fatal error!!!
[ 17.230009] [mmc]: *** sunxi_mci_update_clk(L492): update clock timeout, fatal error!!!
[ 18.230010] [mmc]: *** sunxi_mci_update_clk(L492): update clock timeout, fatal error!!!
[ 18.251567] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 19.260013] [mmc]: *** sunxi_mci_update_clk(L492): update clock timeout, fatal error!!!
[ 20.260011] [mmc]: *** sunxi_mci_update_clk(L492): update clock timeout, fatal error!!!
[ 21.260009] [mmc]: *** sunxi_mci_update_clk(L492): update clock timeout, fatal error!!!
[ 21.271306] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 22.280012] [mmc]: *** sunxi_mci_update_clk(L492): update clock timeout, fatal error!!!
[ 23.280009] [mmc]: *** sunxi_mci_update_clk(L492): update clock timeout, fatal error!!!
[ 24.280009] [mmc]: *** sunxi_mci_update_clk(L492): update clock timeout, fatal error!!!
离线
HELLO! BOOT0 is starting!
get_ifm reg_val=7
===i2c gpio === 22777722
PMU: axp version ok
after set, dcdc2 =1100mv
axp20 set dcdc2 success
DRAM DRIVE INFO: V0.7
DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 408 MHz
DRAM zq value: 000039bb
DRAM size = 64 MB
Succeed in reading Boot1 file head.
Jump to secend Boot.
[ 0.096]
U-Boot 2011.09-rc1-00002-g10d0620 (Aug 21 2015 - 10:10:50) Allwinner Technology
[ 0.104]version: 1.1.0
[ 0.111]pmbus:
===i2c gpio === 22777722
ready
[ 0.119]PMU: AXP20x found
set power on vol to default
axp_set_power_supply_output dcdc2_vol = 1250
axp_set_power_supply_output dcdc3_vol = 3300
axp_set_power_supply_output aldo2_vol = 2500
axp_set_power_supply_output aldo3_vol = 3000
axp_set_power_supply_output ldo1_vol = 3300
axp_set_power_supply_output ldo2_vol = 3000
axp_set_power_supply_output ldo3_vol = 3000
fel key new mode
run key detect
no key found
[ 0.174]DRAM: 64 MiB
[debug_jaosn]:use the clock in sys_config
OK
[ 0.196]sunxi flash init ok
hello @flash_speed=1
env_relocate_spec storage_type = 3
In: serial
Out: serial
Err: serial
WORK_MODE_BOOT
read bootlogo partition successful,start_block=0x71a0,rblock=0x100 ,ret=256
Use decode 2x2 sampling
sunxi_read_bootlogo: jpg convert argb
[ 0.278]Hit any key to stop autoboot: 0
read boot or recovery all
[ 0.564]sunxi flash read :offset 4000, 4194815 bytes OK
[ 0.570]ready to boot
[ 0.572]
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Linux version 3.4.39 (hexing@ubuntu) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #306 Fri Apr 6 16:34:45 CST 2018
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: sun8i
[ 0.000000] Initialized persistent memory from 41d00800-41d107ff
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat c0524d24, node_mem_map c05b3000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16256 pages, LIFO batch:3
[ 0.000000] script_init enter!
[ 0.000000] script_init exit!
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/nor1 init=/init loglevel=8 partitions= mac_addr= uid=1234567890 kmemleak=on fb_base=0x41b00000 boot_type=3 config_size=33076
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 64MB = 64MB total
[ 0.000000] Memory: 30084k/30084k available, 35452k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc4800000 - 0xff000000 ( 936 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0491000 (4644 kB)
[ 0.000000] .init : 0xc0491000 - 0xc04b4000 ( 140 kB)
[ 0.000000] .data : 0xc04b4000 - 0xc0525460 ( 454 kB)
[ 0.000000] .bss : 0xc0525484 - 0xc05b2c64 ( 566 kB)
[ 0.000000] NR_IRQS:544
[ 0.000000] 524 ahb1 set parent pll_periph0d2
[ 0.000000] Architected local timer running at 24.00MHz.
[ 0.000000] Switching to timer-based delay loop
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000160] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[ 0.000181] pid_max: default: 32768 minimum: 301
[ 0.000326] Mount-cache hash table entries: 512
[ 0.000841] CPU: Testing write buffer coherency: ok
[ 0.001098] Setting up static identity map for 0x403694e8 - 0x40369540
[ 0.001745] devtmpfs: initialized
[ 0.003688] pinctrl core: initialized pinctrl subsystem
[ 0.004180] NET: Registered protocol family 16
[ 0.004595] DMA: preallocated 128 KiB pool for atomic coherent allocations
[ 0.004646] script_sysfs_init success
[ 0.004681] sunxi_dump_init success
[ 0.005445] gpiochip_add: registered GPIOs 0 to 223 on device: sunxi-pinctrl
[ 0.006371] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[ 0.006735] gpiochip_add: registered GPIOs 1024 to 1031 on device: axp-pinctrl
[ 0.007466] tsc2003 device registered
[ 0.007745] persistent_ram: uncorrectable error in header
[ 0.007759] persistent_ram: no valid data in buffer (sig = 0x00000004)
[ 0.014115] console [ram-1] enabled
[ 0.014522] [sunxi-module]: [sunxi-module.0] probe success
[ 0.014748] ++axp20_board_init!
[ 0.014938] axp driver uning configuration failed(801)
[ 0.015140] axp driver uning configuration failed(808)
[ 0.015537] script config pll_isp to 360 Mhz
[ 0.015675] Not Found clk pll_video in script
[ 0.015880] script config pll_ve to 360 Mhz
[ 0.016001] Not Found clk pll_periph0 in script
[ 0.016201] Not Found clk pll_de in script
[ 0.016309] sunxi_default_clk_init
[ 0.016416] try to set pll6ahb1 to 200000000
[ 0.016616] Error not get clk pll6ahb1
[ 0.016729] Error not get clk pll6ahb1try to set ahb1 to 200000000
[ 0.016948] try to set apb1 to 100000000
[ 0.017473] ===fe3o4==== sunxi_root_procfs_attach ret:0
[ 0.021320] bio: create slab <bio-0> at 0
[ 0.021772] pwm module init!
[ 0.023464] ion_mem.size = 29360128
[ 0.024161] SCSI subsystem initialized
[ 0.024586] usbcore: registered new interface driver usbfs
[ 0.024763] usbcore: registered new interface driver hub
[ 0.025021] usbcore: registered new device driver usb
[ 0.025360] twi_chan_cfg()342 - [twi0] has no twi_speed!
[ 0.025475] twi_chan_cfg()353 - [twi0] has no twi_regulator.
[ 0.025677] twi_chan_cfg()342 - [twi1] has no twi_speed!
[ 0.025788] twi_chan_cfg()353 - [twi1] has no twi_regulator.
[ 0.025990] sunxi_i2c_adap_init()1563 - Sunxi I2C init channel 0
[ 0.026242] ++sunxi_i2c_probe
[ 0.026484] twi_request_gpio()406 - Pinctrl init 0 ... [twi0]
[ 0.026696] twi_clk_write_reg()241 - twi_clk_write_reg: clk_n = 0, clk_m = 5
[ 0.027186] ++axp_i2c_probe!
[ 0.027464] axp20_init_chip:chip_id = 0x41
[ 0.027464] axp20_board 0-0034: AXP (CHIP ID: 0x41) detected
[ 0.030853] sunxi_i2c_probe()1250 - I2C: i2c-0: sunxi I2C adapter
[ 0.030984] sunxi_i2c_probe()1251 - TWI_CTL 0xf1c2ac0c: 0x000000c0
[ 0.031200] sunxi_i2c_probe()1252 - TWI_STAT 0xf1c2ac10: 0x000000f8
[ 0.031401] sunxi_i2c_probe()1253 - TWI_CLK 0xf1c2ac14: 0x00000028
[ 0.031514] sunxi_i2c_probe()1254 - TWI_SRST 0xf1c2ac18: 0x00000000
[ 0.031715] sunxi_i2c_probe()1255 - TWI_EFR 0xf1c2ac1c: 0x00000000
[ 0.031898] Linux video capture interface: v2.00
[ 0.032442] gpiochip_add: gpios 1024..1028 (axp_pin) failed to register
[ 0.032442] axp pinctrl used,skip
[ 0.032442] Advanced Linux Sound Architecture Driver Version 1.0.25.
[ 0.032442] cfg80211: Calling CRDA to update world regulatory domain
[ 0.033004] Switching to clocksource arch_sys_counter
[ 0.039406] NET: Registered protocol family 2
[ 0.039784] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.040442] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.040689] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.040822] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.041024] TCP: reno registered
[ 0.041139] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.041351] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.041725] NET: Registered protocol family 1
[ 0.042124] Unpacking initramfs...
[ 0.057727] Freeing initrd memory: 220K
[ 0.058087] [pm]aw_pm_init!
[ 0.058201] standby_mode = 1.
[ 0.058399] wakeup src cnt is : 3.
[ 0.058514] pmu name: pmu1_para .
[ 0.058629] pmu1_enable = 0x1.
[ 0.058828] pmux_id = 0x1.
[ 0.058940] pmu name: pmu2_para .
[ 0.059050] config_pmux_para: script_parser_fetch err.
[ 0.059249] pmu2_enable = 0x0.
[ 0.059372] add_sys_pwr_dm: get ldo name failed
[ 0.059483] add_sys_pwr_dm: get ldo name failed
[ 0.060051] add_sys_pwr_dm: get ldo name failed
[ 0.060172] add_sys_pwr_dm: get ldo name failed
[ 0.060283] add_sys_pwr_dm: get ldo name failed
[ 0.060484] add_sys_pwr_dm: get ldo name failed
[ 0.060845] add_sys_pwr_dm: get ldo name failed
[ 0.061283] after inited: sys_mask config = 0x4810.
[ 0.061397] dynamic_standby enalbe = 0x0.
[ 0.061563] sunxi_reg_init enter
[ 0.063567] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.063736] jffs2: version 2.2. (NAND) (SUMMARY) 漏 2001-2006 Red Hat, Inc.
[ 0.064127] msgmni has been set to 59
[ 0.065377] io scheduler noop registered
[ 0.065590] io scheduler deadline registered
[ 0.065776] io scheduler cfq registered (default)
[ 0.066321] [DISP]disp_module_init
[ 0.066939] cmdline,disp=
[ 0.067577] disp_init_rotation_sw
[ 0.067710] @@@rot-degree=0, scn_size[480,272]
[ 0.067953] disp_rot_sw_set_manager,1209
[ 0.068140] fb_para.width = 480,fb_para.height = 272,fb_para.buffer_num = 2
[ 0.068261] gen_pool_alloc:nbits = 255,size = 1044480,order = 12
[ 0.068462] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 29360128
[ 0.068766] end_bit = 7168
[ 0.070299] info->var.bits_per_pixel = 32
[ 0.083340] [DISP] disp_sys_power_enable,line:387:some error happen, fail to get regulator
[ 0.083667] [DISP] disp_sys_gpio_set_value,line:374:OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[ 0.084694] [DISP]disp_module_init finish
[ 0.085072] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator.
[ 0.085600] uart2: ttyS0 at MMIO 0x1c28800 (irq = 34) is a SUNXI
[ 0.085721] sw_uart_pm()890 - uart2 clk is already enable
[ 0.085934] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[ 0.182015] console [ttyS0] enabled
[ 1.003672] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[ 1.011638] spi spi0: master is unqueued, this is deprecated
[ 1.018161] m25p_probe()966 - Use the Dual Mode Read.
[ 1.024105] NorFlash ID: 0xc22018 - 0xc220
[ 1.028760] m25p80 spi0.0: found mx25l12805d, expected at25df641
[ 1.035648] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 1.043069] @@@[debug_jaosn]: Invalid partitions count: 4 9
[ 1.049924] Creating 8 MTD partitions on "spi0.0":
[ 1.055421] 0x000000000000-0x000000040000 : "uboot"
[ 1.061985] 0x000000040000-0x000000440000 : "boot"
[ 1.068374] 0x000000440000-0x000000df0000 : "system"
[ 1.074979] 0x000000df0000-0x000000e70000 : "cfg"
[ 1.081342] 0x000000e70000-0x000000e90000 : "boot_logo"
[ 1.088281] 0x000000e90000-0x000000eb0000 : "shutdown_logo"
[ 1.095594] 0x000000eb0000-0x000000ec0000 : "env"
[ 1.100989] [DISP] disp_lcd_pwm_enable,line:1026:pwm device hdl is NULL
[ 1.109609] 0x000000ec0000-0x000000ed0000 : "private"
[ 1.116555] priv->phy_ext = INT_PHY
[ 1.121377] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.148935] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.158066] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[ 1.166698] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[ 1.190033] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[ 1.197441] hub 1-0:1.0: USB hub found
[ 1.201862] hub 1-0:1.0: 1 port detected
[ 1.206858] sunxi-ehci sunxi-ehci.1: remove, state 1
[ 1.212526] usb usb1: USB disconnect, device number 1
[ 1.513033] sunxi-ehci sunxi-ehci.1: USB bus 1 deregistered
[ 1.529437] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.556622] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[ 1.565366] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 1
[ 1.573931] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[ 1.644662] hub 1-0:1.0: USB hub found
[ 1.648970] hub 1-0:1.0: 1 port detected
[ 1.653864] sunxi-ohci sunxi-ohci.1: remove, state 1
[ 1.659580] usb usb1: USB disconnect, device number 1
[ 1.665922] sunxi-ohci sunxi-ohci.1: USB bus 1 deregistered
[ 1.682448] Initializing USB Mass Storage driver...
[ 1.688047] usbcore: registered new interface driver usb-storage
[ 1.694928] USB Mass Storage support registered.
[ 1.700507] file system registered
[ 1.706036] android_usb gadget: Mass Storage Function, version: 2009/09/11
[ 1.713836] android_usb gadget: Number of LUNs=1
[ 1.719172] lun0: LUN: removable file: (no medium)
[ 1.725197] android_usb gadget: android_usb ready
[ 1.730682] sunxikbd_script_init: key para not found, used default para.
[ 1.738940] tsc2003_ts_init
[ 1.742182] =====ctp_fetch_sysconfig_para=====.
[ 1.747499] ctp_fetch_sysconfig_para: ctp_unused.
[ 1.752938] =========script_get_item_err============
[ 1.758546] tsc2003_ts_init: ctp_fetch_sysconfig_para err.
[ 1.765363] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[ 1.773112] sunxi cedar version 0.1
[ 1.777225] [cedar]: install start!!!
[ 1.781652] [cedar]: install end!!!
[ 1.792736] pmu_pekoff_time = 6000
[ 1.796618] pmu_pekoff_en = 1
[ 1.800025] pmu_peklong_time = 1500
[ 1.804009] pmu_pekon_time = 1000
[ 1.807873] pmu_pwrok_time = 64
[ 1.811463] pmu_pwrnoe_time = 2000
[ 1.815332] pmu_hot_shutdown = 1
[ 1.819861] POWER20_PEK_SET:2146-->0x9d
[ 1.824647] POWER20_PEK_SET:2157-->0x9d
[ 1.829421] POWER20_PEK_SET:2166-->0x9d
[ 1.834294] POWER20_PEK_SET:2177-->0x9d
[ 1.839075] POWER20_PEK_SET:2189-->0x9d
[ 1.843860] POWER20_HOTOVER_CTL:2198-->0x2d
[ 1.855977] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[ 1.863324] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[ 1.874776] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[ 1.882540] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[ 1.888839] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[ 1.898666] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.114 2015-6-2 10:21) Compiled in Apr 6 2018 at 15:54:26
[ 1.910239] [mmc]: get mmc0's sdc_power failed
[ 1.915288] [mmc]: get mmc1's sdc_power failed
[ 1.920350] [mmc]: MMC host used card: 0x3, boot card: 0x0, io_card 2
[ 1.928598] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 1.941969] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 1.954913] sunxi_leds_fetch_sysconfig_para leds is not used in config
[ 1.962292] =========script_get_err============
[ 1.967723] usbcore: registered new interface driver usbhid
[ 1.974051] usbhid: USB HID core driver
[ 1.979045] ashmem: initialized
[ 1.982929] logger: created 256K log 'log_main'
[ 1.988277] logger: created 32K log 'log_events'
[ 1.993660] logger: created 32K log 'log_radio'
[ 1.998911] logger: created 32K log 'log_system'
[ 2.005814] script_get_item return audio_pa_ctrl type err
[ 2.012894] asoc: sndcodec <-> sunxi-codec mapping ok
[ 2.020780] TCP: cubic registered
[ 2.024697] NET: Registered protocol family 17
[ 2.029981] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 2.038865] ThumbEE CPU extension supported.
[ 2.043766] Registering SWP/SWPB emulation handler
[ 2.051114] sunxi-rtc sunxi-rtc: setting system clock to 2015-01-01 00:00:59 UTC (1420070459)
[ 2.062189] [wifi module_pm]: select module num is 6
[ 2.067909] [wifi module_pm]: step [0] failed to fetch module_power0
[ 2.075136] [wifi module_pm]: mod has no chip_en gpio
[ 2.080946] [wifi module_pm]: failed to fetch lpo_use_apclk
[ 2.087573] [wifi_pm]: wifi gpio init is OK !!
[ 2.092763]
[ 2.092767] *****Apr 6 2018 15:54:39 EAGLE DRIVER VER:75be56bfbaf7*****
[ 2.092773]
[ 2.104017] =======================================================
[ 2.111192] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
[ 2.118245] =======================================================
[ 2.125405] Espressif ESP8089 SDIO WiFi driver (Powered by Rockchip, Ver2.25(01/22/2016),Drv: 2.26) init.
[ 2.136230] [wifi_pm]: set wl_reg_on 1 !
[ 2.240783] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 2.252282] [mmc]: sdc1 power_supply is null
[ 2.270039] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 2.302347] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 2.311614] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 2.319948] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 2.332807] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 2.345078] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 2.353409] *******************Try sdio*******************
[ 2.359906] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 2.394651] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[ 2.407978] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[ 2.417357] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[ 2.424491] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[ 2.434871] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[ 2.445497] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[ 2.456977] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[ 2.463229] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[ 2.469561] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[ 2.475785] mmc1: new high speed SDIO card at address 0001
[ 2.482462] esp_sdio_dummy_probe enter
[ 2.486879] *******************sdio init ok*******************
[ 2.690033] esp_sdio_init power up OK
[ 3.132028] esp_host:75be56bfbaf7
[ 3.132035] esp_target: 2cefb7b78636 77 18204
[ 3.132040]
[ 3.142670] esp_readwrite_file: file /system/lib/modules/test_results filp_open error
[ 3.151599] first normal exit
[ 3.155180] esp_sdio_remove enter
[ 3.159072] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 3.167539] sif_disable_irq release irq failed
[ 3.172779] mmc1: card 0001 removed
[ 3.176823] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.186990] [mmc]: sdc1 power_supply is null
[ 3.280090] ALSA device list:
[ 3.283486] #0: audiocodec
[ 3.286976] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.297152] Freeing init memory: 140K
[ 3.303275] init: skipping insecure file '/default.prop'
[ 3.309493] init: skipping insecure file '/init.rc'
[ 3.315130] [mmc]: sdc1 power_supply is null
[ 3.321664] init: /init.rc: 132: invalid option 'root'
[ 3.327669] init: skipping insecure file '/init.sun8i.rc'
[ 3.333989] init: /init.sun8i.rc: 58: invalid option 'root'
[ 3.340419] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.350858] init: skipping insecure file 'init.sun8i.usb.rc'
[ 3.357861] init: command 'loglevel' r=0
[ 3.364075] init: skipping insecure file '/ueventd.rc'
[ 3.370168] init: command 'export' r=0
[ 3.374444] init: command 'export' r=0
[ 3.378797] init: command 'export' r=0
[ 3.383381] init: skipping insecure file '/ueventd.sun8i.rc'
[ 3.390633] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 3.399195] init: command 'export' r=0
[ 3.403509] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 3.411955] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.430350] init: command 'symlink' r=0
[ 3.434812] init: command 'symlink' r=0
[ 3.439288] init: command 'symlink' r=0
[ 3.450282] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.470278] init: command 'mkdir' r=0
[ 3.474523] init: command 'mkdir' r=0
[ 3.478730] init: command 'mkdir' r=0
[ 3.485114] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 3.493442] *******************Try sdio*******************
[ 3.510322] init: command 'mkdir' r=-2
[ 3.514621] init: processing action 0xe4e780 (init)
[ 3.525332] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.550273] init: command 'export' r=0
[ 3.554704] init: command 'export' r=0
[ 3.558974] init: command 'export' r=0
[ 3.567236] init: command 'export' r=0
[ 3.571735] init: processing action 0xe4ce90 (early-fs)
[ 3.577769] init: command 'mkdir' r=0
[ 3.582064] init: command 'mkdir' r=0
[ 3.586360] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[ 3.592641] init: command 'mkdir' r=0
[ 3.596915] init: processing action 0xe4fa20 (console_init)
[ 3.603591] init: command 'console_init' r=0
[ 3.608479] init: processing action 0xe4d198 (fs)
[ 3.613993] init: command 'wait' r=0
[ 3.618723] init: command 'setupfs' r=1
[ 3.623285] init: out of loopback devices source = /dev/block/mtdblock2
[ 3.630881] init: out of loopback devices target = /system
[ 3.637187] init: out of loopback devices system = squashfs
[ 3.643508] init: out of loopback devices options = (null)
[ 3.652771] init: command 'mount' r=0
[ 3.657090] init: command 'wait' r=0
[ 3.661250] init: out of loopback devices source = /dev/block/mtdblock3
[ 3.668807] init: out of loopback devices target = /data
[ 3.674843] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[ 3.681144] init: out of loopback devices system = jffs2
[ 3.687218] init: out of loopback devices options = (null)
[ 3.696113] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[ 3.703323] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[ 3.713857] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[ 3.724616] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[ 3.736437] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[ 3.742804] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[ 3.749218] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[ 3.755558] mmc1: new high speed SDIO card at address 0001
[ 3.764740] init: command 'mount' r=0
[ 3.768984] init: processing action 0xe4d278 (post-fs)
[ 3.775347] init: out of loopback devices source = rootfs
[ 3.781582] init: out of loopback devices target = /
[ 3.787194] init: out of loopback devices system = rootfs
[ 3.793540] init: out of loopback devices options = (null)
[ 3.802968] init: command 'mount' r=0
[ 3.811862] init: processing action 0xe4d2d8 (post-fs-data)
[ 3.825370] init: command 'chown' r=0
[ 3.831902] init: command 'chmod' r=0
[ 3.836227] init: command 'chmod' r=-2
[ 3.849852] init: command 'mkdir' r=0
[ 3.857233] init: command 'restorecon' r=0
[ 3.868064] init: command 'mkdir' r=0
[ 3.879073] init: command 'mkdir' r=0
[ 3.891686] init: command 'mkdir' r=0
[ 3.902574] init: command 'mkdir' r=0
[ 3.906821] init: processing action 0xe4e4b8 (post-fs-data)
[ 3.925865] init: skipping insecure file '/system/vendor/modules/fatfs.ko'
[ 4.282172] misc fatfs initialized
[ 4.286320] init: command 'insmod' r=0
[ 4.291160] init: skipping insecure file '/system/vendor/modules/videobuf-core.ko'
[ 4.305129] Wifi Efuse Mac => ac:d0:74:f0:69:b5
[ 4.310474] esp_host:75be56bfbaf7
[ 4.310479] esp_target: 2cefb7b78636 77 18204
[ 4.310485]
[ 4.332276] esp_sdio: initializing netlink
[ 4.337317] init: command 'insmod' r=0
[ 4.341852] *******************sdio init ok*******************
[ 4.348703] init: skipping insecure file '/system/vendor/modules/videobuf-dma-contig.ko'
[ 4.358735] init: command 'insmod' r=0
[ 4.363277] init: skipping insecure file '/system/vendor/modules/cci.ko'
[ 4.405358] [VFE]cci probe start cci_sel = 0!
[ 4.410498] [VFE]cci probe end cci_sel = 0!
[ 4.415356] [VFE]cci_init end
[ 4.418901] init: command 'insmod' r=0
[ 4.428441] init: skipping insecure file '/system/vendor/modules/vfe_os.ko'
[ 4.462758] init: command 'insmod' r=0
[ 4.467272] init: skipping insecure file '/system/vendor/modules/vfe_subdev.ko'
[ 4.476490] init: command 'insmod' r=0
[ 4.481038] init: skipping insecure file '/system/vendor/modules/ov2710_mipi.ko'
[ 4.500994] [VFE_DEV_CCI_DBG]cci init device
[ 4.506089] [VFE_DEV_CCI_DBG]cci_subdev_init!
[ 4.511088] [VFE_DEV_CCI_DBG]cci_dev_num_id = 1, name = ov2710_mipi, cci_subdev_init,sd pt=c1b27d80!
[ 4.522535] init: command 'insmod' r=0
[ 4.526982] init: skipping insecure file '/system/vendor/modules/vfe_v4l2.ko'
[ 4.681331] [VFE]Welcome to Video Front End driver
[ 4.687297] [VFE]pdev->id = 0
[ 4.690785] [VFE]dev->mipi_sel = 0
[ 4.694748] [VFE]dev->vip_sel = 0
[ 4.698521] [VFE]dev->isp_sel = 0
[ 4.708508] [VFE_WARN]vfe vpu clock is null
[ 4.713392] gen_pool_alloc:nbits = 1,size = 4096,order = 12
[ 4.719677] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28315648
[ 4.734567] end_bit = 7168
[ 4.737717] gen_pool_alloc:nbits = 1,size = 4096,order = 12
[ 4.744115] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28311552
[ 4.753887] end_bit = 7168
[ 4.763471] [ISP] isp platform_id = 6!
[ 4.767904] [VFE]vfe_init end
[ 4.771423] [VFE]probe_work_handle start!
[ 4.776085] [VFE]..........................vfe clk open!.......................
[ 4.784707] init: command 'insmod' r=0
[ 4.789087] init: processing action 0xe4fa68 (property_service_init)
[ 4.796635] dev->dev_qty = 1
[ 4.799932] [VFE]v4l2 subdev register input_num = 0
[ 4.805556] [VFE]vfe sensor detect start! input_num = 0
[ 4.811480] [VFE]Find sensor name is "ov2710_mipi", i2c address is 6c, type is "RAW" !
[ 4.820467] [VFE]Sub device register "ov2710_mipi" i2c_addr = 0x6c start!
[ 4.828194] [VFE_DEV_CCI_DBG]try cci dev name =ov2710_mipi!
[ 4.834486] [VFE_DEV_CCI_DBG]cci_drv->name = ov2710_mipi, check name = ov2710_mipi
[ 4.843088] [VFE_DEV_CCI_DBG]cci_bus_match name matched!
[ 4.849085] [VFE_DEV_CCI_DBG]sd = c1b27d80, cci_drv pt = bf0ac6a8,id = 0,saddr = 36, name = ov2710_mipi
[ 4.859747] [VFE]v4l2_device_register_subdev return 0
[ 4.865552] [VFE]registered sensor subdev is OK!
[ 4.870781] [VFE]Check sensor!
[ 4.874266] [VFE]Sub device register "ov2710_mipi" is OK!
[ 4.882578] init: skipping insecure file '/system/build.prop'
[ 4.931228] [VFE]Check open /system/etc/hawkview/ov2710_mipi/isp_test_param.ini failed!
[ 4.931245] Match isp cfg start!
[ 4.944217] [VFE]Match isp cfg ok
[ 4.949312] init: Created socket '/dev/socket/property_service' with mode '666', user '0', group '0'
[ 4.959767] init: command 'property_service_init' r=0
[ 4.966088] [VFE]V4L2 device registered as video0
[ 4.971506] init: processing action 0xe4fab0 (signal_init)
[ 4.977859] init: command 'signal_init' r=0
[ 4.982698] [VFE]..........................vfe clk close!.......................
[ 4.991151] init: processing action 0xe4faf8 (check_startup)
[ 4.997598] init: command 'check_startup' r=0
[ 5.002675] [VFE]probe_work_handle end!
[ 5.007061] init: processing action 0xe4d490 (boot)
[ 5.013096] init: command 'ifup' r=0
[ 5.017416] init: command 'hostname' r=0
[ 5.021981] init: command 'domainname' r=0
[ 5.026647] init: command 'setrlimit' r=0
[ 5.036435] init: command 'chown' r=0
[ 5.040936] init: starting 'servicemanager'
[ 5.046178] init: starting 'vold'
[ 5.055319] init: starting 'media'
[ 5.059737] init: starting 'startupSound'
[ 5.072060] init: Created socket '/dev/socket/vold' with mode '660', user '0', group '1009'
[ 5.098033] init: command 'class_start' r=0
[ 5.117364] init: starting 'newcdr'
[ 5.126836] init: command 'class_start' r=0
[ 5.132454] init: processing action 0xe4e5e8 (boot)
[ 5.138129] init: starting 'adbd'
[ 5.147175] init: command 'start' r=0
[ 5.163508] init: Created socket '/dev/socket/adbd' with mode '660', user '1000', group '1000'
[ 5.176095] init: starting 'debuggerd'
[ 5.187129] init: command 'start' r=0
[ 5.191579] init: command 'setprop' r=0
[ 5.195970] init: command 'setprop' r=0
[ 5.203906] adb_open
[ 5.215966] init: processing action 0xe4fb40 (queue_property_triggers)
[ 5.224505] init: command 'queue_property_triggers' r=0
[ 5.231200] init: processing action 0xe4d770 (property:ro.debuggable=1)
[ 5.239026] init: starting 'console'
[ 5.243548] init: command 'start' r=0
[ 5.247849] init: processing action 0xe4f458 (property:sys.usb.config=mass_storage,adb)
[ 5.267497] android_usb: already disabled
[ 5.272302] init: command 'write' r=0
[ 5.276625] init: command 'write' r=0
[ 5.282635] init: command 'write' r=0
[ 5.289277] init: command 'write' r=0
[ 5.295140] ep_matches, wrn: endpoint already claimed, ep(0xc0513ba4, 0xc1a73ac0, ep1in-bulk)
[ 5.305426] adb_bind_config
[ 5.308642] ep_matches, wrn: endpoint already claimed, ep(0xc0513ba4, 0xc1a73ac0, ep1in-bulk)
[ 5.318370] ep_matches, wrn: endpoint already claimed, ep(0xc0513bf0, 0xc1a73ac0, ep1out-bulk)
[ 5.328143] ep_matches, wrn: endpoint already claimed, ep(0xc0513ba4, 0xc1a73ac0, ep1in-bulk)
[ 5.342733] ep_matches, wrn: endpoint already claimed, ep(0xc0513bf0, 0xc1a73ac0, ep1out-bulk)
[ 5.352507] ep_matches, wrn: endpoint already claimed, ep(0xc0513c3c, 0xc1a8dec0, ep2in-bulk)
[ 5.363116] init: command 'write' r=0
[ 5.368207] init: command 'setprop' r=0
root@camdroid:/ # [ 7.768248] ★·newcdr·★: main entry
[ 7.782586] ★·newcdr·★: ===no need to check battery capacity ===
[ 8.544018] [DISP] ready enter pm_runtime_get_sync, device0
[ 8.811168] [VFE]vfe_open
[ 8.814202] [VFE]..........................vfe clk open!.......................
[ 8.822882] gen_pool_alloc:nbits = 1,size = 3584,order = 12
[ 8.829168] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28307456
[ 8.839045] end_bit = 7168
[ 8.842208] gen_pool_alloc:nbits = 1,size = 1536,order = 12
[ 8.848585] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28303360
[ 8.858368] end_bit = 7168
[ 8.861596] gen_pool_alloc:nbits = 3,size = 8448,order = 12
[ 8.867879] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28299264
[ 8.877750] end_bit = 7168
[ 8.880872] gen_pool_alloc:nbits = 3,size = 8448,order = 12
[ 8.887250] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28286976
[ 8.897057] end_bit = 7168
[ 8.900332] gen_pool_alloc:nbits = 3,size = 8448,order = 12
[ 8.906630] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28274688
[ 8.916495] end_bit = 7168
[ 8.919608] gen_pool_alloc:nbits = 3,size = 8448,order = 12
[ 8.925995] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28262400
[ 8.935767] end_bit = 7168
[ 8.938973] gen_pool_alloc:nbits = 3,size = 8448,order = 12
[ 8.950276] chunk->start_addr = 0x42400000,chunk->end_addr = 0x43ffffffchunk->avail = 28250112
[ 8.960142] end_bit = 7168
[ 8.963256] [VFE]vfe_open ok
[ 8.966688] [VFE]Set vfe core clk = 216000000, after Set vfe core clk = 180000000
[ 8.987355] [OV2710 Raw]CSI_SUBDEV_PWR_ON!
[ 8.992025] [VFE_WARN]os_gpio_set_status, hdl is NULL
[ 8.997898] [VFE_WARN]os_gpio_set_status, hdl is NULL
[ 9.003623] vfe_gpio_write:gpio_type = 2,status = 1
[ 9.009336] os_gpio_write:set gpio 152 to 1
[ 9.014086] os_gpio_write:set gpio 152 to 1
[ 9.018827] vfe_gpio_write:gpio_type = 1,status = 1
[ 9.024352] os_gpio_write:set gpio 0 to 1
[ 9.028898] vfe_gpio_write:gpio_type = 0,status = 0
[ 9.034506] os_gpio_write:set gpio 0 to 0
[ 9.041485] vfe_gpio_write:gpio_type = 0,status = 1
[ 9.046998] os_gpio_write:set gpio 0 to 1
[ 9.059670] vfe_gpio_write:gpio_type = 1,status = 0
[ 9.065206] os_gpio_write:set gpio 0 to 0
[ 9.081862] vfe_gpio_write:gpio_type = 2,status = 0
[ 9.087375] os_gpio_write:set gpio 152 to 0
[ 9.092133] os_gpio_write:set gpio 152 to 0
[ 9.118982] vfe_gpio_write:gpio_type = 2,status = 1
[ 9.124518] os_gpio_write:set gpio 152 to 1
[ 9.129349] os_gpio_write:set gpio 152 to 1
[ 9.134112] [VFE]mclk on
[ 9.161090] [OV2710 Raw]sensor_init
[ 9.165059] [OV2710 Raw]sensor_detect_1--!
[ 9.170044] [VFE CCI_0 ERR] Status error at addr_8bit = 6c, wr_flag = 1, val = 7fc10a30
[ 9.179483] [VFE CCI_0 ERR] Status error at addr_8bit = 6c, wr_flag = 1, val = 7f000a30
[ 9.188738] [VFE CCI_0 ERR] Status error at addr_8bit = 6c, wr_flag = 1, val = 7f000a30
[ 9.198072] [VFE CCI_0 ERR] Status error at addr_8bit = 6c, wr_flag = 1, val = 7f000a30
[ 9.207158] [OV2710 Raw]sensor read retry=3
[ 9.211910] [OV2710 Raw]error at sensor_detect
[ 9.216937] [OV2710 Raw]chip found is not an target chip.
[ 9.223124] [VFE_ERR]sensor initial error when selecting target device!
[ 9.230638] [VFE]vfe_close
[ 9.451733] init: waitpid returned pid 68, status = 00000000
[ 9.458153] init: process 'startupSound', pid 68 exited
[ 10.677599] init: processing action 0xe4f458 (property:sys.usb.config=mass_storage,adb)
[ 10.710487] adb_release
[ 10.713938] init: command 'write' r=0
[ 10.718349] adb_open
[ 10.740397] init: command 'write' r=0
[ 10.757037] init: command 'write' r=0
[ 10.773804] init: command 'write' r=0
[ 10.790731] ep_matches, wrn: endpoint already claimed, ep(0xc0513ba4, 0xc1a73ac0, ep1in-bulk)
[ 10.820219] adb_bind_config
[ 10.823485] ep_matches, wrn: endpoint already claimed, ep(0xc0513ba4, 0xc1a73ac0, ep1in-bulk)
[ 10.833188] ep_matches, wrn: endpoint already claimed, ep(0xc0513bf0, 0xc1a73ac0, ep1out-bulk)
[ 10.842962] ep_matches, wrn: endpoint already claimed, ep(0xc0513ba4, 0xc1a73ac0, ep1in-bulk)
[ 10.852535] ep_matches, wrn: endpoint already claimed, ep(0xc0513bf0, 0xc1a73ac0, ep1out-bulk)
[ 10.862298] ep_matches, wrn: endpoint already claimed, ep(0xc0513c3c, 0xc1a8dec0, ep2in-bulk)
[ 10.878000] init: command 'write' r=0
[ 10.885084] init: command 'setprop' r=0
[ 10.939090] esp_op_start
[ 10.954037] esp_op_add_interface enter: type 2, addr ac:d0:74:f0:69:b5
[ 10.961487] esp_op_add_interface STA
[ 10.968561] esp_op_bss_info_changed enter: changed e, assoc 0, bssid 00:00:00:00:00:00
[ 10.978600] esp_op_bss_info_changed enter: changed 2000, assoc 0, bssid 00:00:00:00:00:00
[ 10.988954] esp_op_bss_info_changed enter: changed 4000, assoc 0, bssid 00:00:00:00:00:00
[ 10.998541] esp_op_flush enter
[ 11.160421] warning: `hostapd' uses 32-bit capabilities (legacy support in use)
[ 11.389036] esp_op_remove_interface enter, vif addr ac:d0:74:f0:69:b5, beacon enable 0
[ 11.398273] esp_op_stop
[ 11.402348] esp_op_start
[ 11.405288] esp_op_add_interface enter: type 3, addr ac:d0:74:f0:69:b5
[ 11.412693] esp_op_add_interface AP
[ 11.417093] esp_op_bss_info_changed enter: changed e, assoc 0, bssid ac:d0:74:f0:69:b5
[ 11.426246] esp_op_bss_info_changed enter: changed 2000, assoc 0, bssid ac:d0:74:f0:69:b5
[ 11.435775] esp_op_bss_info_changed enter: changed 4000, assoc 0, bssid ac:d0:74:f0:69:b5
[ 11.446265] esp_op_bss_info_changed enter: changed 10, assoc 0, bssid ac:d0:74:f0:69:b5
[ 11.458958] esp_op_bss_info_changed enter: changed 8340, assoc 0, bssid ac:d0:74:f0:69:b5
[ 11.468319] init_beacon_timer enter: beacon interval 64
[ 11.474999] esp_op_bss_info_changed enter: changed 3e, assoc 0, bssid ac:d0:74:f0:69:b5
[ 11.582057] beacon length:152,fc:0x80
[ 20.696200] [DISP] disp_lcd_pwm_disable,line:1043:pwm device hdl is NULL
[ 20.930593] [DISP] disp_sys_gpio_set_value,line:374:OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[ 20.940577] [DISP] disp_sys_power_disable,line:417:some error happen, fail to get regulator
[ 21.924296] set usbcur 0 mA
[ 21.927748] set usbvol 4000 mV
[ 73.022033] beacon length:152,fc:0x80
感觉还是不能理解这个 camdroid:
1. uart2: ttyS0 at MMIO 0x1c28800 (irq = 34) is a SUNXI uart2怎么与 /dev/ttyS0勾搭上的,不是应该 /dev/ttyS2吗?
这个 251 的设备号也是很奇怪的root@camdroid:/ # ls /dev/ttyS* -l
crwxrwxrwx system system 251, 0 2015-01-01 00:01 ttyS0
root@camdroid:/ #2. root=/dev/nor1 根本没有这玩意啊。
离线
HELLO! BOOT0 is starting!
boot0 version : 4.0.0
boot0 commit : c8e0a19bbff4496d5c9810791b445e7061801bb1
fel flag = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000
rtc[6] value = 0x00000000
rtc[7] value = 0x00000000
DRAM DRIVE INFO: V0.9
DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 408 MHz
DRAM zq value: 000039bb
DRAM size = 64 MB
dram size =64
Succeed in reading Boot1 file head.
The size of uboot is 00038000.
Ready to disable icache.
Jump to secend Boot.
[ 0.173]
U-Boot 2011.09-rc1-00000-gc8e0a19-dirty (Dec 01 2017 - 15:08:10) Allwinner Technology
[ 0.182]version: 1.1.0
[ 0.185]uboot commit : c8e0a19bbff4496d5c9810791b445e7061801bb1
[ 0.195]pmbus: ready
not set main pmu id
[ 0.214]PMU: AXP209
[ 0.216]PMU: AXP20x found
bat_vol=1023, ratio=100
[ 0.221]PMU: dcdc3 3300
[ 0.224]PMU: pll1 912 Mhz,PLL6=600 Mhz
AXI=304 Mhz,AHB=200 Mhz, APB1=100 Mhz
set power on vol to default
boot power:unable to find power off vol set
dcdc2_vol = 1250
dcdc3_vol = 3300
aldo2_vol = 2500
aldo3_vol = 3000
ldo1_vol = 3300
ldo2_vol = 3000
ldo3_vol = 3000
find power_sply to end
vbus exist
vbus pc exist, limit to pc
fel key new mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
[ 0.678]DRAM: 64 MiB
relocation Offset is: 036c1000
workmode = 0
sunxi spinor is initing...[debug_jaosn]:use the clock in sys_config
OK
nor id is 0x1820c2
[ 0.708]sunxi flash init ok
hello @flash_speed=1
In: serial
Out: serial
Err: serial
--------fastboot partitions--------
-total partitions:7-
-name- -start- -size-
boot : 4000 280000
system : 284000 c83000
cfg : f07000 40000
boot_logo : f47000 20000
shutdown_logo: f67000 20000
env : f87000 10000
UDISK : f97000 0
-----------------------------------
WORK_MODE_BOOT
read bootlogo partition successful,start_block=0x7a38,rblock=0x100 ,ret=256
Use decode 1x1 sampling
sunxi_read_bootlogo: jpg convert argb
[ 1.081]Hit any key to stop autoboot: 0
read boot or recovery all
[ 1.263]sunxi flash read :offset 4000, 2621951 bytes OK
[ 1.272]ready to boot
force sunxi spinor exit
[ 1.275]
Starting kernel ...
cp /disk5/spinor/camdroid/device/softwinner/tiger-cdr/custom/1080p/lichee/pack_config/sys_config.fex /disk5/zeta/tools/pack/chips/sun8iw8p1/configs/zeta-evb/sys_config.fex
zmake all
生成 img 文件后烧到 海豚派红板(第一版)上,也是酱紫.
离线