openmiko / openmiko

Open source firmware for Ingenic T20 based devices such as WyzeCam V2, Xiaomi Xiaofang 1S, iSmartAlarm's Spot+ and others.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xiaomi XiaoFang T20 Supported ?

neotwix opened this issue · comments

Helllo
I have a Xiaomi XiaoFang T20 Simimar to Wyzecam V2 but with 64 MB of RAM.
Do you know if the Camera is supported ?

CF uboot log and kernel Crash log.

Besr Regards
JB

U-Boot 2013.07 (Jul 05 2018 - 17:59:02)

Board: ISVP (Ingenic XBurst T20 SoC)
DRAM: 64 MiB
Top of RAM usable for U-Boot at: 84000000
Reserving 400k for U-Boot at: 83f98000
Reserving 32784k for malloc() at: 81f94000
Reserving 32 Bytes for Board Info at: 81f93fe0
Reserving 124 Bytes for Global Data at: 81f93f64
Reserving 128k for boot params() at: 81f73f64
Stack Pointer at: 81f73f48
Now running in RAM - U-Boot at: 83f98000
MMC: msc: 0
the manufacturer 1c
SF: Detected FM25Q64

Starting kernel ...

[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.14 (root@64b89a9e5eca) (gcc version 4.7.4 (Buildroot 2016.02) ) #1 PREEMPT Mon May 31 18:09:48 UTC 2021
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 RESET ERROR PC:CA9B4E2E
[ 0.000000] CPU0 revision is: 00d00101 (Ingenic Xburst)
[ 0.000000] FPU revision is: 00b70000
[ 0.000000] CCLK:712MHz L2CLK:356Mhz H0CLK:200MHz H2CLK:200Mhz PCLK:100Mhz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 004f7000 @ 00010000 (usable)
[ 0.000000] memory: 00079000 @ 00507000 (usable after init)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 06000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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[0x00d00101],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=tty0 console=ttyS1,115200n8 mem=96M@0x0 ispmem=8M@0x6000000 rmem=24M@0x6800000 init=/linuxrc rootfstype=squashfs root=/dev/mtdblock2 rw mtdparts=jz_sfc:256k(boot),2048k(kernel),13504k(root),256k(config),256k(para),-(flag)
[ 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: 91360k/98304k available (3877k kernel code, 6944k reserved, 1205k data, 484k 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:418
[ 0.000000] clockevents_config_and_register success.
[ 0.000028] Calibrating delay loop... 709.42 BogoMIPS (lpj=3547136)
[ 0.057700] pid_max: default: 32768 minimum: 301
[ 0.062390] CPU 0 Unable to handle kernel paging request at virtual address 00000004, epc == 800cfe54, ra == 8050e4e0
[ 0.073163] Oops[#1]:
[ 0.075452] CPU: 0 PID: 0 Comm: swapper Not tainted 3.10.14 #1
[ 0.081365] task: 804da270 ti: 804d0000 task.ti: 804d0000
[ 0.086832] $ 0 : 00000000 10001c00 00000002 804df9ec
[ 0.092130] $ 4 : 84002c80 000080d0 00000060 00000001
[ 0.097427] $ 8 : 80590000 6d203836 6d696e69 203a6d75
[ 0.102725] $12 : 00000000 0000002a 00000000 00000048
[ 0.108022] $16 : 84002c80 00000000 000080d0 8052ce18
[ 0.113320] $20 : 80580000 83fc4c8c 8050e4e0 00000000
[ 0.118617] $24 : 00000003 80014710
[ 0.123915] $28 : 804d0000 804d1e88 00000000 8050e4e0
[ 0.129213] Hi : 00000000
[ 0.132126] Lo : 00000032
[ 0.135054] epc : 800cfe54 kmem_cache_alloc+0x40/0x1c4
[ 0.140426] Not tainted
[ 0.143264] ra : 8050e4e0 pidmap_init+0x6c/0xdc
[ 0.148107] Status: 10001c03 KERNEL EXL IE
[ 0.152346] Cause : 40808008
[ 0.155258] BadVA : 00000004
[ 0.158174] PrId : 00d00101 (Ingenic Xburst)
[ 0.162586] Modules linked in:
[ 0.165684] Process swapper (pid: 0, threadinfo=804d0000, task=804da270, tls=00000000)
[ 0.173710] Stack : 00000000 00000000 00000000 803d1ec8 80590000 000002c5 804e0000 80531154
804e0000 8052ce18 80580000 83fc4c8c 00000000 8050e4e0 804e0000 00008000
0000012d 80582e88 00000000 00000000 804e0000 805078d8 00000000 8052ce18
804cdbc8 00000043 ffffffff ffffffff 805072a4 00000000 80531154 00000000
ffffffff 83f98000 83fcb894 81f73d8c 83f994c4 83f99524 00000000 00000000

I have a Wyze Cam V2 and it boots, joins wifi, and I'm able to ssh into it. Web UI doesn't seem to work but that may be my being new to this firmware. ;)