=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.12.05 14:55:33 =~=~=~=~=~=~=~=~=~=~=~=
[4l

             ___  ___  _________                _   
            / _ \ |  \/  || ___ \              | |  
           / /_\ \| .  . || |_/ /  ___    ___  | |_ 
           |  _  || |\/| || ___ \ / _ \  / _ \ | __|
           | | | || |  | || |_/ /| (_) || (_) || |_ 
           \_| |_/\_|  |_/\____/  \___/  \___/  \__|
----------------------------------------------------------
Amboot(R) Ambarella(R) Copyright (C) 2004-2014
Boot From: NAND 2048 RC 
SYS_CONFIG: 0x300600DB POC: 101
Cortex freq: 600000000
iDSP freq: 144000000
Dram freq: 528000000
Core freq: 144000000
AHB freq: 72000000
APB freq: 36000000
UART freq: 24000000
SD freq: 50000000
SDIO freq: 50000000
SDXC freq: 60000000
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> boot console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/bin/sh
bst: 0x1946EC63 1.3 	(2015/6/19)	0x00000000 0x00000001 (2048)
bld: 0xD383D753 1.3 	(2015/6/19)	0x00000000 0x00000000 (193104)
pri: 0x73C1A954 0.1 	(2015/6/19)	0x00208000 0x00000000 (4908792)
lnx: 0xEF9F71BB 0.1 	(2015/6/19)	0x00000000 0x00000001 (42598400)
add: 0xE5FE18AF 0.1 	(2015/6/19)	0x00000000 0x00000001 (11927552)
adc: 0xE31BE621 0.1 	(2015/6/19)	0x00000000 0x00000001 (3670016)

loading pri to 0x00208000
rmd image absent... skipping
Jumping to 0x00208000 ...
cmdline: console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/bin/sh
cpux_jump: 0x00000000
initrd2_start: 0x00000000 initrd2_size: 0x00000000
kernelp: 0x00200000 kernels: 0x06E00000
idspp: 0x07000000 idsps: 0x09000000
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.10.73 (zucker@ubuntu) (gcc version 4.9.1 20140625 (prerelease) (crosstool-NG - Ambarella Linaro Multilib GCC [CortexA9 & ARMv6k] 2014.06) ) #2 PREEMPT Mon Jun 15 21:05:42 CST 2015
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Ambarella S2L (Flattened Device Tree), model: Ambarella S2LM Kiwi Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Ambarella:      AHB = 0xe0000000[0xe0000000],0x01000000 0
[    0.000000] Ambarella:      APB = 0xe8000000[0xe8000000],0x01000000 0
[    0.000000] Ambarella:      PPM = 0x00000000[0xdfe00000],0x00200000 9
[    0.000000] Ambarella:      AXI = 0xf0000000[0xf0000000],0x00030000 0
[    0.000000] Ambarella:    DRAMC = 0xdffe0000[0xef000000],0x00020000 0
[    0.000000] Ambarella:   DBGBUS = 0xec000000[0xec000000],0x00200000 0
[    0.000000] Ambarella:  DBGFMEM = 0xee000000[0xee000000],0x01000000 0
[    0.000000] Ambarella:   IAVMEM = 0x07000000[          ],0x09000000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 27940
[    0.000000] Kernel command line: console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/bin/sh
[    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: 110MB = 110MB total
[    0.000000] Memory: 106600k/106600k available, 6040k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0x87000000 - 0xff000000   (1920 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x86e00000   ( 110 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x8045eadc   (4443 kB)
[    0.000000]       .init : 0x8045f000 - 0x80481f0c   ( 140 kB)
[    0.000000]       .data : 0x80482000 - 0x804b66f8   ( 210 kB)
[    0.000000]        .bss : 0x804b66f8 - 0x804d658c   ( 128 kB)
[    0.000000] NR_IRQS:240
[    0.000000] sched_clock: 32 bits at 36MHz, resolution 27ns, wraps every 119304ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttyS0] enabled
[    0.232591] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[    0.292609] pid_max: default: 32768 minimum: 301
[    0.297299] Mount-cache hash table entries: 512
[    0.304210] CPU: Testing write buffer coherency: ok
[    0.309358] Setting up static identity map for 0x80342998 - 0x803429f8
[    0.318139] devtmpfs: initialized
[    0.322674] pinctrl core: initialized pinctrl subsystem
[    0.328114] NET: Registered protocol family 16
[    0.333330] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.340713] L310 cache controller enabled
[    0.344713] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32020000, Cache size: 131072 B
[    0.354264] ambarella-pinctrl e8009000.pinctrl: Ambarella pinctrl driver registered
[    0.362282] ambarella-gpio gpio.0: Ambarella GPIO driver registered
[    0.372255] bio: create slab <bio-0> at 0
[    0.377295] ambarella-dma e0005000.dma: Ambarella DMA Engine 
[    0.384405] ambarella-i2c e8003000.i2c: Ambarella I2C adapter[0] probed!
[    9.389991] ambarella-i2c e8007000.i2c: No ACK from address 0xe8, 2:0!
[    9.396508] pca953x 2-0074: failed reading register
[    9.401393] pca953x: probe of 2-0074 failed with error -16
[    9.406869] ambarella-i2c e8007000.i2c: Ambarella I2C adapter[2] probed!
[    9.414252] Switching to clocksource ambarella-cs-timer
[    9.425990] ambarella-sd e0002000.sdmmc0: Slot0 use bounce buffer[0x86720000<->0x06920000]
[    9.434281] ambarella-sd e0002000.sdmmc0: Slot0 req_size=0x00020000, segs=32, seg_size=0x00020000
[    9.443150] ambarella-sd e0002000.sdmmc0: Slot0 use ADMA
[    9.519581] ambarella-sd e0002000.sdmmc0: 1 slots @ 50000000Hz
[    9.525588] NET: Registered protocol family 2
[    9.533914] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    9.541011] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    9.547386] TCP: Hash tables configured (established 1024 bind 1024)
[    9.553820] TCP: reno registered
[    9.557072] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    9.562941] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    9.569364] NET: Registered protocol family 1
[    9.574039] RPC: Registered named UNIX socket transport module.
[    9.580028] RPC: Registered udp transport module.
[    9.584738] RPC: Registered tcp transport module.
[    9.589419] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    9.596222] ambarella-adc e801d000.adc: Ambarella ADC driver init
[    9.604918] msgmni has been set to 208
[    9.610014] NET: Registered protocol family 38
[    9.614524] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    9.622046] io scheduler noop registered
[    9.625952] io scheduler deadline registered
[    9.630249] io scheduler cfq registered (default)
[    9.635936] e8005000.uart: ttyS0 at MMIO 0xe8005000 (irq = 9) is a ambuart
[    9.643694] brd: module loaded
[    9.649280] loop: module loaded
[    9.655015] ambarella-nand e0001000.nand: in ecc-[1]bit mode
[    9.660745] ambarella_nand: Use On Flash BBT
[    9.665076] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD/Spansion NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    9.677733] Bad block table found at page 65472, version 0x29
[    9.683691] Bad block table found at page 65408, version 0x29
[    9.689710] 7 ofpart partitions found on MTD device amba_nand
[    9.696464] Creating 7 MTD partitions on "amba_nand":
[    9.703555] 0x000000000000-0x000000020000 : "bst"
[    9.709092] 0x000000020000-0x000000160000 : "bld"
[    9.714532] 0x000000160000-0x0000002a0000 : "ptb"
[    9.719980] 0x0000002a0000-0x000000aa0000 : "pri"
[    9.725371] 0x000000aa0000-0x000003ea0000 : "lnx"
[    9.730863] 0x000003ea0000-0x0000058a0000 : "add"
[    9.736233] 0x0000058a0000-0x000007ca0000 : "adc"
[    9.742753] ambarella-spi e0020000.spi: cs1 >= max 1
[    9.747709] spi_master spi0: spi_device register error /ahb@e0000000/spi@e0020000/spidev@1
[    9.757236] ambarella-spi e0020000.spi: Ambarella spi controller 0 created.

