Форум по системам видеонаблюдения и безопасности.

Форум по системам видеонаблюдения, безопасности, пожарным и охранным сигнализациям, контролю доступа.
Текущее время: 25 июн 2017, 03:20

Часовой пояс: UTC + 3 часа




Начать новую тему Ответить на тему  [ Сообщений: 6 ] 
Автор Сообщение
Сообщение 19 июн 2017, 18:52 
Не в сети
Постоянный посетитель

Зарегистрирован: 09 май 2016, 08:30
Сообщения: 61
Добрый вечер. Пожалуйста объясните, как правильно прописать адрес для считывания полного дампа и записать команды. Спасибо.

Полный лог.

0GM8283 SYSTEM go.................DR 1.3 256MB
MP SPI-NOR Bootstrap v0.1
SPI020 Revision:0x10001
SPI flash ID code:ef 40 18
SPI jump setting is 3 bytes mode
Boot image offset: 0x10000. size: 0x50000. Booting Image .....


U-Boot 2013.01 (Dec 23 2015 - 12:33:06)

DRAM: 256 MiB
ROM CODE has enable I cache
SPI mode
SF: Got idcodes
00000000: ef 40 18 00 .@..
SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
flash is 3byte mode
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial

-------------------------------
ID:82830003
AC: 332 HC: 249 P1: 996 P4: 996
C6: 664 DR:1328
J: 249 H1: 398 H2: 398
-------------------------------
Net: GMAC set RMII mode
reset PHY
eth0
Warning: eth0 MAC addresses don't match:
Address in SROM is 3d:73:71:75:61:73
Address in environment is 00:42:70:00:30:22

