Updating U-boot using U-boot

来源:互联网 发布:linux 启动oracle服务 编辑:程序博客网 时间:2024/05/29 04:33

Updating U-Boot Using U-Boot
1. Set device network information as below on Uboot prompt.
setenv serverip <TFTP SERVER IP ADDRESS>
setenv ipaddr <DEVICE IP ADDRESS>
setenv ethaddr <DEVICE MAC ADDRESS>
2. Put the the U-boot binary file to the directory /tftpboot at <TFTP SERVER >
3. Run command as below to copy the U-boot to the device.
tftp 0x80700000 u-boot.bin
4. Now copy u-boot from RAM to NAND by following commands.
nand erase 0x28000 0x20000
nand write 0x80700000 0x28000 0x20000
5. Reset the  board