[    9.819489] libphy: Ambarella MII Bus: probed
[    9.824330] ambarella-eth e000e000.ethernet: Ethernet PHY[0]: 0x001cc816!
[    9.831631] ambarella-eth e000e000.ethernet: MAC Address[00:00:1b:01:3e:7e].
[    9.838968] mousedev: PS/2 mouse device common for all mice
[    9.847963] ambarella-rtc e8015000.rtc: rtc core: registered rtc-ambarella as rtc0
[    9.855725] i2c /dev entries driver
[    9.859931] ambarella-wdt e800c000.wdt: Ambarella Watchdog Timer Probed.
[    9.866968] TCP: cubic registered
[    9.870342] Initializing XFRM netlink socket
[    9.874645] NET: Registered protocol family 17
[    9.879168] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    9.886877] ThumbEE CPU extension supported.
[    9.892298] UBI: attaching mtd4 to ubi0
[   10.041465] UBI: scanning is finished
[   10.050809] UBI: attached mtd4 (name "lnx", size 52 MiB) to ubi0
[   10.056801] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   10.063617] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   10.070312] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[   10.077162] UBI: good PEBs: 416, bad PEBs: 0, corrupted PEBs: 0
[   10.083072] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[   10.090196] UBI: max/mean erase counter: 12/1, WL threshold: 4096, image sequence number: 998301244
[   10.099212] UBI: available PEBs: 0, total reserved PEBs: 416, PEBs reserved for bad PEB handling: 20
[   10.108335] UBI: background thread "ubi_bgt0d" started, PID 47
[   10.114200] ambarella-rtc e8015000.rtc: setting system clock to 2106-02-07 06:28:15 UTC (4294967295)
[   10.124499] UBIFS: background thread "ubifs_bgt0_0" started, PID 48
[   10.152511] UBIFS: recovery needed
[   10.234445] UBIFS: recovery completed
[   10.238305] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[   10.244375] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.253506] UBIFS: FS size: 48377856 bytes (46 MiB, 381 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[   10.263143] UBIFS: reserved for root: 0 bytes (0 KiB)
[   10.268180] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 9433F1E0-99F6-4CA9-B9B3-6533EEA57425, small LPT model
[   10.279199] VFS: Mounted root (ubifs filesystem) on device 0:12.
[   10.286054] devtmpfs: mounted
[   10.289175] Freeing unused kernel memory: 136K (8045f000 - 80481000)
/bin/sh: can't access tty; job control turned off
/ # cd /etc/init.d
/etc/init.d # ю.[J[J./r
/bin/sh: ./r: not found
/etc/init.d # ./r
/etc/init.d # ./rcS [J
Disable kswapd write
/etc/init.d/S10syscfg: line 65: can't create /proc/sys/vm/laptop_mode: nonexistent directory
/etc/init.d/S10syscfg: line 65: can't create /proc/sys/vm/min_free_kbytes: nonexistent directory
/etc/init.d/S10syscfg: line 65: can't create /proc/sys/vm/vfs_cache_pressure: nonexistent directory
Populating s2lm_kiwi using udev: /etc/init.d/S12udev: line 72: can't create /proc/sys/kernel/hotplug: nonexistent directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline, ignoring: No such file or direc[   53.492354] systemd-udevd[56]: starting version 215
tory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Done
Initializing random number generator... done.
Starting system message bus: Failed to start message bus: The pid file "/var/run/messagebus.pid" exists, if the message bus is not running, remove this file
done
Starting PulseAudio Daemon: W: [pulseaudio] main.c: [1mCouldn't read /proc/self/exe, cannot self execute. Running in a chroot()?[0m
OK
###### Starting userd.sh #####
ubiattach: error!: UBI is not present in the system
[   54.128391] UBIFS error (pid 85): ubifs_mount: cannot open "ubi1:upgrade", error -19
mount: mounting ubi1:upgrade on /hs/upgrade failed: No such devic[   54.144292] UBIFS error (pid 87): ubifs_mount: cannot open "ubi1:param", error -19
e
mount: mounting ubi1:param on /hs/param failed: No such device
ubiattach: error!: UBI is not present in the system
[   54.171642] UBIFS error (pid 90): ubifs_mount: cannot open "ubi2:user", error -19
mount: mounting ubi2:user on /hs/user failed: No such device
Starting network...
ifup: interface lo already configured
ifup: interface eth0 already configured
/bin/sh: can't open '/hs/user/bin/demo.sh'
###### Ended userd.sh #####
/etc/init.d # ifconfig eth0 192.168.4.25 up
[  105.585521] net eth0: adv: sym 0, asym: 0
/etc/init.d # 
/etc/init.d # ifconfig eth0 192.168.4.25 up[J
/etc/init.d # ping -c 3 192.168.4.25
PING 192.168.4.25 (192.168.4.25): 56 data bytes

--- 192.168.4.25 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
/etc/init.d # 
/etc/init.d # ping -c 3 192.168.4.25[J
PING 192.168.4.25 (192.168.4.25): 56 data bytes

--- 192.168.4.25 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
/etc/init.d # 
/etc/init.d # ping -c 3 192.168.4.25[J
/etc/init.d # ifconfig eth0 192.168.4.25 up[J up[J up[J1 up0 up0 up up
/etc/init.d # 
/etc/init.d # ifconfig eth0 192.168.4.100 up[J
/etc/init.d # ping -c 3 192.168.4.25[J
PING 192.168.4.25 (192.168.4.25): 56 data bytes
64 bytes from 192.168.4.25: seq=0 ttl=64 time=1.279 ms
64 bytes from 192.168.4.25: seq=1 ttl=64 time=0.322 ms
64 bytes from 192.168.4.25: seq=2 ttl=64 time=0.300 ms

--- 192.168.4.25 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.300/0.633/1.279 ms
/etc/init.d # cd /
/ # nc -l -p 3333 | cat > /dev/mtdblock4
[  362.288823] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.307038] end_request: I/O error, dev mtdblock4, sector 8376
[  362.314001] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.331409] end_request: I/O error, dev mtdblock4, sector 8376
cat: write error: Input/output error
[  362.396707] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.414195] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.431746] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.449216] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.466675] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.484129] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.503296] end_request: I/O error, dev mtdblock4, sector 8192
[  362.509113] Buffer I/O error on device mtdblock4, logical block 1024
[  362.515440] lost page write due to I/O error on mtdblock4
[  362.528584] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.546050] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.563508] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.580979] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.598431] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.615881] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.635052] end_request: I/O error, dev mtdblock4, sector 8200
[  362.640866] Buffer I/O error on device mtdblock4, logical block 1025
[  362.647193] lost page write due to I/O error on mtdblock4
[  362.660670] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.678126] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.695658] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.713170] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.730675] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.748134] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.767308] end_request: I/O error, dev mtdblock4, sector 8208
[  362.773122] Buffer I/O error on device mtdblock4, logical block 1026
[  362.779449] lost page write due to I/O error on mtdblock4
[  362.792769] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.810225] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.827726] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.845183] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.862715] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.880219] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.899400] end_request: I/O error, dev mtdblock4, sector 8216
[  362.905215] Buffer I/O error on device mtdblock4, logical block 1027
[  362.911542] lost page write due to I/O error on mtdblock4
[  362.925009] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.942519] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.959978] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.977432] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  362.994942] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.012402] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.031621] end_request: I/O error, dev mtdblock4, sector 8224
[  363.037437] Buffer I/O error on device mtdblock4, logical block 1028
[  363.043764] lost page write due to I/O error on mtdblock4
[  363.057238] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.074762] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.092225] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.109677] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.127125] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.144577] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.163719] end_request: I/O error, dev mtdblock4, sector 8232
[  363.169534] Buffer I/O error on device mtdblock4, logical block 1029
[  363.175861] lost page write due to I/O error on mtdblock4
[  363.189383] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.206885] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.224393] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.241894] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.259355] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.276856] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.296034] end_request: I/O error, dev mtdblock4, sector 8240
[  363.301848] Buffer I/O error on device mtdblock4, logical block 1030
[  363.308175] lost page write due to I/O error on mtdblock4
[  363.321677] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.339134] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.356589] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.374041] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.391552] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.409011] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.428186] end_request: I/O error, dev mtdblock4, sector 8248
[  363.434001] Buffer I/O error on device mtdblock4, logical block 1031
[  363.440327] lost page write due to I/O error on mtdblock4
[  363.453795] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.471253] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.488703] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.506222] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.523684] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.541134] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.560309] Buffer I/O error on device mtdblock4, logical block 1032
[  363.566639] lost page write due to I/O error on mtdblock4
[  363.579960] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.597418] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.614926] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.632387] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.649890] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.667347] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.686543] Buffer I/O error on device mtdblock4, logical block 1033
[  363.692874] lost page write due to I/O error on mtdblock4
[  363.706119] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.723651] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.741111] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.758562] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.776012] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.793460] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.820335] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.837792] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.855296] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.872813] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.890272] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.907723] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.934800] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.952265] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.969719] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  363.987167] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.004668] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.022178] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.049440] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.066949] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.084468] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.102004] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.119468] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.136978] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.163979] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.181439] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.198891] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.216342] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.233789] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.251237] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.278488] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.295946] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.313453] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.330915] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.348365] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.365881] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.393140] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.410599] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.428050] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.445498] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.462946] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.480394] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.507640] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.525094] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.542544] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.560050] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.577502] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.594969] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.622230] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.639740] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.657198] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.674651] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.692100] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.709551] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.736723] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.754181] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.771632] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.789078] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.806606] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.824069] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.851315] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.868822] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.886282] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.903735] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.921184] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.938633] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.965862] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  364.983319] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  365.000768] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  365.018271] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  365.035732] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  365.053184] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  365.080419] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb7800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  365.097873] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  365.115324] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb8800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  365.132774] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  365.150277] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeb9800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
[  365.167733] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0xeba000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0xea0000!
/ # 
/ # nc -l -p 3333 | cat > /dev/mtdblock4[J[J6
[  397.073484] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x64c1000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x64c0000!
[  397.101644] blk_update_request: 15 callbacks suppressed
[  397.106855] end_request: I/O error, dev mtdblock6, sector 24832
[  397.112755] quiet_error: 13 callbacks suppressed
[  397.117353] Buffer I/O error on device mtdblock6, logical block 3104
[  397.123680] lost page write due to I/O error on mtdblock6
[  397.129604] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x64c1000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x64c0000!
[  397.157605] end_request: I/O error, dev mtdblock6, sector 24840
[  397.163511] Buffer I/O error on device mtdblock6, logical block 3105
[  397.169838] lost page write due to I/O error on mtdblock6
[  397.175734] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x64c1000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x64c0000!
[  397.203632] end_request: I/O error, dev mtdblock6, sector 24848
[  397.209538] Buffer I/O error on device mtdblock6, logical block 3106
[  397.215865] lost page write due to I/O error on mtdblock6
[  397.221817] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x64c1000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x64c0000!
[  397.249854] end_request: I/O error, dev mtdblock6, sector 24856
[  397.255759] Buffer I/O error on device mtdblock6, logical block 3107
[  397.262087] lost page write due to I/O error on mtdblock6
[  397.268049] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x64c1000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x64c0000!
[  397.295985] end_request: I/O error, dev mtdblock6, sector 24864
[  397.301890] Buffer I/O error on device mtdblock6, logical block 3108
[  397.308217] lost page write due to I/O error on mtdblock6
[  397.314177] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x64c1000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x64c0000!
[  397.342054] end_request: I/O error, dev mtdblock6, sector 24872
[  397.347956] Buffer I/O error on device mtdblock6, logical block 3109
[  397.354283] lost page write due to I/O error on mtdblock6
[  397.360185] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x64c1000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x64c0000!
[  397.387845] end_request: I/O error, dev mtdblock6, sector 24880
[  397.393746] Buffer I/O error on device mtdblock6, logical block 3110
[  397.400072] lost page write due to I/O error on mtdblock6
[  397.405976] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x64c1000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x64c0000!
[  397.433482] end_request: I/O error, dev mtdblock6, sector 24888
[  397.439384] Buffer I/O error on device mtdblock6, logical block 3111
[  397.445711] lost page write due to I/O error on mtdblock6
[  397.460134] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x64c1000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x64c0000!
[  397.487765] end_request: I/O error, dev mtdblock6, sector 24896
[  397.493673] Buffer I/O error on device mtdblock6, logical block 3112
[  397.500001] lost page write due to I/O error on mtdblock6
[  397.506004] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x64c1000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x64c0000!
[  397.533870] end_request: I/O error, dev mtdblock6, sector 24904
[  397.539774] Buffer I/O error on device mtdblock6, logical block 3113
[  397.546101] lost page write due to I/O error on mtdblock6
[  397.552185] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x64c1000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x64c0000!
[  397.580609] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x64c1000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x64c0000!
[  399.530788] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x6b60000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x6b60000!
[  401.490863] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x72a0000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x72a0000!
[  401.655227] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x7340000, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x7340000!
[  402.955630] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x78e1800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x78e0000!
[  402.983265] blk_update_request: 5 callbacks suppressed
[  402.988388] end_request: I/O error, dev mtdblock6, sector 66048
[  402.994286] quiet_error: 5 callbacks suppressed
[  402.998797] Buffer I/O error on device mtdblock6, logical block 8256
[  403.005124] lost page write due to I/O error on mtdblock6
[  403.011267] ambarella-nand e0001000.nand: nand_amb_request: dma_status=0x05000800, cmd=0xe, addr_hi=0x0, addr=0x78e1800, dst=0x0, buf=0x69bd000, len=0x800, area=0x2, ecc=0x2, block addr=0x78e0000!
[  403.038869] end_request: I/O error, dev mtdblock6, sector 66056
[  403.044772] Buffer I/O error on device mtdblock6, logical block 8257
[  403.051099] lost page write due to I/O error on mtdblock6
^C^C^C^X^X^Z