Hit any key to stop autoboot: 0
start hdmi polling thread.
sli-hdmi is in 1920x1080 RGBI2C_IP1_init APB freq = 41500000
I2C_IP1_init: speed: 100000, div = 204
Please plug-in the HDMI cable, otherwise the system may keep wating the connection....
SF: Got idcodes
00000000: ef 40 18 00 .@..
SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
flash is 3byte mode
## Booting kernel from Legacy Image at 02000000 ...
Image Name: gm828x
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2852064 Bytes = 2.7 MiB
Load Address: 02000000
Entry Point: 02000040
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
: mem=256M gmmem=190M console=ttyS0,115200 user_debug=31 init=/squashfs_init root=/dev/mtdblock3 rootfstype=squashfs

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.3.0 (amos@huayi-MS-7680) (gcc version 4.4.0 20100318 (experimental) (Buildroot 2012.02) ) #71 PREEMPT Wed Sep 30 16:00:06 CST 2015
CPU: FA6 [66056262] revision 2 (ARMv5TE), cr=0000397f
CPU VIPT aliasing data cache, unknown instruction cache
Machine: Grain-Media GM828x series
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: mem=256M gmmem=190M console=ttyS0,115200 user_debug=31 init=/squashfs_init root=/dev/mtdblock3 rootfstype=squashfs
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 254024k/254024k available, 8120k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0x90800000 - 0xff000000 (1768 MB)
lowmem : 0x80000000 - 0x90000000 ( 256 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x8053715c (5309 kB)
.init : 0x80538000 - 0x80554000 ( 112 kB)
.data : 0x80554000 - 0x80576720 ( 138 kB)
.bss : 0x80576744 - 0x805b0764 ( 233 kB)
NR_IRQS:96
Timer use APB0 clock
gm_jiffies_init, system HZ: 100, pClk: 41500000
console [ttyS0] enabled
Calibrating delay loop... 660.68 BogoMIPS (lpj=3303424)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x3d6a30 - 0x3d6a78
devtmpfs: initialized
FMEM: 48640 pages(0xbe00000 bytes) from bank0 are reserved for Frammap.
FMEM: Logical memory ends up at 0x90000000, init_mm:0x80004000(0x4000), PAGE_OFFSET:0x80000000(0x0),
FMEM: FA726 Test and Debug Register: 0x0
NET: Registered protocol family 16
PMU: Mapped at 0xfe000000
IC: GM8283, version: 0x3
iotable: VA: 0xfe000000, PA: 0x99000000, Length: 4096
iotable: VA: 0xfe001000, PA: 0x98300000, Length: 4096
iotable: VA: 0xfe002000, PA: 0x98400000, Length: 4096
iotable: VA: 0xfe003000, PA: 0x98500000, Length: 4096
iotable: VA: 0xfe004000, PA: 0x98800000, Length: 4096
iotable: VA: 0xfe005000, PA: 0x99100000, Length: 4096
iotable: VA: 0xfe006000, PA: 0x96000000, Length: 4096
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource fttmr010:1
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Video Timer(timer3) Max 103000ms in 0xfec7b1a0 HZ.
ftdmac020 ftdmac020.0: DMA engine driver: irq 1, mapped at 0x90804000
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 496
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
gpiochip_add: registered GPIOs 0 to 31 on device: ftgpio010.0
probe ftgpio010.0 OK, at 0x90862000
gpiochip_add: registered GPIOs 32 to 63 on device: ftgpio010.1
probe ftgpio010.1 OK, at 0x90864000
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xfe001000 (irq = 9) is a 16550A
serial8250: ttyS1 at I/O 0xfe002000 (irq = 10) is a 16550A
serial8250: ttyS3 at I/O 0xfe004000 (irq = 21) is a 16550A
brd: module loaded
loop: module loaded
FTSATA100_AHCI driver version 0.15
GM SATAPHY clock source : SATA0==SATA1, SATA1==PLL
GM SATAPHY Clock = 30 MHz
GM SATA0 config iSATA PHY setting
GM SATA0 PHY program i2c register offset 0x07, value=0x09
GM SATA0 PHY program i2c register offset 0x19, value=0x0c
GM SATA0 PHY program i2c register offset 0x35, value=0x10
GM SATA0 PHY program i2c register offset 0x36, value=0x80
GM SATA1 config iSATA PHY setting
GM SATA1 PHY program i2c register offset 0x07, value=0x09
GM SATA1 PHY program i2c register offset 0x19, value=0x0c
GM SATA1 PHY program i2c register offset 0x35, value=0x10
GM SATA1 PHY program i2c register offset 0x36, value=0x80
ahci ftsata100.0: forcing PORTS_IMPL to 0x1
ahci: SSS flag set, parallel bus scan disabled
ahci ftsata100.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci ftsata100.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc
scsi0 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x93200000-0x93200fff] port 0x100 irq 28
ahci ftsata100.1: forcing PORTS_IMPL to 0x1
ahci: SSS flag set, parallel bus scan disabled
ata1: SATA link down (SStatus 0 SControl 310)
ahci ftsata100.1: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci ftsata100.1: flags: ncq sntf stag pm led clo only pmp pio slum part ccc
scsi1 : ahci_platform
ata2: SATA max UDMA/133 mmio [mem 0x93300000-0x93300fff] port 0x100 irq 40
Not for NAND pin mux
SPI020 init
ftspi020 ftspi020.0: Faraday FTSPI020 Controller at 0x80300000(0x9086e000) irq 92.
spi spi0.0: setup: bpw 8 mode 0
CLK div field set 2, clock = 41500000Hz
ERASE SECTOR 64K
SPI_FLASH spi0.0: w25q128bv (16384 Kbytes)
Creating 10 MTD partitions on "nor-flash":
0x000000000000-0x000000010000 : "NSBOOT"
0x000000010000-0x000000060000 : "UBOOT"
0x000000060000-0x000000400000 : "LINUX"
0x000000400000-0x000000700000 : "FS"
0x000000700000-0x000000800000 : "MTD"
0x000000800000-0x000000d00000 : "USER"
0x000000d00000-0x000000e80000 : "WEB"
0x000000e80000-0x000000fa0000 : "LOGO"
0x000000fa0000-0x000001000000 : "CUSTOM"
0x000000000000-0x000001000000 : "ALL"
Probe FTSPI020 SPI Controller at 0x80300000 (irq 92)
ftgmac: Loading version 2.0 ...
ftgmac: Tx queue number = 1024, Rx queue number = 512
ata2: SATA link down (SStatus 0 SControl 310)
ftgmac100-0-mdio: probed
ftgmac100-0 ftgmac100-0.0: eth0: 1 tx queue used (max: 2)
ftgmac100-0 ftgmac100-0.0: eth0: 1 rx queue used (max: 1)
ftgmac100-0 ftgmac100-0.0: eth0: irq 3, mapped at 90870000
ftgmac100-0 ftgmac100-0.0: eth0: generated random MAC address 26:12:f7:ad:87:3c
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
usbcore: registered new interface driver ath9k_htc
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
FOTG2XX Controller Initialization
Enter Device A
Drive Vbus because of ID pin shows Device A
fotg210 fotg210.0: FOTG2XX
fotg210 fotg210.0: new USB bus registered, assigned bus number 1
fotg210 fotg210.0: irq 93, io mem 0x93000000
fotg210 fotg210.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
FOTG2XX Controller Initialization
Enter Device A
Drive Vbus because of ID pin shows Device A
fotg210 fotg210.1: FOTG2XX
fotg210 fotg210.1: new USB bus registered, assigned bus number 2
fotg210 fotg210.1: irq 94, io mem 0x93100000
fotg210 fotg210.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver cdc_wdm
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
ftiic010 ftiic010.0: irq 18, mapped at 90876000
ftiic010 ftiic010.1: irq 53, mapped at 90878000
ftiic010 ftiic010.2: irq 50, mapped at 9087a000
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
devtmpfs: mounted
Freeing init memory: 112K
busybox: /linuxrc: Read-only file system
Mounting root fs rw ...
Mounting other filesystems ...
Setting hostname ...
Bringing up interfaces ...
/bin/sh: run-parts: not found
Mounting user's MTD partion
Frammap: DDR0: memory base=0x3800000, memory size=0xbe00000, align_size = 4K.
Frammap: version 1.1.2, and the system has 1 DDR.
Frammap: fail to open /mnt/mtd/config_8287, /tmp/template_8287 is created.
----------------------------------------------------------------
ddr name: frammap0
base: 0x3800000
end: 0xf600000
size: 0xbe00000 bytes
memory allocated: 0x0 bytes
memory free: 0xbe00000 bytes
max available slice: 0xbe00000 bytes
memory allocate count: 0
clear address: 0x3800000
dirty pages: 0
clear pages: 48640
size alignment: 0x1000
Press q -> ENTER to exit boot procedure? 1.1 1.1
ProductType = ###4CH_1080P_HF_8283###
[mxml_test]: open /opt/sav/gm818x/test.xml file error!
ret = 33
product is: 33
cfg path is: /opt/app/etc/8283_4ch_2g_half_1080P
vgboot is: /opt/app/etc/8283_4ch_2g_half_1080P/vg_boot.sh
hardware is: /opt/app/etc/8283_4ch_2g_half_1080P/hardware.xml
prep to cmp
/opt/app/etc/8283_4ch_2g_half_1080P/hardware.xml is !=
1.1 1.1
ProductType = ###4CH_1080P_HF_8283###
[mxml_test]: open /opt/sav/gm818x/test.xml file error!
videochip is: 13
----------------------------------------------------------------
Video: Mode: PAL DEC: nvp6114a
----------------------------------------------------------------
insmod: can't insert '/lib/modules/frammap.ko': File exists
----------------------------------------------------------------
ddr name: frammap0
base: 0x3800000
end: 0xf600000
size: 0xbe00000 bytes
memory allocated: 0x0 bytes
memory free: 0xbe00000 bytes
max available slice: 0xbe00000 bytes
memory allocate count: 0
clear address: 0x3800000
dirty pages: 0
clear pages: 48640
size alignment: 0x1000
log: module license 'GM' taints kernel.
Disabling lock debugging due to kernel taint
log.ko: Jan 13 2015 17:57:36 (mmap 0x835f0000 size 0xc000)

