I think my cam is bricked. Unfortunately my cam is a chinese unbranded. I can not connect to it by lan or wifi. SD card recovery not work, not detect card. Only way to connect to her is through the serial.
If you can help me or everyone with a DUMP.bin, MTD partitions, zImage or especially mtdblock1. Thanks in advance. Picture with motherboard is in attachment.
This is the serial log:
Код: Выделить всё
console init done
U-Boot 2012.10 (Feb 24 2016 - 22:33:54) for GK7102 rb sc1045 v2.00 (GOKE)
HAL: 20151223
DRAM: 64 MiB
Flash: 32 MiB
32 MiB
NAND: SPINAND MID = 0xff, DID = 0xffff, Data = 0x1ffffff !spinand_board_init[1581]: No support this SPI size
256 B, sector size 64 KiB, total size 32 MiB
In: serial
Out: serial
Err: serial
Net: arm_freq(600MHz)..............0x112032
use int MII..............
gk7101
Hit any key to stop autoboot: 0
[PROCESS_SEPARATORS] run sfboot
[PROCESS_SEPARATORS] setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype}
init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
SF: Detected W25Q256FV with page size 256 B, sector size 64 KiB, total size 32 MiB
put param to memory
mem size (41)
bsb size (2)
the kernel image is zImage or Image
entry = 0xc1000000
## Transferring control to Linux (at address c1000000)...
Starting kernel ...
machid = 3988 r2 = 0xc0000100
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Linux version 3.4.43-gk (bruce@ubuntu) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) #33 PREEMPT
Thu May 19 20:55:21 PDT 2016
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Goke GK7102 RB_SC1045 board V2.00
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AHB: 0x90000000 0xf2000000 -- 0x1000000
[ 0.000000] APB: 0xa0000000 0xf3000000 -- 0x1000000
[ 0.000000] PPM: 0xc0000000 0xc0000000 -- 0x200000
[ 0.000000] BSB: 0xc2b00000 0xf5000000 -- 0x200000
[ 0.000000] DSP: 0xc2d00000 0xf6000000 -- 0x1300000
[ 0.000000] hal version = 20151223
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 10414
[ 0.000000] Kernel command line: console=ttySGK0,115200 noinitrd mem=41M rw rootfstype=jffs2
root=/dev/mtdblock3 init=linuxrc
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 41MB = 41MB total
[ 0.000000] Memory: 36636k/36636k available, 5348k 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] DMA : 0xff600000 - 0xffe00000 ( 8 MB)
[ 0.000000] vmalloc : 0x83000000 - 0xff000000 (1984 MB)
[ 0.000000] lowmem : 0x80000000 - 0x82900000 ( 41 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x8044d000 (4372 kB)
[ 0.000000] .init : 0x8044d000 - 0x8046e000 ( 132 kB)
[ 0.000000] .data : 0x8046e000 - 0x80497260 ( 165 kB)
[ 0.000000] .bss : 0x80497284 - 0x804c9888 ( 202 kB)
[ 0.000000] NR_IRQS:128
[ 0.000000] >> gk7101 init irq vic1...
[ 0.000000] >> gk7101 init irq vic2...
[ 0.000000] gk7101 init vic...
[ 0.000000] mach gk7101 init timer...
[ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [ttySGK0] enabled
[ 0.010000] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 512
[ 0.080000] CPU: Testing write buffer coherency: ok
[ 0.090000] Setting up static identity map for 0xc0571630 - 0xc0571668
[ 0.100000] NET: Registered protocol family 16
[ 0.110000] gk7101 init timer...
[ 0.110000] Init HW timer for DSP communication
[ 0.0] gpiochip_add: registered GPIOs 0 to 63 on device: gk7101-gpio0
[ 0.130000] gpio map init...
[ 0.130000] create proc dir
[ 0.130000] gk7101 register devices 9
[ 0.140000] gk7101 register I2C
[ 0.290000] bio: create slab <bio-0> at 0
[ 0.290000] spi spi.0: gk7101 SPI Controller 0 created
[ 0.300000] spi spi.0: master is unqueued, this is deprecated
[ 0.300000] usbcore: registered new interface driver usbfs
[ 0.310000] usbcore: registered new interface driver hub
[ 0.320000] usbcore: registered new device driver usb
[ 0.320000] i2c regbase: 0xf3003000
[ 0.330000] i2c i2c.0: i2c irq:registers 9
[ 0.330000] i2c i2c.0: GK7101 I2C[0] adapter[i2c-0] probed!
[ 0.340000] i2c regbase: 0xf3004000
[ 0.340000] i2c i2c.1: i2c irq:registersC[1] adapter[i2c-1] probed!
[ 0.360000] FS-Cache: Loaded
[ 0.360000] CacheFiles: Loaded
[ 0.370000] cfg80211: Calling CRDA to update world regulatory domain
t0 req_size=0x00010000, segs=16, seg_size=0x00010000
[ 0.410000] gk7101-sd gk7101-sd.0: GK7101 SD/MMC[0] has 1 slots @ 46000000Hz, [0x09e130b0:0x00000000]
[ 0.420000] NET: Registered protocol family 2
[ 0.420000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.430000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.440000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.450000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.460000] TCP: reno registered
[ 0.460000] UDP hash table entries: 256 (order: 0, 40table entries: 256 (order: 0, 40d protocol family 1
[ 0.480000] RPC: Registered named UNIX socket transport module.
[ 0.490000] RPC: Registered udp transport module.
[ 0.490000] RPC: Registered tcp transport module.
[ 0.500000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.500000] mdma init...
[ 0.510000] mdma request irq: 54
[ 0.520000] NFS: Registering the id_resolver key type
[ 0.520000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.530000] fuse init (API version 7.18)
[ 0.540000] msgmni has been set to 71
[ 0.550000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.560000] io scheduler noop registered
[ 0.560000] io scheduler deadline registered
[ 0.570000] io scheduler cfq registered (default)
[ 0.570000] uart.0: ttySGK0 at MMIO 0xa0005000 (irq = 31) is a gk7101uart
[ 0.580000] uart.1: ttySGK1 at MMIO 0xa001f000 (irq = 15) is a gk7101uart
[ 0.590000] uart.2: ttySGK2 at MMIO 0xa001e000 (irq = 27) is a gk7101uart
[ 0.600000] brd: module loaded
[ 0.610000] loop: module loaded
[ 0.620000] adc initialized (10:11)
[ 0.620000] slram: not enough parameters.
[ 0.630000] speed_mod is 0
[ 0.630000] gk7101_flash gk7101_flash.0: W25Q256FV (32768 Kbytes)
[ 0.640000] Creating 5 MTD partitions on "gk7101_flash":
[ 0.640000] 0x000000000000-0x000000040000 : "uboot"
[ 0.650000] 0x000000040000-0x000000050000 : "ubootenv"
[ 0.660000] 0x000000050000-0x000000200000 : "kernel"
[ 0.660000] 0x000000200000-0x000001000000 : "rootfs"
[ 0.670000] 0x000000000000-0x000001000000 : "all"
[ 0.680000] GKETH_init
[ 0.680000] [GKETH_drv_probe] eth_base = 0xf200e000
[ 0.690000] mii id = 0
[ 0.690000] ###### PHY Reset.1.0.2
[ 0.810000] mdiobus_register: PHY[0] whose id 0x00000000
[ 0.810000] goke MII Bus: probed
[ 0.820000] gk7101-eth gk7101-eth.0: MAC Address[02:11:22:a3:a0:00].
[ 0.830000] usbcore: registered new interface driver cdc_wdm
[ 0.830000] usbcore: registered new interface driver libusual
[ 0.840000] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.850000] musb phy Begin initial sequence ...
[ 1.090000] gk7101 musb init end...
[ 1.100000] musb-hdrc musb-hdrc: MUSB HDRC host driver
[ 1.100000] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
[ 1.110000] vm : ffde0000, phy : c25a0000
[ 1.120000] dma_buf alloc ok!
[ 1.120000] hub 1-0:1.0: USB hub found
[ 1.120000] hub 1-0:1.0: 1 port detected
[ 1.130000] musb-hdrc musb-hdrc: USB Host mode controller at f0006000 using PIO, IRQ 26
[ 1.140000] platform add gk7101 musb...
[ 1.140000] mousedev: PS/2 mouse device common for all mice
[ 1.150000] input: GKInput as /devices/virtual/input/input0
[ 1.160000] Protocol NEC[0]
[ 1.160000] ir request irq: 62
[ 1.160000] IR Host Controller probed!
[ 1.170000] i2c /dev entries driver
[ 1.170000] gk7101_wdt: GK7101 Watchdog Timer, (c) 2014 Goke Mwdt_init]: init
[ 1.180000] [gk7101_wdt_probe]: probe
[ 1.190000] [gk7101_wdt_probe]: probe mapped wdt_base=f3006000
[ 1.190000] watchdog inactive, reset disabled, irq disabled
[ 1.200000] IPv4 over IPv4 tunneling driver
[ 1.210000] gre: GRE over IPv4 demultiplexor driver
[ 1.210000] ip_gre: GRE over IPv4 tunneling driver
[ 1.220000] TCP: cubic registered
[ 1.220000] Initializing XFRM netlink socket
[ 1.230000] NET: Registered protocol family 10
[ 1.240000] IPv6 over IPv4 tunneling driver
[ 1.240000] NET: Registered protocol family 17
[ 1.250000] NET: Registered protocol family 15
[ 1.250000] lib80211: common routines for IEEE802.11 drivers
[ 1.260000] Registering the dns_resolver key type
[ 1.270000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 1.580000] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[ 4.590000] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[ 4.600000] Freeing init memory: 132K
[ 4.960000] Failed to execute linuxrc. Attempting defaults...
[ 4.970000] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux
Documentation/init.txt for guidance.
[ 4.970000] Backtrace:
[ 4.970000] [<800112a8>] (dump_backtrace+0x0/0x10c) from [<8036c4c8>] (dump_stack+r5:804692a0 r4:80497290
r3:00000001
[ 4.970000] [<8036c4b0>] (dump_stack+0x0/0x1c) from [<8036c5cc>] (panic+0x84/0x1c4)
[ 4.970000] [<8036c548>] (panic+0x0/0x1c4) from [<8036c48c>] (init_post+0xa8/0xcc)
[ 4.970000] r3:82219b30 r2:00000013 r1:00002389 r0:803fb32e
[ 4.970000] r7:80497290
[ 4.970000] [<8036c3e4>] (init_post+0x0/0xcc) from [<8044d964>] (kernel_init+0x170/0x1a8)
[ 4.970000] r4:00000007 r3:81e01798
[ 4.970000] [<8044d7f4>] (kernel_init+0x0/0x1a8) from [<800273d4>] (do_exit+0x0/0x730)