^C
^C
^[[A^C^C^C^C^C^A^C/ # 
/ # 
/ # 
/ # 
/ # nc -l -p 3333 | cat > /dev/mtdblock6[J
[  648.771631] end_request: I/O error, dev mtdblock6, sector 40960
[  648.777544] Buffer I/O error on device mtdblock6, logical block 5120
[  648.783873] lost page write due to I/O error on mtdblock6




^C



^[[A





^[

^C^C^C^C^C
^Z
^X
^C

^[[A
^C
^C
^C

^[^[^[^[^[^[





^E  
^[[A^[[A^[[A^[[A                ^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A                                        





^[
^C

^[
^[


Ё 



^C
^C
^C





^Z
[4l

             ___  ___  _________                _   
            / _ \ |  \/  || ___ \              | |  
           / /_\ \| .  . || |_/ /  ___    ___  | |_ 
           |  _  || |\/| || ___ \ / _ \  / _ \ | __|
           | | | || |  | || |_/ /| (_) || (_) || |_ 
           \_| |_/\_|  |_/\____/  \___/  \___/  \__|
----------------------------------------------------------
Amboot(R) Ambarella(R) Copyright (C) 2004-2014
Boot From: NAND 2048 RC 
SYS_CONFIG: 0x300600DB POC: 101
Cortex freq: 600000000
iDSP freq: 144000000
Dram freq: 528000000
Core freq: 144000000
AHB freq: 72000000
APB freq: 36000000
UART freq: 24000000
SD freq: 50000000
SDIO freq: 50000000
SDXC freq: 60000000
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> boot console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/bin/sh
bst: 0x1946EC63 1.3 	(2015/6/19)	0x00000000 0x00000001 (2048)
bld: 0xD383D753 1.3 	(2015/6/19)	0x00000000 0x00000000 (193104)
pri: 0x73C1A954 0.1 	(2015/6/19)	0x00208000 0x00000000 (4908792)
lnx: 0xEF9F71BB 0.1 	(2015/6/19)	0x00000000 0x00000001 (42598400)
add: 0xE5FE18AF 0.1 	(2015/6/19)	0x00000000 0x00000001 (11927552)
adc: 0xE31BE621 0.1 	(2015/6/19)	0x00000000 0x00000001 (3670016)

loading pri to 0x00208000
rmd image absent... skipping
Jumping to 0x00208000 ...
cmdline: console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/bin/sh
cpux_jump: 0x00000000
initrd2_start: 0x00000000 initrd2_size: 0x00000000
kernelp: 0x00200000 kernels: 0x06E00000
idspp: 0x07000000 idsps: 0x09000000
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.10.73 (zucker@ubuntu) (gcc version 4.9.1 20140625 (prerelease) (crosstool-NG - Ambarella Linaro Multilib GCC [CortexA9 & ARMv6k] 2014.06) ) #2 PREEMPT Mon Jun 15 21:05:42 CST 2015
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Ambarella S2L (Flattened Device Tree), model: Ambarella S2LM Kiwi Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Ambarella:      AHB = 0xe0000000[0xe0000000],0x01000000 0
[    0.000000] Ambarella:      APB = 0xe8000000[0xe8000000],0x01000000 0
[    0.000000] Ambarella:      PPM = 0x00000000[0xdfe00000],0x00200000 9
[    0.000000] Ambarella:      AXI = 0xf0000000[0xf0000000],0x00030000 0
[    0.000000] Ambarella:    DRAMC = 0xdffe0000[0xef000000],0x00020000 0
[    0.000000] Ambarella:   DBGBUS = 0xec000000[0xec000000],0x00200000 0
[    0.000000] Ambarella:  DBGFMEM = 0xee000000[0xee000000],0x01000000 0
[    0.000000] Ambarella:   IAVMEM = 0x07000000[          ],0x09000000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 27940
[    0.000000] Kernel command line: console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/bin/sh
[    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: 110MB = 110MB total
[    0.000000] Memory: 106600k/106600k available, 6040k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0x87000000 - 0xff000000   (1920 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x86e00000   ( 110 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x8045eadc   (4443 kB)
[    0.000000]       .init : 0x8045f000 - 0x80481f0c   ( 140 kB)
[    0.000000]       .data : 0x80482000 - 0x804b66f8   ( 210 kB)
[    0.000000]        .bss : 0x804b66f8 - 0x804d658c   ( 128 kB)
[    0.000000] NR_IRQS:240
[    0.000000] sched_clock: 32 bits at 36MHz, resolution 27ns, wraps every 119304ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttyS0] enabled
[    0.232589] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[    0.292602] pid_max: default: 32768 minimum: 301
[    0.297293] Mount-cache hash table entries: 512
[    0.304195] CPU: Testing write buffer coherency: ok
[    0.309344] Setting up static identity map for 0x80342998 - 0x803429f8
[    0.318129] devtmpfs: initialized
[    0.322669] pinctrl core: initialized pinctrl subsystem
[    0.328113] NET: Registered protocol family 16
[    0.333325] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.340714] L310 cache controller enabled
[    0.344715] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32020000, Cache size: 131072 B
[    0.354289] ambarella-pinctrl e8009000.pinctrl: Ambarella pinctrl driver registered
[    0.362306] ambarella-gpio gpio.0: Ambarella GPIO driver registered
[    0.372278] bio: create slab <bio-0> at 0
[    0.377326] ambarella-dma e0005000.dma: Ambarella DMA Engine 
[    0.384433] ambarella-i2c e8003000.i2c: Ambarella I2C adapter[0] probed!
[    9.389987] ambarella-i2c e8007000.i2c: No ACK from address 0xe8, 2:0!
[    9.396504] pca953x 2-0074: failed reading register
[    9.401392] pca953x: probe of 2-0074 failed with error -16
[    9.406868] ambarella-i2c e8007000.i2c: Ambarella I2C adapter[2] probed!
[    9.414251] Switching to clocksource ambarella-cs-timer
[    9.425982] ambarella-sd e0002000.sdmmc0: Slot0 use bounce buffer[0x86720000<->0x06920000]
[    9.434274] ambarella-sd e0002000.sdmmc0: Slot0 req_size=0x00020000, segs=32, seg_size=0x00020000
[    9.443144] ambarella-sd e0002000.sdmmc0: Slot0 use ADMA
[    9.519582] ambarella-sd e0002000.sdmmc0: 1 slots @ 50000000Hz
[    9.525582] NET: Registered protocol family 2
[    9.533901] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    9.541001] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    9.547374] TCP: Hash tables configured (established 1024 bind 1024)
[    9.553806] TCP: reno registered
[    9.557059] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    9.562924] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    9.569352] NET: Registered protocol family 1
[    9.574025] RPC: Registered named UNIX socket transport module.
[    9.580014] RPC: Registered udp transport module.
[    9.584726] RPC: Registered tcp transport module.
[    9.589408] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    9.596216] ambarella-adc e801d000.adc: Ambarella ADC driver init
[    9.604910] msgmni has been set to 208
[    9.610002] NET: Registered protocol family 38
[    9.614515] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    9.622038] io scheduler noop registered
[    9.625944] io scheduler deadline registered
[    9.630244] io scheduler cfq registered (default)
[    9.635929] e8005000.uart: ttyS0 at MMIO 0xe8005000 (irq = 9) is a ambuart
[    9.643695] brd: module loaded
[    9.649278] loop: module loaded
[    9.655021] ambarella-nand e0001000.nand: in ecc-[1]bit mode
[    9.660751] ambarella_nand: Use On Flash BBT
[    9.665081] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD/Spansion NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    9.677738] Bad block table found at page 65472, version 0x29
[    9.683698] Bad block table found at page 65408, version 0x29
[    9.689713] 7 ofpart partitions found on MTD device amba_nand
[    9.696468] Creating 7 MTD partitions on "amba_nand":
[    9.703556] 0x000000000000-0x000000020000 : "bst"
[    9.709098] 0x000000020000-0x000000160000 : "bld"
[    9.714497] 0x000000160000-0x0000002a0000 : "ptb"
[    9.719909] 0x0000002a0000-0x000000aa0000 : "pri"
[    9.725279] 0x000000aa0000-0x000003ea0000 : "lnx"
[    9.730739] 0x000003ea0000-0x0000058a0000 : "add"
[    9.736156] 0x0000058a0000-0x000007ca0000 : "adc"
[    9.742819] ambarella-spi e0020000.spi: cs1 >= max 1
[    9.747775] spi_master spi0: spi_device register error /ahb@e0000000/spi@e0020000/spidev@1
[    9.756282] ambarella-spi e0020000.spi: Ambarella spi controller 0 created.

[    9.819520] libphy: Ambarella MII Bus: probed
[    9.824363] ambarella-eth e000e000.ethernet: Ethernet PHY[0]: 0x001cc816!
[    9.831643] ambarella-eth e000e000.ethernet: MAC Address[00:00:1b:01:3e:7e].
[    9.838935] mousedev: PS/2 mouse device common for all mice
[    9.844884] ambarella-rtc e8015000.rtc: rtc core: registered rtc-ambarella as rtc0
[    9.852660] i2c /dev entries driver
[    9.859856] ambarella-wdt e800c000.wdt: Ambarella Watchdog Timer Probed.
[    9.866906] TCP: cubic registered
[    9.870277] Initializing XFRM netlink socket
[    9.874579] NET: Registered protocol family 17
[    9.879101] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    9.886812] ThumbEE CPU extension supported.
[    9.892296] UBI: attaching mtd4 to ubi0
[   10.041566] UBI: scanning is finished
[   10.050893] UBI: attached mtd4 (name "lnx", size 52 MiB) to ubi0
[   10.056885] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   10.063700] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   10.070393] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[   10.077242] UBI: good PEBs: 416, bad PEBs: 0, corrupted PEBs: 0
[   10.083154] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[   10.090278] UBI: max/mean erase counter: 12/1, WL threshold: 4096, image sequence number: 998301244
[   10.099294] UBI: available PEBs: 0, total reserved PEBs: 416, PEBs reserved for bad PEB handling: 20
[   10.108416] UBI: background thread "ubi_bgt0d" started, PID 47
[   10.114281] ambarella-rtc e8015000.rtc: setting system clock to 2106-02-07 06:28:15 UTC (4294967295)
[   10.124577] UBIFS: background thread "ubifs_bgt0_0" started, PID 48
[   10.152602] UBIFS: recovery needed
[   10.215646] UBIFS: recovery completed
[   10.219545] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[   10.225578] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.234710] UBIFS: FS size: 48377856 bytes (46 MiB, 381 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[   10.244348] UBIFS: reserved for root: 0 bytes (0 KiB)
[   10.249384] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 9433F1E0-99F6-4CA9-B9B3-6533EEA57425, small LPT model
[   10.260394] VFS: Mounted root (ubifs filesystem) on device 0:12.
[   10.267232] devtmpfs: mounted
[   10.270390] Freeing unused kernel memory: 136K (8045f000 - 80481000)
/bin/sh: can't access tty; job control turned off
/ # d /etc/init.d
/bin/sh: d: not found
/ # ./R[JR[Jr
/ # ./r[J
/bin/sh: ./r: not found
/ # ./r
/ # ./r[J
root/  run/

/ # ./r[J[J[J[J
/ # cd /etc/init.d
/etc/init.d # ./r
/etc/init.d # ./rcS [J
Disable kswapd write
/etc/init.d/S10syscfg: line 65: can't create /proc/sys/vm/laptop_mode: nonexistent directory
/etc/init.d/S10syscfg: line 65: can't create /proc/sys/vm/min_free_kbytes: nonexistent directory
/etc/init.d/S10syscfg: line 65: can't create /proc/sys/vm/vfs_cache_pressure: nonexistent directory
Populating s2lm_kiwi using udev: /etc/init.d/S12udev: line 72: can't create /proc/sys/kernel/hotplug: nonexistent directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline, ignoring: No such file or dire[   81.734056] systemd-udevd[56]: starting version 215
ctory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Done
Initializing random number generator... done.
Starting system message bus: Failed to start message bus: The pid file "/var/run/messagebus.pid" exists, if the message bus is not running, remove this file
done
Starting PulseAudio Daemon: W: [pulseaudio] main.c: [1mCouldn't read /proc/self/exe, cannot self execute. Running in a chroot()?[0m
OK
###### Starting userd.sh #####
ubiattach: error!: UBI is not present in the system
[   82.364235] UBIFS error (pid 85): ubifs_mount: cannot open "ubi1:upgrade", error -19
mount: mounting ubi1:upgrade on /hs/upgrade failed: No such devic[   82.379408] UBIFS error (pid 87): ubifs_mount: cannot open "ubi1:param", error -19
e
mount: mounting ubi1:param on /hs/param failed: No such device
ubiattach: error!: UBI is not present in the system
[   82.406780] UBIFS error (pid 90): ubifs_mount: cannot open "ubi2:user", error -19
mount: mounting ubi2:user on /hs/user failed: No such device
Starting network...
[   82.432655] UBIFS error (pid 93): ubifs_read_node: bad node type (255 but expected 1)
[   82.440519] UBIFS error (pid 93): ubifs_read_node: bad node at LEB 317:122336, LEB mapping status 0
[   82.449555] Not a node, first 24 bytes:
[   82.453203] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff                          ........................
[   82.466223] CPU: 0 PID: 93 Comm: ifup Not tainted 3.10.73 #2
[   82.471916] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[   82.480535] [<80011a14>] (show_stack+0x10/0x14) from [<80168968>] (ubifs_read_node+0x29c/0x304)
[   82.489217] [<80168968>] (ubifs_read_node+0x29c/0x304) from [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc)
[   82.498866] [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc) from [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8)
[   82.508608] [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8) from [<8015c1b8>] (do_readpage+0x1a4/0x544)
[   82.517649] [<8015c1b8>] (do_readpage+0x1a4/0x544) from [<8015d878>] (ubifs_readpage+0x38/0x4a0)
[   82.526432] [<8015d878>] (ubifs_readpage+0x38/0x4a0) from [<80070d3c>] (generic_file_aio_read+0x558/0x77c)
[   82.536081] [<80070d3c>] (generic_file_aio_read+0x558/0x77c) from [<800a0ce8>] (do_sync_read+0x78/0xa0)
[   82.545465] [<800a0ce8>] (do_sync_read+0x78/0xa0) from [<800a1358>] (vfs_read+0x9c/0x14c)
[   82.553636] [<800a1358>] (vfs_read+0x9c/0x14c) from [<800a19a4>] (SyS_read+0x3c/0x78)
[   82.561463] [<800a19a4>] (SyS_read+0x3c/0x78) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
[   82.569806] UBIFS error (pid 93): do_readpage: cannot read page 0 of inode 2119, error -22
[   82.622761] UBIFS error (pid 93): ubifs_read_node: bad node type (255 but expected 1)
[   82.630673] UBIFS error (pid 93): ubifs_read_node: bad node at LEB 317:122336, LEB mapping status 0
[   82.639716] Not a node, first 24 bytes:
[   82.643365] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff                          ........................
[   82.656388] CPU: 0 PID: 93 Comm: ifup Not tainted 3.10.73 #2
[   82.662075] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[   82.670691] [<80011a14>] (show_stack+0x10/0x14) from [<80168968>] (ubifs_read_node+0x29c/0x304)
[   82.679372] [<80168968>] (ubifs_read_node+0x29c/0x304) from [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc)
[   82.689021] [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc) from [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8)
[   82.698762] [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8) from [<8015c1b8>] (do_readpage+0x1a4/0x544)
[   82.707803] [<8015c1b8>] (do_readpage+0x1a4/0x544) from [<8015d878>] (ubifs_readpage+0x38/0x4a0)
[   82.716586] [<8015d878>] (ubifs_readpage+0x38/0x4a0) from [<80070d3c>] (generic_file_aio_read+0x558/0x77c)
[   82.726236] [<80070d3c>] (generic_file_aio_read+0x558/0x77c) from [<800a0ce8>] (do_sync_read+0x78/0xa0)
[   82.735622] [<800a0ce8>] (do_sync_read+0x78/0xa0) from [<800a1358>] (vfs_read+0x9c/0x14c)
[   82.743793] [<800a1358>] (vfs_read+0x9c/0x14c) from [<800a19a4>] (SyS_read+0x3c/0x78)
[   82.751627] [<800a19a4>] (SyS_read+0x3c/0x78) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
[   82.759971] UBIFS error (pid 93): do_readpage: cannot read page 0 of inode 2119, error -22
[   82.801600] net eth0: adv: sym 0, asym: 0
/bin/sh: can't open '/hs/user/bin/demo.sh'
###### Ended userd.sh #####
/etc/init.d # ifconfig eth0 192.168.4.25 up
/etc/init.d # ping -c 3 192.168.4[J[J[J[J[J[J[J[J[J[J[J[J[J[J[J[J[J[J[J
/etc/init.d # ifconfig eth0 192.168.4.25 up[J[J[J[J[J[J100up[J[J up
/etc/init.d # ping -c 3 192.168.4.10[J[J25
PING 192.168.4.25 (192.168.4.25): 56 data bytes
64 bytes from 192.168.4.25: seq=0 ttl=64 time=1.424 ms
64 bytes from 192.168.4.25: seq=1 ttl=64 time=0.317 ms
64 bytes from 192.168.4.25: seq=2 ttl=64 time=0.299 ms

--- 192.168.4.25 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.299/0.680/1.424 ms
/etc/init.d # 
/etc/init.d # ping -c 3 192.168.4.25[J
PING 192.168.4.25 (192.168.4.25): 56 data bytes
64 bytes from 192.168.4.25: seq=0 ttl=64 time=0.383 ms
64 bytes from 192.168.4.25: seq=1 ttl=64 time=0.321 ms
64 bytes from 192.168.4.25: seq=2 ttl=64 time=0.299 ms

--- 192.168.4.25 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.299/0.334/0.383 ms
/etc/init.d # cd /
/ # 
/ # cd /[J
/ # ping -c 3 192.168.4.25[J
PING 192.168.4.25 (192.168.4.25): 56 data bytes
64 bytes from 192.168.4.25: seq=0 ttl=64 time=0.377 ms
64 bytes from 192.168.4.25: seq=1 ttl=64 time=0.349 ms
64 bytes from 192.168.4.25: seq=2 ttl=64 time=0.294 ms

--- 192.168.4.25 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.294/0.340/0.377 ms
/ # 
/ # ping -c 3 192.168.4.25[J
PING 192.168.4.25 (192.168.4.25): 56 data bytes
64 bytes from 192.168.4.25: seq=0 ttl=64 time=0.443 ms
64 bytes from 192.168.4.25: seq=1 ttl=64 time=0.334 ms
64 bytes from 192.168.4.25: seq=2 ttl=64 time=0.338 ms

--- 192.168.4.25 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.334/0.371/0.443 ms
/ # nc -l -p 3333 | cat > /dev/mtdblock6
cat: write error: No space left on device
/ # 
/ # nc -l -p 3333 | cat > /dev/mtdblock6[J
cat: write error: No space left on device
/ # 
/ # nc -l -p 3333 | cat > /dev/mtdblock6[J














^C
^G
^Z^X
^Z
^X
^C
^C
^^B
v
^^M
						











^[
^Z^X
^Y^O    [4l
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.10.73 (zucker@ubuntu) (gcc version 4.9.1 20140625 (prerelease) (crosstool-NG - Ambarella Linaro Multilib GCC [CortexA9 & ARMv6k] 2014.06) ) #2 PREEMPT Mon Jun 15 21:05:42 CST 2015
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Ambarella S2L (Flattened Device Tree), model: Ambarella S2LM Kiwi Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Ambarella:      AHB = 0xe0000000[0xe0000000],0x01000000 0
[    0.000000] Ambarella:      APB = 0xe8000000[0xe8000000],0x01000000 0
[    0.000000] Ambarella:      PPM = 0x00000000[0xdfe00000],0x00200000 9
[    0.000000] Ambarella:      AXI = 0xf0000000[0xf0000000],0x00030000 0
[    0.000000] Ambarella:    DRAMC = 0xdffe0000[0xef000000],0x00020000 0
[    0.000000] Ambarella:   DBGBUS = 0xec000000[0xec000000],0x00200000 0
[    0.000000] Ambarella:  DBGFMEM = 0xee000000[0xee000000],0x01000000 0
[    0.000000] Ambarella:   IAVMEM = 0x07000000[          ],0x09000000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 27940
[    0.000000] Kernel command line: console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/linuxrc
[    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: 110MB = 110MB total
[    0.000000] Memory: 106600k/106600k available, 6040k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0x87000000 - 0xff000000   (1920 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x86e00000   ( 110 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x8045eadc   (4443 kB)
[    0.000000]       .init : 0x8045f000 - 0x80481f0c   ( 140 kB)
[    0.000000]       .data : 0x80482000 - 0x804b66f8   ( 210 kB)
[    0.000000]        .bss : 0x804b66f8 - 0x804d658c   ( 128 kB)
[    0.000000] NR_IRQS:240
[    0.000000] sched_clock: 32 bits at 36MHz, resolution 27ns, wraps every 119304ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttyS0] enabled
[    0.232676] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[    0.292603] pid_max: default: 32768 minimum: 301
[    0.297295] Mount-cache hash table entries: 512
[    0.304240] CPU: Testing write buffer coherency: ok
[    0.309387] Setting up static identity map for 0x80342998 - 0x803429f8
[    0.318154] devtmpfs: initialized
[    0.322690] pinctrl core: initialized pinctrl subsystem
[    0.328135] NET: Registered protocol family 16
[    0.333349] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.340733] L310 cache controller enabled
[    0.344732] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32020000, Cache size: 131072 B
[    0.354292] ambarella-pinctrl e8009000.pinctrl: Ambarella pinctrl driver registered
[    0.362313] ambarella-gpio gpio.0: Ambarella GPIO driver registered
[    0.372249] bio: create slab <bio-0> at 0
[    0.377295] ambarella-dma e0005000.dma: Ambarella DMA Engine 
[    0.384405] ambarella-i2c e8003000.i2c: Ambarella I2C adapter[0] probed!
[    9.389985] ambarella-i2c e8007000.i2c: No ACK from address 0xe8, 2:0!
[    9.396501] pca953x 2-0074: failed reading register
[    9.401390] pca953x: probe of 2-0074 failed with error -16
[    9.406867] ambarella-i2c e8007000.i2c: Ambarella I2C adapter[2] probed!
[    9.414244] Switching to clocksource ambarella-cs-timer
[    9.425949] ambarella-sd e0002000.sdmmc0: Slot0 use bounce buffer[0x86720000<->0x06920000]
[    9.434239] ambarella-sd e0002000.sdmmc0: Slot0 req_size=0x00020000, segs=32, seg_size=0x00020000
[    9.443108] ambarella-sd e0002000.sdmmc0: Slot0 use ADMA
[    9.519575] ambarella-sd e0002000.sdmmc0: 1 slots @ 50000000Hz
[    9.525577] NET: Registered protocol family 2
[    9.533893] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    9.540990] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    9.547366] TCP: Hash tables configured (established 1024 bind 1024)
[    9.553798] TCP: reno registered
[    9.557051] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    9.562920] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    9.569348] NET: Registered protocol family 1
[    9.574022] RPC: Registered named UNIX socket transport module.
[    9.580011] RPC: Registered udp transport module.
[    9.584723] RPC: Registered tcp transport module.
[    9.589405] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    9.596211] ambarella-adc e801d000.adc: Ambarella ADC driver init
[    9.604902] msgmni has been set to 208
[    9.609991] NET: Registered protocol family 38
[    9.614504] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    9.622030] io scheduler noop registered
[    9.625937] io scheduler deadline registered
[    9.630236] io scheduler cfq registered (default)
[    9.635574] ambarella-fb ambarella-fb.0: ambfb_probe: use prealloc.
[    9.642137] ambarella-fb ambarella-fb.0: probe p[320x240] v[320x480] c[16] b[0] l[1280] @ [0x00100000:0x00100000]!
[    9.652839] e8005000.uart: ttyS0 at MMIO 0xe8005000 (irq = 9) is a ambuart
[    9.660635] brd: module loaded
[    9.666206] loop: module loaded
[    9.671960] ambarella-nand e0001000.nand: in ecc-[1]bit mode
[    9.677604] ambarella_nand: Use On Flash BBT
[    9.682003] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD/Spansion NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    9.694687] Bad block table found at page 65472, version 0x29
[    9.701658] Bad block table found at page 65408, version 0x29
[    9.709664] 7 ofpart partitions found on MTD device amba_nand
[    9.715420] Creating 7 MTD partitions on "amba_nand":
[    9.720500] 0x000000000000-0x000000020000 : "bst"
[    9.726022] 0x000000020000-0x000000160000 : "bld"
[    9.731425] 0x000000160000-0x0000002a0000 : "ptb"
[    9.736778] 0x0000002a0000-0x000000aa0000 : "pri"
[    9.742194] 0x000000aa0000-0x000003ea0000 : "lnx"
[    9.747600] 0x000003ea0000-0x0000058a0000 : "add"
[    9.753062] 0x0000058a0000-0x000007ca0000 : "adc"
[    9.759639] ambarella-spi e0020000.spi: cs1 >= max 1
[    9.764596] spi_master spi0: spi_device register error /ahb@e0000000/spi@e0020000/spidev@1
[    9.774102] ambarella-spi e0020000.spi: Ambarella spi controller 0 created.

[    9.839480] libphy: Ambarella MII Bus: probed
[    9.844325] ambarella-eth e000e000.ethernet: Ethernet PHY[0]: 0x001cc816!
[    9.851633] ambarella-eth e000e000.ethernet: MAC Address[00:00:1b:01:3e:7e].
[    9.858982] mousedev: PS/2 mouse device common for all mice
[    9.867977] ambarella-rtc e8015000.rtc: rtc core: registered rtc-ambarella as rtc0
[    9.875729] i2c /dev entries driver
[    9.879902] ambarella-wdt e800c000.wdt: Ambarella Watchdog Timer Probed.
[    9.886951] TCP: cubic registered
[    9.890318] Initializing XFRM netlink socket
[    9.894622] NET: Registered protocol family 17
[    9.899145] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    9.906853] ThumbEE CPU extension supported.
[    9.912294] UBI: attaching mtd4 to ubi0
[   10.061392] UBI: scanning is finished
[   10.070738] UBI: attached mtd4 (name "lnx", size 52 MiB) to ubi0
[   10.076730] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   10.083548] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   10.090245] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[   10.097095] UBI: good PEBs: 416, bad PEBs: 0, corrupted PEBs: 0
[   10.103004] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[   10.110128] UBI: max/mean erase counter: 12/1, WL threshold: 4096, image sequence number: 998301244
[   10.119144] UBI: available PEBs: 0, total reserved PEBs: 416, PEBs reserved for bad PEB handling: 20
[   10.128266] UBI: background thread "ubi_bgt0d" started, PID 47
[   10.134131] ambarella-rtc e8015000.rtc: setting system clock to 2106-02-07 06:28:15 UTC (4294967295)
[   10.144471] UBIFS: background thread "ubifs_bgt0_0" started, PID 48
[   10.172495] UBIFS: recovery needed
[   10.242089] UBIFS: recovery completed
[   10.245956] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[   10.252022] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.261152] UBIFS: FS size: 48377856 bytes (46 MiB, 381 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[   10.270788] UBIFS: reserved for root: 0 bytes (0 KiB)
[   10.275825] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 9433F1E0-99F6-4CA9-B9B3-6533EEA57425, small LPT model
[   10.286850] VFS: Mounted root (ubifs filesystem) on device 0:12.
[   10.293709] devtmpfs: mounted
[   10.296835] Freeing unused kernel memory: 136K (8045f000 - 80481000)
Disable kswapd write
Populating s2lm_kiwi using udev: [   11.045455] systemd-udevd[186]: starting version 215
Done
Initializing random number generator... done.
Starting system message bus: done
Starting PulseAudio Daemon: OK
###### Starting userd.sh #####
[   11.855657] UBI: attaching mtd6 to ubi1
[   12.117146] UBI error: scan_peb: bad image sequence number 998301244 in PEB 287, expected 528536732
[   12.126192] Erase counter header dump:
[   12.129937] 	magic          0x55424923
[   12.133663] 	version        1
[   12.136610] 	ec             0
[   12.139570] 	vid_hdr_offset 2048
[   12.142776] 	data_offset    4096
[   12.145982] 	image_seq      998301244
[   12.149636] 	hdr_crc        0x45bf240a
[   12.153361] erase counter header hexdump:
[   12.157482] UBI error: ubi_attach_mtd_dev: failed to attach mtd6, error -22
ubiattach: error!: cannot attach mtd6
           error 22 (Invalid argument)
[   12.176761] UBIFS error (pid 229): ubifs_mount: cannot open "ubi1:upgrade", error -19
mount: mounting ubi1:upgrade on /hs/upgrade failed: No such device
[   12.192021] UBIFS error (pid 231): ubifs_mount: cannot open "ubi1:param", error -19
mount: mounting ubi1:param on /hs/param failed: No such device
[   12.214360] UBI: attaching mtd5 to ubi1
[   12.290812] UBI: scanning is finished
[   12.303336] UBI: attached mtd5 (name "add", size 26 MiB) to ubi1
[   12.309330] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   12.316170] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   12.322868] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[   12.329730] UBI: good PEBs: 208, bad PEBs: 0, corrupted PEBs: 0
[   12.335626] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[   12.342747] UBI: max/mean erase counter: 6/2, WL threshold: 4096, image sequence number: 269566061
[   12.351688] UBI: available PEBs: 0, total reserved PEBs: 208, PEBs reserved for bad PEB handling: 20
[   12.360811] UBI: background thread "ubi_bgt1d" started, PID 234
UBI device number 1, total 208 LEBs (26411008 bytes, 25.2 MiB), available 0 LEB[   12.374251] UBIFS error (pid 235): ubifs_mount: cannot open "ubi2:user", error -19
s (0 bytes), LEB size 126976 bytes (124.0 KiB)
success /usr/sbin/ubiattach /dev/ubi_ctrl -m 6
mount: mounting ubi2:user on /hs/user failed: No such device
Starting network...
ip: RTNETLINK answers: File exists
[   12.463203] net eth0: adv: sym 0, asym: 0
/bin/sh: can't open '/hs/user/bin/demo.sh'
###### Ended userd.sh #####




Welcome to Ambarella

Ipcamera login: root
login[261]: root login on 'ttyS0'

[   29.871809] UBIFS error (pid 261): ubifs_read_node: bad node type (255 but expected 0)
[   29.879857] UBIFS error (pid 261): ubifs_read_node: bad node at LEB 324:88064, LEB mapping status 0
[   29.888877] Not a node, first 24 bytes:
[   29.892605] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff                          ........................
[   29.905633] CPU: 0 PID: 261 Comm: sh Not tainted 3.10.73 #2
[   29.911238] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[   29.919855] [<80011a14>] (show_stack+0x10/0x14) from [<80168968>] (ubifs_read_node+0x29c/0x304)
[   29.928537] [<80168968>] (ubifs_read_node+0x29c/0x304) from [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc)
[   29.938238] [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc) from [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8)
[   29.947978] [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8) from [<80163798>] (ubifs_iget+0xbc/0x890)
[   29.956855] [<80163798>] (ubifs_iget+0xbc/0x890) from [<8015ee60>] (ubifs_lookup+0x15c/0x290)
[   29.965379] [<8015ee60>] (ubifs_lookup+0x15c/0x290) from [<800a9dcc>] (lookup_real+0x20/0x4c)
[   29.973900] [<800a9dcc>] (lookup_real+0x20/0x4c) from [<800adec8>] (do_last.isra.60+0x5bc/0xcac)
[   29.982679] [<800adec8>] (do_last.isra.60+0x5bc/0xcac) from [<800ae664>] (path_openat.isra.61+0xac/0x468)
[   29.992238] [<800ae664>] (path_openat.isra.61+0xac/0x468) from [<800af81c>] (do_filp_open+0x2c/0x88)
[   30.001364] [<800af81c>] (do_filp_open+0x2c/0x88) from [<800a092c>] (do_sys_open+0xe0/0x174)
[   30.009800] [<800a092c>] (do_sys_open+0xe0/0x174) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
[   30.018478] UBIFS error (pid 261): ubifs_iget: failed to read inode 2095, error -22
[   30.026139] UBIFS error (pid 261): ubifs_lookup: dead directory entry '.ash_history', error -22
[   30.034828] UBIFS warning (pid 261): ubifs_ro_mode: switched to read-only mode, error -22
[   30.042995] CPU: 0 PID: 261 Comm: sh Not tainted 3.10.73 #2
[   30.048560] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[   30.057172] [<80011a14>] (show_stack+0x10/0x14) from [<8015ef0c>] (ubifs_lookup+0x208/0x290)
[   30.065606] [<8015ef0c>] (ubifs_lookup+0x208/0x290) from [<800a9dcc>] (lookup_real+0x20/0x4c)
[   30.074195] [<800a9dcc>] (lookup_real+0x20/0x4c) from [<800adec8>] (do_last.isra.60+0x5bc/0xcac)
[   30.083031] [<800adec8>] (do_last.isra.60+0x5bc/0xcac) from [<800ae664>] (path_openat.isra.61+0xac/0x468)
[   30.092598] [<800ae664>] (path_openat.isra.61+0xac/0x468) from [<800af81c>] (do_filp_open+0x2c/0x88)
[   30.101726] [<800af81c>] (do_filp_open+0x2c/0x88) from [<800a092c>] (do_sys_open+0xe0/0x174)
[   30.110309] [<800a092c>] (do_sys_open+0xe0/0x174) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
# 
[   80.202431] UBIFS error (pid 261): ubifs_read_node: bad node type (255 but expected 0)
[   80.210408] UBIFS error (pid 261): ubifs_read_node: bad node at LEB 324:88064, LEB mapping status 0
[   80.219427] Not a node, first 24 bytes:
[   80.223096] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff                          ........................
[   80.236119] CPU: 0 PID: 261 Comm: sh Not tainted 3.10.73 #2
[   80.241722] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[   80.250340] [<80011a14>] (show_stack+0x10/0x14) from [<80168968>] (ubifs_read_node+0x29c/0x304)
[   80.259022] [<80168968>] (ubifs_read_node+0x29c/0x304) from [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc)
[   80.268671] [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc) from [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8)
[   80.278402] [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8) from [<80163798>] (ubifs_iget+0xbc/0x890)
[   80.287354] [<80163798>] (ubifs_iget+0xbc/0x890) from [<8015ee60>] (ubifs_lookup+0x15c/0x290)
[   80.295890] [<8015ee60>] (ubifs_lookup+0x15c/0x290) from [<800a9dcc>] (lookup_real+0x20/0x4c)
[   80.304463] [<800a9dcc>] (lookup_real+0x20/0x4c) from [<800adec8>] (do_last.isra.60+0x5bc/0xcac)
[   80.313252] [<800adec8>] (do_last.isra.60+0x5bc/0xcac) from [<800ae664>] (path_openat.isra.61+0xac/0x468)
[   80.322816] [<800ae664>] (path_openat.isra.61+0xac/0x468) from [<800af81c>] (do_filp_open+0x2c/0x88)
[   80.331946] [<800af81c>] (do_filp_open+0x2c/0x88) from [<800a092c>] (do_sys_open+0xe0/0x174)
[   80.340382] [<800a092c>] (do_sys_open+0xe0/0x174) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
[   80.349060] UBIFS error (pid 261): ubifs_iget: failed to read inode 2095, error -22
[   80.356724] UBIFS error (pid 261): ubifs_lookup: dead directory entry '.ash_history', error -22
# 
[   82.990915] UBIFS error (pid 261): ubifs_read_node: bad node type (255 but expected 0)
[   82.998816] UBIFS error (pid 261): ubifs_read_node: bad node at LEB 324:88064, LEB mapping status 0
[   83.007877] Not a node, first 24 bytes:
[   83.011618] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff                          ........................
[   83.024693] CPU: 0 PID: 261 Comm: sh Not tainted 3.10.73 #2
[   83.030299] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[   83.038899] [<80011a14>] (show_stack+0x10/0x14) from [<80168968>] (ubifs_read_node+0x29c/0x304)
[   83.047648] [<80168968>] (ubifs_read_node+0x29c/0x304) from [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc)
[   83.057304] [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc) from [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8)
[   83.067039] [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8) from [<80163798>] (ubifs_iget+0xbc/0x890)
[   83.075913] [<80163798>] (ubifs_iget+0xbc/0x890) from [<8015ee60>] (ubifs_lookup+0x15c/0x290)
[   83.084488] [<8015ee60>] (ubifs_lookup+0x15c/0x290) from [<800a9dcc>] (lookup_real+0x20/0x4c)
[   83.093019] [<800a9dcc>] (lookup_real+0x20/0x4c) from [<800adec8>] (do_last.isra.60+0x5bc/0xcac)
[   83.101803] [<800adec8>] (do_last.isra.60+0x5bc/0xcac) from [<800ae664>] (path_openat.isra.61+0xac/0x468)
[   83.111362] [<800ae664>] (path_openat.isra.61+0xac/0x468) from [<800af81c>] (do_filp_open+0x2c/0x88)
[   83.120489] [<800af81c>] (do_filp_open+0x2c/0x88) from [<800a092c>] (do_sys_open+0xe0/0x174)
[   83.128910] [<800a092c>] (do_sys_open+0xe0/0x174) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
[   83.137600] UBIFS error (pid 261): ubifs_iget: failed to read inode 2095, error -22
[   83.145317] UBIFS error (pid 261): ubifs_lookup: dead directory entry '.ash_history', error -22
# fg
[   87.122599] UBIFS error (pid 261): ubifs_read_node: bad node type (255 but expected 0)
[   87.130625] UBIFS error (pid 261): ubifs_read_node: bad node at LEB 324:88064, LEB mapping status 0
[   87.139664] Not a node, first 24 bytes:
[   87.143311] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff                          ........................
[   87.156421] CPU: 0 PID: 261 Comm: sh Not tainted 3.10.73 #2
[   87.162030] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[   87.170706] [<80011a14>] (show_stack+0x10/0x14) from [<80168968>] (ubifs_read_node+0x29c/0x304)
[   87.179390] [<80168968>] (ubifs_read_node+0x29c/0x304) from [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc)
[   87.189049] [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc) from [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8)
[   87.198784] [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8) from [<80163798>] (ubifs_iget+0xbc/0x890)
[   87.207659] [<80163798>] (ubifs_iget+0xbc/0x890) from [<8015ee60>] (ubifs_lookup+0x15c/0x290)
[   87.216243] [<8015ee60>] (ubifs_lookup+0x15c/0x290) from [<800a9dcc>] (lookup_real+0x20/0x4c)
[   87.224774] [<800a9dcc>] (lookup_real+0x20/0x4c) from [<800adec8>] (do_last.isra.60+0x5bc/0xcac)
[   87.233557] [<800adec8>] (do_last.isra.60+0x5bc/0xcac) from [<800ae664>] (path_openat.isra.61+0xac/0x468)
[   87.243119] [<800ae664>] (path_openat.isra.61+0xac/0x468) from [<800af81c>] (do_filp_open+0x2c/0x88)
[   87.252246] [<800af81c>] (do_filp_open+0x2c/0x88) from [<800a092c>] (do_sys_open+0xe0/0x174)
[   87.260731] [<800a092c>] (do_sys_open+0xe0/0x174) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
[   87.269410] UBIFS error (pid 261): ubifs_iget: failed to read inode 2095, error -22
[   87.277080] UBIFS error (pid 261): ubifs_lookup: dead directory entry '.ash_history', error -22
-sh: fg: No current job
# df
[   91.841804] UBIFS error (pid 261): ubifs_read_node: bad node type (255 but expected 0)
[   91.849893] UBIFS error (pid 261): ubifs_read_node: bad node at LEB 324:88064, LEB mapping status 0
[   91.858913] Not a node, first 24 bytes:
[   91.862586] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff                          ........................
[   91.875610] CPU: 0 PID: 261 Comm: sh Not tainted 3.10.73 #2
[   91.881213] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[   91.889830] [<80011a14>] (show_stack+0x10/0x14) from [<80168968>] (ubifs_read_node+0x29c/0x304)
[   91.898557] [<80168968>] (ubifs_read_node+0x29c/0x304) from [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc)
[   91.908219] [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc) from [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8)
[   91.917956] [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8) from [<80163798>] (ubifs_iget+0xbc/0x890)
[   91.926895] [<80163798>] (ubifs_iget+0xbc/0x890) from [<8015ee60>] (ubifs_lookup+0x15c/0x290)
[   91.935430] [<8015ee60>] (ubifs_lookup+0x15c/0x290) from [<800a9dcc>] (lookup_real+0x20/0x4c)
[   91.943955] [<800a9dcc>] (lookup_real+0x20/0x4c) from [<800adec8>] (do_last.isra.60+0x5bc/0xcac)
[   91.952737] [<800adec8>] (do_last.isra.60+0x5bc/0xcac) from [<800ae664>] (path_openat.isra.61+0xac/0x468)
[   91.962297] [<800ae664>] (path_openat.isra.61+0xac/0x468) from [<800af81c>] (do_filp_open+0x2c/0x88)
[   91.971424] [<800af81c>] (do_filp_open+0x2c/0x88) from [<800a092c>] (do_sys_open+0xe0/0x174)
[   91.979911] [<800a092c>] (do_sys_open+0xe0/0x174) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
[   91.988592] UBIFS error (pid 261): ubifs_iget: failed to read inode 2095, error -22
[   91.996261] UBIFS error (pid 261): ubifs_lookup: dead directory entry '.ash_history', error -22
Filesystem                Size      Used Available Use% Mounted on
ubi0:rootfs              42.0M     35.7M      6.3M  85% /
devtmpfs                 52.1M         0     52.1M   0% /dev
tmpfs                    52.1M      4.0K     52.1M   0% /tmp
tmpfs                    52.1M     72.0K     52.0M   0% /dev/shm
tmpfs                    52.1M     92.0K     52.0M   0% /run
# 
# df[J
# fg[J[J[J nc -l -p 3333 | cat > /dev/mtdblock6
[  135.278975] UBIFS error (pid 261): ubifs_read_node: bad node type (255 but expected 0)
[  135.287010] UBIFS error (pid 261): ubifs_read_node: bad node at LEB 324:88064, LEB mapping status 0
[  135.296055] Not a node, first 24 bytes:
[  135.299720] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff                          ........................
[  135.312740] CPU: 0 PID: 261 Comm: sh Not tainted 3.10.73 #2
[  135.318329] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[  135.327005] [<80011a14>] (show_stack+0x10/0x14) from [<80168968>] (ubifs_read_node+0x29c/0x304)
[  135.335712] [<80168968>] (ubifs_read_node+0x29c/0x304) from [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc)
[  135.345364] [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc) from [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8)
[  135.355155] [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8) from [<80163798>] (ubifs_iget+0xbc/0x890)
[  135.364082] [<80163798>] (ubifs_iget+0xbc/0x890) from [<8015ee60>] (ubifs_lookup+0x15c/0x290)
[  135.372615] [<8015ee60>] (ubifs_lookup+0x15c/0x290) from [<800a9dcc>] (lookup_real+0x20/0x4c)
[  135.381141] [<800a9dcc>] (lookup_real+0x20/0x4c) from [<800adec8>] (do_last.isra.60+0x5bc/0xcac)
[  135.389921] [<800adec8>] (do_last.isra.60+0x5bc/0xcac) from [<800ae664>] (path_openat.isra.61+0xac/0x468)
[  135.399480] [<800ae664>] (path_openat.isra.61+0xac/0x468) from [<800af81c>] (do_filp_open+0x2c/0x88)
[  135.408593] [<800af81c>] (do_filp_open+0x2c/0x88) from [<800a092c>] (do_sys_open+0xe0/0x174)
[  135.417030] [<800a092c>] (do_sys_open+0xe0/0x174) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
[  135.425721] UBIFS error (pid 261): ubifs_iget: failed to read inode 2095, error -22
[  135.433383] UBIFS error (pid 261): ubifs_lookup: dead directory entry '.ash_history', error -22


[4l
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.10.73 (zucker@ubuntu) (gcc version 4.9.1 20140625 (prerelease) (crosstool-NG - Ambarella Linaro Multilib GCC [CortexA9 & ARMv6k] 2014.06) ) #2 PREEMPT Mon Jun 15 21:05:42 CST 2015
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Ambarella S2L (Flattened Device Tree), model: Ambarella S2LM Kiwi Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Ambarella:      AHB = 0xe0000000[0xe0000000],0x01000000 0
[    0.000000] Ambarella:      APB = 0xe8000000[0xe8000000],0x01000000 0
[    0.000000] Ambarella:      PPM = 0x00000000[0xdfe00000],0x00200000 9
[    0.000000] Ambarella:      AXI = 0xf0000000[0xf0000000],0x00030000 0
[    0.000000] Ambarella:    DRAMC = 0xdffe0000[0xef000000],0x00020000 0
[    0.000000] Ambarella:   DBGBUS = 0xec000000[0xec000000],0x00200000 0
[    0.000000] Ambarella:  DBGFMEM = 0xee000000[0xee000000],0x01000000 0
[    0.000000] Ambarella:   IAVMEM = 0x07000000[          ],0x09000000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 27940
[    0.000000] Kernel command line: console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/linuxrc
[    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: 110MB = 110MB total
[    0.000000] Memory: 106600k/106600k available, 6040k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0x87000000 - 0xff000000   (1920 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x86e00000   ( 110 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x8045eadc   (4443 kB)
[    0.000000]       .init : 0x8045f000 - 0x80481f0c   ( 140 kB)
[    0.000000]       .data : 0x80482000 - 0x804b66f8   ( 210 kB)
[    0.000000]        .bss : 0x804b66f8 - 0x804d658c   ( 128 kB)
[    0.000000] NR_IRQS:240
[    0.000000] sched_clock: 32 bits at 36MHz, resolution 27ns, wraps every 119304ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttyS0] enabled
[    0.232681] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[    0.292602] pid_max: default: 32768 minimum: 301
[    0.297292] Mount-cache hash table entries: 512
[    0.304210] CPU: Testing write buffer coherency: ok
[    0.309354] Setting up static identity map for 0x80342998 - 0x803429f8
[    0.318129] devtmpfs: initialized
[    0.322661] pinctrl core: initialized pinctrl subsystem
[    0.328106] NET: Registered protocol family 16
[    0.333318] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.340699] L310 cache controller enabled
[    0.344699] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32020000, Cache size: 131072 B
[    0.354264] ambarella-pinctrl e8009000.pinctrl: Ambarella pinctrl driver registered
[    0.362282] ambarella-gpio gpio.0: Ambarella GPIO driver registered
[    0.372232] bio: create slab <bio-0> at 0
[    0.377275] ambarella-dma e0005000.dma: Ambarella DMA Engine 
[    0.384384] ambarella-i2c e8003000.i2c: Ambarella I2C adapter[0] probed!
[    9.389986] ambarella-i2c e8007000.i2c: No ACK from address 0xe8, 2:0!
[    9.396503] pca953x 2-0074: failed reading register
[    9.401389] pca953x: probe of 2-0074 failed with error -16
[    9.406864] ambarella-i2c e8007000.i2c: Ambarella I2C adapter[2] probed!
[    9.414242] Switching to clocksource ambarella-cs-timer
[    9.425917] ambarella-sd e0002000.sdmmc0: Slot0 use bounce buffer[0x86720000<->0x06920000]
[    9.434207] ambarella-sd e0002000.sdmmc0: Slot0 req_size=0x00020000, segs=32, seg_size=0x00020000
[    9.443076] ambarella-sd e0002000.sdmmc0: Slot0 use ADMA
[    9.519577] ambarella-sd e0002000.sdmmc0: 1 slots @ 50000000Hz
[    9.525580] NET: Registered protocol family 2
[    9.533903] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    9.541003] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    9.547380] TCP: Hash tables configured (established 1024 bind 1024)
[    9.553813] TCP: reno registered
[    9.557065] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    9.562934] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    9.569361] NET: Registered protocol family 1
[    9.574027] RPC: Registered named UNIX socket transport module.
[    9.580017] RPC: Registered udp transport module.
[    9.584729] RPC: Registered tcp transport module.
[    9.589411] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    9.596219] ambarella-adc e801d000.adc: Ambarella ADC driver init
[    9.604920] msgmni has been set to 208
[    9.610004] NET: Registered protocol family 38
[    9.614517] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    9.622043] io scheduler noop registered
[    9.625950] io scheduler deadline registered
[    9.630249] io scheduler cfq registered (default)
[    9.635599] ambarella-fb ambarella-fb.0: ambfb_probe: use prealloc.
[    9.642165] ambarella-fb ambarella-fb.0: probe p[320x240] v[320x480] c[16] b[0] l[1280] @ [0x00100000:0x00100000]!
[    9.652862] e8005000.uart: ttyS0 at MMIO 0xe8005000 (irq = 9) is a ambuart
[    9.660647] brd: module loaded
[    9.666226] loop: module loaded
[    9.671978] ambarella-nand e0001000.nand: in ecc-[1]bit mode
[    9.677623] ambarella_nand: Use On Flash BBT
[    9.682022] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD/Spansion NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    9.694708] Bad block table found at page 65472, version 0x29
[    9.701691] Bad block table found at page 65408, version 0x29
[    9.709700] 7 ofpart partitions found on MTD device amba_nand
[    9.715457] Creating 7 MTD partitions on "amba_nand":
[    9.720537] 0x000000000000-0x000000020000 : "bst"
[    9.726059] 0x000000020000-0x000000160000 : "bld"
[    9.731464] 0x000000160000-0x0000002a0000 : "ptb"
[    9.736824] 0x0000002a0000-0x000000aa0000 : "pri"
[    9.742238] 0x000000aa0000-0x000003ea0000 : "lnx"
[    9.747650] 0x000003ea0000-0x0000058a0000 : "add"
[    9.753110] 0x0000058a0000-0x000007ca0000 : "adc"
[    9.759701] ambarella-spi e0020000.spi: cs1 >= max 1
[    9.764655] spi_master spi0: spi_device register error /ahb@e0000000/spi@e0020000/spidev@1
[    9.774164] ambarella-spi e0020000.spi: Ambarella spi controller 0 created.

[    9.839481] libphy: Ambarella MII Bus: probed
[    9.844323] ambarella-eth e000e000.ethernet: Ethernet PHY[0]: 0x001cc816!
[    9.851627] ambarella-eth e000e000.ethernet: MAC Address[00:00:1b:01:3e:7e].
[    9.858976] mousedev: PS/2 mouse device common for all mice
[    9.867970] ambarella-rtc e8015000.rtc: rtc core: registered rtc-ambarella as rtc0
[    9.875723] i2c /dev entries driver
[    9.879883] ambarella-wdt e800c000.wdt: Ambarella Watchdog Timer Probed.
[    9.886932] TCP: cubic registered
[    9.890300] Initializing XFRM netlink socket
[    9.894604] NET: Registered protocol family 17
[    9.899127] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    9.906834] ThumbEE CPU extension supported.
[    9.912268] UBI: attaching mtd4 to ubi0
[   10.061816] UBI: scanning is finished
[   10.071160] UBI: attached mtd4 (name "lnx", size 52 MiB) to ubi0
[   10.077152] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   10.083969] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   10.090667] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[   10.097517] UBI: good PEBs: 416, bad PEBs: 0, corrupted PEBs: 0
[   10.103425] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[   10.110547] UBI: max/mean erase counter: 12/1, WL threshold: 4096, image sequence number: 998301244
[   10.119574] UBI: available PEBs: 0, total reserved PEBs: 416, PEBs reserved for bad PEB handling: 20
[   10.128684] UBI: background thread "ubi_bgt0d" started, PID 47
[   10.134550] ambarella-rtc e8015000.rtc: setting system clock to 2106-02-07 06:28:15 UTC (4294967295)
[   10.144844] UBIFS: background thread "ubifs_bgt0_0" started, PID 48
[   10.172906] UBIFS: recovery needed
[   10.252840] UBIFS: recovery completed
[   10.256709] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[   10.262783] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.271915] UBIFS: FS size: 48377856 bytes (46 MiB, 381 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[   10.281553] UBIFS: reserved for root: 0 bytes (0 KiB)
[   10.286589] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 9433F1E0-99F6-4CA9-B9B3-6533EEA57425, small LPT model
[   10.297606] VFS: Mounted root (ubifs filesystem) on device 0:12.
[   10.304455] devtmpfs: mounted
[   10.307583] Freeing unused kernel memory: 136K (8045f000 - 80481000)
Disable kswapd write
Populating s2lm_kiwi using udev: [   11.057249] systemd-udevd[186]: starting version 215
Done
Initializing random number generator... done.
Starting system message bus: done
Starting PulseAudio Daemon: OK
###### Starting userd.sh #####
[   11.865536] UBI: attaching mtd6 to ubi1
[   12.129679] UBI error: scan_peb: bad image sequence number 998301244 in PEB 287, expected 528536732
[   12.138703] Erase counter header dump:
[   12.142451] 	magic          0x55424923
[   12.146178] 	version        1
[   12.149125] 	ec             0
[   12.152087] 	vid_hdr_offset 2048
[   12.155293] 	data_offset    4096
[   12.158500] 	image_seq      998301244
[   12.162152] 	hdr_crc        0x45bf240a
[   12.165877] erase counter header hexdump:
[   12.170010] UBI error: ubi_attach_mtd_dev: failed to attach mtd6, error -22
ubiattach: error!: cannot attach mtd6
           error 22 (Invalid argument)
[   12.189544] UBIFS error (pid 229): ubifs_mount: cannot open "ubi1:upgrade", error -19
mount: mounting ubi1:upgrade on /hs/upgrade failed: No such device
[   12.204693] UBIFS error (pid 231): ubifs_mount: cannot open "ubi1:param", error -19
mount: mounting ubi1:param on /hs/param failed: No such device
[   12.227053] UBI: attaching mtd5 to ubi1
[   12.303687] UBI: scanning is finished
[   12.316149] UBI: attached mtd5 (name "add", size 26 MiB) to ubi1
[   12.322215] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   12.328981] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   12.335676] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[   12.342540] UBI: good PEBs: 208, bad PEBs: 0, corrupted PEBs: 0
[   12.348436] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[   12.355557] UBI: max/mean erase counter: 6/2, WL threshold: 4096, image sequence number: 269566061
[   12.364498] UBI: available PEBs: 0, total reserved PEBs: 208, PEBs reserved for bad PEB handling: 20
[   12.373622] UBI: background thread "ubi_bgt1d" started, PID 234
UBI device number 1, total 208 LEBs (26411008 bytes, 25.2 MiB), available 0 LEB[   12.387043] UBIFS error (pid 235): ubifs_mount: cannot open "ubi2:user", error -19
s (0 bytes), LEB size 126976 bytes (124.0 KiB)
success /usr/sbin/ubiattach /dev/ubi_ctrl -m 6
mount: mounting ubi2:user on /hs/user failed: No such device
Starting network...
ip: RTNETLINK answers: File exists
[   12.476099] net eth0: adv: sym 0, asym: 0
/bin/sh: can't open '/hs/user/bin/demo.sh'
###### Ended userd.sh #####




