Приветствую! Досталась камера DS-2CD7153-E со следующей историей: работала, отключили на время, включили, работать перестала, отдали в ремонт, ремонтники решили - дохлая RAM, перепаяли, не работает, отложили на полку. Камера чудесно перешивается через tftp на любую прошивку, но поведение после прошивки неизменно - циклическая перезагрузка:
U-Boot 1.3.4-1007 (Nov 30 2010 - 15:34:43)
I2C: ready DRAM: 128 MB Flash: 16 MB ARM Clock: 297MHz DDR Clock: 243MHz Ethernet PHY: GENERIC @ 0x09 Hit Ctrl+u to stop autoboot: 3 2 1 0 the board is encrypted but sensor is NOT mt9v136 |RCV UDP pack timeout| TFTP server not found ### JFFS2 loading 'uImage' to 0x80700000 Scanning JFFS2 FS: . | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / done.
### JFFS2 load complete: 2263252 bytes loaded to 0x80700000 ## Booting kernel from Legacy Image at 80700000 ... Image Name: Linux-2.6.18_pro500-davinci_evm- Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2263188 Bytes = 2.2 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK
Starting kernel ...
Uncompressing Linux...................... done, booting the kernel.
U-Boot 1.3.4-1007 (Nov 30 2010 - 15:34:43)
I2C: ready DRAM: 128 MB Flash: 16 MB ARM Clock: 297MHz DDR Clock: 243MHz Ethernet PHY: GENERIC @ 0x09 Hit Ctrl+u to stop autoboot: 3 2 1 0 the board is encrypted but sensor is NOT mt9v136 |RCV UDP pack timeout| TFTP server not found ### JFFS2 loading 'uImage' to 0x80700000 Scanning JFFS2 FS: . | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / done.
### JFFS2 load complete: 2263252 bytes loaded to 0x80700000 ## Booting kernel from Legacy Image at 80700000 ... Image Name: Linux-2.6.18_pro500-davinci_evm- Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2263188 Bytes = 2.2 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK
Starting kernel ...
Uncompressing Linux...................... done, booting the kernel.
На некоторых прошивках бывает еще так:
BusyBox v1.2.1 (2009.02.25-11:27+0000) Built-in shell (ash) Enter 'help' for a list of davinci system commands.
Creating initial udev device nodes ... done.
etc...
При принудительной загрузке по tftp и запуске uImage, выдранного из такой же камеры, получаем следующее:
HKVS # tftpboot
TFTP from server 192.0.0.128; our IP address is 192.0.0.64 Filename 'uImage'. Load address: 0x80700000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ######################### done Bytes transferred = 1789504 (1b4e40 hex)
HKVS # bootm
## Booting kernel from Legacy Image at 80700000 ... Image Name: Linux-2.6.18_pro500-davinci_evm- Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1789440 Bytes = 1.7 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_evm-arm_v5t_le (luohui@luohui-desktop) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.104.0600975 2006-07-06)) #1 PREEMPT Thu Aug 19 15:58:08 CST 2010 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 Machine: DaVinci DM365 EVM Memory policy: ECC disabled, Data cache writeback DaVinci DM0365 variant 0x8 PLL0: fixedrate: 24000000, commonrate: 121500000, vpssrate: 243000000 PLL0: vencrate_sd: 27000000, ddrrate: 243000000 mmcsdrate: 97200000 PLL1: armrate: 297000000, voicerate: 99000000, vencrate_hd: 74250000 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: 19200 Kernel command line: console=ttyS0,115200n8 initrd=2g,1 root=/dev/ram mem=75M ip=192.0.0.64:::255.255.255.0 eth=00:40:48:5b:66:ee rst=0 por=0 TI DaVinci EMAC: kernel boot params Ethernet address: 00:40:48:5b:66:ee PID hash table entries: 512 (order: 9, 2048 bytes) Clock event device timer0_0 configured with caps set: 07 Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 75MB = 75MB total Memory: 72088KB available (2993K code, 748K data, 124K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok BUG: scheduling while atomic: swapper/0x00000002/0, CPU#0 [<c002c39c>] (dump_stack+0x0/0x14) from [<c02b7d30>] (__schedule+0x70/0x718) [<c02b7cc0>] (__schedule+0x0/0x718) from [<c02b8534>] (schedule+0xbc/0x100) [<c02b8478>] (schedule+0x0/0x100) from [<c0027048>] (__init_end+0x48/0x64) r4 = C0314000 [<c0027000>] (__init_end+0x0/0x64) from [<c00088d8>] (start_kernel+0x230/0x28c) r4 = C03B860C [<c00086a8>] (start_kernel+0x0/0x28c) from [<80008030>] (0x80008030) r5 = C03AEF04 r4 = 00053175 NET: Registered protocol family 16 MUX: initialized SPI1_SDO Pin SPI1_SDENA1 already used for SPI1_SDI. DaVinci: 104 gpio irqs DM365 IPIPE initialized in Single Shot mode Generic PHY: Registered new driver ch0 default output "COMPOSITE", mode "NTSC" VPBE Encoder Initialized dm365_afew_hw_init SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub NET: Registered protocol family 2 BUG: scheduling while atomic: swapper/0x00000002/0, CPU#0 [<c002c39c>] (dump_stack+0x0/0x14) from [<c02b7d30>] (__schedule+0x70/0x718) [<c02b7cc0>] (__schedule+0x0/0x718) from [<c00290c4>] (cpu_idle+0x9c/0xc4) [<c0029028>] (cpu_idle+0x0/0xc4) from [<c0027058>] (__init_end+0x58/0x64) r6 = C031A7E4 r5 = C03AEA48 r4 = C0314000 [<c0027000>] (__init_end+0x0/0x64) from [<c00088d8>] (start_kernel+0x230/0x28c) r4 = C03B860C [<c00086a8>] (start_kernel+0x0/0x28c) from [<80008030>] (0x80008030) r5 = C03AEF04 r4 = 00053175 BUG: scheduling while atomic: swapper/0x00000002/0, CPU#0 [<c002c39c>] (dump_stack+0x0/0x14) from [<c02b7d30>] (__schedule+0x70/0x718) [<c02b7cc0>] (__schedule+0x0/0x718) from [<c00290c4>] (cpu_idle+0x9c/0xc4) [<c0029028>] (cpu_idle+0x0/0xc4) from [<c0027058>] (__init_end+0x58/0x64) r6 = C031A7E4 r5 = C03AEA48 r4 = C0314000 [<c0027000>] (__init_end+0x0/0x64) from [<c00088d8>] (start_kernel+0x230/0x28c) r4 = C03B860C [<c00086a8>] (start_kernel+0x0/0x28c) from [<80008030>] (0x80008030) r5 = C03AEF04 r4 = 00053175 BUG: scheduling while atomic: swapper/0x00000002/0, CPU#0 [<c002c39c>] (dump_stack+0x0/0x14) from [<c02b7d30>] (__schedule+0x70/0x718) [<c02b7cc0>] (__schedule+0x0/0x718) from [<c00290c4>] (cpu_idle+0x9c/0xc4) [<c0029028>] (cpu_idle+0x0/0xc4) from [<c0027058>] (__init_end+0x58/0x64) r6 = C031A7E4 r5 = C03AEA48 r4 = C0314000 [<c0027000>] (__init_end+0x0/0x64) from [<c00088d8>] (start_kernel+0x230/0x28c) r4 = C03B860C [<c00086a8>] (start_kernel+0x0/0x28c) from [<80008030>] (0x80008030) r5 = C03AEF04 r4 = 00053175 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 4096 bind 2048) TCP reno registered Pin SPI1_SDENA1 already used for SPI1_SDI. Memory size is 128MB load boot params from flash 0 v2 20at liryp eoosioulicyefWDichmearmoed SDeog PPesog Ned oy 2Iio41Y ice=D oCs4:TI DaVinci EMLirsd0 van: AF Driver initialize#:mi AEW Driver initialiias Da Fox1cex-bk FExa0x BUG: scheduling while atomic: swapper/0x00000002/0, CPU#0 [<c002c39c>] (dump_stack+0x0/0x14) from [<c02b7d30>] hu1 hnd1- 1d BUG: scheduling while atomic: swapper/0x00000002/0, CPU#0 [<c002c39c>] (dump_stack+0x0/0x14) from [<c02b7d30>] (__schedule+0x70/0x718) [<c02b7cc0>] (__schedule+0x0/0x718) from [<c00290c4>] (cpu_idle+0x9c/0xc4) [<c0029028>] (cpu_idle+0x0/0xc4) fr5AE4 40<c0>n0x) <c8>rl+0 r3B [6atne0xricpg 000e:000mount filesystem ok. loading rootfs ... done. reset pin hold times: 0=0, 1=0, 2=0 BUG: scheduling while atomic: swapper/0x00000002/0, CPU#0 [<c002c39c>] (dump_stack+0x0/0x14) from [<c02b7d30>] (__schedule+0x70/0x718) [<c02b7cc0>] (__schedule+0x0/0x718) from [<c00290c4>] (cpu_idle+0x9c/0xc4) [<c0029028>] (cpu_idle+0x0/0xc4) from [<c0027058>] (__init_end+0x58/0x64) r6 = C031A7E4 r5 = C03AEA48 r4 = C0314000 [<c0027000>] (__init_end+0x0/0x64) from [<c00088d8>] (start_kernel+0x230/0x28c) r4 = C03B860C [<c00086a8>] (start_kernel+0x0/0x28c) from [<80008030>] (0x80008030) r5 = C03AEF04 r4 = 00053175 BUG: scheduling while atomic: swapper/0x00000002/0, CPU#0 [<c002c39c>] (dump_stack+0x0/0x14) from [<c02b7d30>] (__schedule+0x70/0x718) [<c02b7cc0>] (__schedule+0x0/0x718) from [<c00290c4>] (cpu_idle+0x9c/0xc4) [<c0029028>] (cpu_idle+0x0/0xc4) from [<c0027058>] (__init_end+0x58/0x64) r6 = C031A7E4 r5 = C03AEA48 r4 = C0314000 [<c0027000>] (__init_end+0x0/0x64) from [<c00088d8>] (start_kernel+0x230/0x28c) r4 = C03B860C [<c00086a8>] (start_kernel+0x0/0x28c) from [<80008030>] (0x80008030) r5 = C03AEF04 r4 = 00053175 i2c_davinci: ARDY BUG: scheduling while atomic: swapper/0x00000002/0, CPU#0 [<c002c39c>] (dump_stack+0x0/0x14) from [<c02b7d30>] (__schedule+0x70/0x718) [<c02b7cc0>] (__schedule+0x0/0x718) from [<c00290c4>] (cpu_idle+0x9c/0xc4) [<c0029028>] (cpu_idle+0x0/0xc4) from [<c0027058>] (__init_end+0x58/0x64) r6 = C031A7E4 r5 = C03AEA48 r4 = C0314000 [<c0027000>] (__init_end+0x0/0x64) from [<c00088d8>] (start_kernel+0x230/0x28c) r4 = C03B860C [<c00086a8>] (start_kernel+0x0/0x28c) from [<80008030>] (0x80008030) r5 = C03AEF04 r4 = 00053175 BUG: scheduling while atomic: swapper/0x00000002/0, CPU#0 [<c002c39c>] (dump_stack+0x0/0x14) from [<c02b7d30>] (__schedule+0x70/0x718) [<c02b7cc0>] (__schedule+0x0/0x718) from [<c00290c4>] (cpu_idle+0x9c/0xc4) [<c0029028>] (cpu_idle+0x0/0xc4) from [<c0027058>] (__init_end+0x58/0x64) r6 = C031A7E4 r5 = C03AEA48 r4 = C0314000 [<c0027000>] (__init_end+0x0/0x64) from [<c00088d8>] (start_kernel+0x230/0x28c) r4 = C03B860C [<c00086a8>] (start_kernel+0x0/0x28c) from [<80008030>] (0x80008030) r5 = C03AEF04 r4 = 00053175 i2c_davinci: ARDY BUG: scheduling while atomic: swapper/0x00000002/0, CPU#0 [<c002c39c>] (dump_stack+0x0/0x14) from [<c02b7d30>] (__schedule+0x70/0x718) [<c02b7cc0>] (__schedule+0x0/0x718) from [<c00290c4>] (cpu_idle+0x9c/0xc4) [<c0029028>] (cpu_idle+0x0/0xc4) from [<c0027058>] (__init_end+0x58/0x64) r6 = C031A7E4 r5 = C03AEA48 r4 = C0314000 [<c0027000>] (__init_end+0x0/0x64) from [<c00088d8>] (start_kernel+0x230/0x28c) r4 = C03B860C [<c00086a8>] (start_kernel+0x0/0x28c) from [<80008030>] (0x80008030) r5 = C03AEF04 r4 = 00053175 BUG: scheduling while atomic: swapper/0x00000002/0, CPU#0 [<c002c39c>] (dump_stack+0x0/0x14) from [<c02b7d30>] (__schedule+0x70/0x718) [<c02b7cc0>] (
И ребут! Процессор приказал долго жить? Куда копать?
Ты не один с такой камерой. На форуме обсуждалось разное с такой. http://www.hikvision.msk.ru/forum/4-2783-1 и многие другие... В других, для которых приходилось пересобирать прошивку, чтобы она нормально прошилась в камеру, потому ка были проблемы с ОЗУ. Был ааналогичная ситуация с ОЗУ микросхемами. Чем закончилось, не знаю, человек не отписался. Возможно эта у всех камер со временем наступает или.... Мотивация, направление, посыл ;) "Вспоминание" паролей Dahua SmartPSS, Hikvision iVMS4200, генерация временного для Uniview. Исследования IT. www.iTuneDVR.ru
Сообщение отредактировал iTuneDVR - Четверг, 11.06.2015, 17:04
Почитал на Вашем форуме об аналогичном сообщении (NOT mt9v136), к чему оно? Причина?
Да это может и не иметь прямого отношения. Загрузчик не изменен в камерах и грузиться будет всегда то, что в других блоках, ему по барабану. Про замену ОЗУ читал, однако надо пошарить в u-boot , может там какие тесты есть погонять. Да и всё-таки иные прошивки попробовать, потому как может и в этом дело. Уж очень много во втором спойлере BUG's С другой стороны может не стоит так цепляться за неё??? Мотивация, направление, посыл ;) "Вспоминание" паролей Dahua SmartPSS, Hikvision iVMS4200, генерация временного для Uniview. Исследования IT. www.iTuneDVR.ru
Alexandr Точную версию сейчас не скажу, на данный момент какая-то из троечек, собственно, такая-же как и на одной из камер с которой сливал uImage
Alexandr, iTuneDVR Пробовал заливать все прошивки от 3.хх до 5.2 - результат нулевой. Попробую посмотреть на предмет тестов в u-boot. Спасибо! Жалко железку, вроде не старая еще
Кстати, на сколько понимаю, на плате стоит encryption чип (что-то типа i2c flash?) он не может "мозги сносить"?
точно не скажу, нет корректных мануалов к диагностике на таком уровне. только наитие и догадки. отключите сенсор и попробуйте старт, я бы так попробовал сначала дабы исключить и глянуть как отреагирует прошивка.