Код: Выделить всё
U-Boot 2010.06-svn198 (Dec 08 2014 - 09:53:48)
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x17 0xC2 0x20 0x17
Spi(cs1): Block:64KB Chip:8MB Name:"MX25L6406E"слил полную прошивку командами
пока, не уверен, что правильно мыслю...
Код: Выделить всё
hisilicon # sf probe 0
hisilicon # sf read 0x82000000 0x0000000 0x800000
hisilicon # tftp 0x82000000 fw1.img 0x800000
Hisilicon ETH net controler
miiphy_register: non unique device name '0:3'
miiphy_register: non unique device name '0:2'
MAC:   00-0B-3F-00-00-01
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP to server 192.168.1.120; our IP address is 192.168.1.10
Upload Filename 'fw1.img'.
Upload from address: 0x82000000, 8.000 MB to be send ...
Uploading: #    [ Connected ]
################################        [ 2.888 MB]
################################        [ 5.752 MB]
#########################
         8.000 MB upload ok.
hisilicon #   команду erase U-boot не знает
Код: Выделить всё
hisilicon # help
?       - alias for 'help'
base    - print or set address offset
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
cmp     - memory compare
cp      - memory copy
crc32   - checksum calculation
decjpg  - jpgd   - decode jpeg picture.
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 /)
fload   - fload  - load binary file from a filesystem image for system boot
flwrite - SPI flash sub-system
getinfo - print hardware information
go      - start application at address 'addr'
help    - print command description/usage
lload   - lload  - load logo file
loadb   - load binary file over serial line (kermit mode)
loady   - load binary file over serial line (ymodem mode)
logoload- logoload  - load binary file from a filesystem image for system boot
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)
nm      - memory modify (constant address)
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
setvobg - setvobg   - set vo backgroud color.
        - setvobg [dev color]
sf      - SPI flash sub-system
squashfsload- fsload  - load binary file from a filesystem image
startgx - startgx   - open graphics layer.
        - startgx [layer addr stride x y w h]
startvo - startvo   - open interface of vo device.
        - startvo [dev type sync]
stopgx  - stopgx   - close graphics layer.
        - stopgx [layer]
stopvo  - stopvo   - close interface of vo device.
        - stopvo [dev]
tftp    - tftp  - download or upload image via network using TFTP protocol
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor version
hisilicon #   
hisilicon #help erase
Unknown command 'erase' - try 'help' without arguments for list of all known commands