Welcome to Ambarella

Ipcamera login: root
login[261]: root login on 'ttyS0'

[   17.339099] UBIFS error (pid 261): ubifs_read_node: bad node type (255 but expected 0)
[   17.347165] UBIFS error (pid 261): ubifs_read_node: bad node at LEB 324:88064, LEB mapping status 0
[   17.356213] Not a node, first 24 bytes:
[   17.359877] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff                          ........................
[   17.372952] CPU: 0 PID: 261 Comm: sh Not tainted 3.10.73 #2
[   17.378542] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[   17.387171] [<80011a14>] (show_stack+0x10/0x14) from [<80168968>] (ubifs_read_node+0x29c/0x304)
[   17.395870] [<80168968>] (ubifs_read_node+0x29c/0x304) from [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc)
[   17.405517] [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc) from [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8)
[   17.415250] [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8) from [<80163798>] (ubifs_iget+0xbc/0x890)
[   17.424122] [<80163798>] (ubifs_iget+0xbc/0x890) from [<8015ee60>] (ubifs_lookup+0x15c/0x290)
[   17.432645] [<8015ee60>] (ubifs_lookup+0x15c/0x290) from [<800a9dcc>] (lookup_real+0x20/0x4c)
[   17.441166] [<800a9dcc>] (lookup_real+0x20/0x4c) from [<800adec8>] (do_last.isra.60+0x5bc/0xcac)
[   17.449946] [<800adec8>] (do_last.isra.60+0x5bc/0xcac) from [<800ae664>] (path_openat.isra.61+0xac/0x468)
[   17.459504] [<800ae664>] (path_openat.isra.61+0xac/0x468) from [<800af81c>] (do_filp_open+0x2c/0x88)
[   17.468617] [<800af81c>] (do_filp_open+0x2c/0x88) from [<800a092c>] (do_sys_open+0xe0/0x174)
[   17.477340] [<800a092c>] (do_sys_open+0xe0/0x174) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
[   17.486039] UBIFS error (pid 261): ubifs_iget: failed to read inode 2095, error -22
[   17.493701] UBIFS error (pid 261): ubifs_lookup: dead directory entry '.ash_history', error -22
[   17.502392] UBIFS warning (pid 261): ubifs_ro_mode: switched to read-only mode, error -22
[   17.510560] CPU: 0 PID: 261 Comm: sh Not tainted 3.10.73 #2
[   17.516181] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[   17.524809] [<80011a14>] (show_stack+0x10/0x14) from [<8015ef0c>] (ubifs_lookup+0x208/0x290)
[   17.533297] [<8015ef0c>] (ubifs_lookup+0x208/0x290) from [<800a9dcc>] (lookup_real+0x20/0x4c)
[   17.541828] [<800a9dcc>] (lookup_real+0x20/0x4c) from [<800adec8>] (do_last.isra.60+0x5bc/0xcac)
[   17.550609] [<800adec8>] (do_last.isra.60+0x5bc/0xcac) from [<800ae664>] (path_openat.isra.61+0xac/0x468)
[   17.560168] [<800ae664>] (path_openat.isra.61+0xac/0x468) from [<800af81c>] (do_filp_open+0x2c/0x88)
[   17.569280] [<800af81c>] (do_filp_open+0x2c/0x88) from [<800a092c>] (do_sys_open+0xe0/0x174)
[   17.577776] [<800a092c>] (do_sys_open+0xe0/0x174) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
#  nc -l -p 3333 | cat > /dev/mtdblock6[J4
[   31.609547] UBIFS error (pid 261): ubifs_read_node: bad node type (255 but expected 0)
[   31.617448] UBIFS error (pid 261): ubifs_read_node: bad node at LEB 324:88064, LEB mapping status 0
[   31.626488] Not a node, first 24 bytes:
[   31.630151] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff                          ........................
[   31.643171] CPU: 0 PID: 261 Comm: sh Not tainted 3.10.73 #2
[   31.648759] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[   31.657378] [<80011a14>] (show_stack+0x10/0x14) from [<80168968>] (ubifs_read_node+0x29c/0x304)
[   31.666149] [<80168968>] (ubifs_read_node+0x29c/0x304) from [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc)
[   31.675807] [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc) from [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8)
[   31.685544] [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8) from [<80163798>] (ubifs_iget+0xbc/0x890)
[   31.694419] [<80163798>] (ubifs_iget+0xbc/0x890) from [<8015ee60>] (ubifs_lookup+0x15c/0x290)
[   31.702944] [<8015ee60>] (ubifs_lookup+0x15c/0x290) from [<800a9dcc>] (lookup_real+0x20/0x4c)
[   31.711466] [<800a9dcc>] (lookup_real+0x20/0x4c) from [<800adec8>] (do_last.isra.60+0x5bc/0xcac)
[   31.720247] [<800adec8>] (do_last.isra.60+0x5bc/0xcac) from [<800ae664>] (path_openat.isra.61+0xac/0x468)
[   31.729861] [<800ae664>] (path_openat.isra.61+0xac/0x468) from [<800af81c>] (do_filp_open+0x2c/0x88)
[   31.738978] [<800af81c>] (do_filp_open+0x2c/0x88) from [<800a092c>] (do_sys_open+0xe0/0x174)
[   31.747422] [<800a092c>] (do_sys_open+0xe0/0x174) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
[   31.756116] UBIFS error (pid 261): ubifs_iget: failed to read inode 2095, error -22
[   31.763778] UBIFS error (pid 261): ubifs_lookup: dead directory entry '.ash_history', error -22
punt!

