Hi3518CRBCV100
sudo apt install tftpd-hpa
sudo sed -i '/^TFTP_OPTIONS/s/"$/ --create"/' /etc/default/tftpd-hpa
sudo systemctl restart tftpd-hpa.service
screen -L -Logfile ipcam-$(date +%s).log /dev/ttyUSB0 115200
minicom -b 115200 -8 --capturefile=ipcam-$(date +%s).log --color=on -D /dev/ttyUSB0
or
picocom -b 115200 --databits 8 --parity n --stopbits 1 --flow n --logfile=ipcam-$(date +%s).log /dev/ttyUSB0
or Putty
U-Boot 2010.06-svn (Oct 21 2016 - 11:21:29)
Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xÑ2 0x20 0x18
spi_general_qe_enable(294): Error: Disable Quad failed! reg: 0x2
Block:64KB Chip:16MB Name:"MX25L128XX"
SPI Nor total size: 16MB
or
U-Boot 2013.07 (Feb 27 2019 - 02:05:08)
DRAM: 64 MiB
MMC: msc: 0
SF: Detected EN25QH64
printenv
setenv ipaddr 192.168.1.253
setenv netmask 255.255.255.0
setenv gatewayip 192.168.1.1
setenv serverip 192.168.1.254
saveenv
sudo tar -C /srv/tftp/ -xvf openipc.*.tgz
firstboot
Backup/Save and Restore firmware...https://openipc.org/cameras/vendors/hisilicon/socs/hi3518cv100# Enter commands line by line! Do not copy and paste multiple lines at once!
setenv ipaddr 192.168.1.10; setenv serverip 192.168.1.254
mw.b 0x82000000 0xff 0x800000
sf probe 0; sf read 0x82000000 0x0 0x800000
tftpput 0x82000000 0x800000 backup-hi3518cv100-nor8m.bin
# if there is no tftpput but tftp then run this instead
tftp 0x82000000 backup-hi3518cv100-nor8m.bin 0x800000
# Enter commands line by line! Do not copy and paste multiple lines at once!
setenv ipaddr 192.168.1.10; setenv serverip 192.168.1.254
mw.b 0x82000000 0xff 0x800000
tftpboot 0x82000000 backup-hi3518cv100-nor8m.bin
sf probe 0; sf lock 0;
sf erase 0x0 0x800000; sf write 0x82000000 0x0 0x800000For Files, see post
http://www.ourdreambox.com/ubbthreads.php?ubb=showflat&Number=25061#Post25061