|
google搜索到的R40 uboot 编译教程,与大家共享一下
# Get and build the BOOT2.0
2
3 ## Download the source code
4 $ git clone git://172.16.1.11/lichee/brandy.git (B network)
5 $ git clone git://192.168.200.11/lichee/brandy.git (D network)
6
7 ## Build
8 To support linux-3.10:
9
10 $ cd u-boot-2014.07
11
12 To support linux-3.4:
13
14 $ cd u-boot-2011.09
15
16 Make distclean is necessary if it is your first time to build u-boot
17 or you have ever config other platform.
18
19 $ make distclean
20
21 You must configure U-Boot for one specific board type. This is done by typing:
22
23 $ make NAME_config
24
25 where "NAME_config" is the name of one of the existing configurations;
26 see boards.cfg for more supported names.
27 List of configurations:
28
29 (config 1633) A31/A31S : $ make sun8iw1p1_config
30 (config 1650) A23 : $ make sun8iw3p1_config
31 (config 1667) A33 : $ make sun8iw5p1_config
32 (config 1673) A83 : $ make sun8iw6p1_config
33 (config 1680) H3 : $ make sun8iw7p1_config
34 (config 1681) V3/V3S : $ make sun8iw8p1_config
35 (config 1677) -- : $ make sun8iw9p1_config
36 (config 1699) B100 : $ make sun8iw10p1_config
37 (config 1701) V40/A20E : $ make sun8iw11p1_config
38 (config 1639) A80 : $ make sun9iw1p1_config
39 (config 1689) A64 : $ make sun50iw1p1_config
40 (config 1718) H5 : $ make sun50iw2p1_config
41
42 Finally, build some working images:
43
44 $ make -j14 (build uboot,"make -jn" means to build the image with multiple make jobs)
45 $ make boot0 (build boot0)
46 $ make fes (build fes)
47 $ make sboot (build sboot)
48 $ make spl (build boot0 fes sboot)
49
50 Also,it is possible to build the whole bootloader by typing "./build.sh -p NAME" under directory brandy.
51
52 $ cd ../ && ./build.sh -p NAME
53
54 NAME means the the board name,such as sun6i/sun7i/sun8iw3p1/sun9iw1p1 etc.
55 See boards.cfg for more supported names.
56 List of NAME:
57
58 (build 1633 bootloader) A31/A31S : $ ./build.sh -p sun8iw1p1
59 (build 1650 bootloader) A23 : $ ./build.sh -p sun8iw3p1
60 (build 1667 bootloader) A33 : $ ./build.sh -p sun8iw5p1
61 (build 1673 bootloader) A83 : $ ./build.sh -p sun8iw6p1
62 (build 1680 bootloader) H3 : $ ./build.sh -p sun8iw7p1
63 (build 1681 bootloader) V3/V3S : $ ./build.sh -p sun8iw8p1
64 (build 1677 bootloader) -- : $ ./build.sh -p sun8iw9p1
65 (build 1699 bootloader) B100 : $ ./build.sh -p sun8iw10p1
66 (build 1701 bootloader) V40/A20E : $ ./build.sh -p sun8iw11p1
67 (build 1639 bootloader) A80 : $ ./build.sh -p sun9iw1p1
68 (build 1689 bootloader) A64 : $ ./build.sh -p sun50iw1p1
69 (build 1718 bootloader) H5 : $ ./build.sh -p sun50iw2p1
70
71
72 Enjoy it!
|
|