# ping -c 3 192.168.2.[J[J4.25
[   91.313555] UBIFS error (pid 261): ubifs_read_node: bad node type (255 but expected 0)
[   91.321535] UBIFS error (pid 261): ubifs_read_node: bad node at LEB 324:88064, LEB mapping status 0
[   91.330633] Not a node, first 24 bytes:
[   91.334284] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff                          ........................
[   91.347311] CPU: 0 PID: 261 Comm: sh Not tainted 3.10.73 #2
[   91.352915] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[   91.361533] [<80011a14>] (show_stack+0x10/0x14) from [<80168968>] (ubifs_read_node+0x29c/0x304)
[   91.370285] [<80168968>] (ubifs_read_node+0x29c/0x304) from [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc)
[   91.379941] [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc) from [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8)
[   91.389676] [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8) from [<80163798>] (ubifs_iget+0xbc/0x890)
[   91.398536] [<80163798>] (ubifs_iget+0xbc/0x890) from [<8015ee60>] (ubifs_lookup+0x15c/0x290)
[   91.407061] [<8015ee60>] (ubifs_lookup+0x15c/0x290) from [<800a9dcc>] (lookup_real+0x20/0x4c)
[   91.415585] [<800a9dcc>] (lookup_real+0x20/0x4c) from [<800adec8>] (do_last.isra.60+0x5bc/0xcac)
[   91.424417] [<800adec8>] (do_last.isra.60+0x5bc/0xcac) from [<800ae664>] (path_openat.isra.61+0xac/0x468)
[   91.433986] [<800ae664>] (path_openat.isra.61+0xac/0x468) from [<800af81c>] (do_filp_open+0x2c/0x88)
[   91.443116] [<800af81c>] (do_filp_open+0x2c/0x88) from [<800a092c>] (do_sys_open+0xe0/0x174)
[   91.451553] [<800a092c>] (do_sys_open+0xe0/0x174) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
[   91.460292] UBIFS error (pid 261): ubifs_iget: failed to read inode 2095, error -22
[   91.467978] UBIFS error (pid 261): ubifs_lookup: dead directory entry '.ash_history', error -22
PING 192.168.4.25 (192.168.4.25): 56 data bytes