LOG base 0x9093c000 size 512K (start pointer 0x7f015114)
PAGE_OFFSET(0x80000000) VMALLOC START(0x90800000) HZ(100)
ms.ko v1.0_clear_non16align Sep 14 2015 15:41:04
em.ko v0.27_transcode Sep 14 2015 15:40:53
em_user v0.6 Sep 14 2015 15:40:53

EM Module Service Starting (callback_period = 3ms)
Start EM thread 2(em_callback:2) with nice -20
Start EM thread 1(em_callback:1) with nice -20
Start EM thread 0(em_callback:0) with nice -20
think2d_module_init
Think2dGE uses hclk/2.
** T2D VER:2.4 ** think2d_drv_probe done, vbase 0x90A2A000, pbase 0x92200000 0x835E9240 (1)

LCD platform: Hook GM8287 driver.
GM_ffb: [ver:0.1.22]INIT flcd200 OK.
LCD0: PA = 0x9a800000, VA = 0x90a70000, size:0xd000 bytes
LCD0(SLI10121): Output resolution is 1024x768/60HZ.
LCD0: Input resolution is 1024x768(XVGA)

LCD0 registers 1 entities to video graph!
LCD0: Driver[Ver: 1.2.3] init ok. fb0_fb1_share:1, fb1_pan_display:0
GM_ffb: [ver:0.1.22]INIT flcd200_2 OK.
LCD2: PA = 0x9b800000, VA = 0x90aa0000, size:0xd000 bytes
LCD2: Output resolution is D1 PAL.
Register codec TVE100.
LCD2: Input resolution is PAL
LCD2 joins D1 of 3frame.
LCD2: Driver[Ver: 1.2.3] init ok. fb0_fb1_share:1, fb1_pan_display:0
Register codec sli10121-480P_BT1120.
Register codec sli10121-576P_BT1120.
sli-hdmi is in 1024x768 RGBLCD210: Input format to sli-hdmi is RGB888.
sli10121_polling_thread INIT = 0
HDMI_init, 1
Register codec sli10121-1024x768_RGB.
Register codec sli10121-1280x1024_RGB.
Register codec sli10121-1920x1080_RGB.
Register codec sli10121-1280x720_RGB.
sli10121 sleep 100 ms ver=sli ver:1.7
fe_common version 140714
EXT_CLK#0 output ==> 27000000Hz
AHD2.0 Device (0x60) ID OK... 85
AHD2.0 Device (0x60) REV ... 22
nvp6114a_system_init
nvp6114a_set_portmode portsel 0 portmode 6 setting
nvp6114a_set_portmode portsel 1 portmode 6 setting
nvp6114a audio init,REC:MASTER,PB:SLAVE
hdmi_test mode=0
[VCAP_INFO]: VCAP300 Version: 0.3.7A
[VCAP_INFO]: Register NVP6114A#0 Input Device
osg canvas is static allocate mode
SWOSG ver 0.1.7
SCALER version 141119, temp_width: 1920, temp_height: 1088
fscaler300_init_one [0] NCNB
chip[0] ch[0] nvp6124_set_chnmode OK
nvp6114a_set_portmode portsel 0 portmode 6 setting

FTDI220 registers 64 entities to videograph.
FTDI220 Driver v3.9 (1 engine(s))
chip[0] ch[1] nvp6124_set_chnmode OK
MCP100 GM8287, built @ Jan 9 2015 14:33:17
vfmt_notify chip0 prot0, w 1280 h 720 fsp 25@@@@
FAVC Encoder v0.1.120, built @ Mar 17 2015 14:07:51 (GM8287)
H264 rate control(VG) version: 1.1.11, built @ Jan 9 2015 14:34:35
Decoder v1.0.2, built @ Jan 9 2015 14:32:27
chip[0] ch[2] nvp6124_set_chnmode OK
nvp6114a_set_portmode portsel 1 portmode 6 setting
FAVC Decoder IRQ mode(30) PLT:828X, version 0.2.140.0 built @ Jan 9 2015 14:33:48
[VCAP_ERR]: [0] VI#1 horizontal blanking channel id detect failed!
chip[0] ch[3] nvp6124_set_chnmode OK
GM8287 MJPEG, encoder v4.0.21, decoder v4.0.9, built @ Jan 9 2015 14:33:22
vfmt_notify chip0 prot1, w 1280 h 720 fsp 25@@@@
audio_init: audio driver is inserted, minor version: 0108_1051
Record(SSP:0): stream->dma_buffer = 1c80000(ffd60000), size:4000, dma_ch: 0
Playback(SSP:0): stream->dma_buffer = 1cc0000(ffd40000), size:4000, dma_ch: 1
Playback(SSP:1): stream->dma_buffer = 1ce0000(ffd20000), size:3000, dma_ch: 2
gs.ko v1.5_fixed_timestamp_order Sep 15 2015 17:11:33
GS driver, log: level(0) category(0) bmp width(64)
loop_comm.ko v0.5 Jan 13 2015 17:57:37
vpd_slave.ko v1.6_fixup_layout_rmmod Sep 14 2015 15:29:38
config_path="/mnt/mtd/"
loopcomm slave init: Bus(101) getcp_bus(103) query_bs_bus(105) pack_membus(107)
Parsing CAP vg_info version: 0.3.7
vplib v2.0 Sep 14 2015 15:29:40
config_init v0.18 Sep 14 2015 15:29:48 /mnt/mtd//gmlib.cfg
-----------------------------------------------------------------------------------
; GM8283_4CH_720P Product Configuration
[VERSION]
VERSION = 0.1

[GRAPH_TYPE]
; graph type: 1(DVR with display 3DI), 2(IPCAM)
graph_type = 1

