1*4882a593SmuzhiyunHow to use U-Boot on Grinn's liteBoard 2*4882a593Smuzhiyun-------------------------------------- 3*4882a593Smuzhiyun 4*4882a593Smuzhiyun- Build U-Boot for liteBoard: 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun$ make mrproper 7*4882a593Smuzhiyun$ make liteboard_defconfig 8*4882a593Smuzhiyun$ make 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunThis will generate the SPL image called SPL and the u-boot.img. 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun- Flash the SPL image into the micro SD card: 13*4882a593Smuzhiyun 14*4882a593Smuzhiyunsudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun- Flash the u-boot.img image into the micro SD card: 17*4882a593Smuzhiyun 18*4882a593Smuzhiyunsudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun- Jumper settings: 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunS1: 0 1 0 1 1 1 23*4882a593Smuzhiyun 24*4882a593Smuzhiyunwhere 0 means bottom position and 1 means top position (from the 25*4882a593Smuzhiyunswitch label numbers reference). 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun- Insert the micro SD card in the board. 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun- Connect USB cable between liteBoard and the PC for the power and console. 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun- U-Boot messages should come up. 32