It would be interesting to interrupt the bootloader, with Control-U and see what the help command shows for the available commands, and what the printenv command shows for the variables values.
There might just be an update command that works with a normal
tftp server.
Though even if there was, the implication would be the non-ideal requirement to use the serial console to apply that firmware.
It did work with the Python TFTP updater, it just wasn't looking for the right filename.
Here is "help" and "printenv.
Code:
HKVS # help
? - alias for 'help'
erase - erase flash except bootloader area
format - format app_pri app_sec cfg_pri cfg_sec partition
go -
god - start application at address 'addr'
gos -
gpio - set the gpio
help - print command description/usage
loadk - load kernel to DRAM
loadlos - update LiteOS.bin
upbs - update u-boot via serial
upc - format cfg0 and cfg1 (factory use) via ethernet
update - update digicap.dav via ethernet
updateb - update u-boot via ethernet
updatebnet- update u-boot_net via ethernet
updatebusb- update u-boot via usbnet
upf - update firm, format and update (factory use) via ethernet
upfusb - update firm, format and update (factory use) via usbnet
upla_jffs2- update sensor configuration file
upla_yaffs2- update sensor configuration file
upm - update minisystem via ethernet
upmusb - update minisystem via usbnet
? - alias for 'help'
bootm - boot application image from memory
help - print command description/usage
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset - Perform RESET of the CPU
saveenv - save environment variables to persistent storage
setenv - set environment variables
HKVS # printenv
arch=arm
baudrate=115200
board=hi3516ev300
board_name=hi3516ev300
bootargs=console=ttyAMA0,115200n8 KRN_PRT=pri mdio_intf=mii phy_addr=<NULL> mac=08:a1:89:9b:1e:3d rst_flag=0 bld_rev=1028266 flash_type=spinor flash_size=16MB dram_size=128MB devtype=0x23b05 chip_id=0x1 trspt_mode=0x0
bootcmd=loadlos;bootm
bootdelay=3
cpu=armv7
dbg=0
ethact=eth0
ethaddr=08:a1:89:9b:1e:3d
gatewayip=192.168.1.254
ipaddr=192.168.1.64
mdio_intf=mii
netmask=255.255.255.0
serverip=192.168.1.128
soc=hi3516ev300
stderr=serial
stdin=serial
stdout=serial
trspt=0
trspt_mode=0
vendor=hisilicon
verify=n
Environment size: 628/65532 bytes
HKVS #
On the original firmware, other commands like ps, top, netstat, diag, prtHardInfo, all of them give an "Unknown command" error.
Before:
Firmware Version: V5.5.111 build 210120
Encoding Version: V7.3 build 200825
Web Version: V4.0.1 build 210119
Plugin Version: 3.0.7.16
Firmware Version Property: C-R-E7S-0
After:
Firmware Version: V5.5.111 build 200908
Encoding Version: V7.3 build 200825
Web Version: V4.0.1 build 200730
Plugin Version: 3.0.7.16
Firmware Version Property: B-R-E7S-0