https://www.cctvsp.ru/articles/vosstano ... os-parolya по этой статье человека с этого форума.
Находил в одной из веток обсуждение по spi памяти
http://forum.videon.spb.ru/viewtopic.ph ... h&start=24 там человек по nand хотел отдельную ветку создать, но я не нашел такую ветку.
Пароли для root пробовал, что находил, но они не походят. Камера именуется GREEN использовалась провайдером уфанет в уфе. Но сайта даже нет, есть прошивки в package файле, занимают 26мбайт примерно. Куда они записываются не понятно, если флешка у камеры 128мбит=16мбайт?
http://forum.videon.spb.ru/viewtopic.ph ... 0&start=24 фото платы такое же, как в этой ветке.
То что сделал solegs у меня не канает, так как команды "run addargs; run addip;" не срабатывают, типо не распознаются в uboot
подключился через ft232 к консоли и вот такие данные
Код: Выделить всё
U-Boot 1.3.4 (Aug 9 2013 - 00:26:09)
I2C: ready
DRAM: 128 MB
NETVIEW-1 NAND: NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (Unknown NAND 128MiB 3,3V 8-bit)
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
128 MiB
In: serial
Out: serial
Err: serial
Ethernet PHY: INST36X @ 0x00
Hit any key to stop autoboot: 1 0
Loading from NAND 128MiB 3,3V 8-bit, offset 0x700000
Image Name: Linux-2.6.18_pro500-davinci
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1840416 Bytes = 1.8 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1840416 Bytes = 1.8 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux........................................................................................................................... done, booting the kernel.
Linux version 2.6.18_pro500-davinci (root@ubuntu) (gcc 版本 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Fri Jun 6 09:30:46 CST 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM368 IPNC
Memory policy: ECC disabled, Data cache writeback
DaVinci DM0365 variant 0x8
PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000
PLL0: vencrate_sd: 75555555, ddrrate: 340000000 mmcsdrate: 97142857
PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists. Total pages: 12288
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.1.134:192.168.1.1::::: root=/dev/mtdblock3 rw rootfstype=cramfs mem=48M eth=00:00:1b:00:00:11
TI DaVinci EMAC: kernel boot params Ethernet address: 00:00:1b:00:00:11
PID hash table entries: 256 (order: 8, 1024 bytes)
Clock event device timer0_0 configured with caps set: 07
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 48MB = 48MB total
Memory: 44672KB available (3149K code, 653K data, 180K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
DaVinci: 104 gpio irqs
MUX: initialized GPIO20
MUX: initialized I2C_SCL
MUX: initialized SD1_DATA1
MUX: initialized GPIO28
Generic PHY: Registered new driver
ch0 default output "COMPOSITE", mode "NTSC"
VPBE Encoder Initialized
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
***davinci_spi_board_init()!<3>Pin SPI1_SCLK already used for SD1_DATA1.
MUX: initialized SPI1_SDO
spi1 register ret = 0 ~~~~~~~~~~~~~~~~~~~~~
***davinci_spi_board_init_End(0)!<5>VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Jun 6 2014 09:34:05 Installing.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
LTT : ltt-facilities init
LTT : ltt-facility-core init in kernel
DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
MUX: initialized PWM0
Pin PWM2_G87 already used for GPIO87.
MUX: initialized PWM3_G80
MUX: initialized PWM3_G81
MUX: initialized PWM3_G85
MUX: initialized PWM3_G86
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfbc20000 (irq = 40) is a 16550A
serial8250.0: ttyS1 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
Davinci EMAC MII Bus: probed
MAC address is 00:00:1b:00:00:11
TI DaVinci EMAC Linux version updated 4.0
Linux video capture interface: v2.00
Trying to register davinci display video device.
layer=c05d6600,layer->video_dev=c05d6760
Trying to register davinci display video device.
layer=c05d6400,layer->video_dev=c05d6560
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
i2c /dev entries driver
nand_davinci nand_davinci.0: Using 4-bit hardware ECC
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (Unknown NAND 128MiB 3,3V 8-bit)
Creating 6 MTD partitions on "nand_davinci.0":
0x00000000-0x00300000 : "bootloader"
0x00300000-0x00700000 : "params"
0x00700000-0x00a00000 : "kernel"
0x00a00000-0x02a00000 : "filesystem"
0x02a00000-0x02e00000 : "data1"
0x02e00000-0x08000000 : "data2"
nand_davinci nand_davinci.0: hardware revision: 2.3
MUX: initialized SPI0_SCLK
MUX: initialized SPI0_SDO)
dm_spi1.1: davinci SPI Controller driver at 0xc3865800 (irq = 43) use_dma=0
spidev_init @@@@@@@@@@@@@@@@@@@@@@@@
spidev_probe~~~~~~~~~~~~~~~~~~~~~~
spidev_init OK: 0
rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: proc
rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: dev (254:0)
rtc_davinci_dm365 rtc_davinci_dm365.0: rtc core: registered rtc_davinci_dm365 as rtc0
rtc wait time out !!!!!
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
CQ0093 Voice Codec 0.1
asoc: cq93vc <-> davinci-vcif mapping ok
ALSA device list:
#0: On-chip voice codec (cq93vc)
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-01-01 00:00:00 (946684800)
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.134, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.1.134, domain=, nis-domain=(none),
bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath=
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 180K
INIT: version 2.86 booting
0
mkdir: Cannot create directory `/dev/.test': Read-only file system
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
0
CSL: Module install successful, device major num = 252
CSL: Module version 0.10.00, built on Oct 12 2015 16:52:59
I2C: Module install successful, device major num = 251
DMA: Module install successful, device major num = 250
DRV: Module install successful
DRV: Module built on Oct 12 2015 16:53:02
DRV: EDMACC.QUEPRI = 00000777
DRV: SYSTEM.MSTPRI0 = 00440022
DRV: SYSTEM.MSTPRI1 = 00000244
DRV: ISP.BCR = 00000002
DRV: SYSTEM.MISC = 00000399
CMEMK module: built on Dec 3 2011 at 01:26:39
Reference Linux version 2.6.18
File /mnt/workdir/diskb/ipnc_ar0331/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc4000000 of size 0x5000000
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
cmemk initialized
EDMAK module: built on Dec 3 2011 at 01:26:40
Reference Linux version 2.6.18
File /mnt/workdir/diskb/ipnc_ar0331/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
IRQK module: built on Dec 3 2011 at 01:26:41
Reference Linux version 2.6.18
File /mnt/workdir/diskb/ipnc_ar0331/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
irqk initialized
<K>dm365 adc driver successful!
yaffs: dev is 32505860 name is "mtdblock4"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.4, "mtdblock4"
yaffs_read_super: isCheckpointed 0
ln: /var/www/snap.jpg: File exists
create tcp connect success 3,start listen...
Creat queue id:0
queue id:0
Global value size:22832
Length=22832
SYS_ENV_SIZE=22832
MagicNum: 2593849357, MagicNumConfig: 2593849357
ListenSocketThread 162: fd = 3
ReadGlobal: 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Starting mounting local filesystems: mount none on /dev/shm type tmpfs (rw,size=5M)
none on /var/run type tmpfs (rw)
none on /tmp type tmpfs (rw,sync)
MagicNum: 2593849357, MagicNumConfig: 2593849357
Creat queue id:32769
queue id:32769
queue id:0
CPU is DM368
CPU CurrentStatus is = 1
./av_server.out DM368 PAL TI2A AEWB 1080P_VGA H264 2000000 CBR AUTO H264 512000 VBR AUTO PORT 554 6666 MENUOFF &
Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file system
Starting hotplug subsystem:
pci
pci [success]
ApproDrvInit: 7
Creat queue id:65538
queue id:65538
usb
create tcp connect success 4,start listen...
ListenSocketThread 162: fd = 4
AVSERVER UI: Initializing.
Pinmux1: 0x4f801a
Pinmux2: 0x10da
Pinmux3: 0x635affff
Pinmux4: 0x5471d400
CLK Hz,
ARM Hz = 432000000
DDR Hz = 340000000
VPSS Hz = 340000000
IMCOP Hz = 340000000
DRV LDC: GetConfig 0005 0x0
[OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR
IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter
CONFIGURING AVSERVER FOR DM368 .....
Creat queue id:98307
queue id:98307
*** WARNING FD: exceeded max input size for FD, disabling FD (current input 640x480)!!!
------------------- 1920 , 1080 ------------------------
sensor mode:10;fps:30;width:1920;height:1088;DRV_imgsOpen
sensor mode:10;fps:30;width:1920;height:1088;DRV_imgsOpen
############reset###########
############SET REG###########
DRV_imgsSet50_60Hz is50Hz: 1 ~~~~~
TI Setting Applied
~~~~~~~ 1920,1088,1920,1088 ~~~~~~~~~~~~~~~~ 640,480,640,480 ~~~~~~~~~createPrm: width x height = 1920 x 1080, offsetH: 1920, offsetV: 1088 ~~~~~~~~~~~~~~~~~~~~
create->rateControlType=2
create->profile=3
createPrm: width x height = 640 x 480, offsetH: 640, offsetV: 480 ~~~~~~~~~~~~~~~~~~~~
create->rateControlType=1
create->profile=3
DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:
layer.pix_fmt.bytesperline = 640,
layer.pix_fmt.width = 640,
layer.pix_fmt.height = 480,
layer.pix_fmt.sizeimage =460800
FR : 0 usersDavinciDisplay DavinciDisplay.1: pixfmt->width = 640,
layer->layer_info.config.line_length= 640
registered from exsiting face album
EVM AUTO_IRIS = 0
*********** min_exp = 32 ************
ag(1250,10000), dg(1024,4096),mul(a:8.000000,d:4.000000)
degree:1, step:0.121094, g:1552
ag:1250, dg:1271 -> ag:1250, dg:1271
alarm sharememory success!
queue id:0
shared memory size 4096
======================== shared memory id:294921
queue id:65538
[File: rs_rtsp.c , Func: RTSP_ThrStart , Line: 02639] :Info:
MODLE: RTSP RTSP_SvrCreate
[File: rs_rtsp.c , Func: RTSP_ThrStart , Line: 02645] :Info:
MODLE: RTSP RTSP_SvrThrStart
[File: rs_phone.c , Func: PHONE_ThrStart , Line: 00746] :Info:
MODLE: PhonePHONE_SvrCreate
[File: rs_phone.c , Func: PHONE_ThrStart , Line: 00752] :Info:
MODLE: PhonePHONE_SvrThrStart
PHONE_SvrThrFxn
[File: rs_phone.c , Func: PHONE_SvrThrFxn , Line: 00562] :Dbg:
MODLE: PhoneRendezvous_meet .......
----------start P2P thread
smtpusername=User@domain.com
MydeviceId=9844232132870
AV irismode=1
AV irisopen=0
ircutmode = 0
TI AWB PRODUCTION VERSION 1.0.0
*********** min_exp = 32 ************
ag(1250,10000), dg(1024,4096),mul(a:8.000000,d:4.000000)
degree:128, step:0.121094, g:20776
ag:10000, dg:2127 -> ag:10000, dg:2127
[File: rs_rtsp_base64.c, Func: RTSP_Media_Para_SetSeqBase64, Line: 00188] :Dbg:
MODLE: RtspBase64 chn:0 pSeqBase64 = Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQDwBE/LKkAAAMAeAAAHCBgQAB6EgAAiVRve+F4RCNQ
[File: rs_rtsp_base64.c, Func: RTSP_Media_Para_SetPictBase64, Line: 00212] :Dbg:
MODLE: RtspBase64 chn:0 pPictBase64 = aO48sA==
[File: rs_rtsp_base64.c, Func: RTSP_Media_Para_SetSeqBase64, Line: 00188] :Dbg:
MODLE: RtspBase64 chn:1 pSeqBase64 = Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQFAe0qQAAAHgAABwgYEAB9AAAIygve+F4RCNQ=
[File: rs_rtsp_base64.c, Func: RTSP_Media_Para_SetPictBase64, Line: 00212] :Dbg:
MODLE: RtspBase64 chn:1 pPictBase64 = aO48sA==
Night2Day = 1
ircuttime: 5, fps:25, frames:125
IrcutSwitchTime = 5
Video Lost 0
freep2p_status=2
framerate1: 15 ~~~
SetFramerate1 12000
framerate2: 25 ~~~
SetFramerate2 25000
SetAudioInVolume 75 ~~~~~~@@@@@@@@@@
Simple mixer control 'PGA',0
Capabilities: cvolume
Capture channels: Mono
Limits: Capture 0 - 3
Mono: Capture 2 [67%]
numid=2,iface=MIXER,name='Mono DAC Playback Volume'
; type=INTEGER,access=rw---,values=1,min=0,max=63,step=0
: values=63
SetAudioOutVolume 100 ~~~~~~@@@@@@@@@@
InitSysServer is ok!
AddSysLog: (System is running now) ~~~
idx1=34,idx2=0
----------StartNetwork -------------
LocalIP="192.168.1.125"
NetMask="255.255.255.0"
Gateway="192.168.1.1"
DNS="192.168.1.1"
TIMEZONE DAYLIGHT DEBUG COMMAND: cp -f /usr/share/zoneinfo/Etc/GMT-5 /mnt/nand/localtime
dhcp: 0
ln: /etc/localtime: File exists
usb [success]
Start DevDescovery success!
isapnp
isapnp [success]
create tcp connect success 4,start listen...
queue id:32769
queue id:0
ApproDrvInit: 7
queue id:65538
start Watchdog
queue id:0
[Trace]: Port = 8999
[Trace]: dev = eth0
[Trace]: Onvif starting...
ide
ListenSocketThread 162: fd = 4
-----------------------------------------------
Onvif_server server is running...
Platform: TI
Console: enable
Devname: eth0
Server port: 8999
Version: V1.0 Build Sep 23 2015 18:06:17
-----------------------------------------------
[Trace]: Now, Init config...
[Trace]: ReadGlobal 51 : ONVIF_SYS_FILE = /mnt/nand/onvif.cfg
[Trace]: Now, starting the webservice thread...
[Trace]: WebService_Thread start
[Info]: [433][WebService_Thread] Socket connection successful: master socket = 6
ide [success]
input
input [success]
scsi
scsi [success]
done.
Starting portmap daemon: portmap[Trace]: Now, starting the probe thread...
[Trace]: Probe_Thread start
route: SIOC[ADD|DEL]RT: File exists
[Info]: ServerSoap.version = 2
.
Starting internet superserver: inetd.io scheduler deadline registered
io scheduler cfq registered
sbulla:[Trace]: Now, st unknown partition table
arting the event thread...
[Trace]: EventServiceStart 1320: Start event! alive_subscribe = 0
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
loop: loaded (max 8 devices)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
CSLIP: code copyright 1989 Regents of the University of California
netconsole: not configured, aborting
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
WatchDog time = 946684821
[Trace]: EventCallbackFunc 132: source = 0 statue = 0
queue id:32769
watch_dog.c line 46shared memory size 4096
watch_dog.c line 49shared memory id:294921
========== create /var/run/watchdog.pid succeed....
route: SIOC[ADD|DEL]RT: File exists
create tcp connect success 3,start listen...
CPU is DM368
Boa check platformId: 1 ~~
tcgetattr sucsse
set_com_config tcsetattr sucsse
open /mnt/nand/ptz_control
: No such file or directory
open /mnt/nand/ptz_time_start_file
: No such file or directory
ApproDrvInit: 3
queue id:65538
queue id:32769
queue id:0
INIT: Entering runlevel: 3
MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774)
Код: Выделить всё
NETVIEW IPNC:>printenv
bootdelay=1
baudrate=115200
bootfile="uImage"
ethaddr=00:00:1b:00:00:11
filesize=1797000
fileaddr=82000000
ipaddr=192.168.1.114
serverip=192.168.1.10
bootcmd=nboot 0x80700000 0 0x700000;bootm 0x80700000
bootargs=console=ttyS0,115200n8 noinitrd rw ip=192.168.1.134:192.168.1.1::::: root=/dev/mtdblock3 rw rootfstype=cramfs mem=48M eth=00:00:1b:00:00:11
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 1.3.4 (Aug 9 2013 - 00:26:09)
Environment size: 435/262140 bytes
NETVIEW IPNC:>/?
Unknown command '/?' - try 'help'
NETVIEW IPNC:>help
? - alias for 'help'
askenv - get environment variables from stdin
autoscr - run script from memory
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dhcp - invoke DHCP client to obtain IP/boot params
echo - echo args to console
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print online help
icrc32 - checksum calculation
iloop - infinite loop on address range
imd - i2c memory display
iminfo - print header information for application image
imm - i2c memory modify (auto-incrementing)
imw - memory write (fill)
imxtract- extract a part of a multi-image
inm - memory modify (constant address)
iprobe - probe to discover valid I2C chip addresses
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
saves - save S-Record file over serial line
setenv - set environment variables
sleep - delay execution for some time
tftpboot- boot image via network using TFTP protocol
version - print monitor version
NETVIEW IPNC:>fsinfo
support for FLASH devices not present
incorrect device: nor0
NETVIEW IPNC:>nand
Usage:
nand - NAND sub-system