xmflsct / yi-hack-1080p

Xiaomi Yi camera 1080p hack
104 stars 18 forks source link

can't use this hack to 1080p #3

Closed lambokini closed 7 years ago

lambokini commented 7 years ago

I don't what I have done to my YI camera 1080p. but now when I use yi-hack-1080p, the ttl output likes this:

System startup =========1 hello, open console

do_auto_sdupdate: detect flash size: 0x1000000, gsdexist=1 Interface: MMC Device 0: Vendor: Man 02544d Snr 9c000146 Rev: 0.4 Prod: SA08G Type: Removable Hard Disk Capacity: 7604.0 MB = 7.4 GB (15572992 x 512) Partition 1: Filesystem: FAT32 "NO NAME " 4096 ..trashes .trashes/ .spotlight-v100/ .fseventsd/ _test/ 8224108 _home_y20 test/

2 file(s), 5 dir(s)

1: ._.trashes! 2: _home_y20! u-boot_y20 not found!

env_y20 not found!

conf_y20 not found!

kernel_y20 not found!

rootfs_y20 not found!

home_y20 not found!

do_auto_update: detect flash size: 0x1000000

UBOOT:test pin high!

Hit any key to stop autoboot: 0 16384 KiB hi_fmc at 0:0 is now current device

Booting kernel from Legacy Image at 82000000 ...

Image Name: 7518-hi3518c-kernel Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1384232 Bytes = 1.3 MiB Load Address: 80008000 Entry Point: 80008000 Loading Kernel Image ... OK OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0 Linux version 3.4.35 (chenshibo@ANTS-SH-SV02) (gcc version 4.8.3 20131202 (prerelease) (Hisilicon_v300) ) #22 Mon Nov 28 15:39:11 CST 2016 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: hi3518ev200 Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8636 Kernel command line: mem=34M console=ttyAMA0,115200 root=/dev/mtdblock4 rootfstype=jffs2 mtdparts=hi_sfc:256k(boot)ro,64k(env),64k(conf),1600k(os),1280k(rootfs),12992k(home),64k(vd1),64k(ver)!!! PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 34MB = 34MB total Memory: 30648k/30648k available, 4168k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc2800000 - 0xff000000 ( 968 MB) lowmem : 0xc0000000 - 0xc2200000 ( 34 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc0340000 (3296 kB) .init : 0xc0340000 - 0xc035cc64 ( 116 kB) .data : 0xc035e000 - 0xc037f260 ( 133 kB) .bss : 0xc037f284 - 0xc03b1850 ( 202 kB) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:32 VIC @fe0d0000: id 0x00641190, vendor 0x41 sched_clock: 32 bits at 49MHz, resolution 20ns, wraps every 86767ms Console: colour dummy device 80x30 Calibrating delay loop... 269.10 BogoMIPS (lpj=1345536) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 Initializing cgroup subsys freezer CPU: Testing write buffer coherency: ok Setting up static identity map for 0x8026ab08 - 0x8026ab60 dummy: NET: Registered protocol family 16 Serial: AMBA PL011 UART driver uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 5) is a PL011 rev2 console [ttyAMA0] enabled uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 30) is a PL011 rev2 uart:2: ttyAMA2 at MMIO 0x200a0000 (irq = 25) is a PL011 rev2 bio: create slab at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource timer0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP: reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. fuse init (API version 7.18) msgmni has been set to 59 io scheduler noop registered io scheduler deadline registered (default) io scheduler cfq registered brd: module loaded Check Flash Memory Controller v100 ... Found. SPI Nor(cs 0) ID: 0xc8 0x40 0x18 Block:64KB Chip:16MB Name:"GD25Q128" SPI Nor total size: 16MB mtd: bad character after partition (!) 8 cmdlinepart partitions found on MTD device hi_sfc 8 cmdlinepart partitions found on MTD device hi_sfc Creating 8 MTD partitions on "hi_sfc": 0x000000000000-0x000000040000 : "boot" 0x000000040000-0x000000050000 : "env" 0x000000050000-0x000000060000 : "conf" 0x000000060000-0x0000001f0000 : "os" 0x0000001f0000-0x000000330000 : "rootfs" 0x000000330000-0x000000fe0000 : "home" 0x000000fe0000-0x000000ff0000 : "vd1" 0x000000ff0000-0x000001000000 : "ver" ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver hiusb-ehci hiusb-ehci.0: HIUSB EHCI hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1 hiusb-ehci hiusb-ehci.0: irq 15, io mem 0x100b0000 hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected i2c /dev entries driver hisi_i2c hisi_i2c.0: Hisilicon [i2c-0] probed! hisi_i2c hisi_i2c.1: Hisilicon [i2c-1] probed! hisi_i2c hisi_i2c.2: Hisilicon [i2c-2] probed! TCP: cubic registered Initializing XFRM netlink socket NET: Registered protocol family 17 NET: Registered protocol family 15 lib80211: common routines for IEEE802.11 drivers Registering the dns_resolver key type ▒VFS: Mounted root (jffs2 filesystem) on device 31:4. Freeing init memory: 112K

        _ _ _ _ _ _ _ _ _ _ _ _
        \  _  _   _  _ _ ___
        / /__/ \ |_/
       / __   /  -  _ ___
      / /  / /  / /

/ / / _/ _ __ ____\______