[DISPLAY_GROUP]
; GROUP0 = lcd_vch0, lcd_vch1
; Display group method:
; 0(FRAME), 2(2FRAME), 3(2FRAME_2FRAME), 4(FRAME_FRAME)
GROUP0 = 0, 1
METHOD0 = 3

[RESOLUTION]
CONFIG0 = 1080I/960/1088

[BITRATE]
min_compressed_ratio = 20
max_bitrate = 1080I/4096K, 720P/4096K, 960H/2048K


[PLAYBACK]
; CONFIG1 = resolution_keywords/channels/total_fps/ddr_channel, ...
; default resolution keywords: 8M, 5M, 4M, 3M, 2M, 1.3M, 1M, nHD, 1080P, 720P, D1, VGA, CIF, QCIF
CONFIG1 = 1080I/4/120/0

[PLAYBACK_3DI]
; CONFIG1 = resolution_keywords/channels/total_fps/ddr_channel, ...

[ENCODE_STREAMS]
; CONFIG1 = resolution_keywords/channels/total_fps/ddr_channel, ...
CONFIG1 = 1080I/4/100/0, VGA/4/20/0
CONFIG2 = 720I/4/100/0, VGA/4/20/0
CONFIG3 = 960H/4/100/0, VGA/4/20/0


[ENCODE_CAPTURE]
; CONFIG1 = resolution_keywords/channels/total_fps/ddr_channel, ...
CONFIG1 = 1080I/4/100/0
CONFIG2 = 720I/4/100/0
CONFIG3 = 960H/4/100/0

[ENCODE_SCALER]
; CONFIG1 = resolution keywords = channels/total_fps/ddr_channel, ...
CONFIG1 = VGA/4/20/0

[ENCODE_DIDN]
; CONFIG1 = resolution_keywords/channels/total_fps/ddr_channel, ...

[RAW_OUT]
; CONFIG1 = channels/total_fps/ddr_channel, ...

[LDC_OUT]
; CONFIG1 = channels/total_fps/ddr_channel, ...

[AUDIO]
; CONFIG1 = audio_keyword/channels/sample_rate/stereo/bits/ddr_vch
CONFIG1 = au_grab/8/16K/mono/16/0, au_render/4/16K/mono/16/0
max_frame_samples = 2048
grab_buffer_time = 768
render_buffer_time = 768

[BUFFER_DISPLAY]
; Display count lcd_vch/count/ddr_channel, lcd_vch/count/ddr_channel, ...
display_count = 0/9/0

; Playback 3DI input buffer count per channel
playback_3di_input_count = 0

; Playback scaler input buffer count per channel
playback_scaler_input_count = 3

[BUFFER_BITSTREAM]
; Playback bitstream data buffer: time/ddr_vch
datain_buffer_time = 198/0

; Record bitstream data buffer: time/ddr_vch
dataout_buffer_time = 330/0

[BUFFER_CAPTURE]
; Encode capture buffer three slop: fps/count, fps/count, fps/count
CONFIG1 = 1080I/30/6, 1080I/15/4, 1080I/1/2
CONFIG2 = 960H/30/6, 960H/15/4, 960H/1/2
CONFIG3 = VGA/30/6, VGA/15/4, VGA/1/2
CONFIG4 = 720P/30/6, 720P/15/4, 720P/1/2
capture_max_fps = 30

[BUFFER_ENCODE_DIDN]
; Encode substream scaler out buffer time
encode_didn_out_buffer_count = 0

[BUFFER_SUBSTREAM]
; Encode substream scaler out buffer time
encode_scaler_out_buffer_count = 3

[BUFFER_RAW]
raw_out_buffer_count = 0

[BUFFER_LDC]
ldc_out_buffer_count = 0

[ENCODE_MOTION]
; Enable motion data under specified resolution by "motion_resolution = D1, CIF..."
; motion_resolution = CIF

[SNAPSHOT]
yuv_max_width = 352
yuv_max_height = 288
max_bitstream_size = 81920

[RESERVED_BUFFER]
; Reserved buffer ratio for seamless switching usage, such as 4CH 720P->4CH 1080P without any stop
reserved_ratio = 10

No support encode motion data information
-----------------------------------------------------------------------------------
8M 3840x2160 max_frame: 2488320 average: 138240 motion: 0
7M 3264x2176 max_frame: 2130739 average: 118374 motion: 0
6M 3072x2048 max_frame: 1887436 average: 104857 motion: 0
5M 2592x1952 max_frame: 1517875 average: 84326 motion: 0
4M 2304x1728 max_frame: 1194393 average: 66355 motion: 0
3M 2048x1536 max_frame: 943718 average: 52428 motion: 0
1080P 1920x1088 max_frame: 626688 average: 34816 motion: 0
1.3M 1280x1024 max_frame: 393216 average: 21845 motion: 0
1.2M 1280x 960 max_frame: 368640 average: 20480 motion: 0
1080I 960x1088 max_frame: 313344 average: 17476 motion: 0
1M 1280x 800 max_frame: 307200 average: 17066 motion: 0
720P 1280x 720 max_frame: 276480 average: 17476 motion: 0
960H 960x 576 max_frame: 165888 average: 8738 motion: 0
SVGA 800x 608 max_frame: 145920 average: 8106 motion: 0
720I 1280x 368 max_frame: 141312 average: 7850 motion: 0
D1 720x 576 max_frame: 124416 average: 6912 motion: 0
VGA 640x 480 max_frame: 92160 average: 5120 motion: 0
nHD 640x 368 max_frame: 70656 average: 3925 motion: 0
2CIF 368x 608 max_frame: 67123 average: 3729 motion: 0
HD1 720x 288 max_frame: 62208 average: 3456 motion: 0
CIF 368x 288 max_frame: 31795 average: 2048 motion: 0
QCIF 176x 144 max_frame: 20480 average: 2048 motion: 0

-----------------------------------------------------------------------------------
disp0_in DDR0 1024x768+720x576, method(3)
(1536KB x 2 + 810KB x 2) x 9
==> 42246KB (ddr0)