--- 192.168.4.25 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
# 
# ping -c 3 192.168.4.25[J
PING 192.168.4.25 (192.168.4.25): 56 data bytes

--- 192.168.4.25 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
# cd /etc
[  155.487549] UBIFS error (pid 261): ubifs_read_node: bad node type (255 but expected 0)
[  155.495543] UBIFS error (pid 261): ubifs_read_node: bad node at LEB 324:88064, LEB mapping status 0
[  155.504586] Not a node, first 24 bytes:
[  155.508235] 00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff                          ........................
[  155.521258] CPU: 0 PID: 261 Comm: sh Not tainted 3.10.73 #2
[  155.526848] [<800133ac>] (unwind_backtrace+0x0/0x12c) from [<80011a14>] (show_stack+0x10/0x14)
[  155.535469] [<80011a14>] (show_stack+0x10/0x14) from [<80168968>] (ubifs_read_node+0x29c/0x304)
[  155.544239] [<80168968>] (ubifs_read_node+0x29c/0x304) from [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc)
[  155.553901] [<8018b298>] (ubifs_tnc_read_node+0x174/0x1fc) from [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8)
[  155.563637] [<8016c7a4>] (ubifs_tnc_locate+0x1bc/0x1e8) from [<80163798>] (ubifs_iget+0xbc/0x890)
[  155.572512] [<80163798>] (ubifs_iget+0xbc/0x890) from [<8015ee60>] (ubifs_lookup+0x15c/0x290)
[  155.581036] [<8015ee60>] (ubifs_lookup+0x15c/0x290) from [<800a9dcc>] (lookup_real+0x20/0x4c)
[  155.589558] [<800a9dcc>] (lookup_real+0x20/0x4c) from [<800adec8>] (do_last.isra.60+0x5bc/0xcac)
[  155.598324] [<800adec8>] (do_last.isra.60+0x5bc/0xcac) from [<800ae664>] (path_openat.isra.61+0xac/0x468)
[  155.607885] [<800ae664>] (path_openat.isra.61+0xac/0x468) from [<800af81c>] (do_filp_open+0x2c/0x88)
[  155.617011] [<800af81c>] (do_filp_open+0x2c/0x88) from [<800a092c>] (do_sys_open+0xe0/0x174)
[  155.625509] [<800a092c>] (do_sys_open+0xe0/0x174) from [<8000ecc0>] (ret_fast_syscall+0x0/0x30)
[  155.634208] UBIFS error (pid 261): ubifs_iget: failed to read inode 2095, error -22
[  155.641872] UBIFS error (pid 261): ubifs_lookup: dead directory entry '.ash_history', error -22
# [4l

             ___  ___  _________                _   
            / _ \ |  \/  || ___ \              | |  
           / /_\ \| .  . || |_/ /  ___    ___  | |_ 
           |  _  || |\/| || ___ \ / _ \  / _ \ | __|
           | | | || |  | || |_/ /| (_) || (_) || |_ 
           \_| |_/\_|  |_/\____/  \___/  \___/  \__|