usb 1-1: new high-speed USB device number 2 using hiusb-ehci usbdev11 -> /dev/usbdev1.2 mmc1: new high speed SDHC card at address 1234 mmcblk0: mmc1:1234 SA08G 7.42 GiB Not recognise ACTION:change mmcblk0: p1 jffs2: Empty flash at 0x00003ffc ends at 0x00004000 jffs2: Empty flash at 0x00007ffc ends at 0x00008000 jffs2: Empty flash at 0x0000bffc ends at 0x0000c000 jffs2: Empty flash at 0x00013ffc ends at 0x00014000 jffs2: Empty flash at 0x00017f98 ends at 0x00018000 jffs2: Empty flash at 0x0001bffc ends at 0x0001c000 jffs2: Empty flash at 0x00023ffc ends at 0x00024000 jffs2: Empty flash at 0x00027ffc ends at 0x00028000 jffs2: Empty flash at 0x0002bffc ends at 0x0002c000 jffs2: Empty flash at 0x00033ffc ends at 0x00034000 jffs2: Empty flash at 0x00037ffc ends at 0x00038000 jffs2: Empty flash at 0x0003bffc ends at 0x0003c000 jffs2: Empty flash at 0x00043ffc ends at 0x00044000 jffs2: Empty flash at 0x00047ffc ends at 0x00048000 jffs2: Empty flash at 0x0004bffc ends at 0x0004c000 jffs2: Empty flash at 0x00053ffc ends at 0x00054000 jffs2: Empty flash at 0x00057ffc ends at 0x00058000 jffs2: Empty flash at 0x0005bfd8 ends at 0x0005c000 jffs2: Empty flash at 0x00063ffc ends at 0x00064000 jffs2: Empty flash at 0x00067ffc ends at 0x00068000 jffs2: Empty flash at 0x0006bffc ends at 0x0006c000 jffs2: Empty flash at 0x00073ffc ends at 0x00074000 jffs2: Empty flash at 0x00077ffc ends at 0x00078000 jffs2: Empty flash at 0x0007bffc ends at 0x0007c000 jffs2: Empty flash at 0x00083ffc ends at 0x00084000 jffs2: Empty flash at 0x00087ffc ends at 0x00088000 jffs2: Empty flash at 0x0008bffc ends at 0x0008c000 jffs2: Empty flash at 0x00093ffc ends at 0x00094000 jffs2: Empty flash at 0x00097ffc ends at 0x00098000 jffs2: Empty flash at 0x0009bffc ends at 0x0009c000 jffs2: Empty flash at 0x000a3ffc ends at 0x000a4000 jffs2: Empty flash at 0x000a7ffc ends at 0x000a8000 jffs2: Empty flash at 0x000abffc ends at 0x000ac000 jffs2: Empty flash at 0x000b3ffc ends at 0x000b4000 jffs2: Empty flash at 0x000b7ffc ends at 0x000b8000 jffs2: Empty flash at 0x000bbffc ends at 0x000bc000 jffs2: Empty flash at 0x000c3ffc ends at 0x000c4000 jffs2: Empty flash at 0x000c7ffc ends at 0x000c8000 jffs2: Empty flash at 0x000cbfb8 ends at 0x000cc000 jffs2: Empty flash at 0x000d7ffc ends at 0x000d8000 jffs2: Empty flash at 0x000dbf7c ends at 0x000dc000 jffs2: Empty flash at 0x000e7ffc ends at 0x000e8000 jffs2: Empty flash at 0x000ebffc ends at 0x000ec000 jffs2: Empty flash at 0x000f3ffc ends at 0x000f4000 jffs2: Empty flash at 0x000f7ffc ends at 0x000f8000 jffs2: Empty flash at 0x000fbffc ends at 0x000fc000 jffs2: Empty flash at 0x00103ff4 ends at 0x00104000 jffs2: Empty flash at 0x00107ffc ends at 0x00108000 jffs2: Empty flash at 0x0010bffc ends at 0x0010c000 jffs2: Empty flash at 0x00113ffc ends at 0x00114000 jffs2: Empty flash at 0x00117ffc ends at 0x00118000 jffs2: Empty flash at 0x0011bffc ends at 0x0011c000 jffs2: Empty flash at 0x00123ffc ends at 0x00124000 jffs2: Empty flash at 0x00127ffc ends at 0x00128000 jffs2: Empty flash at 0x0012bffc ends at 0x0012c000 jffs2: Empty flash at 0x00133f78 ends at 0x00134000 jffs2: Empty flash at 0x00137ffc ends at 0x00138000 jffs2: Empty flash at 0x0013bffc ends at 0x0013c000 jffs2: Empty flash at 0x00147ffc ends at 0x00148000 jffs2: Empty flash at 0x0014bffc ends at 0x0014c000 jffs2: Empty flash at 0x00157ffc ends at 0x00158000 jffs2: Empty flash at 0x0015bf68 ends at 0x0015c000 jffs2: Empty flash at 0x00163ffc ends at 0x00164000 jffs2: Empty flash at 0x00167ffc ends at 0x00168000 jffs2: Empty flash at 0x0016bffc ends at 0x0016c000 jffs2: Empty flash at 0x00173ffc ends at 0x00174000 jffs2: Empty flash at 0x00177ffc ends at 0x00178000 jffs2: Empty flash at 0x0017bffc ends at 0x0017c000 jffs2: Empty flash at 0x00183ffc ends at 0x00184000 jffs2: Empty flash at 0x00187ffc ends at 0x00188000 jffs2: Empty flash at 0x0018bffc ends at 0x0018c000 jffs2: Empty flash at 0x00193ffc ends at 0x00194000 jffs2: Empty flash at 0x00197ffc ends at 0x00198000 jffs2: Empty flash at 0x0019bffc ends at 0x0019c000 jffs2: Empty flash at 0x001a3ffc ends at 0x001a4000 jffs2: Empty flash at 0x001a7ffc ends at 0x001a8000 jffs2: Empty flash at 0x001abffc ends at 0x001ac000 jffs2: Empty flash at 0x001b3ffc ends at 0x001b4000 jffs2: Empty flash at 0x001b7ffc ends at 0x001b8000 jffs2: Empty flash at 0x001bbffc ends at 0x001bc000 jffs2: Empty flash at 0x001c3ffc ends at 0x001c4000 jffs2: Empty flash at 0x001c7ffc ends at 0x001c8000 jffs2: Empty flash at 0x001cbffc ends at 0x001cc000 jffs2: Empty flash at 0x001d3ffc ends at 0x001d4000 jffs2: Empty flash at 0x001d7ffc ends at 0x001d8000 jffs2: Empty flash at 0x001dbffc ends at 0x001dc000 jffs2: Empty flash at 0x001e3ffc ends at 0x001e4000 jffs2: Empty flash at 0x001e7ffc ends at 0x001e8000 jffs2: Empty flash at 0x001ebffc ends at 0x001ec000 jffs2: Empty flash at 0x001f3ffc ends at 0x001f4000 jffs2: Empty flash at 0x001f7ffc ends at 0x001f8000 jffs2: Empty flash at 0x001fbffc ends at 0x001fc000 jffs2: Empty flash at 0x00203ffc ends at 0x00204000 jffs2: Empty flash at 0x00207ffc ends at 0x00208000 jffs2: Empty flash at 0x0020bffc ends at 0x0020c000 jffs2: Empty flash at 0x00213ffc ends at 0x00214000 jffs2: Empty flash at 0x00217ffc ends at 0x00218000 jffs2: Empty flash at 0x0021bffc ends at 0x0021c000 jffs2: Empty flash at 0x00223ffc ends at 0x00224000 jffs2: Empty flash at 0x00227fdc ends at 0x00228000 jffs2: Empty flash at 0x0022bffc ends at 0x0022c000 jffs2: Empty flash at 0x00233fac ends at 0x00234000 jffs2: Empty flash at 0x00237ffc ends at 0x00238000 jffs2: Empty flash at 0x0023bffc ends at 0x0023c000 jffs2: Empty flash at 0x00243ffc ends at 0x00244000 jffs2: Empty flash at 0x00247ffc ends at 0x00248000 jffs2: Empty flash at 0x0024bffc ends at 0x0024c000 jffs2: Empty flash at 0x00253ffc ends at 0x00254000 jffs2: Empty flash at 0x00257ffc ends at 0x00258000 jffs2: Empty flash at 0x0025bffc ends at 0x0025c000 jffs2: Empty flash at 0x00263ffc ends at 0x00264000 jffs2: Empty flash at 0x00267ffc ends at 0x00268000 jffs2: Empty flash at 0x0026bffc ends at 0x0026c000 jffs2: Empty flash at 0x00273ffc ends at 0x00274000 jffs2: Empty flash at 0x00277ffc ends at 0x00278000 jffs2: Empty flash at 0x0027bffc ends at 0x0027c000 jffs2: Empty flash at 0x00283ffc ends at 0x00284000 jffs2: Empty flash at 0x00287ffc ends at 0x00288000 jffs2: Empty flash at 0x0028bffc ends at 0x0028c000 jffs2: Empty flash at 0x00293ffc ends at 0x00294000 jffs2: Empty flash at 0x00297ffc ends at 0x00298000 jffs2: Empty flash at 0x002a3ffc ends at 0x002a4000 jffs2: Empty flash at 0x002a7ffc ends at 0x002a8000 jffs2: Empty flash at 0x002abffc ends at 0x002ac000 jffs2: Empty flash at 0x002b3ffc ends at 0x002b4000 jffs2: Empty flash at 0x002b7ffc ends at 0x002b8000 jffs2: Empty flash at 0x002c3ffc ends at 0x002c4000 jffs2: Empty flash at 0x002c7ffc ends at 0x002c8000 jffs2: Empty flash at 0x002cbffc ends at 0x002cc000 jffs2: Empty flash at 0x002d3ffc ends at 0x002d4000 jffs2: Empty flash at 0x002d7ffc ends at 0x002d8000 jffs2: Empty flash at 0x002dbffc ends at 0x002dc000 jffs2: Empty flash at 0x002e3ffc ends at 0x002e4000 jffs2: Empty flash at 0x002e7ffc ends at 0x002e8000 jffs2: Empty flash at 0x002ebffc ends at 0x002ec000 jffs2: Empty flash at 0x002f3ffc ends at 0x002f4000 jffs2: Empty flash at 0x002f7ffc ends at 0x002f8000 jffs2: Empty flash at 0x002fbffc ends at 0x002fc000 jffs2: Empty flash at 0x00307ffc ends at 0x00308000 jffs2: Empty flash at 0x0030bfe0 ends at 0x0030c000 jffs2: Empty flash at 0x00313ffc ends at 0x00314000 jffs2: Empty flash at 0x00317ffc ends at 0x00318000 jffs2: Empty flash at 0x0031bffc ends at 0x0031c000 jffs2: Empty flash at 0x00323ffc ends at 0x00324000 jffs2: Empty flash at 0x00327ffc ends at 0x00328000 jffs2: Empty flash at 0x00333ffc ends at 0x00334000 jffs2: Empty flash at 0x0033bffc ends at 0x0033c000 jffs2: Empty flash at 0x00343ffc ends at 0x00344000 jffs2: Empty flash at 0x00347ffc ends at 0x00348000 jffs2: Empty flash at 0x0034bffc ends at 0x0034c000 jffs2: Empty flash at 0x00353ffc ends at 0x00354000 jffs2: Empty flash at 0x00357ffc ends at 0x00358000 jffs2: Empty flash at 0x0035bffc ends at 0x0035c000 jffs2: Empty flash at 0x00363ffc ends at 0x00364000 jffs2: Empty flash at 0x00367ffc ends at 0x00368000 jffs2: Empty flash at 0x0036bffc ends at 0x0036c000 jffs2: Empty flash at 0x00373ffc ends at 0x00374000 jffs2: Empty flash at 0x00377ffc ends at 0x00378000 jffs2: Empty flash at 0x0037bffc ends at 0x0037c000 jffs2: Empty flash at 0x00383ffc ends at 0x00384000 jffs2: Empty flash at 0x00387ffc ends at 0x00388000 jffs2: Empty flash at 0x0038bffc ends at 0x0038c000 jffs2: Empty flash at 0x00393ffc ends at 0x00394000 jffs2: Empty flash at 0x00397ffc ends at 0x00398000 jffs2: Empty flash at 0x0039bffc ends at 0x0039c000 jffs2: Empty flash at 0x003a3ffc ends at 0x003a4000 jffs2: Empty flash at 0x003a7ffc ends at 0x003a8000 jffs2: Empty flash at 0x003abffc ends at 0x003ac000 jffs2: Empty flash at 0x003b3ffc ends at 0x003b4000 jffs2: Empty flash at 0x003b7ffc ends at 0x003b8000 jffs2: Empty flash at 0x003c3ffc ends at 0x003c4000 jffs2: Empty flash at 0x003c7ffc ends at 0x003c8000 jffs2: Empty flash at 0x003d7ffc ends at 0x003d8000 jffs2: Empty flash at 0x003e3ffc ends at 0x003e4000 jffs2: Empty flash at 0x003e7f4c ends at 0x003e8000 jffs2: Empty flash at 0x003f3ffc ends at 0x003f4000 jffs2: Empty flash at 0x003f7ffc ends at 0x003f8000 jffs2: Empty flash at 0x0040bffc ends at 0x0040c000 jffs2: Empty flash at 0x00423ffc ends at 0x00424000 jffs2: Empty flash at 0x00427ffc ends at 0x00428000 jffs2: Empty flash at 0x0042bffc ends at 0x0042c000 jffs2: Empty flash at 0x00433ffc ends at 0x00434000 jffs2: Empty flash at 0x00437ffc ends at 0x00438000 jffs2: Empty flash at 0x0043bffc ends at 0x0043c000 jffs2: Empty flash at 0x00443ffc ends at 0x00444000 jffs2: Empty flash at 0x00447ffc ends at 0x00448000 jffs2: Empty flash at 0x0044bffc ends at 0x0044c000 jffs2: Empty flash at 0x00453ffc ends at 0x00454000 jffs2: Empty flash at 0x00457fd4 ends at 0x00458000 jffs2: Empty flash at 0x0045bf98 ends at 0x0045c000 jffs2: Empty flash at 0x00463ffc ends at 0x00464000 jffs2: Empty flash at 0x00467ffc ends at 0x00468000 jffs2: Empty flash at 0x0046bffc ends at 0x0046c000 jffs2: Empty flash at 0x00473ffc ends at 0x00474000 jffs2: Empty flash at 0x00477ffc ends at 0x00478000 jffs2: Empty flash at 0x0047bf5c ends at 0x0047c000 jffs2: Empty flash at 0x00483ffc ends at 0x00484000 jffs2: Empty flash at 0x00487f40 ends at 0x00488000 jffs2: Empty flash at 0x0048bffc ends at 0x0048c000 jffs2: Empty flash at 0x00493ffc ends at 0x00494000 jffs2: Empty flash at 0x00497ffc ends at 0x00498000 jffs2: Empty flash at 0x0049bffc ends at 0x0049c000 jffs2: Empty flash at 0x004a3ffc ends at 0x004a4000 jffs2: Empty flash at 0x004a7ffc ends at 0x004a8000 jffs2: Empty flash at 0x004abffc ends at 0x004ac000 jffs2: Empty flash at 0x004b3ffc ends at 0x004b4000 jffs2: Empty flash at 0x004b7ffc ends at 0x004b8000 jffs2: Empty flash at 0x004bbf9c ends at 0x004bc000 jffs2: Empty flash at 0x004c3ffc ends at 0x004c4000 jffs2: Empty flash at 0x004c7ffc ends at 0x004c8000 jffs2: Empty flash at 0x004cbffc ends at 0x004cc000 jffs2: Empty flash at 0x004d3ffc ends at 0x004d4000 jffs2: Empty flash at 0x004d7ffc ends at 0x004d8000 jffs2: Empty flash at 0x004dbffc ends at 0x004dc000 jffs2: Empty flash at 0x004e3ffc ends at 0x004e4000 jffs2: Empty flash at 0x004e7ffc ends at 0x004e8000 jffs2: Empty flash at 0x004ebffc ends at 0x004ec000 jffs2: Empty flash at 0x004f3ffc ends at 0x004f4000 jffs2: Empty flash at 0x004f7ffc ends at 0x004f8000 jffs2: Empty flash at 0x004fbffc ends at 0x004fc000 jffs2: Empty flash at 0x00503f9c ends at 0x00504000 jffs2: Empty flash at 0x00507ffc ends at 0x00508000 jffs2: Empty flash at 0x0050bf9c ends at 0x0050c000 jffs2: Empty flash at 0x00513ffc ends at 0x00514000 jffs2: Empty flash at 0x00517ffc ends at 0x00518000 jffs2: Empty flash at 0x0051bffc ends at 0x0051c000 jffs2: Empty flash at 0x00523f40 ends at 0x00524000 jffs2: Empty flash at 0x00527ffc ends at 0x00528000 jffs2: Empty flash at 0x0052bffc ends at 0x0052c000 jffs2: Empty flash at 0x00533ffc ends at 0x00534000 jffs2: Empty flash at 0x00537ffc ends at 0x00538000 jffs2: Empty flash at 0x0053bffc ends at 0x0053c000 jffs2: Empty flash at 0x00543ffc ends at 0x00544000 jffs2: Empty flash at 0x00547ffc ends at 0x00548000 jffs2: Empty flash at 0x0054bf40 ends at 0x0054c000 jffs2: Empty flash at 0x00553ffc ends at 0x00554000 jffs2: Empty flash at 0x00557ffc ends at 0x00558000 jffs2: Empty flash at 0x0055bffc ends at 0x0055c000 jffs2: Empty flash at 0x00563ffc ends at 0x00564000 jffs2: Empty flash at 0x00567ffc ends at 0x00568000 jffs2: Empty flash at 0x0056bffc ends at 0x0056c000 jffs2: Empty flash at 0x00573ffc ends at 0x00574000 jffs2: Empty flash at 0x00577ffc ends at 0x00578000 jffs2: Empty flash at 0x00583ffc ends at 0x00584000 jffs2: Empty flash at 0x00587ffc ends at 0x00588000 jffs2: Empty flash at 0x0058bffc ends at 0x0058c000 jffs2: Empty flash at 0x00593ffc ends at 0x00594000 jffs2: Empty flash at 0x00597ffc ends at 0x00598000 jffs2: Empty flash at 0x0059bffc ends at 0x0059c000 jffs2: Empty flash at 0x005a3ffc ends at 0x005a4000 jffs2: Empty flash at 0x005a7ffc ends at 0x005a8000 jffs2: Empty flash at 0x005abffc ends at 0x005ac000 jffs2: Empty flash at 0x005b3ffc ends at 0x005b4000 jffs2: Empty flash at 0x005b7ffc ends at 0x005b8000 jffs2: Empty flash at 0x005bbffc ends at 0x005bc000 jffs2: Empty flash at 0x005c3ffc ends at 0x005c4000 jffs2: Empty flash at 0x005c7ffc ends at 0x005c8000 jffs2: Empty flash at 0x005cbffc ends at 0x005cc000 jffs2: Empty flash at 0x005d3ffc ends at 0x005d4000 jffs2: Empty flash at 0x005d7ffc ends at 0x005d8000 jffs2: Empty flash at 0x005dbffc ends at 0x005dc000 jffs2: Empty flash at 0x005e3ffc ends at 0x005e4000 jffs2: Empty flash at 0x005e7ffc ends at 0x005e8000 jffs2: Empty flash at 0x005ebffc ends at 0x005ec000 jffs2: Empty flash at 0x005f3ffc ends at 0x005f4000 jffs2: Empty flash at 0x005f7ffc ends at 0x005f8000 jffs2: Empty flash at 0x005fbffc ends at 0x005fc000 jffs2: Empty flash at 0x00603ffc ends at 0x00604000 jffs2: Empty flash at 0x00607ffc ends at 0x00608000 jffs2: Empty flash at 0x0060bffc ends at 0x0060c000 jffs2: Empty flash at 0x00613ffc ends at 0x00614000 jffs2: Empty flash at 0x00617ffc ends at 0x00618000 jffs2: Empty flash at 0x0061bffc ends at 0x0061c000 jffs2: Empty flash at 0x00623ffc ends at 0x00624000 jffs2: Empty flash at 0x0062bffc ends at 0x0062c000 jffs2: Empty flash at 0x00633ffc ends at 0x00634000 jffs2: Empty flash at 0x00637ffc ends at 0x00638000 jffs2: Empty flash at 0x0063bffc ends at 0x0063c000 jffs2: Empty flash at 0x00643ffc ends at 0x00644000 jffs2: Empty flash at 0x0064bffc ends at 0x0064c000 jffs2: Empty flash at 0x00653ffc ends at 0x00654000 jffs2: Empty flash at 0x00657f54 ends at 0x00658000 jffs2: Empty flash at 0x00663ffc ends at 0x00664000 jffs2: Empty flash at 0x00667ffc ends at 0x00668000 jffs2: Empty flash at 0x0066bffc ends at 0x0066c000 jffs2: Empty flash at 0x00673ffc ends at 0x00674000 jffs2: Empty flash at 0x00677ffc ends at 0x00678000 jffs2: Empty flash at 0x0067bffc ends at 0x0067c000 jffs2: Empty flash at 0x00683ffc ends at 0x00684000 jffs2: Empty flash at 0x00687ffc ends at 0x00688000 jffs2: Empty flash at 0x0068bffc ends at 0x0068c000 jffs2: Empty flash at 0x00693ffc ends at 0x00694000 jffs2: Empty flash at 0x00697ffc ends at 0x00698000 jffs2: Empty flash at 0x0069bffc ends at 0x0069c000 jffs2: Empty flash at 0x006a3ffc ends at 0x006a4000 jffs2: Empty flash at 0x006a7ffc ends at 0x006a8000 jffs2: Empty flash at 0x006abffc ends at 0x006ac000 jffs2: Empty flash at 0x006b3ffc ends at 0x006b4000 jffs2: Empty flash at 0x006b7ffc ends at 0x006b8000 jffs2: Empty flash at 0x006bbffc ends at 0x006bc000 jffs2: Empty flash at 0x006c7f40 ends at 0x006c8000 jffs2: Empty flash at 0x006cbffc ends at 0x006cc000 jffs2: Empty flash at 0x006d3fec ends at 0x006d4000 jffs2: Empty flash at 0x006d7ffc ends at 0x006d8000 jffs2: Empty flash at 0x006dbffc ends at 0x006dc000 jffs2: Empty flash at 0x006e3ffc ends at 0x006e4000 jffs2: Empty flash at 0x006e7fb4 ends at 0x006e8000 jffs2: Empty flash at 0x006ebffc ends at 0x006ec000 jffs2: Empty flash at 0x006f3ffc ends at 0x006f4000 jffs2: Empty flash at 0x006f7ffc ends at 0x006f8000 jffs2: Empty flash at 0x006fbffc ends at 0x006fc000 jffs2: Empty flash at 0x00703ffc ends at 0x00704000 jffs2: Empty flash at 0x00707ffc ends at 0x00708000 jffs2: Empty flash at 0x0070bffc ends at 0x0070c000 jffs2: Empty flash at 0x00713ffc ends at 0x00714000 jffs2: Empty flash at 0x00717ffc ends at 0x00718000 jffs2: Empty flash at 0x0071bffc ends at 0x0071c000 jffs2: Empty flash at 0x00723ffc ends at 0x00724000 jffs2: Empty flash at 0x00727ffc ends at 0x00728000 jffs2: Empty flash at 0x0072bffc ends at 0x0072c000 jffs2: Empty flash at 0x00733ffc ends at 0x00734000 jffs2: Empty flash at 0x00737ffc ends at 0x00738000 jffs2: Empty flash at 0x0073bffc ends at 0x0073c000 jffs2: Empty flash at 0x00743ffc ends at 0x00744000 jffs2: Empty flash at 0x00747ffc ends at 0x00748000 jffs2: Empty flash at 0x0074bffc ends at 0x0074c000 jffs2: Empty flash at 0x00753ffc ends at 0x00754000 jffs2: Empty flash at 0x00757ffc ends at 0x00758000 jffs2: Empty flash at 0x0075bf54 ends at 0x0075c000 jffs2: Empty flash at 0x00763ffc ends at 0x00764000 jffs2: Empty flash at 0x00767ffc ends at 0x00768000 jffs2: Empty flash at 0x0076bffc ends at 0x0076c000 jffs2: Empty flash at 0x00773ffc ends at 0x00774000 jffs2: Empty flash at 0x00777ffc ends at 0x00778000 jffs2: Empty flash at 0x0077bffc ends at 0x0077c000 jffs2: Empty flash at 0x00783ffc ends at 0x00784000 jffs2: Empty flash at 0x00787ffc ends at 0x00788000 jffs2: Empty flash at 0x0078bffc ends at 0x0078c000 jffs2: Empty flash at 0x00793ffc ends at 0x00794000 jffs2: Empty flash at 0x00797ffc ends at 0x00798000 jffs2: Empty flash at 0x0079bffc ends at 0x0079c000 jffs2: Empty flash at 0x007a3ffc ends at 0x007a4000 jffs2: Empty flash at 0x007a7ffc ends at 0x007a8000 jffs2: Empty flash at 0x007b7ffc ends at 0x007b8000 jffs2: Empty flash at 0x007bbffc ends at 0x007bc000 jffs2: Empty flash at 0x007c3ffc ends at 0x007c4000 jffs2: Empty flash at 0x007c7ffc ends at 0x007c8000 jffs2: Empty flash at 0x007cbffc ends at 0x007cc000 jffs2: Empty flash at 0x007d3ffc ends at 0x007d4000 /etc/init.d/S01udev: line 10: /home/base/init.sh: not found ls

