xHiveAI-A311D:How to upgrade the firmware images

Please follow the steps to upgrade the firmware images on your board:

Step1: Setup the tftp server in your Host PC

Step2: Download the upgrade images from below linkage

The latest image:

http://3.137.159.204/ubuntu_a311d_img_20210406170641.tar.bz2

md5sum: 443841a479eb774aa3024b70ef4f9926

version: xHive.d9e442e.2021-04-06.17-06-41

Step3: Do tar jxf ubuntu_a311d_img_20210406170641.tar.bz2

ab_boot.img  ubuntu_a311d.img.0  ubuntu_a311d.img.1 ubuntu_a311d.img.2 version

Step4: Move all files to the root directory of tftp server

Step5: Power on the board and keep pressing <ctrl+c> to stop the booting at u-boot command

xhiveai# <INTERRUPT>

Step6: Setup the U-boot environment variables for the upgrading purpose

xhiveai#  setenv ipaddr <board ip address>

xhiveai#  setenv serverip <tftp server ip address>

xhiveai#  setenv gatewayip <gateway ip address>

xhiveai#  setenv cms_folder <the absolute path to the root directory of tftp server>

for example: cms_folder=/mnt/data1/ttt/Server/tftpboot/

                                        The upgraded images should be copied to /mnt/data1/ttt/Server/tftpboot

xhiveai#  saveenv

xhiveai#  ping <tftp server ip> // test the network is ok or not

Sometimes, the board network is not working on Uboot and it could be recovered by doing the power cycle(plug out the power supply and plug it in again)

Step7: Burn the kernel image

xhiveai#  run cms_flash_abboot

Step8: Burn the rootfs image

xhiveai#  run cms_flash_rootfs_ubuntu

At the end of upgrading, the “image missing“ error occurs. Just ignore the warning because the image size is smaller than before.

Step9: Reset the board and enter the Ubuntu system

xhiveai#  reset

猜你喜欢

转载自blog.csdn.net/danielyu_123456/article/details/115859128