----------------------------------------------------------
Amboot(R) Ambarella(R) Copyright (C) 2004-2014
Boot From: NAND 2048 RC 
SYS_CONFIG: 0x300600DB POC: 101
Cortex freq: 600000000
iDSP freq: 144000000
Dram freq: 528000000
Core freq: 144000000
AHB freq: 72000000
APB freq: 36000000
UART freq: 24000000
SD freq: 50000000
SDIO freq: 50000000
SDXC freq: 60000000
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> boot console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/bin/sh
bst: 0x1946EC63 1.3 	(2015/6/19)	0x00000000 0x00000001 (2048)
bld: 0xD383D753 1.3 	(2015/6/19)	0x00000000 0x00000000 (193104)
pri: 0x73C1A954 0.1 	(2015/6/19)	0x00208000 0x00000000 (4908792)
lnx: 0xEF9F71BB 0.1 	(2015/6/19)	0x00000000 0x00000001 (42598400)
add: 0xE5FE18AF 0.1 	(2015/6/19)	0x00000000 0x00000001 (11927552)
adc: 0xE31BE621 0.1 	(2015/6/19)	0x00000000 0x00000001 (3670016)

loading pri to 0x00208000
rmd image absent... skipping
Jumping to 0x00208000 ...
cmdline: console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/bin/sh
cpux_jump: 0x00000000
initrd2_start: 0x00000000 initrd2_size: 0x00000000
kernelp: 0x00200000 kernels: 0x06E00000
idspp: 0x07000000 idsps: 0x09000000
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.10.73 (zucker@ubuntu) (gcc version 4.9.1 20140625 (prerelease) (crosstool-NG - Ambarella Linaro Multilib GCC [CortexA9 & ARMv6k] 2014.06) ) #2 PREEMPT Mon Jun 15 21:05:42 CST 2015
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Ambarella S2L (Flattened Device Tree), model: Ambarella S2LM Kiwi Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Ambarella:      AHB = 0xe0000000[0xe0000000],0x01000000 0
[    0.000000] Ambarella:      APB = 0xe8000000[0xe8000000],0x01000000 0
[    0.000000] Ambarella:      PPM = 0x00000000[0xdfe00000],0x00200000 9
[    0.000000] Ambarella:      AXI = 0xf0000000[0xf0000000],0x00030000 0
[    0.000000] Ambarella:    DRAMC = 0xdffe0000[0xef000000],0x00020000 0
[    0.000000] Ambarella:   DBGBUS = 0xec000000[0xec000000],0x00200000 0
[    0.000000] Ambarella:  DBGFMEM = 0xee000000[0xee000000],0x01000000 0
[    0.000000] Ambarella:   IAVMEM = 0x07000000[          ],0x09000000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 27940
[    0.000000] Kernel command line: console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/bin/sh
[    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: 110MB = 110MB total
[    0.000000] Memory: 106600k/106600k available, 6040k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0x87000000 - 0xff000000   (1920 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x86e00000   ( 110 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x8045eadc   (4443 kB)
[    0.000000]       .init : 0x8045f000 - 0x80481f0c   ( 140 kB)
[    0.000000]       .data : 0x80482000 - 0x804b66f8   ( 210 kB)
[    0.000000]        .bss : 0x804b66f8 - 0x804d658c   ( 128 kB)
[    0.000000] NR_IRQS:240
[    0.000000] sched_clock: 32 bits at 36MHz, resolution 27ns, wraps every 119304ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttyS0] enabled
[    0.232587] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[    0.292606] pid_max: default: 32768 minimum: 301
[    0.297294] Mount-cache hash table entries: 512
[    0.304204] CPU: Testing write buffer coherency: ok
[    0.309348] Setting up static identity map for 0x80342998 - 0x803429f8
[    0.318133] devtmpfs: initialized
[    0.322672] pinctrl core: initialized pinctrl subsystem
[    0.328112] NET: Registered protocol family 16
[    0.333328] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.340705] L310 cache controller enabled
[    0.344705] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32020000, Cache size: 131072 B
[    0.354267] ambarella-pinctrl e8009000.pinctrl: Ambarella pinctrl driver registered
[    0.362282] ambarella-gpio gpio.0: Ambarella GPIO driver registered
[    0.372231] bio: create slab <bio-0> at 0
[    0.377274] ambarella-dma e0005000.dma: Ambarella DMA Engine 
[    0.384385] ambarella-i2c e8003000.i2c: Ambarella I2C adapter[0] probed!
[    9.389989] ambarella-i2c e8007000.i2c: No ACK from address 0xe8, 2:0!
[    9.396504] pca953x 2-0074: failed reading register
[    9.401391] pca953x: probe of 2-0074 failed with error -16
[    9.406867] ambarella-i2c e8007000.i2c: Ambarella I2C adapter[2] probed!
[    9.414249] Switching to clocksource ambarella-cs-timer
[    9.425967] ambarella-sd e0002000.sdmmc0: Slot0 use bounce buffer[0x86720000<->0x06920000]
[    9.434257] ambarella-sd e0002000.sdmmc0: Slot0 req_size=0x00020000, segs=32, seg_size=0x00020000
[    9.443125] ambarella-sd e0002000.sdmmc0: Slot0 use ADMA
[    9.519581] ambarella-sd e0002000.sdmmc0: 1 slots @ 50000000Hz
[    9.525582] NET: Registered protocol family 2
[    9.533902] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    9.541000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    9.547375] TCP: Hash tables configured (established 1024 bind 1024)
[    9.553808] TCP: reno registered
[    9.557060] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    9.562928] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    9.569357] NET: Registered protocol family 1
[    9.574031] RPC: Registered named UNIX socket transport module.
[    9.580021] RPC: Registered udp transport module.
[    9.584733] RPC: Registered tcp transport module.
[    9.589414] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    9.596221] ambarella-adc e801d000.adc: Ambarella ADC driver init
[    9.604919] msgmni has been set to 208
[    9.610003] NET: Registered protocol family 38
[    9.614514] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    9.622038] io scheduler noop registered
[    9.625945] io scheduler deadline registered
[    9.630243] io scheduler cfq registered (default)
[    9.635929] e8005000.uart: ttyS0 at MMIO 0xe8005000 (irq = 9) is a ambuart
[    9.643695] brd: module loaded
[    9.649299] loop: module loaded
[    9.655042] ambarella-nand e0001000.nand: in ecc-[1]bit mode
[    9.660772] ambarella_nand: Use On Flash BBT
[    9.665099] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD/Spansion NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    9.677756] Bad block table found at page 65472, version 0x29
[    9.683711] Bad block table found at page 65408, version 0x29
[    9.689736] 7 ofpart partitions found on MTD device amba_nand
[    9.696493] Creating 7 MTD partitions on "amba_nand":
[    9.703580] 0x000000000000-0x000000020000 : "bst"
[    9.709106] 0x000000020000-0x000000160000 : "bld"
[    9.714500] 0x000000160000-0x0000002a0000 : "ptb"
[    9.719900] 0x0000002a0000-0x000000aa0000 : "pri"
[    9.725273] 0x000000aa0000-0x000003ea0000 : "lnx"
[    9.730731] 0x000003ea0000-0x0000058a0000 : "add"
[    9.736137] 0x0000058a0000-0x000007ca0000 : "adc"
[    9.742802] ambarella-spi e0020000.spi: cs1 >= max 1
[    9.747759] spi_master spi0: spi_device register error /ahb@e0000000/spi@e0020000/spidev@1
[    9.756266] ambarella-spi e0020000.spi: Ambarella spi controller 0 created.