busybox /tmp/sd/test/app/busybox ls ls /bin/sh /tmp/sd/temp/app/busybox ls

======================================================================

now my 1080p camera can't use any more. anyone has thoughts on this.

lambokini commented 7 years ago

another output

System startup =========1 hello, open console

do_auto_sdupdate: detect flash size: 0x1000000, gsdexist=1 Interface: MMC Device 0: Vendor: Man 02544d Snr 9c000146 Rev: 0.4 Prod: SA08G Type: Removable Hard Disk Capacity: 7604.0 MB = 7.4 GB (15572992 x 512) Partition 1: Filesystem: FAT32 "NO NAME " 4096 ..trashes .trashes/ .spotlight-v100/ .fseventsd/ _test/ 8224108 _home_y20 test/ 8224108 home_y20

3 file(s), 5 dir(s)

1: ._.trashes! 2: _home_y20! 3: home_y20! find index 5: home_y20

u-boot_y20 not found!

env_y20 not found!

conf_y20 not found!

kernel_y20 not found!

rootfs_y20 not found! reading home_y20

magic 0x27051956 0x27051956 arch 0x2 0x2 size 0x7d7d2c 0x40 type 0x7 0x2 crc 0x6529c2a2 name 7518-hi3518-home idx5: old : 570fe1a8, new : 570fe1a8 Image home_y20 is same time