disp_scl_in DDR0 960x1088 4CH scl_in_decuple(30)
2040KB x 12
510KB x 12
==> 30648KB (ddr0)

dec_in DDR0 960x1088 4CH fps(120) time(198) aver_sz(17476) max_sz(313344) count(4)
924KB x 4 (win=306KB x2 aver=17KB x4)
==> 3696KB (ddr0)

enc_cap_out DDR0 960x1088 4CH fps(100) factor(100)
total_fps(100) remain(1CH/10fps/3) aver(3CH/90fps/18)
2040KB x 21
==> 42882KB (ddr0)

enc_out DDR0 960x1088 4CH fps(100) time(40) aver_sz(17476) max_sz(313344) count(6)
enc_out DDR0 640x480 4CH fps(20) time(200) aver_sz(5120) max_sz(92160) count(1)
924KB x 4 (win=306KB x2 aver=17KB x1)
276KB x 4 (win=90KB x2 aver=5KB x1)
==> 4800KB (ddr0)

enc_scl_out DDR0 640x480 4CH fps(20) decuple(30)
600KB x 12
==> 7224KB (ddr0)

au_grab_out DDR0 8CH 16K tracks(1) bits(16) samples(2048) latency(768) count(6)
64KB x 6
==> 396KB (ddr0)

au_render_in DDR0 4CH 16K tracks(1) bits(16) samples(2048) latency(768) count(6)
16KB x 6
==> 204KB (ddr0)

-----------------------------------------------------------------------------------
Reserved buffer ratio=10
DDR0 size=132096KB
-----------------------------------------------------------------------------------
#### Capture Count ####
RES/FPS 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 40 45 50 55 60
3840x2160 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1
3264x2176 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1
3072x2048 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1
2592x1952 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1
2304x1728 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2
2048x1536 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2
1920x1088 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 4 4 4
1280x1024 1 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 4 5 5 6 7 7
1280x 960 1 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 5 5 5 6 7 7
960x1088 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
1280x 800 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
1280x 720 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
960x 576 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
800x 608 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
1280x 368 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
720x 576 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
640x 480 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
640x 368 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
368x 608 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
720x 288 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
368x 288 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
176x 144 2 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 6 7 7 8 9 9
-----------------------------------------------------------------------------------
bufferSea_ddr0 132096 KB + 4288 KB(reserved)
(cacheable)
-----------------------------------------------------------------------
disp0_in 42246 KB (DDR0)
fill disp0_in pattern 0x10801080
DDR0 pool free size 94138KB.
disp_scl_in 30648 KB (DDR0)
DDR0 pool free size 63490KB.
dec_bs_in 3696 KB (DDR0)
DDR0 pool free size 59794KB.
enc_cap_out 42882 KB (DDR0)
fill enc_cap_out pattern 0x10801080
DDR0 pool free size 16912KB.
enc_bs_out 4800 KB (DDR0)
DDR0 pool free size 12112KB.
enc_scl_out 7224 KB (DDR0)
DDR0 pool free size 4888KB.
au_grab_out 396 KB (DDR0)
DDR0 pool free size 4492KB.
au_render_in 204 KB (DDR0)
DDR0 pool free size 4288KB.
datain v0.2 Sep 14 2015 15:29:47
dataout v0.6 Sep 14 2015 15:29:52
osd_mg_database_init......osd_type:0
osd_mg_database_init......osd_type:1
osd_mg_database_init......osd_type:2
usr_clearwin v0.21 Sep 14 2015 15:29:58
usr_clearwin init fd(0x60000000) idx(0) buffer(0x84e3e400/0x4e3e400)
usr_clearwin init fd(0x60000000) idx(1) buffer(0x852d3800/0x52d3800)
usr_clearwin init fd(0x60000000) idx(2) buffer(0x85768c00/0x5768c00)
usr_clearwin init fd(0x60000000) idx(3) buffer(0x85bfe000/0x5bfe000)
usr_clearwin init fd(0x60000000) idx(4) buffer(0x86093400/0x6093400)
usr_clearwin init fd(0x60000000) idx(5) buffer(0x86528800/0x6528800)
usr_clearwin init fd(0x60000000) idx(6) buffer(0x869bdc00/0x69bdc00)
usr_clearwin init fd(0x60000000) idx(7) buffer(0x86e53000/0x6e53000)
usr_clearwin init fd(0x60000000) idx(8) buffer(0x872e8400/0x72e8400)
usr_decode v0.1 Sep 14 2015 15:29:59
usr_snapshot v0.18 Sep 14 2015 15:29:59 (352x288, 80KB)
usr_getraw v0.5 Sep 14 2015 15:30:00
usr_cap_source v0.5 Sep 14 2015 15:30:00
usr_osg v1.9 Sep 14 2015 15:30:01
usr_osg: (ch_table) 0 ,2 ,4 ,6 ,-1 ,-1 ,-1 ,-1 ,
usr_process v0.1 Sep 14 2015 15:29:56
videograph ioctl v0.44
vpd_master.ko v1.2_fixup_rmmod Sep 14 2015 15:29:32
vpd_master: chipnr=0.
loopcomm master init: pack_membus(8106)
Slave 0:1 is ready(1).
vpslv set vpslv_dbglevel=0
vpd_master 22565
9 0 - Live 0x7f444000 (PO)
vpd_slave 733674 0 - Live 0x7f376000 (PO)
loop_comm 14375 2 vpd_master,vpd_slave, Live 0x7f36e000 (PO)
gs 203736 1Frammap: 8778 pages in DDR0 are freed.
vpd_slave, Live
0x7f32f000 (PO)write engine 0 30h spatialEn as 1 (0x80400000)

