DVR загружается нормально до перезагрузки, после перезагрузки висит на заставке. Хочу слить дамп через TFTP , но какие команды вводить не знаю. Помогите разобраться.
NAND: NAND_ECC_NONE selected by board driver. This is not recommended !!
128 MiB
no redund = -700858878, tmp crc -700858878
U-Boot 2008.10 (Nov 30 2011 - 16:23:28)
DRAM: 3 GB
Flash: 2 MB
gd->env_valid = 1
In: serial
Out: serial
Err: serial
current is nvp1104a, will close audio loop
close watch dog begin...............
dog_close
dog_close
NAND: NAND_ECC_NONE selected by board driver. This is not recommended !!
128 MiB
no redund = -700858878, tmp crc -700858878
U-Boot 2008.10 (Nov 30 2011 - 16:23:28)
DRAM: 3 GB
Flash: 2 MB
gd->env_valid = 1
In: serial
Out: serial
Err: serial
current is nvp1104a, will close audio loop
close watch dog begin...............
dog_close
dog_close
current do_check_flash_boot_param
product type 49 === 1
*****+++++******* do_auto_update 201111301027
USB: scanning bus for devices... 1 USB Device(s) found
0 Storage Device(s) found
Press CTRL-C to abort autoboot in begin ... do_auto_logo_image
ntsc pal 1
logo img width 0, height 0, vga out = 8
jpeg decoding ...
<<addr=0x800c0000, size=0x60b7, vobuf=0xcfe00000>>
<<imgwidth=480, imgheight=320, linebytes=960>>
decode success!!!!
start addr color = 0, logo img width 480, height 320
NAND read: device 0 offset 0x200000, size 0x100000
1048576 bytes read: OK
NAND read: device 0 offset 0x300000, size 0x200000
2097152 bytes read: OK
NAND read: device 0 offset 0x500000, size 0x300000
3145728 bytes read: OK
NAND read: device 0 offset 0x0, size 0x200000
2097152 bytes read: OK
## Booting kernel from Legacy Image at c1300000 ...
Image Name: hilinux
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1529468 Bytes = 1.5 MB
Load Address: e2800000
Entry Point: e2800000
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux.............................................................
.................................... done, booting the kernel.
Linux version 2.6.24-rt1-hi3520v100 (root@localhost.localdomain) (gcc version 3.
4.3 (release) (CodeSourcery ARM Q3cvs 2004)) #2010033011 Fri Mar 4 01:12:41 EST
2011
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387f
Machine: hi3520v100
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIPT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 13716
Kernel command line: mem=54M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfsty
pe=yaffs2 mtdparts=physmap-flash.0:2M(boot);hinand:13M(nand_boot),16M(nand_root)
,64M(user),32M(abk) pcimod=host pciclksel=1 mac=D2:0F:17:B4:FB:65
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 54MB = 54MB total
Memory: 51468KB available (2788K code, 261K data, 100K init)
Mount-cache hash table entries: 512
HI_VERSION=LINUX_2_6_24-M01C04FB01F @Hi3520v100R001_C_0_2_0 2010-03-12 13:45:01
CPU: Testing write buffer coherency: ok
net_namespace: 64 bytes
NET: Registered protocol family 16
Hisilicon clock system V0.01
PCI: device 0000:00:01.0 has unknown header type 12, ignoring.
PCI: device 0000:00:02.0 has unknown header type 12, ignoring.
PCI: device 0000:00:03.0 has unknown header type 12, ignoring.
PCI: device 0000:00:04.0 has unknown header type 12, ignoring.
PCI: device 0000:00:05.0 has unknown header type 12, ignoring.
PCI: device 0000:00:06.0 has unknown header type 12, ignoring.
PCI: device 0000:00:07.0 has unknown header type 12, ignoring.
PCI: device 0000:00:08.0 has unknown header type 12, ignoring.
PCI: device 0000:00:09.0 has unknown header type 12, ignoring.
PCI: device 0000:00:0a.0 has unknown header type 12, ignoring.
PCI: device 0000:00:0b.0 has unknown header type 12, ignoring.
PCI: device 0000:00:0c.0 has unknown header type 12, ignoring.
PCI: device 0000:00:0d.0 has unknown header type 12, ignoring.
PCI: device 0000:00:0e.0 has unknown header type 12, ignoring.
PCI: device 0000:00:0f.0 has unknown header type 12, ignoring.
PCI: device 0000:00:10.0 has unknown header type 12, ignoring.
PCI: device 0000:00:11.0 has unknown header type 12, ignoring.
PCI: device 0000:00:12.0 has unknown header type 12, ignoring.
PCI: device 0000:00:13.0 has unknown header type 12, ignoring.
PCI: device 0000:00:14.0 has unknown header type 12, ignoring.
PCI: device 0000:00:15.0 has unknown header type 12, ignoring.
PCI: device 0000:00:16.0 has unknown header type 12, ignoring.
PCI: device 0000:00:17.0 has unknown header type 12, ignoring.
PCI: device 0000:00:18.0 has unknown header type 12, ignoring.
PCI: device 0000:00:19.0 has unknown header type 12, ignoring.
PCI: device 0000:00:1a.0 has unknown header type 12, ignoring.
PCI: device 0000:00:1b.0 has unknown header type 12, ignoring.
PCI: device 0000:00:1c.0 has unknown header type 12, ignoring.
PCI: device 0000:00:1d.0 has unknown header type 12, ignoring.
PCI: device 0000:00:1e.0 has unknown header type 12, ignoring.
PCI: device 0000:00:1f.0 has unknown header type 12, ignoring.
PCI: bus0: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
Time: hisi_timer1 clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
yaffs Mar 23 2010 11:29:43 Installing.
io scheduler noop registered
io scheduler deadline registered (default)
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0x20090000 (irq = 12) is a AMBA/PL011
console [ttyAMA0] enabled
uart:1: ttyAMA1 at MMIO 0x200a0000 (irq = 12) is a AMBA/PL011
uart:2: ttyAMA2 at MMIO 0x200b0000 (irq = 13) is a AMBA/PL011
uart:3: ttyAMA3 at MMIO 0x200c0000 (irq = 13) is a AMBA/PL011
RAMDISK driver initialized: 4 RAM disks of 16384K size 4096 blocksize
loop: module loaded
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V1.0
Driver 'sr' needs updating - please use bus_type methods
SCSI Media Changer driver v0.25
Driver 'ch' needs updating - please use bus_type methods
physmap platform flash device: 04000000 at 80000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
1 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 1 MTD partitions on "physmap-flash.0":
0x00000000-0x00200000 : "boot"
NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 130 at 0x01040000
Bad eraseblock 194 at 0x01840000
Bad eraseblock 198 at 0x018c0000
Bad eraseblock 203 at 0x01960000
Bad eraseblock 208 at 0x01a00000
Bad eraseblock 216 at 0x01b00000
Bad eraseblock 224 at 0x01c00000
Bad eraseblock 478 at 0x03bc0000
Bad eraseblock 929 at 0x07420000
4 cmdlinepart partitions found on MTD device hinand
hinand_probe 604<5>Creating 4 MTD partitions on "hinand":
0x00000000-0x00d00000 : "nand_boot"
0x00d00000-0x01d00000 : "nand_root"
0x01d00000-0x05d00000 : "user"
0x05d00000-0x07d00000 : "abk"
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-
port)
usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
block 27 is bad
block 91 is bad
block 95 is bad
block 100 is bad
block 105 is bad
block 113 is bad
block 121 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs2 filesystem).
Freeing init memory: 100K
init started: BusyBox v1.1.2 (2010.03.12-05:40+0000) multi-call binary
_ _ _ _ _ _ _ _ _ _ _ _
\ _ _ _ _ _ ___
/ /__/ \ |_/
/ __ / - _ ___
/ / / / / /
_ _ _ _/ / / \_/ \_ ______
___________\___\__________________
/etc/init.d/rcS: /etc/init.d/rcS: 20: Syntax error: "fi" unexpected (expecting "
thmn")
NAND: NAND_ECC_NONE selected by board driver. This is not recommended !!
128 MiB
no redund = -700858878, tmp crc -700858878
U-Boot 2008.10 (Nov 30 2011 - 16:23:28)
DRAM: 3 GB
Flash: 2 MB
gd->env_valid = 1
In: serial
Out: serial
Err: serial
current is nvp1104a, will close audio loop
close watch dog begin...............
dog_close
dog_close
NAND: NAND_ECC_NONE selected by board driver. This is not recommended !!
128 MiB
no redund = -700858878, tmp crc -700858878
U-Boot 2008.10 (Nov 30 2011 - 16:23:28)
DRAM: 3 GB
Flash: 2 MB
gd->env_valid = 1
In: serial
Out: serial
Err: serial
current is nvp1104a, will close audio loop
close watch dog begin...............
dog_close
dog_close
current do_check_flash_boot_param
product type 49 === 1
*****+++++******* do_auto_update 201111301027
USB: scanning bus for devices... 1 USB Device(s) found
0 Storage Device(s) found
Press CTRL-C to abort autoboot in hilinux # 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
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
jpgd - decode jpeg picture.
erase - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
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
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print online help
loadb - load binary file over serial line (kermit mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
saveenv - save environment variables to persistent storage
setenv - set environment variables
setvobg - set vo backgroud color.
- setvobg [dev color]slavestart - start slave arm!
startgx - open graphics layer.
- startgx [layer addr stride x y w h]
startvo - open interface of vo device.
- startvo [dev type sync]stopgx - close graphics layer.
- stopgx [layer]stopvo - close interface of vo device.
- stopvo [dev]tftp - download or upload image via network using TFT
P protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
ydump - YAFFS device struct
yls - yaffs ls
ymkdir - YAFFS mkdir
ymount - mount yaffs
ymv - YAFFS mv
yrd - read file from yaffs
yrdm - read file to memory from yaffs
yrm - YAFFS rm
yrmdir - YAFFS rmdir
yumount - unmount yaffs
ywr - write file to yaffs
ywrm - write file from memory to yaffs
hilinux # printenv
bootdelay=1
baudrate=115200
ipaddr=192.168.1.10
serverip=192.168.1.1
netmask=255.255.255.0
bootfile="uImage"
ethaddr=D2:0F:17:B4:FB:65
slave_bootargs=mem=15M quiet,115200
bootcmd=nand read 0xE0500000 0x200000 0x100000;nand read 0xE0600000 0x300000 0x2
00000;nand read 0xE0A00000 0x500000 0x300000;slavestart;nand read 0xC1300000 0x0
0x200000;bootm 0xC1300000
slave_boot_addr=0xE0500000
slave_kernel_addr=0xE0600000
slave_initrd_addr=0xE0A00000
ver=U-Boot 2008.10 (Feb 27 2010 - 11:24:28)
mdio_intf=mii
bootargs=mem=54M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=yaffs2 mt
dparts=physmap-flash.0:2M(boot);hinand:13M(nand_boot),16M(nand_root),64M(user),3
2M(abk) pcimod=host pciclksel=1 mac=D2:0F:17:B4:FB:65
auversion1=4b8a7a37
auversion2=4ba8d8eb
auversion0=4e04ac23
auversion3=4cd987b6
auversion4=4e0a67be
auversion5=4ed6d1b4
auversion6=4ed6a888
stdin=serial
stdout=serial
stderr=serial
verify=n
Environment size: 905/131068 bytes
hilinux #
16 канальный аналоговый DVR HI3520 с NAND flash
- VirtualLink
- Специалист
- Сообщения: 1846
- Зарегистрирован: 09 апр 2016, 12:38
Re: 16 канальный аналоговый DVR HI3520 с NAND flash
Для начала
https://www.denx.de/wiki/DULG/UBootCmdGroupNand" onclick="window.open(this.href);return false;
tftp не видно, но не стоит отчаиваться сразу!
https://www.denx.de/wiki/DULG/UBootCmdGroupNand" onclick="window.open(this.href);return false;
tftp не видно, но не стоит отчаиваться сразу!