forked from linux4sam/at91bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
115 lines (78 loc) · 3.23 KB
/
README.txt
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
Compiling an at91bootstrap project
1 GNU ARM Toolchain
===========================================================================================
1.1 Linux
AT91Bootstrap has been compiled and tested under Linux using the following GNU ARM Toolchain
- gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)
- gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126)
- gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67)
- gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202)
- gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41)
- gcc version 4.7.2 (Sourcery CodeBench Lite 2012.09-64)
- gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
- gcc version 4.5.3 20110223 (prerelease) (GCC) (OE 2011.03)
- gcc version 4.3.5 (Buildroot 2011.05)
1.2 Compile DataFlashBoot
===========================================================================================
Let's use at91sam9x5ek as an example,
1.2.1 Compile booting u-boot image from DataFlash
$ cd <project directory>
$ make mrproper
$ make at91sam9x5ekdf_uboot_defconfig
$ make
If the building process is successful, the final .bin image can be found under binaries/
1.2.2 Compile booting kernel image from DataFlash
$ cd <project directory>
$ make mrproper
$ make at91sam9x5ekdf_linux_defconfig
$ make
If the building process is successful, the final .bin image can be found under binaries/
1.2.3 Compile booting kernel & dt image from DataFlash
$ cd <project directory>
$ make mrproper
$ make at91sam9x5ekdf_linux_dt_defconfig
$ make
If the building process is successful, the final .bin image can be found under binaries/
1.3 Compile NandFlashBoot
===========================================================================================
Let's use at91sam9m10g45ek as an example,
1.3.1 Compile bootiing u-boot image from NandFlash
$ cd <project directory>
$ make mrproper
$ make at91sam9m10g45eknf_uboot_defconfig
$ make
If the building process is successful, the final .bin image can be found under binaries/
1.3.2 Compile booting kernel image from NandFlash
$ cd <project directory>
$ make mrproper
$ make at91sam9m10g45eknf_linux_defconfig
$ make
If the building process is successful, the final .bin image can be found under binaries/
1.3.3 Compile booting kernel & dt image from NandFlash
$ cd <project directory>
$ make mrproper
$ make at91sam9m10g45eknf_linux_dt_defconfig
$ make
If the building process is successful, the final .bin image can be found under binaries/
1.4 Compile SDCardBoot
===========================================================================================
Let's use at91sam9m10g45ek as an example,
1.4.1 Compile booting u-boot image from SDCard
$ cd <project directory>
$ make mrproper
$ make at91sam9m10g45eksd_uboot_defconfig
$ make
If the building process is successful, the final .bin image can be found under binaries/
1.4.2 Compile booting linux image from SDCard
$ cd <project directory>
$ make mrproper
$ make at91sam9m10g45eksd_linux_defconfig
$ make
If the building process is successful, the final .bin image can be found under binaries/
1.4.2 Compile booting linux & dt image from SDCard
$ cd <project directory>
$ make mrproper
$ make at91sam9m10g45eksd_linux_dt_defconfig
$ make
If the building process is successful, the final .bin image can be found under binaries/
-End-