Right, so all the bits and pieces arrived and I now have console access!!
To recap, the *only* firmware that appears to write successfully and complete is 5.4.5_170123 with the lang = 2, all other attempts fail, even the 5.3 downgrade 1 and 4 line files! I am guessing there is something in the 5.4.5 update that has applied that is now preventing in downgrade from taking place :-(
Here is a console log of the 5.4.5 update and following boot:-
Code:
5.4.5 Language = 2
U-Boot 1.3.4-121219 (Apr 8 2015 - 14:34:29)
ARM Clock: 480MHz
DDR Clock: 336MHz
Hit Ctrl+u to stop autoboot: 0
[ INFO][MIN]FORMAT: Formatting Flash
[ INFO][MIN]FORMAT: ...................................
[ INFO][MIN]FORMAT: Format Flash [OK]
[ INFO][MIN]TFTP: TFTP from server 192.0.0.128
[ INFO][MIN]TFTP: Filename: 'digicap.dav'
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ####################################
[ INFO][MIN]TFTP: Download File [OK]
[ INFO][MIN]BURN: File size is 23458645 bytes (22908 KB)
[UPG][DEBUG_NOTICE][ext/sys_firm_version.c][firm_version_check][435]:i=1,szFileName=_cfgUpgClass,iFirmOffset=0x1004
[UPG][DEBUG_NOTICE][ext/sys_firm_version.c][firm_version_check][479]:####### iFirmVers=0x5040005, sys firm version check ok #######
[UPG][DEBUG_NOTICE][ext/sys_firm_version.c][firm_version_upgrade][626]:####### iFirmVers=0x5040005,iDevsVers=0x5040005,iBase=0x0,iMask=0xffff0000 #######
[ INFO][MIN]BURN: Writing Flash
[ INFO][MIN]BURN: ..............................................................
[ INFO][MIN]BURN: Write Flash [OK]
***** UPDATE COMPLETE *****
# reset
The system is going down NOW!
Sent SIGTERM to all processes
Terminated
Sent SIGKILL to all processes
Requesting system reboot
U-Boot 1.3.4-121219 (Apr 8 2015 - 14:34:29)
ARM Clock: 480MHz
DDR Clock: 336MHz
Hit Ctrl+u to stop autoboot: 0
|RCV UDP pack timeout|
Unknown command:null
booting from pri part...
load kernel...
load ramdisk...
init started: BusyBox v1.19.3 (2017-01-13 20:51:32 CST)
starting pid 376, tty '': '/etc/init.d/rcS'
Starting udev: [ OK ]
UBI device number 1, total 192 LEBs (24772608 bytes, 23.6 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
waiting for /dev/ubi1_0.
pri_iUpgSuccCnt:0x1, sec_iUpgSuccCnt:0x1
UBI device number 3, total 32 LEBs (4128768 bytes, 3.9 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
waiting for /dev/ubi3_0.
Check dir /davinci ok! (0)
UBI device number 4, total 31 LEBs (3999744 bytes, 3.8 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
waiting for /dev/ubi4_0.
Check dir /config ok! (0)
diagnose_way = 10, repair_way = 1, interval = 60
route: ioctl 0x890c failed: No such process
mount: mounting none on /proc/bus/usb failed: No such file or directory
/dav
map_size = 0x300000
nr_item = 3
addr_offset = 0x0 filename = orccode.bin
addr_offset = 0x200000 filename = orcme.bin
addr_offset = 0x2a0000 filename = default_binary.bin
mmap returns 0x40338000
loading ./orccode.bin...addr = 0x40338000, size = 0x1a0a91
loading ./orcme.bin...addr = 0x40538000, size = 0x3a4fc
loading ./default_binary.bin...addr = 0x405d8000, size = 0x40000
===============================
u_code version = 2016/4/6 3.0
===============================
ln: /dev/rtc: File exists
=====check_config start=====
===db file doesn't exist===
===db file doesn't exist===
==== both config files are broken====
FSP_network_protocol_5.3.5_net_1.6.1 netprocess version: 1.6.1 [17:24:18-Jan 13 2017].
No need to recover kernel pri partition.
No need to recover ramdisk pri partition.
[03-08 14:08:17][pid:846][STRM_ANLS][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[03-08 14:08:17][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[03-08 14:08:17][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[03-08 14:08:17][pid:842][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
infd read End
Unix bus 0 .
[03-08 14:08:18][pid:842][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[03-08 14:08:18][pid:846][STRM_ANLS][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[03-08 14:08:18][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[03-08 14:08:18][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[03-08 14:08:19][pid:842][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[03-08 14:08:19][pid:846][STRM_ANLS][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[03-08 14:08:19][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[03-08 14:08:19][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[03-08 14:08:20][pid:842][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[03-08 14:08:20][pid:846][STRM_ANLS][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[03-08 14:08:20][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[03-08 14:08:20][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
IEfile uncompressed.
[03-08 14:08:21][pid:842][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[03-08 14:08:21][pid:846][STRM_ANLS][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[03-08 14:08:21][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[03-08 14:08:21][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[03-08 14:08:22][pid:842][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[03-08 14:08:22][pid:846][STRM_ANLS][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[03-08 14:08:22][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[03-08 14:08:22][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[03-08 14:08:23][pid:842][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[03-08 14:08:23][pid:846][STRM_ANLS][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[03-08 14:08:23][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[03-08 14:08:23][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[03-08 14:08:24][pid:842][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[03-08 14:08:24][pid:846][STRM_ANLS][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[03-08 14:08:24][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[03-08 14:08:24][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[03-08 14:08:25][pid:842][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[03-08 14:08:25][pid:846][STRM_ANLS][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[03-08 14:08:25][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[03-08 14:08:25][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[03-08 14:08:26][pid:842][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[03-08 14:08:26][pid:846][STRM_ANLS][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[03-08 14:08:26][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[03-08 14:08:26][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[03-08 14:08:27][pid:846][STRM_ANLS][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[03-08 14:08:27][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[03-08 14:08:27][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[03-08 14:08:27][pid:842][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
Unix bus End
insmod: can't insert 'uart232.ko': File exists
[03-08 14:08:28][pid:862][OTHER][ERROR]db /davinci/ipc_db does not exist
[03-08 14:08:28][pid:862][OTHER][ERROR]db /config/ipc_db_backup does not exist
powerLineFrequencyMode = 0
@@@motion PAL!!!!!!!!!!!!!!!!!
[03-08 14:08:28][pid:862][UNI_IF][ERROR]stream request out range 3(2)
sqlite3_get_table:1, no such table: db_version
sqlite3_get_table:1, no such table: sec_lock_auth_db_info
[03-08 14:08:28][pid:862][OTHER][ERROR]db_query_open_v2 error: 1
sqlite3_get_table:1, no such table: netconfig_table
sqlite3_get_table:1, no such table: wep_encrypt_info
[03-08 14:08:28][pid:862][OTHER][ERROR] db_query_open_v2 err
sqlite3_get_table:1, no such table: wep_key_list
[03-08 14:08:28][pid:862][OTHER][ERROR] db_query_open_v2 err
sqlite3_get_table:1, no such table: ipaddr_list
[03-08 14:08:28][pid:862][OTHER][ERROR] db_query_open_v2 err
sqlite3_get_table:1, no such table: local_port_list
[03-08 14:08:28][pid:862][OTHER][ERROR] db_query_open_v2 err
sqlite3_get_table:1, no such table: pppoe_config_info
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
starting pid 873, tty '': '-/bin/psh'
BusyBox v1.2.1-171136 Protect Shell (psh)
Enter 'help' for a list of davinci system commands.
# davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
===maxEnchan: 1
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
[03-08 14:08:36][pid:862][OTHER][ERROR]can not open file /config/ipc_db_backup
[03-08 14:08:36][pid:862][OTHER][ERROR]ipc_db_backup need backup.
<init_run>3902:p_devcfg->ccdPara[1].capture_mode [0]
<MEGA_DSP>Platform Value:
<MEGA_DSP>Main mux type [0x4].
<MEGA_DSP>Sub mux type [0x4].
<MEGA_DSP>Thi mux type [0x2].
<MEGA_DSP>audio enc type[0x2].
<MEGA_DSP>voicetalk type[0x2].
<MEGA_DSP>Need PS SysHdr[0].
[03-08 14:08:36][pid:862][HW_IF][ERROR]<INIT485>:x=9,maxBaudIdx=15,/dev/uart1
[03-08 14:08:36][pid:862][HW_IF][ERROR]<INIT485>set...baudrate=9600,data=3,stop=0,parity=0,flowcontrol=0
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
<DSP> DBG:init_dsp_lib() begin
<DSP> DBG:init_dsp_lib() end
[03-08 14:08:41][pid:862][DSP][ERROR][2]g_pdsp->audioTBShare.frameLen=80, g_pdsp->audioTBShare.totalFrame=128..
[03-08 14:08:41][pid:862][SYSINIT][ERROR]max_fps=0...
[03-08 14:08:41][pid:862][SYSINIT][ERROR]max_fps=0...
[03-08 14:08:41][pid:862][SYSINIT][ERROR]max_fps=0...
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
mknod: /dev/snd/controlC0: File exists
mknod: /dev/snd/pcmC0D0c: File exists
mknod: /dev/snd/pcmC0D0p: File exists
dsp_init: Unsupported viType=0
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
[03-08 14:08:51][pid:862][SYSINIT][ERROR]hwif_dsp_init error force sys reboot,ret=-12!!!!
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
U-Boot 1.3.4-121219 (Apr 8 2015 - 14:34:29)
ARM Clock: 480MHz
DDR Clock: 336MHz
Hit Ctrl+u to stop autoboot: 1
HKVS #
HKVS #
And here is the info from dmesg
Code:
# dmesg
Linux version 2.6.38.8 (chenyuanming@Cpl-Frt-BSP) (gcc version 4.9.1 20140625 (prerelease) (crosstool-NG - Ambarella Linaro Multilib GCC [CortexA9 & ARMv6k] 2014.06) )
#2 PREEMPT Wed Apr 8 14:56:41 CST 2015
CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Coconut
Ignoring unrecognised tag 0x44000426
Memory policy: ECC disabled, Data cache writeback
Ambarella: AHB = 0x60000000[0xf0000000],0x01000000 0
Ambarella: APB = 0x70000000[0xf1000000],0x01000000 0
Ambarella: PPM = 0xc0000000[0xe0000000],0x00200000 9
Ambarella: BSB = 0xc8c00000[0xe8c00000],0x00400000 9
Ambarella: DSP = 0xc9000000[0xe9000000],0x07000000 9
Ambarella: HAL = 0xc00a0000[0xfee00000],0x0000e708 9
On node 0 totalpages: 25344
free_area_init_node: node 0, pgdat c0579df0, node_mem_map c059a000
Normal zone: 198 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 25146 pages, LIFO batch:7
bootmem_init: high_memory = 0xc8a00000
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 25146
Kernel command line: console=ttyS0 dbg=0 IP=192.0.0.64 MASK=255.255.255.0 GW=0.0.0.0 SERVER=192.0.0.128 MS_ACTION=auto_update video=amb0fb:720x480,720x480,1,0
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 99MB = 99MB total
Memory: 90588k/90588k available, 10788k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xfe600000 - 0xfee00000 ( 8 MB)
vmalloc : 0xc9000000 - 0xe0000000 ( 368 MB)
lowmem : 0xc0000000 - 0xc8a00000 ( 138 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0315000 (3124 kB)
.text : 0xc0315000 - 0xc055b000 (2328 kB)
.data : 0xc055c000 - 0xc057a4a0 ( 122 kB)
Preemptable hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:224
sched_clock: 32 bits at 72MHz, resolution 13ns, wraps every 59652ms
sched_clock: wrong multiply/shift: 1864135111>>27 vs calculated 3728270222>>28
sched_clock: fix multiply/shift to avoid scheduler hiccups
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 351.43 BogoMIPS (lpj=1757184)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Ambarella Coconut:
chip id: 5100
board type: 3
board revision: 10
chip name: a5m
HAL version: 176869
reference clock: 24000000
system configuration: 0x173804ea
boot type: 0x00000002
hif type: 0x00000000
bio: create slab <bio-0> at 0
ambarella-spi ambarella-spi.0: ambarella SPI Controller 0 created
ambarella-i2c ambarella-i2c.0: Ambarella Media Processor I2C adapter[i2c-0] probed!
ambarella-i2c ambarella-i2c.1: Ambarella Media Processor I2C adapter[i2c-1] probed!
i2c i2c-0: Added multiplexed i2c bus 2
ambarella-i2cmux ambarella-i2cmux.0: mux on ambarella-i2c adapter
Switching to clocksource ambarella-cs-timer
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
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
Unpacking initramfs...
Initramfs unpacking failed: junk in compressed archive
Freeing initrd memory: 4096K
[ kernel version: svn-121243 ]
mmc0 power register success!
mmc1 power register success!
use default reserved area information!
reboot times :13
msgmni has been set to 184
io scheduler noop registered
io scheduler deadline registered (default)
ambarella-uart.0: ttyS0 at MMIO 0x70005000 (irq = 9) is a ambuart
NAND device: Manufacturer ID: 0x98, Chip ID: 0xf1 (Toshiba NAND 128MiB 3,3V 8-bit)
ambarella_nand_config_flash: 0x02e00140, 0x02c00140
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: Bad block at 0x000006000000
ambarella-nand ambarella-nand: ambarella_nand_probe: Partition infomation found!
Creating 18 MTD partitions on "ambnand":
0x000000000000-0x000000020000 : "bst"
0x000000020000-0x000000120000 : "ptb"
0x000000120000-0x000000220000 : "bld"
0x000000220000-0x000000320000 : "hal"
0x000000320000-0x000000420000 : "ano_ptb"
0x000000420000-0x0000004a0000 : "env"
0x0000004a0000-0x000000520000 : "param"
0x000000520000-0x000000620000 : "dpt"
0x000000620000-0x000001020000 : "rcvy"
0x000001020000-0x000001820000 : "krn_pri"
0x000001820000-0x000002020000 : "krn_sec"
0x000002020000-0x000002420000 : "rmd_pri"
0x000002420000-0x000002820000 : "rmd_sec"
0x000002820000-0x000004020000 : "app_pri"
0x000004020000-0x000005820000 : "app_sec"
0x000005820000-0x000005c20000 : "cfg_pri"
0x000005c20000-0x000006020000 : "cfg_sec"
0x000006020000-0x000007020000 : "dbg"
Ambarella MII Bus: probed
ambarella-eth ambarella-eth.0: MAC Address[28:57:be:09:b7:53].
mousedev: PS/2 mouse device common for all mice
ambarella-rtc ambarella-rtc: rtc core: registered ambarella-rtc as rtc0
i2c /dev entries driver
ambarella-wdt ambarella-wdt: Ambarella Media Processor Watch Dog Timer[ambarella-wdt].
TCP cubic registered
NET: Registered protocol family 17
ambarella-rtc ambarella-rtc: setting system clock to 2017-03-08 14:20:41 UTC (1488982841)
Freeing init memory: 3124K
net eth0: Could not find default PHY in 9.
net eth0: Try PHY[3] whose id is 0x001cc816!
UBI: attaching mtd13 to ubi1
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: max. sequence number: 0
UBI: attached mtd13 to ubi1
UBI: MTD device name: "app_pri"
UBI: MTD device size: 24 MiB
UBI: number of good PEBs: 192
UBI: number of bad PEBs: 0
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 0
UBI: available PEBs: 186
UBI: total number of reserved PEBs: 6
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 105/60
UBI: image sequence number: 2076122482
UBI: background thread "ubi_bgt1d" started, PID 319
UBIFS: default file-system created
UBIFS: mounted UBI device 1, volume 0, name "app_pri"
UBIFS: file system size: 22837248 bytes (22302 KiB, 21 MiB, 177 LEBs)
UBIFS: journal size: 1161216 bytes (1134 KiB, 1 MiB, 9 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 103599 bytes (101 KiB)
Can anybody see from the above why my Hikvision is in a boot loop and fails to appear within SADP?
I have the logs from the 5.3.5 install and you can clearly see the firmware upgrade being blocked by a version mismatch check!
digicap.cn-5.30.150513dav
=========================
U-Boot 1.3.4-121219 (Apr 8 2015 - 14:34:29)
ARM Clock: 480MHz
DDR Clock: 336MHz
Hit Ctrl+u to stop autoboot: 1
HKVS #
HKVS #
úKVS # reset
U-Boot 1.3.4-121219 (Apr 8 2015 - 14:34:29)
ARM Clock: 480MHz
DDR Clock: 336MHz
Hit Ctrl+u to stop autoboot: 0
[ INFO][MIN]FORMAT: Formatting Flash
[ INFO][MIN]FORMAT: ...................................
[ INFO][MIN]FORMAT: Format Flash [OK]
[ INFO][MIN]
TFTP: TFTP from server 192.0.0.128
[ INFO][MIN]TFTP: Filename: 'digicap.dav'
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ###########################################################################
[ INFO][MIN]TFTP: Download File [OK]
[ INFO][MIN]BURN: File size is 20360391 bytes (19883 KB)
[UPG][DEBUG_NOTICE][ext/sys_firm_version.c][firm_version_check][435]:i=1,szFileName=_cfgUpgClass,iFirmOffset=0xe9c
[UPG][DEBUG_NOTICE][ext/sys_firm_version.c][firm_version_check][479]:####### iFirmVers=0x5030000, sys firm version check ok #######
[UPG][DEBUG_NOTICE][ext/sys_firm_version.c][firm_version_upgrade][626]:####### iFirmVers=0x5030000,iDevsVers=0x5040005,iBase=0x0,iMask=0xffff0000 #######
[UPG][RT_ERROR][ext/sys_firm_version.c][firm_version_upgrade][628]:[UPG_ASSERT] (unsigned int)(iFirmVers) >= (iDevsVers & pVerInfo->iMask) fail to eRetVal -1=0xffffffff!
[ INFO][MIN]BURN: digicap package error!!!
[ INFO][MIN]BURN: Write Flash [FAIL] error: write flash.
!!!!! UPDATE FAIL !!!!!
BusyBox v1.2.1 Protect Shell (psh)
Enter 'help' for a list of davinci system commands.
#
If you look at the line :-
[UPG][RT_ERROR][ext/sys_firm_version.c][firm_version_upgrade][628]:[UPG_ASSERT] (unsigned int)(iFirmVers) >= (iDevsVers & pVerInfo->iMask) fail to eRetVal -1=0xffffffff!
....it appears to be checking to see which version you are looking to upgrade to, ensuring it is greater than I am guessing the existing version?
Any thoughts gratefully received