[    9.819517] libphy: Ambarella MII Bus: probed
[    9.824360] ambarella-eth e000e000.ethernet: Ethernet PHY[0]: 0x001cc816!
[    9.831635] ambarella-eth e000e000.ethernet: MAC Address[00:00:1b:01:3e:7e].
[    9.838923] mousedev: PS/2 mouse device common for all mice
[    9.844875] ambarella-rtc e8015000.rtc: rtc core: registered rtc-ambarella as rtc0
[    9.852652] i2c /dev entries driver
[    9.859847] ambarella-wdt e800c000.wdt: Ambarella Watchdog Timer Probed.
[    9.866896] TCP: cubic registered
[    9.870264] Initializing XFRM netlink socket
[    9.874564] NET: Registered protocol family 17
[    9.879087] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    9.886796] ThumbEE CPU extension supported.
[    9.892264] UBI: attaching mtd4 to ubi0
[   10.041337] UBI: scanning is finished
[   10.050669] UBI: attached mtd4 (name "lnx", size 52 MiB) to ubi0
[   10.056661] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   10.063476] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   10.070171] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[   10.077020] UBI: good PEBs: 416, bad PEBs: 0, corrupted PEBs: 0
[   10.082932] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[   10.090056] UBI: max/mean erase counter: 12/1, WL threshold: 4096, image sequence number: 998301244
[   10.099071] UBI: available PEBs: 0, total reserved PEBs: 416, PEBs reserved for bad PEB handling: 20
[   10.108194] UBI: background thread "ubi_bgt0d" started, PID 47
[   10.114058] ambarella-rtc e8015000.rtc: setting system clock to 2106-02-07 06:28:15 UTC (4294967295)
[   10.124360] UBIFS: background thread "ubifs_bgt0_0" started, PID 48
[   10.152340] UBIFS: recovery needed
[   10.221348] UBIFS: recovery completed
[   10.225210] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[   10.231277] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.240408] UBIFS: FS size: 48377856 bytes (46 MiB, 381 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[   10.250045] UBIFS: reserved for root: 0 bytes (0 KiB)
[   10.255081] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 9433F1E0-99F6-4CA9-B9B3-6533EEA57425, small LPT model
[   10.266089] VFS: Mounted root (ubifs filesystem) on device 0:12.
[   10.272949] devtmpfs: mounted
[   10.276072] Freeing unused kernel memory: 136K (8045f000 - 80481000)
/bin/sh: can't access tty; job control turned off
/ # cd /etc/init.d
/etc/init.d # ./r
/etc/init.d # ./rcS [J
Disable kswapd write
/etc/init.d/S10syscfg: line 65: can't create /proc/sys/vm/laptop_mode: nonexistent directory
/etc/init.d/S10syscfg: line 65: can't create /proc/sys/vm/min_free_kbytes: nonexistent directory
/etc/init.d/S10syscfg: line 65: can't create /proc/sys/vm/vfs_cache_pressure: nonexistent directory
Populating s2lm_kiwi using udev: /etc/init.d/S12udev: line 72: can't create /proc/sys/kernel/hotplug: nonexistent directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline, ignoring: No such file or direc[   46.160779] systemd-udevd[55]: starting version 215
tory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Failed to read /proc/cmdline. Ignoring: No such file or directory
Done
Initializing random number generator... done.
Starting system message bus: Failed to start message bus: The pid file "/var/run/messagebus.pid" exists, if the message bus is not running, remove this file
done
Starting PulseAudio Daemon: W: [pulseaudio] main.c: [1mCouldn't read /proc/self/exe, cannot self execute. Running in a chroot()?[0m
OK
###### Starting userd.sh #####
ubiattach: error!: UBI is not present in the system
[   46.796299] UBIFS error (pid 84): ubifs_mount: cannot open "ubi1:upgrade", error -19
mount: mounting ubi1:upgrade on /hs/upgrade failed: No such devic[   46.812220] UBIFS error (pid 86): ubifs_mount: cannot open "ubi1:param", error -19
e
mount: mounting ubi1:param on /hs/param failed: No such device
ubiattach: error!: UBI is not present in the system
[   46.839412] UBIFS error (pid 89): ubifs_mount: cannot open "ubi2:user", error -19
mount: mounting ubi2:user on /hs/user failed: No such device
Starting network...
ifup: interface lo already configured
ifup: interface eth0 already configured
/bin/sh: can't open '/hs/user/bin/demo.sh'
###### Ended userd.sh #####
/etc/init.d # ifconfig eth0 192.168.4.100 up
[   77.098484] net eth0: adv: sym 0, asym: 0
/etc/init.d # 
/etc/init.d # ifconfig eth0 192.168.4.100 up[J
/etc/init.d # ping -c 3 192.168.4.25
PING 192.168.4.25 (192.168.4.25): 56 data bytes
64 bytes from 192.168.4.25: seq=0 ttl=64 time=1.569 ms
64 bytes from 192.168.4.25: seq=1 ttl=64 time=0.358 ms
64 bytes from 192.168.4.25: seq=2 ttl=64 time=0.320 ms

--- 192.168.4.25 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.320/0.749/1.569 ms
/etc/init.d # nc -l -p 3333 | cat > /dev/mtdblock6
^C

^C^C^C^C^Z^X^C


^^?  
^[[11~      ^C
[4l

             ___  ___  _________                _   
            / _ \ |  \/  || ___ \              | |  
           / /_\ \| .  . || |_/ /  ___    ___  | |_ 
           |  _  || |\/| || ___ \ / _ \  / _ \ | __|
           | | | || |  | || |_/ /| (_) || (_) || |_ 
           \_| |_/\_|  |_/\____/  \___/  \___/  \__|
----------------------------------------------------------
Amboot(R) Ambarella(R) Copyright (C) 2004-2014
Boot From: NAND 2048 RC 
SYS_CONFIG: 0x300600DB POC: 101
Cortex freq: 600000000
iDSP freq: 144000000
Dram freq: 528000000
Core freq: 144000000
AHB freq: 72000000
APB freq: 36000000
UART freq: 24000000
SD freq: 50000000
SDIO freq: 50000000
SDXC freq: 60000000
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 
amboot> 