do_auto_update: detect flash size: 0x1000000

UBOOT:test pin high!

Hit any key to stop autoboot: 0 16384 KiB hi_fmc at 0:0 is now current device

Booting kernel from Legacy Image at 82000000 ...

Image Name: 7518-hi3518c-kernel Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1384232 Bytes = 1.3 MiB Load Address: 80008000 Entry Point: 80008000 Loading Kernel Image ... OK OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0 Linux version 3.4.35 (chenshibo@ANTS-SH-SV02) (gcc version 4.8.3 20131202 (prerelease) (Hisilicon_v300) ) #22 Mon Nov 28 15:39:11 CST 2016 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: hi3518ev200 Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8636 Kernel command line: mem=34M console=ttyAMA0,115200 root=/dev/mtdblock4 rootfstype=jffs2 mtdparts=hi_sfc:256k(boot)ro,64k(env),64k(conf),1600k(os),1280k(rootfs),12992k(home),64k(vd1),64k(ver)!!! PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 34MB = 34MB total Memory: 30648k/30648k available, 4168k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc2800000 - 0xff000000 ( 968 MB) lowmem : 0xc0000000 - 0xc2200000 ( 34 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc0340000 (3296 kB) .init : 0xc0340000 - 0xc035cc64 ( 116 kB) .data : 0xc035e000 - 0xc037f260 ( 133 kB) .bss : 0xc037f284 - 0xc03b1850 ( 202 kB) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:32 VIC @fe0d0000: id 0x00641190, vendor 0x41 sched_clock: 32 bits at 49MHz, resolution 20ns, wraps every 86767ms Console: colour dummy device 80x30 Calibrating delay loop... 269.10 BogoMIPS (lpj=1345536) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 Initializing cgroup subsys freezer CPU: Testing write buffer coherency: ok Setting up static identity map for 0x8026ab08 - 0x8026ab60 dummy: NET: Registered protocol family 16 Serial: AMBA PL011 UART driver uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 5) is a PL011 rev2 console [ttyAMA0] enabled uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 30) is a PL011 rev2 uart:2: ttyAMA2 at MMIO 0x200a0000 (irq = 25) is a PL011 rev2 bio: create slab at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource timer0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP: reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. fuse init (API version 7.18) msgmni has been set to 59 io scheduler noop registered io scheduler deadline registered (default) io scheduler cfq registered brd: module loaded Check Flash Memory Controller v100 ... Found. SPI Nor(cs 0) ID: 0xc8 0x40 0x18 Block:64KB Chip:16MB Name:"GD25Q128" SPI Nor total size: 16MB mtd: bad character after partition (!) 8 cmdlinepart partitions found on MTD device hi_sfc 8 cmdlinepart partitions found on MTD device hi_sfc Creating 8 MTD partitions on "hi_sfc": 0x000000000000-0x000000040000 : "boot" 0x000000040000-0x000000050000 : "env" 0x000000050000-0x000000060000 : "conf" 0x000000060000-0x0000001f0000 : "os" 0x0000001f0000-0x000000330000 : "rootfs" 0x000000330000-0x000000fe0000 : "home" 0x000000fe0000-0x000000ff0000 : "vd1" 0x000000ff0000-0x000001000000 : "ver" ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver hiusb-ehci hiusb-ehci.0: HIUSB EHCI hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1 hiusb-ehci hiusb-ehci.0: irq 15, io mem 0x100b0000 hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected i2c /dev entries driver hisi_i2c hisi_i2c.0: Hisilicon [i2c-0] probed! hisi_i2c hisi_i2c.1: Hisilicon [i2c-1] probed! hisi_i2c hisi_i2c.2: Hisilicon [i2c-2] probed! TCP: cubic registered Initializing XFRM netlink socket NET: Registered protocol family 17 NET: Registered protocol family 15 lib80211: common routines for IEEE802.11 drivers Registering the dns_resolver key type ▒VFS: Mounted root (jffs2 filesystem) on device 31:4. Freeing init memory: 112K

        _ _ _ _ _ _ _ _ _ _ _ _
        \  _  _   _  _ _ ___
        / /__/ \ |_/
       / __   /  -  _ ___
      / /  / /  / /

/ / / _/ _ __ ____\______

