Amlogic openlinux
Amlogic openlinux > wiki > index.php > Arm > Boot Loader > How to burn a uboot to board

How to burn a uboot to board

Page last modified 10:18, 16 Apr 2013 by cary.wu
    Table of contents
    No headers

     

    • Burn the uboot to board with Jtag
    • 1.click the "start.bat" to lunch metaware and download the uboot to borad;
    • 2.stop it at the uboot console,and do network settings,include tftp server,and copy the u-boot.bin to tftp server directory;
    • 3.download and burn the kernel to spi flash;
    tftpboot 82000000 u-boot.bin;sf probe 2;sf erase 0 60000;sf write 82000000 0 60000
    
    • 4.download the linux kernel ucImage to ddr ram(ucImage is kernel compressed by ucl )
    tftpboot 82000000 ucImage
    
    • 5.start the linux kernel ucImage
    bootm 82000000
    

    • Burn uboot with SD card
    • 1. plugin sd card
    • 2. Linux: Please make sure your u-boot binary code is named u-boot-aml.bin and your sdcard's device name is /dev/sdb
     ./mksdard /dev/sdb ./
    
    • 2. Windows: Please make sure your u-boot binary code is named u-boot-aml.bin and your sdcard's device name is \\?\Device\Harddisk2\Partition
     sd.bat 
    Copyright © 2014 . Amlogic, Inc. All Rights Reserved