Восстановление прошивки и сброс пароля XM с помощью USB UART
Re: Восстановление прошивки и сброс пароля XM с помощью USB
Как появился ореол? Просто интересно любое не стандартное проявление на сенсорах всякой нечести.dede писал(а):Aptina AR0130
Re: Восстановление прошивки и сброс пароля XM с помощью USB
После прожига, возможно очаг нагрева был именно в том месте и это как-то повлияло. На обоих модулях в одном и том же месте, но для использования не критично.
Re: Восстановление прошивки и сброс пароля XM с помощью USB
Мне периодически попадаются аналоговые камеры с разными косяками на сенсоре. Начиная от простого выгорания сенсора и заканчивая разными перемешиваниями цветов, причем до этого камеры работали долгое время и проблем никаких не возникало. В каких-то случаях виновата прошивка аналоговой камеры, в каких-то проблема с процессором, в каких-то проблема с самим сенсором.dede писал(а):После прожига, возможно очаг нагрева был именно в том месте и это как-то повлияло. На обоих модулях в одном и том же месте, но для использования не критично.
- kROOT
- Специалист
- Сообщения: 13808
- Зарегистрирован: 02 сен 2013, 14:25
- Откуда: youcam.pro
- Контактная информация:
Re: Восстановление прошивки и сброс пароля XM с помощью USB
Ореол на ярких местах у меня появлялся на одной камере, когда на сенсоре был отколот маленький кусочек стекла.
Re: Восстановление прошивки и сброс пароля XM с помощью USB
У меня есть такие сенсоры с отколотыми краями, ореол на них не был замечен ни разу, может просто не такой уж и значительный скол потому и не видно.kROOT писал(а):Ореол на ярких местах у меня появлялся на одной камере, когда на сенсоре был отколот маленький кусочек стекла.
Re: Восстановление прошивки и сброс пароля XM с помощью USB
Помогите восстановить NVR NBD8908T-Q. При загрузке на экране цветные полосы, иногда доходит до заставки H.265 NVR. Подключил по uart, но у меня команда sf probe 0 не работает, не знаю, что дальше делать.
Re: Восстановление прошивки и сброс пароля XM с помощью USB
покажите лог загрузки, вывод printenv и helplego23 писал(а):Помогите восстановить NVR NBD8908T-Q. При загрузке на экране цветные полосы, иногда доходит до заставки H.265 NVR. Подключил по uart, но у меня команда sf probe 0 не работает, не знаю, что дальше делать.
Re: Восстановление прошивки и сброс пароля XM с помощью USB
Лог загрузки
Вывод printenv:
Вывод HELP
Код: Выделить всё
Bootrom start
Boot from NAND
Starting fastboot ...
System startup
DDRS
Reg Version: v1.1.0
Reg Time: 2016/1/18 14:00:27
Reg Name: hi3798mdmo1f_hi3798mv100_ddr3_1gbyte_16bitx2_2layers_nand.reg
Relocate Boot to DDR
Jump to DDR
Fastboot 3.3.0-svn697 (chenwenrong@localhost.localdomain) (Feb 28 2017 - 09:44:46)
Fastboot: Version 3.3.0
Build Date: Feb 28 2017, 09:45:54
CPU: Hi3798Mv100
Boot Media: NAND
DDR Size: 512MB
Check nand flash controller v610. found
Special NAND id table Version 1.36
Nand ID: 0xC2 0xF1 0x80 0x95 0x02 0x00 0x00 0x00
Nand: Unknown MX30LF1G18AC
Nand(HW-Auto): Block:128KB Page:2KB OOB:64B ECC:4bit/512 Chip:128MB*1
Boot Env on NAND
Env Offset: 0x00200000
Env Size: 0x00020000
Env Range: 0x00020000
HI_OTP_LockIdWord,313: ID_WORD have already been locked
LT8612EX_loadCode
lt8612ex:============================LT8612EX_loadCode_u-boot===========================
vendor_id = 0x8612
at Lt8612exReset_reset() <<<ENTER>>>
lt8612ex driver init successful!
SDK Version: HiSTBLinuxV100R003C00SPC060
LT8612EX_loadCode
lt8612ex:============================LT8612EX_loadCode_u-boot===========================
vendor_id = 0x8612
at Lt8612exReset_reset() <<<ENTER>>>
lt8612ex driver init successful!
(Re)start USB...
USB0: Register 1212 NbrPorts 2
USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
USB1: Register 1111 NbrPorts 1
USB EHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
NO Such file: baseparam-x.img on usb device
at xm_update_to_flash() usb_file_check baseparam-x.img Failed.
NO Such file: u-boot.bin.img on usb device
at xm_update_to_flash() usb_file_check u-boot.bin.img Failed.
NO Such file: u-boot.env.bin.img on usb device
at xm_update_to_flash() usb_file_check u-boot.env.bin.img Failed.
NO Such file: romfs-x.squashfs.img on usb device
at xm_update_to_flash() usb_file_check romfs-x.squashfs.img Failed.
NO Such file: custom-x.squashfs.img on usb device
at xm_update_to_flash() usb_file_check custom-x.squashfs.img Failed.
NO Such file: web-x.squashfs.img on usb device
at xm_update_to_flash() usb_file_check web-x.squashfs.img Failed.
NO Such file: logo-x.squashfs.img on usb device
at xm_update_to_flash() usb_file_check logo-x.squashfs.img Failed.
NO Such file: user-x.squashfs.img on usb device
at xm_update_to_flash() usb_file_check user-x.squashfs.img Failed.
NO Such file: mtd-x.yaffs2.img on usb device
at xm_update_to_flash() usb_file_check mtd-x.yaffs2.img Failed.
NO Such file: ubootlogo-x.img on usb device
at xm_update_to_flash() usb_file_check ubootlogo-x.img Failed.
NO Such file: update.img on usb device
at xm_update_to_flash() usb_file_check update.img Failed.
NO Such file: upall_verify.img on usb device
at xm_update_to_flash() usb_file_check upall_verify.img Failed.
at Logo_Main() if (g_stDispParam0.enSrcDisp != HI_UNF_DISPLAY1) >>>>>>>
at printClkArray() clkCount:5 :
0: 0x12205,1: 0x12205,2: 0x12205,3: 0x12205,4: 0x12205,
at Input_Mode_Det() pInModeMgr->lastDispMode: 4 >>>>>>>>>>>
at Lt8612Ex_RTsign() lastDispMode:8!= curDispMode:4<<<<<<DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD>>>>>>>>>>
at OutputNot4K() Not 4K NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
at Lt8612ExTimerProc() temp_hdmi:1.>>>>>>>
at Lt8612ExColorSpaceConvert() read_data:0x20.>>>>>>>
HDMI mode(0x5A) = 0x1
CSC style(0x5B) = 0x20
CSC Register(0x08) = 0x14
>> Loading 'kernel' image.
Reserve Memory
Start Addr: 0x1FFFE000
Bound Addr: 0x8D7B000
Free Addr: 0x1E9B6000
Alloc Block: Addr Size
0x1FBFD000 4194304
0x1F8FC000 3145728
0x1F8F9000 8192
0x1F8C4000 212992
0x1F7C3000 1048576
0x1F7BF000 12288
0x1F43A000 3686400
0x1F0B5000 3686400
0x1EDB7000 3133440
0x1E9B6000 4194304
Press Ctrl+C to stop autoboot
NAND read: device 0 offset 0x300000, size 0x1400000
pure data length is 20971520, len_incl_bad is 20971520
request to read 0x1400000, and read 0x1400000 successfully!
20971520 bytes read: OK
srcAddr 0x2000000, dstAddr 0x2000000
find_squashfs_file: name bin, start_block 0, offset 2210, type 1
find_squashfs_file: name boot, start_block 0, offset 2394, type 1
read inode: name boot, sb 0, of 2394, type 1
find_squashfs_file: name zImage.img, start_block 0, offset 2242, type 2
read inode: name zImage.img, sb 0, of 2242, type 2
### FS load complete: 3928136 bytes loaded to 0x2000000
## Booting kernel from Legacy Image at 02000000 ...
Image Name: linux
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3928072 Bytes = 3.7 MiB
Load Address: 01000000
Entry Point: 01000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 3.10.0_s40 (lidonghui@xm-5) (gcc version 4.4.1 (Hisilicon_v200(gcc4.4-290+glibc-2.11+eabi+nptl)) ) #5 SMP Tue Jan 16 13:17:37 CST 2018
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: bigfish
cma: CMA: reserved 344 MiB at 09c00000
cma: CMA: reserved 4 MiB at 1fc00000
Memory policy: ECC disabled, Data cache writealloc
CPU: Hi3798Mv100
PERCPU: Embedded 8 pages/cpu @80c14000 s12032 r8192 d12544 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: mem=512M console=ttyAMA0,115200 root=/dev/romblock1 rootfstype=squashfs mtdparts=hinand:3M(boot),20M(rootfs),20M(user),4M(web),6M(custom),2M(logo),6M(mtd),2M(baseparam),1M(startlogo) mmz=ddr,0,0,344M coherent_pool=2M
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 150724k/150724k available, 373564k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xa0800000 - 0xff000000 (1512 MB)
lowmem : 0x80000000 - 0xa0000000 ( 512 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x806fd7f8 (7126 kB)
.init : 0x806fe000 - 0x80759f00 ( 368 kB)
.data : 0x8075a000 - 0x807a2a48 ( 291 kB)
.bss : 0x807a2a48 - 0x8080fa4c ( 437 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:192
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
Console: colour dummy device 80x30
Calibrating delay loop... 1949.69 BogoMIPS (lpj=974848)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
ftrace: allocating 17874 entries in 53 pages
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x80533af8 - 0x80533b50
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (7829.50 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
NET: Registered protocol family 16
DMA: preallocated 2048 KiB pool for atomic coherent allocations
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0xf8b00000 (irq = 81) is a PL011 rev2
console [ttyAMA0] enabled
uart:1: ttyAMA1 at MMIO 0xf8006000 (irq = 82) is a PL011 rev2
uart:2: ttyAMA2 at MMIO 0xf8b02000 (irq = 83) is a PL011 rev2
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
Linux video capture interface: v2.00
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource timer3
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 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.
NetWinder Floating Point Emulator V0.97 (double precision)
CPU PMU: probing PMU on CPU 3
hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
fuse init (API version 7.22)
msgmni has been set to 990
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
brd: module loaded
loop: module loaded
Found Nand Flash Controller V610.
Nand ID: 0xC2 0xF1 0x80 0x95 0x02 0x00 0x00 0x00
Nand: Cache is enable, max size: 133120 KB.
Nand: Macronix NAND 128MiB 3,3V 8-bit
Nand(HW-Auto): Block:128KB Page:2KB OOB:64B ECC:4bit/512 Chip:128MB*1
9 cmdlinepart partitions found on MTD device hinand
Creating 9 MTD partitions on "hinand":
0x000000000000-0x000000300000 : "boot"
0x000000300000-0x000001700000 : "rootfs"
0x000001700000-0x000002b00000 : "user"
0x000002b00000-0x000002f00000 : "web"
0x000002f00000-0x000003500000 : "custom"
0x000003500000-0x000003700000 : "logo"
0x000003700000-0x000003d00000 : "mtd"
0x000003d00000-0x000003f00000 : "baseparam"
0x000003f00000-0x000004000000 : "startlogo"
libphy: himii: probed
Up port phy at 0x01 is connect
libphy: PHY himii:1f not found
*****************modle = IP1717B*****************
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 cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver cdc_ncm
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
hiusb-ehci hiusb-ehci.0: HIUSB EHCI
hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1
hiusb-ehci hiusb-ehci.0: irq 98, io mem 0xf9890000
hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hiusb-ehci hiusb-ehci.1: HIUSB EHCI
hiusb-ehci hiusb-ehci.1: new USB bus registered, assigned bus number 2
hiusb-ehci hiusb-ehci.1: irq 94, io mem 0xf9930000
hiusb-ehci hiusb-ehci.1: USB 0.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
hiusb-ohci hiusb-ohci.0: HIUSB OHCI
hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 3
hiusb-ohci hiusb-ohci.0: irq 99, io mem 0xf9880000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
hiusb-ohci hiusb-ohci.1: HIUSB OHCI
hiusb-ohci hiusb-ohci.1: new USB bus registered, assigned bus number 4
hiusb-ohci hiusb-ohci.1: irq 95, io mem 0xf9920000
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_wdm
mousedev: PS/2 mouse device common for all mice
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: using timer interrupt.
Netfilter messages via NETLINK v0.30.
nfnl_acct: registering with nfnetlink.
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
registered taskstats version 1
VFS: Mounted root (squashfs filesystem) readonly on device 240:1.
Freeing unused kernel memory: 364K (806fe000 - 80759000)
udevd (595): /proc/595/oom_adj is deprecated, please use /proc/595/oom_score_adj instead.
yaffs: dev is 32505862 name is "mtdblock6" rw
yaffs: passed flags ""
Load hi_media.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:45:26])
Load hi_mmz.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:45:26])
Load hi_common.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:45:23])
Load hi_gpio.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:45:28])
Mali: Mali device driver loaded
Load hi_tde.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:46:05])
DieID is locked!
Load hi_otp.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:46:24])
Load hi_adec.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:46:46])
Load hi_vfmw.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00CP0003] Build Time:[Apr 26 2017, 10:49:13])
Load hi_svdec.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:47:18])
[5527 ERROR-HI_PQ]:DRV_PQ_GetFlashPqBin[2611]:PQ bin param may not burned
[5533 ERROR-HI_PQ]:HI_DRV_PQ_Init[225]:Load PQBin failed!
Load hi_pq.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:45:34])
Load hi_vpss.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00CP0003] Build Time:[Mar 3 2017, 09:40:47])
Load hi_vdec.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 14:39:35])
Load hi_cipher.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:46:22])
Load hi_hdmi.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Sep 9 2015, 15:23:47])
Load hi_adsp.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:46:34])
Load hi_aiao.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Sep 9 2015, 15:25:01])
Load hi_vou.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:45:52])
Load hi_pvr.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 14:40:07])
hi_fb 64800 VR!
[5810 ERROR-HI_HDMI]:SI_ReadSinkEDID[380]:can't read edid block 1
Load hi_fb.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:46:02])
Load hi_jpegdec.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 12:46:11])
Load hi_jpegenc.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 14:40:05])
Load hi_png.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 14:39:51])
Load hi_venc.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 14:40:34])
Load hi_aenc.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 14:40:32])
Load hi_vi.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 14:40:40])
enter temperature_control_thread
Load hi_pmoc.ko success. (SDK_VERSION:[HiSTBLinuxV100R003C00SPC060] Build Time:[Aug 19 2015, 14:39:59])
misc hi_dbe: hi_dbe ready
[5944 ERROR-HI_HDMI]:SI_ReadSinkEDID[380]:can't read edid block 1
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver option
usbserial: USB Serial support registered for GSM modem (1-port)
lt8612ex:============================LT8612EX_loadCode_kernel===========================
vendor_id = 0x8612
at Lt8612exReset_reset() <<<ENTER>>>
[6033 ERROR-HI_HDMI]:SI_ReadSinkEDID[380]:can't read edid block 1
[6123 ERROR-HI_HDMI]:SI_ReadSinkEDID[380]:can't read edid block 1
[6212 ERROR-HI_HDMI]:SI_ReadSinkEDID[380]:can't read edid block 1
[6301 ERROR-HI_HDMI]:SI_ReadSinkEDID[380]:can't read edid block 1
[6306 ERROR-HI_HDMI]:SI_TimerHandler[509]:Read EDID Fail.Read 6 times
lt8612ex driver init start ...
lt8612ex driver init successful!
hirtc driver init successful!
Hisilicon Watchdog Timer: 0.01 initialized. default_margin=60 sec (nowayout= 0, nodeamon= 1)
===============================================================
| HIWDT: SVN:43,Compiled by jinweiwei at Feb 7 2015 14:11:21 |
===============================================================
HISI_IRDA-MF @Hi3798M
===============================================================
| HIIR: SVN:49,Compiled by jinweiwei at Feb 7 2015 14:20:19 |
===============================================================
hiir: init ok. ver=Feb 7 2015, 14:20:19.
rtusb init rt2870 --->
usbcore: registered new interface driver rt2870
---HDMI kernel event(no UserCallBack): HOTPLUG. ---
at24c16:========================================================
at24c16:Driver Version=20150126 DateTime=Aug 24 2015-13:27:51.
at24c16:Driver for HISI3798M Linux 3.10.0 .
===============================================================
| AT24C16: SVN:54,Compiled by jinweiwei at Aug 24 2015 13:27:51 |
===============================================================
gpio_i2c_wread_24c16 0x33:d2
gpio_i2c_read_24c16 0x34:d4
at24c16 driver init start ...
fvideo driver init successful!
GobiNet: 2011-07-29-1026
usbcore: registered new interface driver GobiNet
usbcore: registered new interface driver lc_ether
insmod: can't insert 'extdrv/pl2303.ko': No such file or directory
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFADDR: No such device
Вывод printenv:
Код: Выделить всё
fastboot# printenv
bootcmd=nand read 0x2000000 0x300000 0x1400000;squashfsload 0x2000000;bootm 0x2000000
bootdelay=1
baudrate=115200
ethaddr=00:0b:3f:00:00:01
ipaddr=192.168.1.10
serverip=192.168.1.1
netmask=255.255.255.0
bootfile="uImage"
da=mw.b 0x2000000 ff 4000000;tftp 0x2000000 u-boot.bin.img;flwrite
du=mw.b 0x2000000 ff 4000000;tftp 0x2000000 user-x.squashfs.img;flwrite
dr=mw.b 0x2000000 ff 4000000;tftp 0x2000000 romfs-x.squashfs.img;flwrite
dw=mw.b 0x2000000 ff 4000000;tftp 0x2000000 web-x.squashfs.img;flwrite
dl=mw.b 0x2000000 ff 4000000;tftp 0x2000000 logo-x.squashfs.img;flwrite
dc=mw.b 0x2000000 ff 4000000;tftp 0x2000000 custom-x.squashfs.img;flwrite
up=mw.b 0x2000000 ff 4000000;tftp 0x2000000 update.img;flwrite
tk=mw.b 0x2000000 ff 4000000;tftp 0x2000000 zImage.img;bootm 0x2000000
dd=mw.b 0x2000000 ff 4000000;tftp 0x2000000 mtd-x.yaffs2.img;flwrite
appVideoStandard=PAL
appSystemLanguage=English
bootargs=mem=512M console=ttyAMA0,115200 root=/dev/romblock1 rootfstype=squashfs mtdparts=hinand:3M(boot),20M(rootfs),20M(user),4M(web),6M(custom),2M(logo),6M(mtd),2M(baseparam),1M(startlogo) mmz=ddr,0,0,344M coherent_pool=2M
stdin=serial
stdout=serial
stderr=serial
ver=Fastboot 3.3.0-svn697 (chenwenrong@localhost.localdomain) (Feb 28 2017 - 09:44:46)
Environment size: 1254/131068 bytes
fastboot#
Вывод HELP
Код: Выделить всё
fastboot# help
? - alias for 'help'
base - print or set address offset
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
clear_bootf- clear Hibernate!! bootflag
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
ddr - ddr training function
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
flwrite - Nand flash sub-system
getinfo - print hardware information
go - start application at address 'addr'
help - print command description/usage
hibernate- Hibernate!! boot
loadb - load binary file over serial line (kermit mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
otp_burntoecurechipset- Burn to secure chipset, please be careful !!!
otp_getcustomerkey- otp_getcustomerkey
otp_getstbprivdata- otp_getstbprivdata
otp_setstbprivdata- StbPrivData
otpreadall- read otp ,for example otpreadall
otpwrite- write otp ,for example otpwrite adddress value
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
setenv - set environment variables
squashfsload- fsload - load binary file from a filesystem image
tftp - tftp - download or upload image via network using TFTP protocol
unzip - unzip a memory region
uploadx - upload binary file over serial line (xmodem mode)
usb - USB sub-system
usbboot - boot from USB device
usbburn - burn file from USB device
version - print monitor version
fastboot#
Re: Восстановление прошивки и сброс пароля XM с помощью USB
Сейчас перезагрузил, лог загрузки стал больше, его тоже сюда прикрепить?
Re: Восстановление прошивки и сброс пароля XM с помощью USB
у вас установлена NAND флешь, поэтому "sf probe 0 не работает"...нет такой команды...см. helplego23 писал(а):Помогите восстановить NVR NBD8908T-Q. При загрузке на экране цветные полосы, иногда доходит до заставки H.265 NVR. Подключил по uart, но у меня команда sf probe 0 не работает, не знаю, что дальше делать.
Re: Восстановление прошивки и сброс пароля XM с помощью USB
Он вас умоляет - киньте прошивку на юсб... потом почистить конфиг