usb 1-1: new high-speed USB device number 2 using hiusb-ehci usbdev11 -> /dev/usbdev1.2 Not recognise ACTION:change mmc1: new high speed SDHC card at address 1234 mmcblk0: mmc1:1234 SA08G 7.42 GiB mmcblk0: p1 jffs2: Empty flash at 0x00003ffc ends at 0x00004000 jffs2: Empty flash at 0x00007ffc ends at 0x00008000 jffs2: Empty flash at 0x0000bffc ends at 0x0000c000 jffs2: Empty flash at 0x00013ffc ends at 0x00014000 jffs2: Empty flash at 0x00017f98 ends at 0x00018000 jffs2: Empty flash at 0x0001bffc ends at 0x0001c000 jffs2: Empty flash at 0x00023ffc ends at 0x00024000 jffs2: Empty flash at 0x00027ffc ends at 0x00028000 jffs2: Empty flash at 0x0002bffc ends at 0x0002c000 jffs2: Empty flash at 0x00033ffc ends at 0x00034000 jffs2: Empty flash at 0x00037ffc ends at 0x00038000 jffs2: Empty flash at 0x0003bffc ends at 0x0003c000 jffs2: Empty flash at 0x00043ffc ends at 0x00044000 jffs2: Empty flash at 0x00047ffc ends at 0x00048000 jffs2: Empty flash at 0x0004bffc ends at 0x0004c000 jffs2: Empty flash at 0x00053ffc ends at 0x00054000 jffs2: Empty flash at 0x00057ffc ends at 0x00058000 jffs2: Empty flash at 0x0005bfd8 ends at 0x0005c000 jffs2: Empty flash at 0x00063ffc ends at 0x00064000 jffs2: Empty flash at 0x00067ffc ends at 0x00068000 jffs2: Empty flash at 0x0006bffc ends at 0x0006c000 jffs2: Empty flash at 0x00073ffc ends at 0x00074000 jffs2: Empty flash at 0x00077ffc ends at 0x00078000 jffs2: Empty flash at 0x0007bffc ends at 0x0007c000 jffs2: Empty flash at 0x00083ffc ends at 0x00084000 jffs2: Empty flash at 0x00087ffc ends at 0x00088000 jffs2: Empty flash at 0x0008bffc ends at 0x0008c000 jffs2: Empty flash at 0x00093ffc ends at 0x00094000 jffs2: Empty flash at 0x00097ffc ends at 0x00098000 jffs2: Empty flash at 0x0009bffc ends at 0x0009c000 jffs2: Empty flash at 0x000a3ffc ends at 0x000a4000 jffs2: Empty flash at 0x000a7ffc ends at 0x000a8000 jffs2: Empty flash at 0x000abffc ends at 0x000ac000 jffs2: Empty flash at 0x000b3ffc ends at 0x000b4000 jffs2: Empty flash at 0x000b7ffc ends at 0x000b8000 jffs2: Empty flash at 0x000bbffc ends at 0x000bc000 jffs2: Empty flash at 0x000c3ffc ends at 0x000c4000 jffs2: Empty flash at 0x000c7ffc ends at 0x000c8000 jffs2: Empty flash at 0x000cbfb8 ends at 0x000cc000 jffs2: Empty flash at 0x000d7ffc ends at 0x000d8000 jffs2: Empty flash at 0x000dbf7c ends at 0x000dc000 jffs2: Empty flash at 0x000e7ffc ends at 0x000e8000 jffs2: Empty flash at 0x000ebffc ends at 0x000ec000 jffs2: Empty flash at 0x000f3ffc ends at 0x000f4000 jffs2: Empty flash at 0x000f7ffc ends at 0x000f8000 jffs2: Empty flash at 0x000fbffc ends at 0x000fc000 jffs2: Empty flash at 0x00103ff4 ends at 0x00104000 jffs2: Empty flash at 0x00107ffc ends at 0x00108000 jffs2: Empty flash at 0x0010bffc ends at 0x0010c000 jffs2: Empty flash at 0x00113ffc ends at 0x00114000 jffs2: Empty flash at 0x00117ffc ends at 0x00118000 jffs2: Empty flash at 0x0011bffc ends at 0x0011c000 jffs2: Empty flash at 0x00123ffc ends at 0x00124000 jffs2: Empty flash at 0x00127ffc ends at 0x00128000 jffs2: Empty flash at 0x0012bffc ends at 0x0012c000 jffs2: Empty flash at 0x00133f78 ends at 0x00134000 jffs2: Empty flash at 0x00137ffc ends at 0x00138000 jffs2: Empty flash at 0x0013bffc ends at 0x0013c000 jffs2: Empty flash at 0x00147ffc ends at 0x00148000 jffs2: Empty flash at 0x0014bffc ends at 0x0014c000 jffs2: Empty flash at 0x00157ffc ends at 0x00158000 jffs2: Empty flash at 0x0015bf68 ends at 0x0015c000 jffs2: Empty flash at 0x00163ffc ends at 0x00164000 jffs2: Empty flash at 0x00167ffc ends at 0x00168000 jffs2: Empty flash at 0x0016bffc ends at 0x0016c000 jffs2: Empty flash at 0x00173ffc ends at 0x00174000 jffs2: Empty flash at 0x00177ffc ends at 0x00178000 jffs2: Empty flash at 0x0017bffc ends at 0x0017c000 jffs2: Empty flash at 0x00183ffc ends at 0x00184000 jffs2: Empty flash at 0x00187ffc ends at 0x00188000 jffs2: Empty flash at 0x0018bffc ends at 0x0018c000 jffs2: Empty flash at 0x00193ffc ends at 0x00194000 jffs2: Empty flash at 0x00197ffc ends at 0x00198000 jffs2: Empty flash at 0x0019bffc ends at 0x0019c000 jffs2: Empty flash at 0x001a3ffc ends at 0x001a4000 jffs2: Empty flash at 0x001a7ffc ends at 0x001a8000 jffs2: Empty flash at 0x001abffc ends at 0x001ac000 jffs2: Empty flash at 0x001b3ffc ends at 0x001b4000 jffs2: Empty flash at 0x001b7ffc ends at 0x001b8000 jffs2: Empty flash at 0x001bbffc ends at 0x001bc000 jffs2: Empty flash at 0x001c3ffc ends at 0x001c4000 jffs2: Empty flash at 0x001c7ffc ends at 0x001c8000 jffs2: Empty flash at 0x001cbffc ends at 0x001cc000 jffs2: Empty flash at 0x001d3ffc ends at 0x001d4000 jffs2: Empty flash at 0x001d7ffc ends at 0x001d8000 jffs2: Empty flash at 0x001dbffc ends at 0x001dc000 jffs2: Empty flash at 0x001e3ffc ends at 0x001e4000 jffs2: Empty flash at 0x001e7ffc ends at 0x001e8000 jffs2: Empty flash at 0x001ebffc ends at 0x001ec000 jffs2: Empty flash at 0x001f3ffc ends at 0x001f4000 jffs2: Empty flash at 0x001f7ffc ends at 0x001f8000 jffs2: Empty flash at 0x001fbffc ends at 0x001fc000 jffs2: Empty flash at 0x00203ffc ends at 0x00204000 jffs2: Empty flash at 0x00207ffc ends at 0x00208000 jffs2: Empty flash at 0x0020bffc ends at 0x0020c000 jffs2: Empty flash at 0x00213ffc ends at 0x00214000 jffs2: Empty flash at 0x00217ffc ends at 0x00218000 jffs2: Empty flash at 0x0021bffc ends at 0x0021c000 jffs2: Empty flash at 0x00223ffc ends at 0x00224000 jffs2: Empty flash at 0x00227fdc ends at 0x00228000 jffs2: Empty flash at 0x0022bffc ends at 0x0022c000 jffs2: Empty flash at 0x00233fac ends at 0x00234000 jffs2: Empty flash at 0x00237ffc ends at 0x00238000 jffs2: Empty flash at 0x0023bffc ends at 0x0023c000 jffs2: Empty flash at 0x00243ffc ends at 0x00244000 jffs2: Empty flash at 0x00247ffc ends at 0x00248000 jffs2: Empty flash at 0x0024bffc ends at 0x0024c000 jffs2: Empty flash at 0x00253ffc ends at 0x00254000 jffs2: Empty flash at 0x00257ffc ends at 0x00258000 jffs2: Empty flash at 0x0025bffc ends at 0x0025c000 jffs2: Empty flash at 0x00263ffc ends at 0x00264000 jffs2: Empty flash at 0x00267ffc ends at 0x00268000 jffs2: Empty flash at 0x0026bffc ends at 0x0026c000 jffs2: Empty flash at 0x00273ffc ends at 0x00274000 jffs2: Empty flash at 0x00277ffc ends at 0x00278000 jffs2: Empty flash at 0x0027bffc ends at 0x0027c000 jffs2: Empty flash at 0x00283ffc ends at 0x00284000 jffs2: Empty flash at 0x00287ffc ends at 0x00288000 jffs2: Empty flash at 0x0028bffc ends at 0x0028c000 jffs2: Empty flash at 0x00293ffc ends at 0x00294000 jffs2: Empty flash at 0x00297ffc ends at 0x00298000 jffs2: Empty flash at 0x002a3ffc ends at 0x002a4000 jffs2: Empty flash at 0x002a7ffc ends at 0x002a8000 jffs2: Empty flash at 0x002abffc ends at 0x002ac000 jffs2: Empty flash at 0x002b3ffc ends at 0x002b4000 jffs2: Empty flash at 0x002b7ffc ends at 0x002b8000 jffs2: Empty flash at 0x002c3ffc ends at 0x002c4000 jffs2: Empty flash at 0x002c7ffc ends at 0x002c8000 jffs2: Empty flash at 0x002cbffc ends at 0x002cc000 jffs2: Empty flash at 0x002d3ffc ends at 0x002d4000 jffs2: Empty flash at 0x002d7ffc ends at 0x002d8000 jffs2: Empty flash at 0x002dbffc ends at 0x002dc000 jffs2: Empty flash at 0x002e3ffc ends at 0x002e4000 jffs2: Empty flash at 0x002e7ffc ends at 0x002e8000 jffs2: Empty flash at 0x002ebffc ends at 0x002ec000 jffs2: Empty flash at 0x002f3ffc ends at 0x002f4000 jffs2: Empty flash at 0x002f7ffc ends at 0x002f8000 jffs2: Empty flash at 0x002fbffc ends at 0x002fc000 jffs2: Empty flash at 0x00307ffc ends at 0x00308000 jffs2: Empty flash at 0x0030bfe0 ends at 0x0030c000 jffs2: Empty flash at 0x00313ffc ends at 0x00314000 jffs2: Empty flash at 0x00317ffc ends at 0x00318000 jffs2: Empty flash at 0x0031bffc ends at 0x0031c000 jffs2: Empty flash at 0x00323ffc ends at 0x00324000 jffs2: Empty flash at 0x00327ffc ends at 0x00328000 jffs2: Empty flash at 0x00333ffc ends at 0x00334000 jffs2: Empty flash at 0x0033bffc ends at 0x0033c000 jffs2: Empty flash at 0x00343ffc ends at 0x00344000 jffs2: Empty flash at 0x00347ffc ends at 0x00348000 jffs2: Empty flash at 0x0034bffc ends at 0x0034c000 jffs2: Empty flash at 0x00353ffc ends at 0x00354000 jffs2: Empty flash at 0x00357ffc ends at 0x00358000 jffs2: Empty flash at 0x0035bffc ends at 0x0035c000 jffs2: Empty flash at 0x00363ffc ends at 0x00364000 jffs2: Empty flash at 0x00367ffc ends at 0x00368000 jffs2: Empty flash at 0x0036bffc ends at 0x0036c000 jffs2: Empty flash at 0x00373ffc ends at 0x00374000 jffs2: Empty flash at 0x00377ffc ends at 0x00378000 jffs2: Empty flash at 0x0037bffc ends at 0x0037c000 jffs2: Empty flash at 0x00383ffc ends at 0x00384000 jffs2: Empty flash at 0x00387ffc ends at 0x00388000 jffs2: Empty flash at 0x0038bffc ends at 0x0038c000 jffs2: Empty flash at 0x00393ffc ends at 0x00394000 jffs2: Empty flash at 0x00397ffc ends at 0x00398000 jffs2: Empty flash at 0x0039bffc ends at 0x0039c000 jffs2: Empty flash at 0x003a3ffc ends at 0x003a4000 jffs2: Empty f/etc/init.d/S01udev: line 10: /home/base/init.sh: not found ls ls

