1,啟動時按空格
2,執行printenv,查看uboot網絡配置。
過程:
一, # setenv ipaddr 172.16.6.100
二,# setenv serverip (你的主機IP地址)
三,# setenv netmask 255.255.255.0
四,# setenv gatewayip 172.16.6.1
五,# saveenv
六,# printenv 重新查看uboot環境。
3,修改主機IP,使得XP的IP和uboot在同一網段之內。
4, 將u-boot.bin zImage 復制到tftpd32同一目錄中。
5,啟動tftp32
燒寫u-boot:
6, tftp 0x50008000 u-boot.bin ;下載
7, nand erase 0x00000000 0x200000 ;擦除u-boot分區
8, nand write.uboot 0x50008000 0x00000000 0x100000 ;將u-boot寫入flash分區中。
燒寫內核:
9,tftp 0x50008000 zImage
10, nand erase 0x200000 0x400000
11, nand write.e 0x50008000 0x200000 0x400000
注意:u-boot zImage是在虛擬機中編譯出來的