Из симптомов - камера постоянно перезапускалась.
Подключился к UART разъему и вот что увидел:
Код: Выделить всё
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.10.73 (sb@package-Server) (gcc version 4.9.1 20140625 (prerelease) (crosstool-NG - Ambarella Linaro Multilib GCC [CortexA9 & ARMv6k] 2014.06) ) #1 PREEMPT Tue Jan 23 11:37:51 KST 2018
[ 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 S2L Hawthorn 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 = 0x10000000[ ],0x10000000
[ 0.000000] Ambarella: FBMEM = 0x10000000[ ],0x00000000
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64516
[ 0.000000] Kernel command line: console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/linuxrc
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 254MB = 254MB total
[ 0.000000] Memory: 251384k/251384k available, 8712k 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 : 0x90000000 - 0xff000000 (1776 MB)
[ 0.000000] lowmem : 0x80000000 - 0x8fe00000 ( 254 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x805a2bd0 (5739 kB)
[ 0.000000] .init : 0x805a3000 - 0x805c7a1c ( 147 kB)
[ 0.000000] .data : 0x805c8000 - 0x80613938 ( 303 kB)
[ 0.000000] .bss : 0x80613938 - 0x80636d78 ( 142 kB)
[ 0.000000] NR_IRQS:240
[ 0.000000] sched_clock: 32 bits at 108MHz, resolution 9ns, wraps every 39768ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [ttyS0] enabled
[ 0.239393] Calibrating delay loop... 1007.61 BogoMIPS (lpj=5038080)
[ 0.332792] pid_max: default: 32768 minimum: 301
[ 0.337451] Mount-cache hash table entries: 512
[ 0.343843] CPU: Testing write buffer coherency: ok
[ 0.348894] Setting up static identity map for 0x8043cfb0 - 0x8043d018
[ 0.356993] devtmpfs: initialized
[ 0.361253] pinctrl core: initialized pinctrl subsystem
[ 0.366654] NET: Registered protocol family 16
[ 0.371595] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.378766] Ambarella power management: Wed Aug 10 2016
[ 0.384095] L310 cache controller enabled
[ 0.388084] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32020000, Cache size: 131072 B
[ 0.397141] ambarella-pinctrl e8009000.pinctrl: Ambarella pinctrl driver registered
[ 0.405015] ambarella-gpio gpio.0: Ambarella GPIO driver registered
[ 0.413725] bio: create slab <bio-0> at 0
[ 0.418392] ambarella-dma e0005000.dma: Ambarella DMA Engine
[ 0.425021] ambarella-i2c e8003000.i2c: Ambarella I2C adapter[0] probed!
[ 0.431897] ambarella-i2c e8001000.i2c: Ambarella I2C adapter[1] probed!
[ 0.439199] Switching to clocksource ambarella-cs-timer
[ 0.444561] FS-Cache: Loaded
[ 0.451394] NET: Registered protocol family 2
[ 0.456296] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.463344] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.469758] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.476140] TCP: reno registered
[ 0.479349] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.485176] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.491520] NET: Registered protocol family 1
[ 0.496050] RPC: Registered named UNIX socket transport module.
[ 0.501944] RPC: Registered udp transport module.
[ 0.506657] RPC: Registered tcp transport module.
[ 0.511335] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.518009] ambarella-adc e801d000.adc: Ambarella ADC driver init
[ 0.524957] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.530922] NFS: Registering the id_resolver key type
[ 0.536021] Key type id_resolver registered
[ 0.540181] Key type id_legacy registered
[ 0.544176] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.550749] FS-Cache: Netfs 'cifs' registered for caching
[ 0.556193] Key type cifs.spnego registered
[ 0.560371] Key type cifs.idmap registered
[ 0.564449] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.570604] msgmni has been set to 490
[ 0.575147] NET: Registered protocol family 38
[ 0.579631] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.587080] io scheduler noop registered
[ 0.590980] io scheduler deadline registered
[ 0.595258] io scheduler cfq registered (default)
[ 0.600147] e8005000.uart: ttyS0 at MMIO 0xe8005000 (irq = 9) is a ambuart
[ 0.607580] brd: module loaded
[ 0.612236] loop: module loaded
[ 0.617742] ambarella-nand e0001000.nand: in ecc-[1]bit mode
[ 0.623379] ambarella_nand: Use On Flash BBT
[ 0.627715] NAND device: Manufacturer ID: 0xc8, Chip ID: 0xda (GigdDevice NAND 256MiB 3,3V 8-bit), 256MiB, page size: 2048, OOB size: 64
[ 0.640129] Bad block table found at page 131008, version 0x01
[ 0.646080] Bad block table found at page 130944, version 0x01
[ 0.652037] nand_read_bbt: bad block at 0x00000f2a0000
[ 0.657159] nand_read_bbt: bad block at 0x00000f560000
[ 0.662269] nand_read_bbt: bad block at 0x00000fb40000
[ 0.667430] 11 ofpart partitions found on MTD device amba_nand
[ 0.673236] Creating 11 MTD partitions on "amba_nand":
[ 0.678362] 0x000000000000-0x000000020000 : "bst"
[ 0.683505] 0x000000020000-0x000000160000 : "bld"
[ 0.688637] 0x000000160000-0x0000002a0000 : "ptb"
[ 0.693736] 0x0000002a0000-0x0000006a0000 : "spl"
[ 0.698857] 0x0000006a0000-0x000000ea0000 : "pba"
[ 0.703952] 0x000000ea0000-0x000001aa0000 : "pri"
[ 0.709097] 0x000001aa0000-0x0000026a0000 : "sec"
[ 0.714190] 0x0000026a0000-0x0000028a0000 : "bak"
[ 0.719334] 0x0000028a0000-0x0000066a0000 : "rmd"
[ 0.724496] 0x0000066a0000-0x00000a6a0000 : "lnx"
[ 0.729665] 0x00000a6a0000-0x00000e6a0000 : "swp"
[ 0.794487] libphy: Ambarella MII Bus: probed
[ 0.798830] mdio_bus e000e000.etherne: /ahb@e0000000/ethernet@e000e000/phy@3 has invalid PHY address
[ 0.807945] mdio_bus e000e000.etherne: scan phy phy at address 0
[ 0.814240] mdio_bus e000e000.etherne: registered phy phy at address 0
[ 0.820796] ambarella-eth e000e000.ethernet: Ethernet PHY[0]: 0x00221560!
[ 0.827842] ambarella-eth e000e000.ethernet: MAC Address[00:0d:f1:20:fa:eb].
[ 0.835058] mousedev: PS/2 mouse device common for all mice
[ 0.840826] ambarella-rtc e8015000.rtc: rtc core: registered rtc-ambarella as rtc0
[ 0.848695] ambarella-wdt e800c000.wdt: Ambarella Watchdog Timer Probed.
[ 0.855442] ambarella cpufreq driver init
[ 0.859552] IPVS: Registered protocols ()
[ 0.863552] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
[ 0.870951] IPVS: Creating netns size=736 id=0
[ 0.875416] IPVS: ipvs loaded.
[ 0.878552] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 0.883925] arp_tables: (C) 2002 David S. Miller
[ 0.888575] TCP: cubic registered
[ 0.891868] Initializing XFRM netlink socket
[ 0.896168] NET: Registered protocol family 10
[ 0.901022] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 0.906494] sit: IPv6 over IPv4 tunneling driver
[ 0.911435] NET: Registered protocol family 17
[ 0.915964] Key type dns_resolver registered
[ 0.920253] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.927897] ThumbEE CPU extension supported.
[ 0.932916] UBI: attaching mtd9 to ubi0
[ 1.061177] UBI: scanning is finished
[ 1.068747] UBI: attached mtd9 (name "lnx", size 64 MiB) to ubi0
[ 1.074767] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.081526] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.088209] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.095060] UBI: good PEBs: 512, bad PEBs: 0, corrupted PEBs: 0
[ 1.100951] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 1.108065] UBI: max/mean erase counter: 792/69, WL threshold: 4096, image sequence number: 1393631869
[ 1.117341] UBI: available PEBs: 0, total reserved PEBs: 512, PEBs reserved for bad PEB handling: 40
[ 1.126450] UBI: background thread "ubi_bgt0d" started, PID 42
[ 1.132287] ambarella-rtc e8015000.rtc: setting system clock to 2005-01-02 00:25:59 UTC (1104625559)
[ 1.142192] UBIFS: background thread "ubifs_bgt0_0" started, PID 43
[ 1.163734] UBIFS: recovery needed
[ 1.249624] UBIFS: recovery completed
[ 1.253385] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 1.259424] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 1.268539] UBIFS: FS size: 58028032 bytes (55 MiB, 457 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 1.278164] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 1.283193] UBIFS: media format: w4/r0 (latest is w4/r0), UUID B5D2FEBF-C4A8-4F1B-8FF4-5A0676420900, small LPT model
[ 1.294283] VFS: Mounted root (ubifs filesystem) on device 0:12.
[ 1.300740] devtmpfs: mounted
[ 1.303794] Freeing unused kernel memory: 144K (805a3000 - 805c7000)
Disable kswapd write
[ 1.772669] hw_timer: module license 'Proprietary' taints kernel.
[ 1.778773] Disabling lock debugging due to kernel taint
[ 1.793650] i2c /dev entries driver
net.core.wmem_default = 327680
[ 1.894051] wm8510_amb.c :: __init wm8510_modinit(void)
[ 1.927687] ambarella-sd e0002000.sdmmc0: Slot0 use bounce buffer[0x8eea0000<->0x0f0a0000]
[ 1.936016] ambarella-sd e0002000.sdmmc0: Slot0 req_size=0x00020000, segs=32, seg_size=0x00020000
[ 1.944881] ambarella-sd e0002000.sdmmc0: Slot0 use ADMA
[ 2.334531] ambarella-sd e0002000.sdmmc0: 1 slots @ 200000000Hz
[ 2.380757] usbcore: registered new interface driver usbfs
[ 2.386464] usbcore: registered new interface driver hub
[ 2.391934] usbcore: registered new device driver usb
[ 2.401317] mmc0: new high speed SDXC card at address 59b4
[ 2.408502] mmcblk0: mmc0:59b4 USDU1 59.4 GiB
[ 2.413096] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.420710] mmcblk0: p1
[ 2.429735] ehci-ambarella: AMBARELLA-EHCI Host Controller driver
[ 2.436028] ambarella-ehci e0018000.ehci: EHCI Host Controller
[ 2.441862] ambarella-ehci e0018000.ehci: new USB bus registered, assigned bus number 1
[ 2.449997] ambarella-ehci e0018000.ehci: irq 39, io mem 0xe0018000
[ 2.474481] ambarella-ehci e0018000.ehci: USB 2.0 started, EHCI 1.00
[ 2.480858] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.487635] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.494836] usb usb1: Product: EHCI Host Controller
[ 2.499688] usb usb1: Manufacturer: Linux 3.10.73 ehci_hcd
[ 2.505153] usb usb1: SerialNumber: AmbUSB
[ 2.509781] hub 1-0:1.0: USB hub found
[ 2.513525] hub 1-0:1.0: 2 ports detected
[ 2.520827] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.527194] ambarella-ohci e0019000.ohci: Ambarella OHCI
[ 2.532499] ambarella-ohci e0019000.ohci: new USB bus registered, assigned bus number 2
[ 2.540528] ambarella-ohci e0019000.ohci: irq 44, io mem 0xe0019000
[ 2.608537] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 2.615356] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.622551] usb usb2: Product: Ambarella OHCI
[ 2.626897] usb usb2: Manufacturer: Linux 3.10.73 ohci_hcd
[ 2.632356] usb usb2: SerialNumber: AmbUSB
[ 2.637000] hub 2-0:1.0: USB hub found
[ 2.640743] hub 2-0:1.0: 2 ports detected
[ 2.653604] ambarella-udc e0006000.udc: ambarella_udc: version 12 August 2015
Populating s2l_cpro using udev: [ 2.733194] systemd-udevd[271]: starting version 215
Done
Initializing random number generator... done.
Starting system message bus: done
Starting network...
ip: RTNETLINK answers: File exists
[ 3.225333] net eth0: adv: sym 0, asym: 0
[ 3.229480] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3.272804] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Starting PulseAudio Daemon: OK
[ 3.596104] jffs2: Empty flash at 0x001cb900 ends at 0x001cc000
[ 3.662152] EXT4-fs (mtdblock3): mounted filesystem with ordered data mode. Opts: (null)
[CamSocketServer:143]>>SocketServer: bind() failed - errno(2)
[CamSocketServer:151]>>SocketServer: listen() failed - errno(9)
[main:89]>>failure epoll_ctl(Invalid argument)
[main:89]>>failure epoll_ctl(Invalid argument)
[main:89]>>failure epoll_ctl(Invalid argument)
[main:89]>>failure epoll_ctl(Invalid argument)
[main:89]>>failure epoll_ctl(Invalid argument)
[main:89]>>failure epoll_ctl(Invalid argument)
+--------------------------------------------+
| |
| I P - C A M E R A |
| ( Version 04.01.02 2018.03.14 ) |
| |
+--------------------------------------------+
>> Watchdog : main start
create hal for A5S
CamSetupInfo::setDeviceInfo
/etc/init.d/S99digitalwatchdog-mediaserver: source: line 40: can't open '/opt/digitalwatchdog/build_info.txt'
[Initialize][61][Model : N8Fx-OLAH4 ] capability
[setModelInfo][418] Unknwon Capability [description=CVD8_4M, Mini_Dome]
-----------------------------------------------------
+ RECOVERY_MODE : OFF
-----------------------------------------------------
mem_size : 245 MB
board_chipset : amba_s2l66
image_sensor : ov4689
camera_moduel : s2l_internal_isp
ptz_moduel : normal
camera_type : normal
oem : DW
image_direction : 1
max_resolution_width : 2560
max_resolution_height : 1440
max_resolution_fps : 30
channle : 3 4.111958] Vout notice: vout0:0 probed!
m
4.116214] Vout notice: vout1:1 probed!
mvideo_in : 1
video_out : 0
osd : 0
audio_in : 0
audio_in_gain : 0
audio_out : 0
audio_out_gain : 0
sensor_count : 0
relay_count : 0
have_pantilt : 0
have_zoom : 0
have_zoom_button : 0
have_digitalzoom : 0
have_focus : 0
[ 4.163181] VIN: vin0: probed!
have_iris [ 4.167416] VIN: vin1: probed!
:0
have_cds : 1
have_sdcard : 1
focus_mode : 0
cds_adc : 1
ir_gpio : 107
4.187453] Vout notice: CVBS:0@1 probed!
49mday_gpio : 32
night_gpio : 31
tele_gpio : 0
wide_gpio : 0
-----------------------------------------------------
/home/sb/project_S2L/s2lmcaas/ipnc/source/hal/ambarella/s2lm55/HALA5sModel.cpp Initialize 100
Welcome to Ambarella
CAAS login: [ 4.224629] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 4.254518] SYSCLK:SO[23993520]
[ 4.276486] jffs2: notice: (346) check_node_data: wrong data CRC in data node at 0x001cb57c: read 0xec3e5757, calculated 0x3a906649.
[ 4.294486] VIN: OV4689 init(4-lane mipi)
Default init without lens driver
[ 4.322620] amba_debug_init 248:248.
[ 4.369553] jffs2: notice: (346) check_node_data: wrong data CRC in data node at 0x001dae90: read 0x88c8ea48, calculated 0x4b0b0488.
Use default settings
map_size = 0x400000, nr_item = 3
addr_offset = 0x00000000, filename = orccode.bin
addr_offset = 0x00300000, filename = orcme.bin
addr_offset = 0x003a0000, filename = default_binary.bin
mmap returns 0x769f2000
loading /lib/firmware/orccode.bin...addr = 0x769f2000, size = 0x17129c
loading /lib/firmware/orcme.bin...addr = 0x76cf2000, size = 0x51634
loading /lib/firmware/default_binary.bin...addr = 0x76d92000, size = 0x40000
===============================================
ucode (S2L) version = 2016/10/20 263143.263973
===============================================
load dsplog driver
getStructurePos tMediaConfiguration=100896 tMediaSource=272 tProfiles=3525 tProfileConfiguration=95689 tChannelConfiguration=1410
open /mnt/nand/ipnc_sys.cfg(FD11)
close /mnt/nand/ipnc_sys.cfg(FD11)
updateDeviceInfo()0 100 0 100
[saveDeviceInfo][120] DeviceInformation is saved!!!!
open /mnt/nand/ipnc_sys.cfg(FD11)
close /mnt/nand/ipnc_sys.cfg(FD11)
ir_led_check = 0
>> runCode() CAMERA_DN_MODE:3
[runCode][2120] value = 3
[runCode][2130] value = 0
open /root/cali_awb_ov4689.txt(FD13)
close /root/cali_awb_ov4689.txt(FD13)
open /mnt/nand/ipnc_sys.cfg(FD13)
close /mnt/nand/ipnc_sys.cfg(FD13)
>> /usr/local/bin/test_encode --idle
IAVIOC_S_IDLE don[ 9.097369] iav_check_vin(602): VIN is not enabled! Enable VIN first!
e
IAV_IOC_ENABLE_PREVIEW: Resource temporarily unavailable
>> /usr/local/bin/test_encode -i poweroff
Stop encoding for stream 0xf
IAVIO[ 9.116671] iav_check_vin(602): VIN is not enabled! Enable VIN first!
C_S_IDLE done
Find Vin Source ov4689 it supports:
2688x1512P 60 RGB 10bits 16:9 AUTO rev[0]
2560x1440P 60 RGB 10bits 16:9 AUTO rev[0]
2560x1440P(HDR [ 9.136791] Vout info: CVBS-0 switch to mode 131072!
2x) 30 RGB 10bit[ 9.143142] SYSCLK:VOUT[27000000]
s 16:9 AUTO rev[0]
2560x1440P(HDR 3x) 25 RGB 10bits 16:9 AUTO rev[0]
2688x1512P 60 RGB 10bits 16:9 AUTO rev[0]
2688x1520P 60 RGB 10bits 16:9 AUTO rev[0]
2688x1520P(HDR 2x) 30 RGB 10bits 16:9 AUTO rev[0]
1920x1080P(HDR 2x) 30 RGB 10bits 16:9 AUTO rev[0]
1920x1080P(HDR 3x) 30 RGB 10bits 16:9 AUTO rev[0]
VIN is power off.
IAV_IOC_ENABLE_PREVIEW: Resource temporarily unavailable
>> /usr/local/bin/test_encode -i 2560x1440 -[ 9.184465] VIN: 4 lane 4M
f 30 -V 480i --c[ 9.188365] VIN: Linear mode
vbs -J --btype prev --hdr-mode 0 --enc-mode 4 --hdr-expo 1 --mixer 1 -X --bmaxsize 2560x1440 --binsize 2560x1440 --bsize 2560x1440 -A -h 2560x1440 --smaxsize 2560x1440 --bc cbr --frame-factor 28/30 --profile 0 -M 1 --max-gop-M 1 --gop 0 -N 20 --idr 1 --bitrate 5845050 --deblocking-enable 1 -b 0 -K --btype enc --bmaxsize 768x432 --binsize 2560x1440 --bsize 768x432 -C -m 768x432 --smaxsize 768x432 --bc cbr --frame-factor 7/30 -q 84 -b 3 -Y --btype enc --bmaxsize 352x288 --binsize 2560x1440 --bsize 352x288 -B -h 352x288 --smaxsize 352x288 --bc cbr --frame-factor 7/30 --profile 0 -M 1 --max-gop-M 1 --gop 0 -N 20 --idr 1 --bitrate 765257 --deblocking-enable 1 -b 1
Connection established with kernel.
resolution 2560x1440
resolution 2560x1440
resolution 2560x1440
resolution 2560x1440
resolution 2560x1440
resolution 768x432
resolution 2560x1440
resolution 768x432
resolution 768x432
resolution 768x432
352x288 resolution is 352x288
resolution 2560x1440
352x288 resolution is 352x288
352x288 resolution is 352x288
352x288 resolution is 352x288
Stop encoding for stream 0xf
IAVIOC_S_IDLE done
sink 0 is CVBS
vout_get_sink_id: 1 1, return 0
init_vout1 done
Find Vin Source ov4689 it supports:
2688x1512P 60 RGB 10bits 16:9 AUTO rev[0]
2560x1440P 60 RGB 10bits 16:9 AUTO rev[0]
2560x1440P(HDR 2x) 30 RGB 10bits 16:9 AUTO rev[0]
2560x1440P(HDR 3x) 25 RGB 10bits 16:9 AUTO rev[0]
2688x1512P 60 RGB 10bits 16:9 AUTO rev[0]
2688x1520P 60 RGB 10bits 16:9 AUTO rev[0]
2688x1520P(HDR 2x) 30 RGB 10bits 16:9 AUTO rev[0]
1920x1080P(HDR 2x) 30 RGB 10bits 16:9 AUTO rev[0]
1920x1080P(HDR 3x) 30 RGB 10bits 16:9 AUTO rev[0]
Active src 0's mode is:
2560x1440P 30 RGB 10bits 16:9 AUTO rev[0]
init_vin done
>>> pipline:2, hdr_mode:0, expo_num:1, raw_pitch:0
>>> main:size 2560x1440, raw:2560x1440, resolution:10
no translater for filter 10
init 3A done
loop start now
enable_preview done
>>> ======= [DONE] mw_start_aaa =======
The current vin fps is 30, stream [0] encoding fps will be 30 x 28/30!
The current vin fps is 30, stream [1] encoding fps will be 30 x 7/30!
The current vin fps is 30, stream [2] encoding fps will be 30 x 7/30!
>>>>> restart 0
img_get_3a_cntl_status awb_enable=1 ae_enable=1 af_enable=0 adj_enable=1
img_get_sensor_agc agc=0
img_get_wdr_enable wdr=0
img_get_ae_cfa_luma cfa_luma=0
img_get_ae_rgb_luma rgb_luma=0
img_get_ae_system_gain agc=0
img_get_ae_target_ratio ae_target_ratio=1024
img_get_ae_target ae_target_ratio=110
mw_get_ae_param ae_param.ae_level[0]=100
mw_get_ae_param ae_param.ae_level[1]=0
mw_get_ae_param ae_param.ae_level[2]=0
mw_get_ae_param ae_param.ae_level[3]=0
img_get_wb_property_ratio wb_r_ratio=128 wb_b_ratio=128
img_get_img_property brightness=0 contrast=64 saturation=64 hue=0
mw_get_sharpness sharpness=6
=== Sensor is Normal mode
sensor_gain_max:36 shutter_time_min:32000 shutter_time_max:8533333
>> setCamera() CAMERA_AE_ENABLE : 1
>> runCode() CAMERA_AE_ENABLE:1
>> setCamera() first:1 lp:CAMERA_AE_ENABLE ret:Ok
>> setCamera() CAMERA_EXP_LEVEL : 128
>> runCode() CAMERA_EXP_LEVEL:128
>> setCamera() first:1 lp:CAMERA_EXP_LEVEL ret:Ok
>> setCamera() CAMERA_A_FLICKER : 1
>> runCode() CAMERA_A_FLICKER:1
>> setCamera() first:1 lp:CAMERA_A_FLICKER ret:Ok
>> setCamera() CAMERA_AE_METERING : 1
>> runCode() CAMERA_AE_METERING:1
>> setCamera() first:1 lp:CAMERA_AE_METERING ret:Ok
>> setCamera() CAMERA_AWB_ENABLE : 1
>> runCode() CAMERA_AWB_ENABLE:1
>> setCamera() first:1 lp:CAMERA_AWB_ENABLE ret:Ok
>> setCamera() CAMERA_AWB_MODE : 0
>> runCode() CAMERA_AWB_MODE:0
>> setCamera() first:1 lp:CAMERA_AWB_MODE ret:Ok
>> setCamera() CAMERA_R_GAIN : 1500
>> runCode() CAMERA_R_GAIN:1500
>> setCamera() first:1 lp:CAMERA_B_GAIN ret:Ok
>> setCamera() CAMERA_HUE : 50
>> runCode() CAMERA_HUE:50
>> runCode() img_set_color_hue :0
>> setCamera() first:1 lp:CAMERA_HUE ret:Ok
>> setCamera() CAMERA_SATURATION : 25
>> runCode() CAMERA_SATURATION:25
>> runCode() mw_set_saturation :64
>> setCamera() first:1 lp:CAMERA_SATURATION ret:Ok
>> setCamera() CAMERA_BRIGHTNESS : 50
>> runCode() CAMERA_BRIGHTNESS:50
>> runCode() mw_set_brightness :0
>> setCamera() first:1 lp:CAMERA_BRIGHTNESS ret:Ok
>> setCamera() CAMERA_CONTRAST : 50
>> runCode() CAMERA_CONTRAST:50
>> runCode() mw_set_contrast :64
>> setCamera() first:1 lp:CAMERA_CONTRAST ret:Ok
>> setCamera() CAMERA_SHARPNESS : 55
>> runCode() CAMERA_SHARPNESS:55
>> runCode() mw_set_sharpness :6
>> setCamera() first:1 lp:CAMERA_SHARPNESS ret:Ok
>> setCamera() CAMERA_MCTF_3DNR : 1
>> runCode() CAMERA_MCTF_3DNR:1
>> setCamera() first:1 lp:CAMERA_MCTF_3DNR ret:Ok
>> setCamera() CAMERA_LOCAL_EXP : 0
>> runCode() CAMERA_LOCAL_EXP:0
>> setCamera() first:1 lp:CAMERA_LOCAL_EXP ret:Ok
>> setCamera() CAMERA_BACKLIGHT : 0
>> runCode() CAMERA_BACKLIGHT:0
>>> The strength is 0 already
>> setCamera() first:1 lp:CAMERA_BACKLIGHT ret:Ok
>> setCamera() CAMERA_DN_MODE : 2
>> runCode() CAMERA_DN_MODE:2
[runCode][2120] value = 2
>> setCamera() first:1 lp:CAMERA_DN_MODE ret:Ok
>> setCamera() CAMERA_SHUTTER : 2
>> setCamera() CAMERA_SLOW_SHUTTER : 1
>> runCode() CAMERA_SLOW_SHUTTER:1
>> setCamera() first:1 lp:CAMERA_SLOW_SHUTTER ret:Ok
>> setCamera() CAMERA_MIRROR : 0
>> runCode() CAMERA_MIRROR:0
>> setCamera() first:1 lp:CAMERA_MIRROR ret:Ok
>> setCamera() CAMERA_FLIP : 0
>> runCode() CAMERA_FLIP:0
>> setCamera() first:1 lp:CAMERA_FLIP ret:Ok
>> setCamera() CAMERA_GAIN : 9
>> runCode() CAMERA_GAIN:9
>> setCamera() first:1 lp:CAMERA_GAIN ret:Ok
>> setCamera() CAMERA_TDN_BW_LEVEL : 5
>> runCode() CAMERA_TDN_BW_LEVEL:5
>> setCamera() first:1 lp:CAMERA_TDN_BW_LEVEL ret:Ok
>> setCamera() CAMERA_TDN_COLOR_LEVEL : 5
>> runCode() CAMERA_TDN_COLOR_LEVEL:5
>> setCamera() first:1 lp:CAMERA_TDN_COLOR_LEVEL ret:Ok
>> setCamera() CAMERA_RESP : 1
>> runCode() CAMERA_RESP:1
>> setCamera() first:1 lp:CAMERA_RESP ret:Ok
>> setCamera() CAMERA_HDR_MODE : 0
>> runCode() CAMERA_HDR_MODE:0
>> setCamera() first:1 lp:CAMERA_HDR_MODE ret:Ok
>> setCamera() CAMERA_HDR_LEVEL : 0
>> runCode() CAMERA_HDR_LEVEL:0
>> setCamera() first:1 lp:CAMERA_HDR_LEVEL ret:Ok
>> setCamera() CAMERA_TDN_COLOR_HOUR : 5
>> runCode() CAMERA_TDN_COLOR_HOUR:5
>> setCamera() first:1 lp:CAMERA_TDN_COLOR_HOUR ret:Ok
>> setCamera() CAMERA_TDN_COLOR_MIN : 0
>> runCode() CAMERA_TDN_COLOR_MIN:0
>> setCamera() first:1 lp:CAMERA_TDN_COLOR_MIN ret:Ok
>> setCamera() CAMERA_TDN_BW_HOUR : 19
>> runCode() CAMERA_TDN_BW_HOUR:19
>> setCamera() first:1 lp:CAMERA_TDN_BW_HOUR ret:Ok
>> setCamera() CAMERA_TDN_BW_MIN : 0
>> runCode() CAMERA_TDN_BW_MIN:0
>> setCamera() first:1 lp:CAMERA_TDN_BW_MIN ret:Ok
>> /usr/local/bin/test_encode --mirror-pattern 3
+[mainLoop][1036] START - CamA5sOsd::mainLoop
>> lens type 1
overlay: start = 0x71140000, total size = 0x200000 ( bytes)
@ [start][208] MOTION IS UP
Motion Buffer pitch 640, width 640, height 360
>> ui: origin sens:3276870
>> ui: thres:50, sens:70
>> api: thres:49, sens:84
>> ui: ROI 0, 0, 100, 100
>> api: ROI 0, 0, 639, 359
>> ui: origin sens:0
>> ui: thres:0, sens:0
>> ui: ROI 0, 0, 100, 100
>> api: ROI 0, 0, 639, 359
>> ui: origin sens:0
>> ui: thres:0, sens:0
>> ui: ROI 0, 0, 100, 100
>> api: ROI 0, 0, 639, 359
>> ui: origin sens:0
>> ui: thres:0, sens:0
>> ui: ROI 0, 0, 100, 100
>> api: ROI 0, 0, 639, 359
>> /usr/local/bin/test_encode -A -e -B -e -C -e
ROI#0 Motion Start!
Start encoding for stream 0x7 successfully
TOMATO id= 0 enable= 0 sense= 50 10 10 50 50
bsb_mem = 0x615cd000, size = 0x600000
open /mnt/nand/ipnc_sys.cfg(FD21)
close /mnt/nand/ipnc_sys.cfg(FD21)
route: SIOCDELRT: No such process
open /mnt/nand/ipnc_sys.cfg(FD22)
close /mnt/nand/ipnc_sys.cfg(FD22)
open /mnt/nand/ipnc_sys.cfg(FD22)
close /mnt/nand/ipnc_sys.cfg(FD22)
[CamSocketServer:143]>>Socket[ 10.756283] iav_query_me1desc(696): [TIMEOUT] Query ME1 descriptor.
Server: bind() failed - errno(2)
[CamSocketServer:151]>>SocketServer: listen() failed - errno(9)
[connect:192]>>SocketClient: connect() failed - errno(2)
ipnc: /home/sb/project_S2L/s2lmcaas/ipnc/source/app/messenger/CamNotifyMessenger.cpp:57: virtual void CamNotifyMessenger::initialize(): Assertion `0 == ret' failed.
[sighdlr_exit:45]>>Signal Exit : 6
~CamThread: 48: ### Thread"HwMon" is exit
~CamThread: 48: ### Thread"WatchdogTsk" is exit
Код: Выделить всё
boot console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/bin/sh
Код: Выделить всё
amboot> boot
bst: 0x7445286A 0.5 (2017/9/1) 0x00000000 0x00000001 (2048)
bld: 0x381E9FF5 1.1 (2017/9/1) 0x00000000 0x00000000 (206056)
pri: 0xB3ABD2A1 0.18 (2018/1/23) 0x00208000 0x00000000 (6338872)
bak: 0x8116F5D3 0.18 (2018/3/14) 0x00000000 0x00000001 (53084160)
loading pri to 0x00208000
rmd image absent... skipping
Jumping to 0x00208000 ...
cpux_jump: 0x00000000
initrd2_start: 0x00000000 initrd2_size: 0x00000000
kernelp: 0x00200000 kernels: 0x0FE00000
idspp: 0x10000000 idsps: 0x10000000
fbp: 0x10000000 fbs: 0x00000000
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.10.73 (sb@package-Server) (gcc version 4.9.1 20140625 (prerelease) (c
rosstool-NG - Ambarella Linaro Multilib GCC [CortexA9 & ARMv6k] 2014.06) ) #1 PREEMPT Tue Jan 23 11:
37:51 KST 2018
[ 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 S2L Hawthorn 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 = 0x10000000[ ],0x10000000
[ 0.000000] Ambarella: FBMEM = 0x10000000[ ],0x00000000
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64516
[ 0.000000] Kernel command line: console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs i
nit=/linuxrc
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 254MB = 254MB total
[ 0.000000] Memory: 251384k/251384k available, 8712k 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 : 0x90000000 - 0xff000000 (1776 MB)
[ 0.000000] lowmem : 0x80000000 - 0x8fe00000 ( 254 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x805a2bd0 (5739 kB)
[ 0.000000] .init : 0x805a3000 - 0x805c7a1c ( 147 kB)
[ 0.000000] .data : 0x805c8000 - 0x80613938 ( 303 kB)
[ 0.000000] .bss : 0x80613938 - 0x80636d78 ( 142 kB)
[ 0.000000] NR_IRQS:240
[ 0.000000] sched_clock: 32 bits at 108MHz, resolution 9ns, wraps every 39768ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [ttyS0] enabled
[ 0.239393] Calibrating delay loop... 1007.61 BogoMIPS (lpj=5038080)
[ 0.332791] pid_max: default: 32768 minimum: 301
[ 0.337452] Mount-cache hash table entries: 512
[ 0.343842] CPU: Testing write buffer coherency: ok
[ 0.348894] Setting up static identity map for 0x8043cfb0 - 0x8043d018
[ 0.356994] devtmpfs: initialized
[ 0.361252] pinctrl core: initialized pinctrl subsystem
[ 0.366655] NET: Registered protocol family 16
[ 0.371599] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.378764] Ambarella power management: Wed Aug 10 2016
[ 0.384091] L310 cache controller enabled
[ 0.388079] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32020000, Cache size: 131072 B
[ 0.397137] ambarella-pinctrl e8009000.pinctrl: Ambarella pinctrl driver registered
[ 0.405012] ambarella-gpio gpio.0: Ambarella GPIO driver registered
[ 0.413741] bio: create slab <bio-0> at 0
[ 0.418414] ambarella-dma e0005000.dma: Ambarella DMA Engine
[ 0.425044] ambarella-i2c e8003000.i2c: Ambarella I2C adapter[0] probed!
[ 0.431919] ambarella-i2c e8001000.i2c: Ambarella I2C adapter[1] probed!
[ 0.439217] Switching to clocksource ambarella-cs-timer
[ 0.444579] FS-Cache: Loaded
[ 0.451416] NET: Registered protocol family 2
[ 0.456322] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.463370] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.469782] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.476165] TCP: reno registered
[ 0.479375] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.485199] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.491540] NET: Registered protocol family 1
[ 0.496069] RPC: Registered named UNIX socket transport module.
[ 0.501964] RPC: Registered udp transport module.
[ 0.506677] RPC: Registered tcp transport module.
[ 0.511356] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.518026] ambarella-adc e801d000.adc: Ambarella ADC driver init
[ 0.524976] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.530943] NFS: Registering the id_resolver key type
[ 0.536073] Key type id_resolver registered
[ 0.540234] Key type id_legacy registered
[ 0.544229] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.550798] FS-Cache: Netfs 'cifs' registered for caching
[ 0.556242] Key type cifs.spnego registered
[ 0.560423] Key type cifs.idmap registered
[ 0.564514] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.570655] msgmni has been set to 490
[ 0.575194] NET: Registered protocol family 38
[ 0.579677] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.587128] io scheduler noop registered
[ 0.591028] io scheduler deadline registered
[ 0.595305] io scheduler cfq registered (default)
[ 0.600193] e8005000.uart: ttyS0 at MMIO 0xe8005000 (irq = 9) is a ambuart
[ 0.607628] brd: module loaded
[ 0.612285] loop: module loaded
[ 0.617787] ambarella-nand e0001000.nand: in ecc-[1]bit mode
[ 0.623424] ambarella_nand: Use On Flash BBT
[ 0.627758] NAND device: Manufacturer ID: 0xc8, Chip ID: 0xda (GigdDevice NAND 256MiB 3,3V 8-bit)
, 256MiB, page size: 2048, OOB size: 64
[ 0.640170] Bad block table found at page 131008, version 0x01
[ 0.646120] Bad block table found at page 130944, version 0x01
[ 0.652076] nand_read_bbt: bad block at 0x00000f2a0000
[ 0.657198] nand_read_bbt: bad block at 0x00000f560000
[ 0.662308] nand_read_bbt: bad block at 0x00000fb40000
[ 0.667471] 11 ofpart partitions found on MTD device amba_nand
[ 0.673277] Creating 11 MTD partitions on "amba_nand":
[ 0.678404] 0x000000000000-0x000000020000 : "bst"
[ 0.683551] 0x000000020000-0x000000160000 : "bld"
[ 0.688683] 0x000000160000-0x0000002a0000 : "ptb"
[ 0.693772] 0x0000002a0000-0x0000006a0000 : "spl"
[ 0.698891] 0x0000006a0000-0x000000ea0000 : "pba"
[ 0.703986] 0x000000ea0000-0x000001aa0000 : "pri"
[ 0.709135] 0x000001aa0000-0x0000026a0000 : "sec"
[ 0.714228] 0x0000026a0000-0x0000028a0000 : "bak"
[ 0.719372] 0x0000028a0000-0x0000066a0000 : "rmd"
[ 0.724537] 0x0000066a0000-0x00000a6a0000 : "lnx"
[ 0.729705] 0x00000a6a0000-0x00000e6a0000 : "swp"
[ 0.794507] libphy: Ambarella MII Bus: probed
[ 0.798850] mdio_bus e000e000.etherne: /ahb@e0000000/ethernet@e000e000/phy@3 has invalid PHY addr
ess
[ 0.807966] mdio_bus e000e000.etherne: scan phy phy at address 0
[ 0.814263] mdio_bus e000e000.etherne: registered phy phy at address 0
[ 0.820819] ambarella-eth e000e000.ethernet: Ethernet PHY[0]: 0x00221560!
[ 0.827861] ambarella-eth e000e000.ethernet: MAC Address[d0:50:99:49:1f:3d].
[ 0.835076] mousedev: PS/2 mouse device common for all mice
[ 0.840848] ambarella-rtc e8015000.rtc: rtc core: registered rtc-ambarella as rtc0
[ 0.848718] ambarella-wdt e800c000.wdt: Ambarella Watchdog Timer Probed.
[ 0.855465] ambarella cpufreq driver init
[ 0.859577] IPVS: Registered protocols ()
[ 0.863579] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
[ 0.870976] IPVS: Creating netns size=736 id=0
[ 0.875440] IPVS: ipvs loaded.
[ 0.878577] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 0.883949] arp_tables: (C) 2002 David S. Miller
[ 0.888599] TCP: cubic registered
[ 0.891892] Initializing XFRM netlink socket
[ 0.896193] NET: Registered protocol family 10
[ 0.901051] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 0.906523] sit: IPv6 over IPv4 tunneling driver
[ 0.911464] NET: Registered protocol family 17
[ 0.915985] Key type dns_resolver registered
[ 0.920275] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.927917] ThumbEE CPU extension supported.
[ 0.932948] UBI: attaching mtd9 to ubi0
[ 1.000566] UBI: scanning is finished
[ 1.007916] UBI: attached mtd9 (name "lnx", size 64 MiB) to ubi0
[ 1.013901] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.020696] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.027378] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.034222] UBI: good PEBs: 512, bad PEBs: 0, corrupted PEBs: 0
[ 1.040123] UBI: user volume: 0, internal volumes: 1, max. volumes count: 128
[ 1.047234] UBI: max/mean erase counter: 1/1, WL threshold: 4096, image sequence number: 19737779
30
[ 1.056251] UBI: available PEBs: 468, total reserved PEBs: 44, PEBs reserved for bad PEB handling
: 40
[ 1.065448] UBI: background thread "ubi_bgt0d" started, PID 42
[ 1.071307] ambarella-rtc e8015000.rtc: setting system clock to 1970-01-01 01:27:38 UTC (5258)
[ 1.080264] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
[ 1.087893] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
[ 1.095941] Please append a correct "root=" boot option; here are the available partitions:
[ 1.104301] 1f00 128 mtdblock0 (driver?)
[ 1.109420] 1f01 1280 mtdblock1 (driver?)
[ 1.114523] 1f02 1280 mtdblock2 (driver?)
[ 1.119611] 1f03 4096 mtdblock3 (driver?)
[ 1.124713] 1f04 8192 mtdblock4 (driver?)
[ 1.129800] 1f05 12288 mtdblock5 (driver?)
[ 1.134898] 1f06 12288 mtdblock6 (driver?)
[ 1.139994] 1f07 2048 mtdblock7 (driver?)
[ 1.145089] 1f08 63488 mtdblock8 (driver?)
[ 1.150176] 1f09 65536 mtdblock9 (driver?)
[ 1.155272] 1f0a 65536 mtdblock10 (driver?)
[ 1.160442] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 1.168680] CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.73 #1
[ 1.174512] [<800133ec>] (unwind_backtrace+0x0/0x12c) from [<80011a50>] (show_stack+0x10/0x14)
[ 1.183099] [<80011a50>] (show_stack+0x10/0x14) from [<804366cc>] (panic+0xa4/0x1e0)
[ 1.190818] [<804366cc>] (panic+0xa4/0x1e0) from [<805a3f98>] (mount_block_root+0x1d4/0x278)
[ 1.199227] [<805a3f98>] (mount_block_root+0x1d4/0x278) from [<805a4308>] (prepare_namespace+0xa8
/0x1d4)
[ 1.208675] [<805a4308>] (prepare_namespace+0xa8/0x1d4) from [<805a3c20>] (kernel_init_freeable+0
x1b0/0x1c0)
[ 1.218475] [<805a3c20>] (kernel_init_freeable+0x1b0/0x1c0) from [<80435e7c>] (kernel_init+0xc/0x
154)
[ 1.227667] [<80435e7c>] (kernel_init+0xc/0x154) from [<8000ed58>] (ret_from_fork+0x14/0x3c)
Код: Выделить всё
cat /dev/mtdblock0 | gzip -9 -c > /tmp/mtd0.gz
...
cat /dev/mtdblock10 | gzip -9 -c > /tmp/mtd10.gz
Подключаюсь я к нем через телнет, но поднять сеть у меня не получается, чтобы так же использовать tftp - настроки прописал, но линка нет на роутере
Код: Выделить всё
==================================
#### ##### ##### ####
# # # # # # # #
# # # # # # #
# ##### ##### # #
# # # # # # #
#### # # # ####
==================================
CPRO Copyright (C) 2016-2026
Boot From: NAND 2048 RC
SYS_CONFIG: 0x3006005B POC: 101
Cortex freq: 1008000000
ENET freq: 50000000
iDSP freq: 504000000
Dram freq: 660000000
Core freq: 432000000
AHB freq: 216000000
APB freq: 108000000
UART freq: 24000000
SD freq: 50000000
SDIO freq: 50000000
SDXC freq: 60000000
amboot> show netboot
eth0_mac: 11:22:33:01:02:01
eth0_ip: 192.168.0.101
eth0_mask: 255.255.255.0
eth0_gw: 192.168.0.12
eth1_mac: 11:22:33:01:02:02
eth1_ip: 192.168.1.102
eth1_mask: 255.255.255.0
eth1_gw: 192.168.1.12
auto_dl: 1
tftpd: 192.168.0.12
pri_addr: 0x00000000
pri_file:
pri_comp: 0
rmd_addr: 0x00000000
rmd_file:
rmd_comp: 0
dsp_addr: 0x00000000
dsp_file:
dsp_comp: 0
amboot>
Код: Выделить всё
amboot> ping 192.168.0.12
link down ...
Топик http://forum.videon.spb.ru/viewtopic.php?f=24&t=8311 перечитан, но там без счастливого финала.