xmflsct commented 7 years ago

Seems like your system partition is corrupt, but uboot and kernel are fine, fortunately. I did read in the original yi-hack issues that someone had a similar issue before. I have no idea why. This didn't happen to me. If you want, I can post my system's image to you, and you can restore it using uboot.

lambokini commented 7 years ago

@xmflsct thanks a lot:) but it seems that I can't pause autoboot since boot log says: Hit any key to stop autoboot: 0 do you have any idea to fix this .

xmflsct commented 7 years ago

@lambokini That's true. This version of camera has a default 0 of delay so you cannot pause autoboot. But yes, there is a way to modify this, but not a very straightforward way. You can refer to my comment here.

lambokini commented 7 years ago

@xmflsct I will read your comment. you saved me :)

xmflsct commented 7 years ago

@lambokini By the way, if you happen to be able to increase boot delay, let me know if you can interrupt the process by pressing any key. My camera does not accept any RX/TX input, so I have no idea if this is a general issue or my camera's issue...

lambokini commented 7 years ago

@xmflsct I will example mkubootenv/example/uboot_env.bin file to saved as env_y20 to my SD. the output is: magic 0xd93f5b2e 0x27051956 arch 0x64 0x2 size 0x3d313135 0x40 type 0x72 0x2 crc 0x64756162 name 4050000 Image env_y20 bad MAGIC or ARCH

any wrong with me?

lambokini commented 7 years ago

reading env_y20

magic 0x27051956 0x27051956 arch 0x2 0x2 size 0xf7 0x40 type 0x7 0x2 crc 0xc443b3cf name 7518-hi3518-env idx1: old : ffffffff, new : 58d7e333 reading env_y20 write_len too big <==================================== this is the error any wrong with the image ?

Image name: 7518-hi3518-env

xmflsct commented 7 years ago

@lambokini You have to be careful of the size of your original env file, and your generated file. Herewith my env file, download. This ones has a boot delay of 10 seconds.

shadow-1 commented 7 years ago

@lambokini I have recovered corrupt firmware similar to this before. Link to my post below. https://github.com/fritz-smh/yi-hack/issues/137#issuecomment-283488455

With a backup of the rootfs partition from the same camera. I can create a recovery firmware file to restore your camera. All you will need to do is copy the firmware file onto the microSD card and start the camera.

@xmflsct Do you happen to have a backup of your cameras partitions? Unfortunately I only have access to a Yi 1080p Dome camera.

xmflsct commented 7 years ago

@shadow-1 Yes, I have a full backup of my camera's original partitions, before the latest official update.

shadow-1 commented 7 years ago

@xmflsct Excellent, do you mind sharing it? I can create a recovery image and help @lambokini recover his camera.

xmflsct commented 7 years ago

@shadow-1 Wonderful! Herewith my system dump from dd. system_dump.zip

shadow-1 commented 7 years ago

@xmflsct @lambokini I'm not sure which partition has been corrupted. So I created a backup of rootfs partition and home partition. So I created a recovery image for both. Links are below: rootfs_y20 home_y20

All you need to do is copy the rootfs_y20 and/or home_y20 (depending which partition you want to recover) to a microSD card and start the camera.

Let me know if you get an error messages when it tries to read the image. I would have tested it myself. However I don't have this particular camera.

maysamsh commented 7 years ago

@shadow-1, after copying these two files into the microSD card, the LED is still yellow and nothing works, not even reset.

xmflsct commented 7 years ago

@maysamsh can you provide a terminal output to see if the system does indeed copying the content?

maysamsh commented 7 years ago

@xmflsct I don't know how to do it. any tutorial?

shadow-1 commented 7 years ago

@maysamsh I created those files as an experimental test recovery image in case the rootfs or home partitions on the camera get corrupted.

I do not have this camera, so to help I have to see what is being shown on the terminal. To access the terminal of the camera, you need to connect to the cameras serial interface. This can be achieved by doing the following:

  1. Open up the camera.
  2. Solder wires onto the serial port pads on the main circuit. That is what I had to do on the Xiaomi Dome. This camera might have pins or a connector available to plug into.
  3. Using a USB to Serial converter, connect the camera to a computer.
  4. Use a terminal application like PuTTY to see what is being shown on the cameras terminal.

I have a few tips/questions.


I have recovered my Xiaomi Dome camera using this method when I corrupted the rootfs partition (system can not boot without the rootfs partition).

maysamsh commented 7 years ago

@shadow-1 I'm not sure when I can do the soldering. But about the questions, before using that image file, yes, it was working (asking to pair, etc.). Now when I put a new image file it blinks with yellow light about 30 seconds and then stops blinking (still yellow status). The SD card is 8GB FAT32.

shadow-1 commented 7 years ago

@maysamsh Hmm, good news is that the recovery method works and your camera is definitely recoverable. Bad news is that I must have made a small mistake when creating those recovery images and I'm not exactly sure where.

Without seeing the error messages that the camera is displaying, it is very hard to pin point what the problem is.

Perhaps @lambokini could help. As his/her camera is already bricked, there is no risk in applying this recovery image. In addition he/she has terminal access as shown in his first post.

When I have some more time, I will recreate these images and see whether I made a small mistake the first time.

maysamsh commented 7 years ago

@shadow-1 Thank you. I wonder if is it possible to download the original firmware and boot the cam? The official website provides a file named "2.1.0.0A_201703071456home_y20m" but seems does not work. With this file on the SD (renamed to home_y20) it does not start updating.

shadow-1 commented 7 years ago

@maysamsh No you won't be able to use the original firmware to restore the camera. The official firmware is an encrypted archive. After extracting the files from the archive, it is basically copy and pasting files with a checksum check. It is not a proper firmware at all.

I explained the process of exactly how the official firmware works in the link below: https://github.com/fritz-smh/yi-hack/issues/124#issuecomment-275670843

maysamsh commented 7 years ago

@shadow-1 what about restoring from someone else's image?

shadow-1 commented 7 years ago

@maysamsh That is exactly what this recovery image is. I have used @xmflsct system backup to create a recovery image.


I have recreated the recovery images from scratch. Please try the following images: rootfs_y20 home_y20

Like I said before. Without seeing the error message being displayed in the terminal. I am a bit blind. Let me know how this set of images go.

