xHiveAI-A311D:How to upgrade the firmware images(Internal Yocto)

The following guidance is ONLY for internal development purpose!!!

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

Step1: Setup the tftp server in your Host PC

Step2: Download the upgrade images from below linkage

Get the upgrade image from the Apoidea RD team internally.

Step3: Do tar jxf <xxxxxx>.tar.bz2

rootfs.ext4

Step4: Move rootfs.ext4 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>

Example: cms_folder=/mnt/data1/ttt/Server/tftpboot/

                                        The upgraded images should be copied to /mnt/data1/ttt/Server/tftpboot on the host PC

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)

Step8: Burn the rootfs image

xhiveai#  run cms_flash_rootfs_a

Step9: Reset the board and enter the Ubuntu system

xhiveai#  reset

猜你喜欢

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