audio_drv 2007
58 1 vpd_slave, write engine 0 2Ch temporalEn as 1 (0x80002208)
Live 0x7f2f8000
(O)
codec 22042write engine 0 2Ch tdn_var_y as 6 (0x80002206)
1 1 audio_drv, L
ive 0x7f2bd000 (write engine 0 34h tdi_ext_motion_blk_th as 18 (0x7606123F)
PO)
fmjpeg_drv 74941 0 - Live 0x7f2a6000 (O)
favc_dec 199141 0 - Live 0x7f26e000 (O)
decoder 10603 2 fmjpeg_drv,favc_dec, Live 0x7f268000 (O)
favc_rc 29431 0 - Live 0x7f25d000 (O)
favc_enc 379797 1 favc_rc, Live 0x7f1fb000 (O)
fmcp_drv 109324 2 fmjpeg_drv,favc_enc, Live 0x7f1dc000 (O)
osd_dispatch 6427 1 vpd_slave, Live 0x7f1d6000 (O)
ftdi220 225195 0 - Live 0x7f19b000 (O)
fscaler300 227011 1 osd_dispatch, Live 0x7f15c000 (O)
sw_osg 78212 1 vpd_slave, Live 0x7f145000 (O)
vcap300_nvp6114a 5163 0 - Live 0x7f140000 (O)
vcap0 1646 0 - Live 0x7f13c000 (O)
vcap300_common 295413 3 vpd_slave,osd_dispatch,vcap300_nvp6114a, Live 0x7f0ec000 (O)
nvp6114a 61059 1 vcap300_nvp6114a, Live 0x7f0d8000 (O)
fe_common 6823 2 audio_drv,nvp6114a, Live 0x7f0d3000 (O)
sli10121 36941 0 - Live 0x7f0c5000 (O)
flcd200_pip2 101864 0 - Live 0x7f0a6000 (O)
flcd200_pip 101865 0 - Live 0x7f087000 (O)
flcd200_common 28774 12 sli10121,flcd200_pip2Set EM debug level(0) (0:quiet 1:get/put 2:property 3:semaphore)
,flcd200_pip, Li
Set GraphService debug level(0). (0 for error, 1 for flow, 2 for detail.)
ve 0x7f07b000 (OSet MemoryService debug level(0).
)
think2d 14824Set datain debug level(0)
1 sw_osg, Live Set dataout debug level(0)
0x7f074000 (O)
vpslv set vpslv_dbglevel=0
em 160975 12 vpdSet VPD debug level(0).
_slave,gs,audio_Debug Level:0
drv,fmjpeg_drv,favc_dec,decoder,favc_enc,ftdi220,fscaler300,vcap300_common,flcd200_pip2,flcd200_pip, Live 0x7f042000 (PO)
ms 120576 2 vpd_slave,gs, Live 0x7f01c000 (PO)
log 18946 18 vpd_master,vpd_slave,loop_comm,gs,audio_drv,fmjpeg_drv,favc_dec,decoder,favc_rc,favc_enc,fmcp_drv,ftdi220,fscaler300,vcap300_common,flcd200_pip2,flcd200_pip,em,ms, Live 0x7f012000 (PO)
frammap 20494 14 vpd_master,vpd_slave,loop_comm,audio_drv,favc_dec,favc_enc,fmcp_drv,fscaler300,sw_osg,vcap300_common,flcd200_common,think2d,em,ms, Live 0x7f000000 (O)
0x07F45D02
0x00401860
0x00000088
0x32351424
0x00002050
0x9F000009
0x06060606
0x00640012
=========================================================================
; GM8283_4CH_720P Product Configuration
RTC is 1307
RTC-PT7C4307 init...OK

Current RTC date/time is 2000-1-1 00:00:80
1.1 1.1
ProductType = ###4CH_1080P_HF_8283###
[mxml_test]: open /opt/sav/gm818x/test.xml file error!
2038-01-19 03:14:07
dt = -1200798767
gpio_offset1_virtul_addr = 0xFE00004C
gpio_offset2_virtul_addr = 0xFE000050
gpio_offset3_virtul_addr = 0xFE000058
gpio_offset4_virtul_addr = 0xFE00005C
register gpio_drv on minor = 255 (0)
*************************************
* Welcome to use irda_dev, *
*************************************
* dev_data_alloc_specific done
* gpio 16, protocol 0 ver VER:1.1
* driver_probe done, irq_no 48 io_vadr 0x915F4000, io_padr 0x99C00000 0x81D7A2C0
Welcome to use ks_dev, 20120731
* module_init_func
* register_driver
* driver_probe
dev_data_alloc_specific done
set_pinmux set as 0x50 0x00001401 OK
gpio in 37
gpio in 38
gpio in 40
gpio in 33
gpio in 35
gpio out 36
gpio out 39
gpio out 45
gpio out 46
gpio out 49
key_o_bits 0x01D20000 key_i_bits 0x062C0000
* register_cdev
driver_probe done, io_vadr 0x915FC000, io_padr 0x99D00000 0x81D7A3C0
rtusb init rt2870 --->
usbcore: registered new interface driver rt2870
--------------------------------------------------------------------
netint [ethname] [Ipaddress] [Netmask] [Gateway]
Example for set all(ip, netmask, gateway):
netinit eth0 192.168.1.100 255.255.0.0 192.168.1.1
Example for set ip :
netinit 192.168.1.34
Example for set netmask :
netinit NULL 255.255.0.0(keep original ip)
--------------------------------------------------------------------
LIBDVR(NetSetMAC 1203):ifconfig eth0 down Successful
LIBDVR(NetSetMAC 1216):ifconfig eth0 hw ether 00:09:fd:87:6c:90 Successful
HW reset
LIBDVR(NetSetMACnetinit uses obsolete (PF_INET,SOCK_PACKET)
1237):ifconfig eth0 up Successful
mac : 0-9-fd-87-6c-90
Utils : Current Network Seting===>
Ip = 192.168.1.10
Netmask = 255.255.255.0
Gateway = 192.168.1.1
Mac = 00:09:fd:87:6c:90

