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