maysamsh commented 7 years ago

Thanks. I tried the home_y20, it flashed but after about 30 seconds I have still yellow LED. I don't know what to do with rootfs_ys.

xmflsct commented 7 years ago

@maysamsh can you provide a terminal output if possible? Flashing home_y20 might take a bit more time. Flashing rootfs_y20 is the same process.

shadow-1 commented 7 years ago

@maysamsh The flashing yellow light occurs when the image is being written to flash memory. If your rootfs partition is corrupted, your camera will not work. You need to do the same process but with rootfs_y20 file on the microSD card. As the rootfs partition is so much smaller than the home partition, the yellow light won't flash for very long.

maysamsh commented 7 years ago

@xmflsct I need few days to make the serial connection to the cam, soldering and stuff. I flashed both files, but it's still the same as the attached video shows. [blinking order: blue-yellow-blue-still yellow] img_8020_small

xmflsct commented 7 years ago

The second blue flash seems weird. Never encounter such a situation. Have you also tried to reset the camera after flashing without SD in?

maysamsh commented 7 years ago

@xmflsct It happened after flashing the first image file, and nothing works when it's still yellow, even I cannot reset it, it does not respond.

xmflsct commented 7 years ago

Can you first figure out the serial soldering? Do you need any guidance there?

maysamsh commented 7 years ago

A tutorial to show what pins should be soldered and their names (TX/RX/GND/VCC) would be enough.

xmflsct commented 7 years ago

https://youtu.be/3e8jXuxiRzY?t=3m40s Herewith a video tutorial. Please note that in the video, the serial ports are soldered onto the pins. But for my device, it seems like the pins won't work - RX/TX are not connected. So I solder them onto board as shown in the video. Also note there reference of "RX/TX" in the video, don't make it reverse. :)

maysamsh commented 7 years ago

Okay thanks. I'll post outputs tomorrow this at this time.

shadow-1 commented 7 years ago

@xmflsct I'm not sure exactly what the issue is with the recovery image. Can you confirm the erase block size on the camera? I assumed that the erase block size is 64kb like on the Xiaomi Dome.

To do this, can you post the output of the following command: cat /proc/mtd

maysamsh commented 7 years ago

@xmflsct okay, i'll do it when I have the connection.

xmflsct commented 7 years ago

@shadow-1 I will have access to my cam in some hours, then will post output. But as I remember, it was 64kb.

xmflsct commented 7 years ago

@shadow-1 Actually, I found back the block sizes from the original yi-hack discussion that I forgot.

0x000000000000-0x000000040000 : "boot" 0x000000040000-0x000000050000 : "env" 0x000000050000-0x000000060000 : "conf" 0x000000060000-0x0000001f0000 : "os" 0x0000001f0000-0x000000330000 : "rootfs" 0x000000330000-0x000000fe0000 : "home" 0x000000fe0000-0x000000ff0000 : "vd1" 0x000000ff0000-0x000001000000 : "ver"

maysamsh commented 7 years ago

@xmflsct Any chance to fix those image files?

shadow-1 commented 7 years ago

@xmflsct From this output I see the partition sizes and locations in memory but not the erase block size. It probably is 64kb. However it's best to check. If the images erase block size doesn't match the actual memory on the camera, it will not work. This was an issue when I had to recover my camera.

@maysamsh We can fix the image files once we know what the issue is when you boot the camera.

xmflsct commented 7 years ago

@maysamsh I can confirm that, the starting flashing of yellow and blue light probably just means that the cam is powered up. Then the long lasting yellow light means the cam stuck somewhere during boot process. Thus without serial output, it is difficult to see where is the problem.

@shadow-1 Finally I get to my cam. Herewith the erase block sizes.

dev: size erasesize name mtd0: 00040000 00010000 "boot" mtd1: 00010000 00010000 "env" mtd2: 00010000 00010000 "conf" mtd3: 00190000 00010000 "os" mtd4: 00140000 00010000 "rootfs" mtd5: 00cb0000 00010000 "home" mtd6: 00010000 00010000 "vd1" mtd7: 00010000 00010000 "ver"

shadow-1 commented 7 years ago

@xmflsct Thanks for that. The erase block size is 64kb. So there is no issue with with the erase block size of the image.

lambokini commented 7 years ago

@shadow-1 @xmflsct sorry guys. last week I was a bit busy. so I didn't play with my xiaoyi1080p camera. I followed @shadow-1 comment and copied rootfs_y20 and home_y20 to sd card. it worked!!! but I forgot to save my ttl output. sorry for this. I should save my ttl output so that you guys took it as references. then later I used some other system firmware backups. now my ttl output like this; System startup =========1 hello, open console

do_auto_sd_update: detect flash size: 0x1000000, gsdexist=1

do_auto_update: detect flash size: 0x1000000

UBOOT:test pin high!

Hit any key to stop autoboot: 0 16384 KiB hi_fmc at 0:0 is now current device

Booting kernel from Legacy Image at 82000000 ...

Image Name: 7518-hi3518c-kernel Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1384232 Bytes = 1.3 MiB Load Address: 80008000 Entry Point: 80008000 Loading Kernel Image ... OK OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0 Linux version 3.4.35 (chenshibo@ANTS-SH-SV02) (gcc version 4.8.3 20131202 (prerelease) (Hisilicon_v300) ) #22 Mon Nov 28 15:39:11 CST 2016 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: hi3518ev200 Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8636 Kernel command line: mem=34M console=ttyAMA0,115200 root=/dev/mtdblock4 rootfstype=jffs2 mtdparts=hi_sfc:256k(boot)ro,64k(env),64k(conf),1600k(os),1280k(rootfs),12992k(home),64k(vd1),64k(ver)!!! PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 34MB = 34MB total Memory: 30648k/30648k available, 4168k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc2800000 - 0xff000000 ( 968 MB) lowmem : 0xc0000000 - 0xc2200000 ( 34 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc0340000 (3296 kB) .init : 0xc0340000 - 0xc035cc64 ( 116 kB) .data : 0xc035e000 - 0xc037f260 ( 133 kB) .bss : 0xc037f284 - 0xc03b1850 ( 202 kB) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:32 VIC @fe0d0000: id 0x00641190, vendor 0x41 sched_clock: 32 bits at 49MHz, resolution 20ns, wraps every 86767ms Console: colour dummy device 80x30 Calibrating delay loop... 269.10 BogoMIPS (lpj=1345536) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 Initializing cgroup subsys freezer CPU: Testing write buffer coherency: ok Setting up static identity map for 0x8026ab08 - 0x8026ab60 dummy: NET: Registered protocol family 16 Serial: AMBA PL011 UART driver uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 5) is a PL011 rev2 console [ttyAMA0] enabled uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 30) is a PL011 rev2 uart:2: ttyAMA2 at MMIO 0x200a0000 (irq = 25) is a PL011 rev2 bio: create slab at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource timer0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP: reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. fuse init (API version 7.18) msgmni has been set to 59 io scheduler noop registered io scheduler deadline registered (default) io scheduler cfq registered brd: module loaded Check Flash Memory Controller v100 ... Found. SPI Nor(cs 0) ID: 0xc8 0x40 0x18 Block:64KB Chip:16MB Name:"GD25Q128" SPI Nor total size: 16MB mtd: bad character after partition (!) 8 cmdlinepart partitions found on MTD device hi_sfc 8 cmdlinepart partitions found on MTD device hi_sfc Creating 8 MTD partitions on "hi_sfc": 0x000000000000-0x000000040000 : "boot" 0x000000040000-0x000000050000 : "env" 0x000000050000-0x000000060000 : "conf" 0x000000060000-0x0000001f0000 : "os" 0x0000001f0000-0x000000330000 : "rootfs" 0x000000330000-0x000000fe0000 : "home" 0x000000fe0000-0x000000ff0000 : "vd1" 0x000000ff0000-0x000001000000 : "ver" ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver hiusb-ehci hiusb-ehci.0: HIUSB EHCI hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1 hiusb-ehci hiusb-ehci.0: irq 15, io mem 0x100b0000 hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected i2c /dev entries driver hisi_i2c hisi_i2c.0: Hisilicon [i2c-0] probed! hisi_i2c hisi_i2c.1: Hisilicon [i2c-1] probed! hisi_i2c hisi_i2c.2: Hisilicon [i2c-2] probed! TCP: cubic registered Initializing XFRM netlink socket NET: Registered protocol family 17 NET: Registered protocol family 15 lib80211: common routines for IEEE802.11 drivers Registering the dns_resolver key type ▒jffs2: jffs2_scan_eraseblock(): Node at 0x0013000c {0x1985, 0xc000, 0x00000030) has invalid CRC 0xe08a1082 (calculated 0x31626ddd) jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130010: 0x0030 instead jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130014: 0x1082 instead jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130018: 0x0004 instead jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013001c: 0x000d instead jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130020: 0x0100 instead jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130028: 0x0208 instead jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013002c: 0x0300 instead jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130030: 0x0210 instead jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00130034: 0x0170 instead jffs2: Further such events for this erase block will not be printed VFS: Mounted root (jffs2 filesystem) on device 31:4. Freeing init memory: 112K

        _ _ _ _ _ _ _ _ _ _ _ _
        \  _  _   _  _ _ ___
        / /__/ \ |_/
       / __   /  -  _ ___
      / /  / /  / /