Press q -> ENTER to exit boot procedure? phy speed is 10, half duplex
HW reset
=========================================================================
Video Front End: nvp6114a
Video Mode: PAL
Chip Version: 82830003
RootFS Version: 00_2015-01-13
MTD Version:
=========================================================================


phy speed is 100, full duplex
HW reset
gpio_def.num = 2, Read :Rrg = 0x1401 Write Reg1 = 0x1401
gpio_def.num = 3, Read :Rrg = 0x0 Write Reg1 = 0x0
gpio_def.num = 4, Read :Rrg = 0x1401 Write Reg1 = 0x1401
gpio_def.num = 5, Read :Rrg = 0x1401 Write Reg1 = 0x1401
gpio_def.num = 7, Read :Rrg = 0x1401 Write Reg1 = 0x1401
gpio_def.num = 6, Read :Rrg = 0x1401 Write Reg1 = 0x1401
gpio_def.num = 8, Read :Rrg = 0x59008000 Write Reg1 = 0x59008000
gpio_def.num = 9, Read :Rrg = 0x59008000 Write Reg1 = 0x19008000
gpio_def.num = 15, Read :Rrg = 0x21000 Write Reg1 = 0x21000
WDT base virtual address = 93638000
LCD0: GUI content shared with LCD: 0 2

##### Apply #1 #####

##### Apply #2 #####

##### Apply #3 #####
LCD0 adjust clone. x: 8, y:0, width:704, height: 576

##### Apply #4 #####

##### Apply #5 #####

##### Apply #6 #####

##### Apply #7 #####
debug:swosg:blit range is error dest x-y(0-660) src w-h(112-48) dest w-h(640-480)
debug:swosg:do blit is error 0-1
debug:swosg:blit range is error dest x-y(0-660) src w-h(112-48) dest w-h(640-480)
debug:swosg:do blit is error 0-1
[vpd error]fire_swosg:972 vposg(fire_cnt(1)): put_and_trigger_swosg_by_fd(), error
[vpd error]fire_swosg:972 vposg(fire_cnt(1)): put_and_trigger_swosg_by_fd(), error
debug:swosg:blit range is error dest x-y(0-660) src w-h(112-48) dest w-h(640-480)
debug:swosg:do blit is error 0-1
[vpd error]fire_swosg:972 vposg(fire_cnt(1)): put_and_trigger_swosg_by_fd(), error
debug:swosg:blit range is error dest x-y(0-660) src w-h(112-48) dest w-h(640-480)
debug:swosg:do blit is error 0-1
[vpd error]fire_swosg:972 vposg(fire_cnt(1)): put_and_trigger_swosg_by_fd(), error
debug:swosg:blit range is error dest x-y(0-660) src w-h(112-48) dest w-h(640-480)
debug:swosg:do blit is error 0-1
[vpd error]fire_swosg:972 vposg(fire_cnt(1)): put_and_trigger_swosg_by_fd(), error
[vpd error]fire_swosg:972 vposg(fire_cnt(1)): put_and_trigger_swosg_by_fd(), error
[vpd error]fire_swosg:972 vposg(fire_cnt(1)): put_and_trigger_swosg_by_fd(), error
[vpd error]fire_swosg:972 vposg(fire_cnt(1)): put_and_trigger_swosg_by_fd(), error

##### Apply #8 #####


Лог help и printenv.


0GM8283 SYSTEM go.................DR 1.3 256MB
MP SPI-NOR Bootstrap v0.1
SPI020 Revision:0x10001
SPI flash ID code:ef 40 18
SPI jump setting is 3 bytes mode
Boot image offset: 0x10000. size: 0x50000. Booting Image .....


U-Boot 2013.01 (Dec 23 2015 - 12:33:06)

DRAM: 256 MiB
ROM CODE has enable I cache
SPI mode
SF: Got idcodes
00000000: ef 40 18 00 .@..
SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
flash is 3byte mode
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial

-------------------------------
ID:82830003
AC: 332 HC: 249 P1: 996 P4: 996
C6: 664 DR:1328
J: 249 H1: 398 H2: 398
-------------------------------
Net: GMAC set RMII mode
reset PHY
eth0
Warning: eth0 MAC addresses don't match:
Address in SROM is 3d:73:71:75:61:73
Address in environment is 00:42:70:00:30:22

Hit any key to stop autoboot: 3 0GM8283 SYSTEM go.................DR 1.3 256MB
MP SPI-NOR Bootstrap v0.1
SPI020 Revision:0x10001
SPI flash ID code:ef 40 18
SPI jump setting is 3 bytes mode
Boot image offset: 0x10000. size: 0x50000. Booting Image .....


U-Boot 2013.01 (Dec 23 2015 - 12:33:06)

DRAM: 256 MiB
ROM CODE has enable I cache
SPI mode
SF: Got idcodes
00000000: ef 40 18 00 .@..
SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
flash is 3byte mode
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial

-------------------------------
ID:82830003
AC: 332 HC: 249 P1: 996 P4: 996
C6: 664 DR:1328
J: 249 H1: 398 H2: 398
-------------------------------
Net: GMAC set RMII mode
reset PHY
eth0
Warning: eth0 MAC addresses don't match:
Address in SROM is 3d:73:71:75:61:73
Address in environment is 00:42:70:00:30:22

