Analysis of ETH Burning Principle

Using release_to_customer.sh After compilation, the images directory is generated, one of which is called auto_update.txt .

The contents are as follows:

Let’s look at the contents of uboot.es and kernel.es:

It is easy to see that the update of uboot and kernel (as well as other partitions) is to download the image through TFTP, and then write it to the corresponding partition. These commands are executed directly under uboot, that is, we only need to execute the command in the corresponding image.es to update the corresponding image. For example, we need to update the kernel:

# tftp 0x21000000 kernel
# nand erase.part KERNEL
# nand write.e 0x21000000 KERNEL${filesize}
# run bootcmd
文档更新时间: 2021-03-22 13:47   作者:Aeeditor