-
Notifications
You must be signed in to change notification settings - Fork 1
Serial Wyze Cam v3
Meow edited this page Jan 8, 2022
·
2 revisions
This is the output via Serial during cold-boot on firmware 'demo_v3_RTSP_4.61.0.1':
U-Boot SPL 2013.07 (Dec 21 2020 - 18:19:28)
Timer init
CLK stop
PLL init
pll_init:366
pll_cfg.pdiv = 10, pll_cfg.h2div = 5, pll_cfg.h0div = 5, pll_cfg.cdiv = 1, pll_cfg.l2div = 2
nf=116 nr = 1 od0 = 1 od1 = 2
cppcr is 07405100
CPM_CPAPCR 0740510d
nf=100 nr = 1 od0 = 1 od1 = 2
cppcr is 06405100
CPM_CPMPCR 0640510d
nf=100 nr = 1 od0 = 1 od1 = 2
cppcr is 06405100
CPM_CPVPCR 0640510d
cppcr 0x9a7b5510
apll_freq 1392000000
mpll_freq 1200000000
vpll_freq = 1200000000
ddr sel mpll, cpu sel apll
ddrfreq 600000000
cclk 1392000000
l2clk 696000000
h0clk 240000000
h2clk 240000000
pclk 120000000
CLK init
SDRAM init
sdram init start
ddr_inno_phy_init ..!
phy reg = 0x00000007, CL = 0x00000007
ddr_inno_phy_init ..! 11: 00000004
ddr_inno_phy_init ..! 22: 00000006
ddr_inno_phy_init ..! 33: 00000006
REG_DDR_LMR: 00000210
REG_DDR_LMR: 00000310
REG_DDR_LMR: 00000110
REG_DDR_LMR, MR0: 00f73011
T31_0x5: 00000007
T31_0x15: 0000000c
T31_0x4: 00000000
T31_0x14: 00000002
INNO_TRAINING_CTRL 1: 00000000
INNO_TRAINING_CTRL 2: 000000a1
T31_cc: 00000003
INNO_TRAINING_CTRL 3: 000000a0
T31_118: 0000003c
T31_158: 0000003c
T31_190: 0000001e
T31_194: 0000001c
jz-04 : 0x00000051
jz-08 : 0x000000a0
jz-28 : 0x00000024
DDR PHY init OK
INNO_DQ_WIDTH :00000003
INNO_PLL_FBDIV :00000014
INNO_PLL_PDIV :00000005
INNO_MEM_CFG :00000051
INNO_PLL_CTRL :00000018
INNO_CHANNEL_EN :0000000d
INNO_CWL :00000006
INNO_CL :00000007
DDR Controller init
DDRC_STATUS 0x80000001
DDRC_CFG 0x0aa88a42
DDRC_CTRL 0x0000011c
DDRC_LMR 0x00400008
DDRC_DLP 0x00000000
DDRC_TIMING1 0x050f0a06
DDRC_TIMING2 0x021c0a07
DDRC_TIMING3 0x200a0722
DDRC_TIMING4 0x26240031
DDRC_TIMING5 0xff060405
DDRC_TIMING6 0x321c0505
DDRC_REFCNT 0x00910603
DDRC_MMAP0 0x000020f8
DDRC_MMAP1 0x00002800
DDRC_REMAP1 0x030e0d0c
DDRC_REMAP2 0x07060504
DDRC_REMAP3 0x0b0a0908
DDRC_REMAP4 0x0f020100
DDRC_REMAP5 0x13121110
DDRC_AUTOSR_EN 0x00000000
sdram init finished
SDRAM init ok
board_init_r
image entry point: 0x80100000
U-Boot 2013.07 (Dec 21 2020 - 18:19:28)
Board: ISVP (Ingenic XBurst T31 SoC)
DRAM: 128 MiB
Top of RAM usable for U-Boot at: 84000000
Reserving 436k for U-Boot at: 83f90000
Reserving 32772k for malloc() at: 81f8f000
Reserving 32 Bytes for Board Info at: 81f8efe0
Reserving 124 Bytes for Global Data at: 81f8ef64
Reserving 128k for boot params() at: 81f6ef64
Stack Pointer at: 81f6ef48
Now running in RAM - U-Boot at: 83f90000
MMC: msc: 0
the manufacturer 1c
SF: Detected EN25QH128A
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
misc_init_r before change the wifi_enable_gpio
gpio_request lable = wifi_enable_gpio gpio = 57
misc_init_r after gpio_request the wifi_enable_gpio ret is 57
misc_init_r after change the wifi_enable_gpio ret is 0
misc_init_r before change the yellow_gpio
gpio_request lable = yellow_gpio gpio = 38
misc_init_r after gpio_request the yellow_gpio ret is 38
misc_init_r after change the yellow_gpio ret is 0
misc_init_r before change the blue_gpio
gpio_request lable = blue_gpio gpio = 39
misc_init_r after gpio_request the blue_gpio ret is 39
misc_init_r after change the blue_gpio ret is 1
gpio_request lable = night_gpio gpio = 49
misc_init_r after gpio_request the night_gpio ret is 49
misc_init_r after change the night_gpio ret is 0
gpio_request lable = 850_light_gpio gpio = 47
misc_init_r after gpio_request the 850_light_gpio ret is 47
misc_init_r after change the 850_light_gpio ret is 0
gpio_request lable = SPK_able_gpio gpio = 63
misc_init_r after gpio_request the SPK_able_gpio ret is 63
misc_init_r after change the SPK_able_gpio ret is 0
gpio_request lable = TF_en_gpio gpio = 50
misc_init_r after gpio_request the TF_en_gpio ret is 50
misc_init_r after change the TF_en_gpio ret is 0
gpio_request lable = TF_cd_gpio gpio = 59
misc_init_r after gpio_request the TF_cd_gpio ret is 59
misc_init_r after change the TF_cd_gpio ret is 0
gpio_request lable = SD_able_gpio gpio = 48
misc_init_r after gpio_request the SD_able_gpio ret is 48
misc_init_r after change the SD_able_gpio ret is 0
misc_init_r before change the wifi_enable_gpio
gpio_request lable = wifi_enable_gpio gpio = 57
misc_init_r after gpio_request the wifi_enable_gpio ret is 57
misc_init_r after change the wifi_enable_gpio ret is 1
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
SD card is not insert
gpio_request lable = sdupgrade gpio = 51
the manufacturer 1c
SF: Detected EN25QH128A
The upgrade flag could not be found!
the manufacturer 1c
SF: Detected EN25QH128A
--->probe spend 4 ms
SF: 2031616 bytes @ 0x40000 Read: OK
--->read spend 654 ms
## Booting kernel from Legacy Image at 80600000 ...
Image Name: Linux-3.10.14__isvp_swan_1.0__
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1796125 Bytes = 1.7 MiB
Load Address: 80010000
Entry Point: 803dee20
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.14__isvp_swan_1.0__ (xiao@xiao-virtual-machine) (gcc version 4.7.2 (Ingenic r2.3.3 2016.12) ) #13 PREEMPT Wed Apr 14 17:44:51 CST 2021
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 RESET ERROR PC:2823E70D
[ 0.000000] CPU0 revision is: 00d00100 (Ingenic Xburst)
[ 0.000000] FPU revision is: 00b70000
[ 0.000000] CCLK:1392MHz L2CLK:696Mhz H0CLK:200MHz H2CLK:200Mhz PCLK:100Mhz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 00514000 @ 00010000 (usable)
[ 0.000000] memory: 0003c000 @ 00524000 (usable after init)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 06000000 @ 00000000 (usable)
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x05ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x05ffffff]
[ 0.000000] Primary instruction cache 32kB, 8-way, VIPT, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 8-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] pls check processor_id[0x00d00100],sc_jz not support!
[ 0.000000] MIPS secondary cache 128kB, 8-way, linesize 32 bytes.
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 24384
[ 0.000000] Kernel command line: console=ttyS1,115200n8 mem=96M@0x0 rmem=32M@0x6000000 init=/linuxrc rootfstype=squashfs root=/dev/mtdblock2 rw mtdparts=jz_sfc:256K(boot),1984K(kernel),3904K(rootfs),39)
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 91236k/98304k available (3935k kernel code, 7068k reserved, 1264k data, 240k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:358
[ 0.000000] clockevents_config_and_register success.
[ 0.000014] Calibrating delay loop... 1391.00 BogoMIPS (lpj=6955008)
[ 0.087832] pid_max: default: 32768 minimum: 301
[ 0.092688] Mount-cache hash table entries: 512
[ 0.097599] Initializing cgroup subsys debug
[ 0.101854] Initializing cgroup subsys freezer
[ 0.108036] regulator-dummy: no parameters
[ 0.112223] NET: Registered protocol family 16
[ 0.126864] bio: create slab <bio-0> at 0
[ 0.132314] jz-dma jz-dma: JZ SoC DMA initialized
[ 0.137385] SCSI subsystem initialized
[ 0.141241] usbcore: registered new interface driver usbfs
[ 0.146787] usbcore: registered new interface driver hub
[ 0.152204] usbcore: registered new device driver usb
[ 0.157388] (null): set:249 hold:250 dev=100000000 h=500 l=500
[ 0.163463] media: Linux media interface: v0.10
[ 0.168049] Linux video capture interface: v2.00
[ 0.174065] Switching to clocksource jz_clocksource
[ 0.178995] cfg80211: Calling CRDA to update world regulatory domain
[ 0.185865] jz-dwc2 jz-dwc2: cgu clk gate get error
[ 0.190745] DWC IN OTG MODE
[ 0.194174] dwc2 dwc2: Keep PHY ON
[ 0.197580] dwc2 dwc2: Using Buffer DMA mode
[ 0.201867] dwc2 dwc2: Core Release: 3.00a
[ 0.206061] dwc2 dwc2: DesignWare USB2.0 High-Speed Host Controller
[ 0.212386] dwc2 dwc2: new USB bus registered, assigned bus number 1
[ 0.219446] hub 1-0:1.0: USB hub found
[ 0.223180] hub 1-0:1.0: 1 port detected
[ 0.227263] dwc2 dwc2: DWC2 Host Initialized
[ 0.231680] NET: Registered protocol family 2
[ 0.236447] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.243456] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.249928] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.256377] TCP: reno registered
[ 0.259595] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.265537] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.272050] NET: Registered protocol family 1
[ 0.276662] RPC: Registered named UNIX socket transport module.
[ 0.282591] RPC: Registered udp transport module.
[ 0.287407] RPC: Registered tcp transport module.
[ 0.292127] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.298989] freq_udelay_jiffys[0].max_num = 10
[ 0.303412] cpufreq udelay loops_per_jiffy
[ 0.307866] dwc2 dwc2: ID PIN CHANGED!
[ 0.311672] 12000 59956 59956
[ 0.314891] 24000 119913 119913
[ 0.318347] 60000 299784 299784
[ 0.321778] 120000 599569 599569
[ 0.325309] 200000 999282 999282
[ 0.328922] 300000 1498924 1498924
[ 0.332550] 600000 2997848 2997848
[ 0.336335] 792000 3957159 3957159
[ 0.339966] 1008000 5036385 5036385
[ 0.343763] 1200000 5995696 5995696
[ 0.351192] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.357747] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[ 0.363477] msgmni has been set to 178
[ 0.368204] io scheduler noop registered
[ 0.372128] io scheduler cfq registered (default)
[ 0.378031] jz-uart.1: ttyS1 at MMIO 0x10031000 (irq = 58) is a uart1
[ 0.385631] console [ttyS1] enabled, bootconsole disabled
[ 0.385631] console [ttyS1] enabled, bootconsole disabled
[ 0.399290] brd: module loaded
[ 0.403788] loop: module loaded
[ 0.407568] zram: Created 2 device(s) ...
[ 0.411756] logger: created 256K log 'log_main'
[ 0.416992] jz TCU driver register completed
[ 0.421784] the id code = 1c7018, the flash name is EN25QH128A
[ 0.427854] JZ SFC Controller for SFC channel 0 driver register
[ 0.433976] 8 cmdlinepart partitions found on MTD device jz_sfc
[ 0.440100] Creating 8 MTD partitions on "jz_sfc":
[ 0.445046] 0x000000000000-0x000000040000 : "boot"
[ 0.450392] 0x000000040000-0x000000230000 : "kernel"
[ 0.455899] 0x000000230000-0x000000600000 : "rootfs"
[ 0.461352] 0x000000600000-0x0000009d0000 : "app"
[ 0.466606] 0x0000009d0000-0x000000bc0000 : "kback"
[ 0.471996] 0x000000bc0000-0x000000f90000 : "aback"
[ 0.477428] 0x000000f90000-0x000000ff0000 : "cfg"
[ 0.482635] 0x000000ff0000-0x000001000000 : "para"
[ 0.487980] SPI NOR MTD LOAD OK
[ 0.491269] tun: Universal TUN/TAP device driver, 1.6
[ 0.496509] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 0.502975] usbcore: registered new interface driver zd1201
[ 0.508762] usbcore: registered new interface driver r8152
[ 0.514458] usbcore: registered new interface driver asix
[ 0.520127] usbcore: registered new interface driver usb-storage
[ 0.526440] usbcore: registered new interface driver usbserial
[ 0.532482] usbcore: registered new interface driver ch37x
[ 0.538186] usbcore: registered new interface driver pl2303
[ 0.543947] usbserial: USB Serial support registered for pl2303
[ 0.550316] jzmmc_v1.2 jzmmc_v1.2.0: vmmc regulator missing
[ 0.556377] jzmmc_v1.2 jzmmc_v1.2.0: register success!
[ 0.561717] jzmmc_v1.2 jzmmc_v1.2.1: vmmc regulator missing
[ 0.567664] jzmmc_v1.2 jzmmc_v1.2.1: register success!
[ 0.573060] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.578800] usbcore: registered new interface driver usbhid
[ 0.584547] usbhid: USB HID core driver
[ 0.588690] TCP: cubic registered
[ 0.592106] NET: Registered protocol family 17
[ 0.597342] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 0.604393] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 0.614314] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.622002] Freeing unused kernel memory: 240K (80524000 - 80560000)
mdev is ok......
__________________________________
| |
| |
| |
| |
| _ _ _ _ |
|| | | |_ _ __ _| | __ _(_) |
|| |_| | | | |/ _| | | _ / _| | | |
|| _ | |_| | (_| | |_| | (_| | | |
||_| |_|\__,_|\__,_|_____|\__,_|_| |
| |
| |
|_____2020_WYZE_CAM_V3_@HUALAI_____|
WCV3 login: [ 1.271217] @@@@ tx-isp-probe ok(version H20200506a), compiler date=May 6 2020 @@@@@
[ 1.310782] exFAT: Version 1.2.9
[ 1.339506] jz_codec_register: probe() successful!
[ 1.755738] dma dma0chan24: Channel 24 have been requested.(phy id 7,type 0x06 desc a4867000)
[ 1.764834] dma dma0chan25: Channel 25 have been requested.(phy id 6,type 0x06 desc a4a21000)
[ 1.774018] dma dma0chan26: Channel 26 have been requested.(phy id 5,type 0x04 desc a48eb000)
[ 1.846208] __init
[ 1.852142] jz_pwm_probe[255] d_name = tcu_chn0
[ 1.858459] The version of PWM driver is H20180309a
[ 1.868994] request pwm channel 0 successfully
[ 1.875510] pwm-jz pwm-jz: jz_pwm_probe register ok !
[ 1.891526] mmc1: card claims to support voltages below the defined range. These will be ignored.
[ 1.907972] usbcore: registered new interface driver usb_ch34x
[ 1.913994] ch34x: USB to serial driver for USB to serial chip ch340, ch341, etc.
[ 1.923160] ch34x: V1.16 On 2020.12.23
[ 1.937336] mmc1: new SDIO card at address 0001
################## to wait wifi vendor id ####################
################## [vendor:0x024c] rtl8189ftv wifi #################
[ 2.186255] RTL871X: module init start
[ 2.190125] RTL871X: rtl8189ftv v4.3.24.7_21113.20170208.nova.1.02
[ 2.197869] RTL871X: build time: Dec 18 2020 16:40:08
[ 2.203076] wlan power on by hualai
[ 2.225596] RTL871X: ++++++++rtw_drv_init: vendor=0x024c device=0xf179 class=0x07
[ 2.261285] RTL871X: HW EFUSE
[ 2.264362] RTL871X: hal_com_config_channel_plan chplan:0x20
[ 2.355725] RTL871X: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[ 2.366309] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=78:f2:35:4f:55:75
[ 2.383448] RTL871X: module init ret=0
Updating device time to:
Tue Jun 22 06:48:13 UTC 2021
===========welcome to ver-comp tool=========
[ver-comp]dbg: appver: 4.61.0.3
[ver-comp]dbg: rootver: 4.61.0.3
[ver-comp]exec cmd: cp -rf /system/bin/app.ver /configs/
#######################
# IS USER PROCESS #
#######################
[FC] cd pin not found tfcard
[FC] Test.tar no exist
[FC] In [user] mode!
kernel.core_pattern = |/system/bin/ucoredmp_collector.sh --pid %p --signal %s --name %e --time %t --output-dir /media/mmc/cores
kernel.core_pipe_limit = 1
[ 4.588852] name : i2c0 nr : 0
[ 4.675606] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[ 4.682709] i2c i2c-0: --I2C txabrt:
[ 4.686536] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[ 4.693104] error: sensor_read,285 ret = -5
[ 4.697467] sensor_read: addr=0x3107 value = 0x0
[ 4.702336] err sensor read addr = 0x3107, value = 0x0
[ 4.795937] sensor_read: addr=0xf0 value = 0x20
[ 4.801209] sensor_read: addr=0xf1 value = 0x53
[ 4.806012] info: success sensor find : gc2053
[ 4.810607] misc sinfo_release
[ 4.902130] set sensor gpio as PA-low-10bit
[ 4.986432] gc2053 chip found @ 0x37 (i2c0)
[ 5.715473] codec_set_device: set device: MIC...
[ 5.955617] codec_set_device: set device: speaker...
[ 5.962820] SPEAKER CTL MODE3 !
[ 11.229384] RTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008
[ 11.315860] RTL871X: start auth
[ 11.325064] RTL871X: auth success, start assoc
[ 11.337790] RTL871X: assoc success
[ 11.350498] RTL871X: recv eapol packet
[ 11.360166] RTL871X: send eapol packet
[ 11.381472] RTL871X: recv eapol packet
[ 11.387915] RTL871X: send eapol packet
[ 11.397338] RTL871X: set pairwise key camid:4, addr:80:2a:a8:41:3d:7b, kid:0, type:AES
[ 11.411707] RTL871X: set group key camid:5, addr:80:2a:a8:41:3d:7b, kid:1, type:AES