/ / / _/ _ __ ____\______

usb 1-1: new high-speed USB device number 2 using hiusb-ehci usbdev11 -> /dev/usbdev1.2 mmc1: new high speed SDHC card at address 1234 mmcblk0: mmc1:1234 SA08G 7.42 GiB mmcblk0: p1 Not recognise ACTION:change Not recognise ACTION:change rm: can't remove '/sbin/reboot': No such file or directory Auto login as root ... Jan 1 01:00:03 login[679]: root login on 'ttyS000' Welcome to HiLinux. ~ # exFAT: Version 1.2.9 vm.dirty_background_ratio = 2 vm.dirty_ratio = 2 vm.dirty_writeback_centisecs = 100 vm.dirty_expire_centisecs = 500 fs.mqueue.msg_max = 256 date: can't set date: Invalid argument Thu Jan 1 00:43:32 CET 1970

checkdisk.c(get_tfcard_size_v2-105)[01:00:04.247]:TF card total size : 7604 MB

chec[EXFAT] trying to mount... kdisk.c(get_fs_type-258)[01:00:04.251]:FS TYPE :EXFAT

[EXFAT] mounted successfully [EXFAT] trying to unmount... [EXFAT] unmounted successfully

checkdisk.c(check_partion_exfat-168)[01:00:04.361]:TF Card checking ....

checkdisk.c(check_partion_exfat-172)[01:00:04.50[EXFAT] trying to mount... 4]: cmd() retBuf(exfatfsck 1.2.3 Checking file[EXFAT] mounted successfully system on /dev/mmcblk0p1. File system version 1.0 Sector size 512 bytes Cluster size 32 KB Volume size 7600 MB Used space 12 MB Available space 7588 MB Totally 3 directories and 13 files. File system checking finished. No errors found. )

checkdisk.c(check_partion_exfat-190)[01:00:04.518]:Mount sd ok.

checkdisk.c(check_partion_exfat-193)[01:00:04.519]:TF Card check finished.

[EXFAT] trying to unmount... [EXFAT] unmounted successfully [EXFAT] trying to mount... [EXFAT] mounted successfully rm: can't remove '/tmp/sd/*.REC': No such file or directory find: /tmp/sd/record: No such file or directory rm: can't remove '/etc/mtab': No such file or directory Board tools : ver0.0.1_20121120

0x2013002c: 0x00000000 --> 0x00000000 [END] Killed Password for 'root' changed [good] busybox 1.16.1 is in the system. [good] region ban has been removed. vm.dirty_background_ratio = 2 vm.dirty_ratio = 5 vm.dirty_writeback_centisecs = 100 vm.dirty_expire_centisecs = 500 Bus 001 Device 002: ID 148f:7601 Bus 001 Device 001: ID 1d6b:0002 sh: =: argument expected sh: =: argument expected Board tools : ver0.0.1_20121120 [debugusb 1-1: USB disconnect, device number 2 ]: {source/utils/cmdshell.c:166}cmdstr:himm 0x20180100: 0x00000040 --> 0x00000000 [END] Board tools : ver0.0.1_20121120

0x20180100: 0x00000000 --> 0x00000040 [END] usb 1-1: new high-speed USB device number 3 using hiusb-ehci usbdev11 -> /dev/usbdev1.3 rtusb init rt2870 ---> create ok usbcore: registered new interface driver rt2870 wlan0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

supp-global-ctrl-iface-init (will try fixup): bind(PF_UNIX): Address already in use 0x1300 = 00064300 Number of Packet Allocated in open = 1 Number of Packet Freed in open = 0 udhcpc (v1.20.2) started

Setting IP address 0.0.0.0 on wlan0 Sending discover... Sending discover... Sending select for 192.168.1.6... Lease of 192.168.1.6 obtained, lease time 86400 Setting IP address 192.168.1.6 on wlan0 need update route and dns with wlan0 Deleting routers Adding router 192.168.1.254 Recreating /tmp/resolv.conf rm: can't remove '/tmp/resolv.conf': No such file or directory Adding DNS server 192.168.1.254 Set DNS config

[CPLD_PERIPH] cpld_init ok, [ ver=Dec 23 2016, 10:22:35 ] [CPLD_PERIPH] pwm init ok. [CPLD_PERIPH] timer init ok. timer resolution:10 MHZ [CPLD_PERIPH] HZ = 100 mmz_start: 0x82200000, mmz_size: 30M Hisilicon Media Memory Zone Manager Module himedia: init ok hi3518e_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load sys.ko for Hi3518EV200...OK! load tde.ko ...OK! load region.ko ....OK! load vgs.ko for Hi3518EV200...OK! ISP Mod init! load viu.ko for Hi3518EV200...OK! load vpss.ko ....OK! load rc.ko for Hi3518EV200...OK! load venc.ko for Hi3518EV200...OK! load chnl.ko for Hi3518EV200...OK! [SSP_MS41909]Kernel: muxctrl for spi1 initial ok! [SSP_MS41909]Kernel: pin cs for spi1 initial ok! [SSP_MS41909]Kernel: pin vd_fz initial ok! [SSP_MS41909]Kernel: spi0 gpio initial ok! [HW_TIMER] hw_timer frequency is 10000 HZ [HW_TIMER] hw_timer init OK! [SSP_MS41909]Kernel: ms41909 init success! [SSP_MS41909]Kernel: ssp initial ok! load h264e.ko for Hi3518EV200...OK! load jpege.ko for Hi3518EV200...OK! ==== Your input Sensor type is ov9712 ==== insmod: can't insert 'extdrv/piris.ko': No such file or directory Board tools : ver0.0.1_20121120

0x200f0040: 0x00000002 --> 0x00000002 [END] Board tools : ver0.0.1_20121120

0x200f0044: 0x00000002 --> 0x00000002 [END] Board tools : ver0.0.1_20121120

0x200f007c: 0x00000001 --> 0x00000001 [END] Board tools : ver0.0.1_20121120

0x200f0080: 0x00000001 --> 0x00000001 [END] Board tools : ver0.0.1_20121120

0x200f0084: 0x00000001 --> 0x00000001 [END] Board tools : ver0.0.1_20121120

0x200f0088: 0x00000001 --> 0x00000001 [END] Board tools : ver0.0.1_20121120

0x200f008c: 0x00000002 --> 0x00000002 [END] Board tools : ver0.0.1_20121120

0x200f0090: 0x00000002 --> 0x00000002 [END] Board tools : ver0.0.1_20121120

0x200f0094: 0x00000001 --> 0x00000001 [END] Board tools : ver0.0.1_20121120

0x2003002c: 0x000C4003 --> 0x001C4001 [END] acodec inited! insert audio mipi_init init phy power successful! load hi_mipi driver successful! ==== Your input Sensor type is ov9712 ==== Board tools : ver0.0.1_20121120

0x201200cc: 0xFF035144 --> 0xFE033144 [END] Board tools : ver0.0.1_20121120

0x201200c8: 0x00F22C2C --> 0x00023C2E [END] Board tools : ver0.0.1_20121120

0x201200d8: 0x1E1EC001 --> 0x0D1EC001 [END] Load hi_cipher.ko success. g_dispatch_info.mmap_info->hw_type =2 [CPLD_PERIPH] Timer closed. [CPLD_PERIPH] Timer closed. [CPLD_PERIPH] Timer opened. killall: recbackup: no process killed killall: lua: no process killed linear mode sesnorID:0x80; sensoraddr:0x1; sensordata:0x1

===F22sensor 1080P25fps(Parallel port) init success

vi_start_devvi_start_dev ============= Open pwm device error! Hisilicon Watchdog Timer: 0.01 initialized. default_margin=60 sec (nowayout= 0, nodeamon= 0) WATCHDOG @Hi3518v200 WATCHDOG @Hi3518v200 tcpsvd: listening on 0.0.0.0:21, starting

[PID_LIST] pid_list_init ok, [ ver=Dec 23 2016, 10:22:33 ] /tmp/view: memory clear 1586752 MMAP address=0xb6239000, size=1586752(0x183640), mode=0, try 1 ./httpserver: can't load library 'libcrypt.so.0' /tmp/sd/test/factory_test.sh: line 265: /tmp/sd/test/app/rtsp_server: not found killall: mp4_record: no process killed killall: mp4_record: no process killed killall: mp4_record: no process killed killall: mp4_record: no process killed killall: recbackup: no process killed killall: lua: no process killed killall: mp4_record: no process killed killall: mp4_record: no process killed killall: mp4_record: no process killed killall: mp4_record: no process killed tcpsvd: start 1206 192.168.1.6:21-192.168.1.8:49476 tcpsvd: status 1/30 tcpsvd: end 1206 exit 0 tcpsvd: status 0/30 killall: mp4_record: no process killed Apr 8 17:14:11 login[1208]: root login on 'pts/0' killall: mp4_record: no process killed

xmflsct commented 7 years ago

@lambokini It is a very long thread... After reading through half, I can see that you revert back to previous version of system, with my hack on SD card. If you would like to stay on this version, tomorrow I will push an update with a working RTSP server developed by @andy2301, which for now serves 720p video stream but it is very stable! We are still trying to find a better way for streaming through RTSP, but at least at current stage, we have something to play with.