Hit any key to stop autoboot: 0
GM # help
? - alias for 'help'
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootlogo- show lcd bootlogo
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
dcache - enable or disable data cache
env - environment handling commands
erase - erase FLASH memory
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
flinfo - print FLASH memory information
fwupd - firmware upgrade from usb device for specified filename
go - start application at address 'addr'
help - print command description/usage
icache - enable or disable instruction cache
l2cache_test- Perform test of L2 cache
md - memory display
memtester- memory tester
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nm - memory modify (constant address)
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
sspi - SPI utility command
tftpboot- boot image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
GM # printenv
auimg0=u-boot_spi_RMII.bin
auimg1=uImage_828x
auimg2=rootfs-cpio_828x.squashfs.img
auimg3=mtd.img
auimgaio=flash.img
autoupdate=no
baudrate=115200
bootcmd=bootlogo hdmi;sf probe 0:0;run lm;bootm 0x2000000
bootdelay=3
cmd2=mem=256M gmmem=190M console=ttyS0,115200 user_debug=31 init=/squashfs_init root=/dev/mtdblock3 rootfstype=squashfs
cmd3=mem=256M gmmem=190M console=ttyS0,115200 user_debug=31 init=/squashfs_init root=/dev/mtdblock3 rootfstype=squashfs
cmd6=mem=256M gmmem=190M console=ttyS0,115200 user_debug=31 init=/squashfs_init root=/dev/mtdblock3 rootfstype=squashfs
cmd7=mem=256M gmmem=190M console=ttyS0,115200 user_debug=31 init=/squashfs_init root=/dev/mtdblock3 rootfstype=squashfs
ethact=eth0
ethaddr=00:42:70:00:30:22
gatewayip=10.0.1.51
ipaddr=10.0.1.52
lm=sf read 0x02000000 z
netmask=255.0.0.0
serverip=10.0.1.51
stderr=serial
stdin=serial
stdout=serial

Environment size: 921/65532 bytes
GM #


Вернуться к началу
 Профиль  
 
 Пн май 22, 2011 17:33 
Новичок

Зарегистрирован: Пн май 10, 2011 13:05
Сообщения: 456
Откуда: Moscow


Вернуться к началу
 
Сообщение 19 июн 2017, 19:22 
Не в сети
Специалист

Зарегистрирован: 22 мар 2017, 15:02
Сообщения: 290
вы что-то пытались делать и у вас не получилось или ничего не пытались и ... всё ?


Вернуться к началу
 Профиль  
 
Сообщение 19 июн 2017, 20:25 
Не в сети
Постоянный посетитель

Зарегистрирован: 09 май 2016, 08:30
Сообщения: 61
Да пытался считать полный дамп, но не понял правильно ли прописал адрес. И в конце лога не понятно.

0GM8283 SYSTEM go.................DR 1.3 256MB
MP SPI-NOR Bootstrap v0.1
SPI020 Revision:0x10001
SPI flash ID code:ef 40 18
SPI jump setting is 3 bytes mode
Boot image offset: 0x10000. size: 0x50000. Booting Image .....


U-Boot 2013.01 (Dec 23 2015 - 12:33:06)

DRAM: 256 MiB
ROM CODE has enable I cache
SPI mode
SF: Got idcodes
00000000: ef 40 18 00 .@..
SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
flash is 3byte mode
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial

-------------------------------
ID:82830003
AC: 332 HC: 249 P1: 996 P4: 996
C6: 664 DR:1328
J: 249 H1: 398 H2: 398
-------------------------------
Net: GMAC set RMII mode
reset PHY
eth0
Warning: eth0 MAC addresses don't match:
Address in SROM is 3d:73:71:75:61:73
Address in environment is 00:42:70:00:30:22

Hit any key to stop autoboot: 3 0GM8283 SYSTEM go.................DR 1.3 256MB
MP SPI-NOR Bootstrap v0.1
SPI020 Revision:0x10001
SPI flash ID code:ef 40 18
SPI jump setting is 3 bytes mode
Boot image offset: 0x10000. size: 0x50000. Booting Image .....


U-Boot 2013.01 (Dec 23 2015 - 12:33:06)

DRAM: 256 MiB
ROM CODE has enable I cache
SPI mode
SF: Got idcodes
00000000: ef 40 18 00 .@..
SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
flash is 3byte mode
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial

-------------------------------
ID:82830003
AC: 332 HC: 249 P1: 996 P4: 996
C6: 664 DR:1328
J: 249 H1: 398 H2: 398
-------------------------------
Net: GMAC set RMII mode
reset PHY
eth0
Warning: eth0 MAC addresses don't match:
Address in SROM is 3d:73:71:75:61:73
Address in environment is 00:42:70:00:30:22

Hit any key to stop autoboot: 0
GM # sf probe 0
SF: Got idcodes
00000000: ef 40 18 00 .@..
SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
flash is 3byte mode
GM # sf read 0x2000000 0x0 0x000000
GM # tftp 0x2000000 Ahd.bin 0x000000
tftpboot - boot image via network using TFTP protocol

Usage:
tftpboot [loadAddress] [[hostIPaddr:]bootfilename]
GM #

На компьютере прописал IP адрес сервера 10.0.1.51 шлюз 255.0.0.0 для tftp.


Вернуться к началу
 Профиль  
 
Сообщение 19 июн 2017, 20:42 
Не в сети
Специалист

Зарегистрирован: 22 мар 2017, 15:02
Сообщения: 290
http://www.wiki.xilinx.com/U-boot

sf read addr offset len

вы прочитали 0 байт со смещения 0

Но проблема тут скорее в команде tftp, она не умеет у вас заливать файлы, похоже. Но вообще этой команде тоже нужно давать len третьим параметром, а не 0, как у вас


Вернуться к началу
 Профиль  
 
Сообщение 21 июн 2017, 12:52 
Не в сети
Специалист
Аватара пользователя

Зарегистрирован: 15 фев 2017, 21:59
Сообщения: 115
судя по справке ваш U-Boot не может никуда отправить вашу прошивку(нет команд отправки), может только принять. Можно конечно загрузить специальный образ который сольет хоть на Samba хоть прямо на яндекс-диск(но его нет и никто делать не будет). Так что выхода два: выпативать или сливать из системы.


Вернуться к началу
 Профиль  
 
Сообщение 21 июн 2017, 14:55 
Не в сети
Постоянный посетитель

Зарегистрирован: 09 май 2016, 08:30
Сообщения: 61
Пришлось здуть флэш и на прогромматор.


Вернуться к началу
 Профиль  
 
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ Сообщений: 6 ] 

Часовой пояс: UTC + 3 часа



Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 4


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
Rambler's Top100