-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathREADME
More file actions
178 lines (140 loc) · 6.52 KB
/
Copy pathREADME
File metadata and controls
178 lines (140 loc) · 6.52 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.
The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html
To build and use the buildroot stuff, do the following:
1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images
You do not need to be root to build or run buildroot. Have fun!
Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.
# NUVOTON MA35 SERIES RELATED DESCRIPTION:
============================================
The following boards were test in this release:
- numaker_hmi_ma35d16aj2_defconfig
- numaker_hmi_ma35h04f70_defconfig
- numaker_iot_ma35d03f80_defconfig
- numaker_iot_ma35d14f80_defconfig
- numaker_iot_ma35d14f90_defconfig
- numaker_iot_ma35d16f70_defconfig
- numaker_iot_ma35d16f80_defconfig
- numaker_iot_ma35d16f90_defconfig
- numaker_som_ma35d15a910_defconfig
- numaker_som_ma35d15aa10_defconfig
- numaker_som_ma35d15aa1a_defconfig
- numaker_som_ma35d15ab1a_defconfig
- numaker_som_ma35d16a81_defconfig
- numaker_som_ma35d16a910_defconfig
- numaker_som_ma35d16a91_defconfig
- numaker_som_ma35d16aa10_defconfig
- numaker_som_ma35d16aa1a_defconfig
- numaker_som_ma35d16aa1_defconfig
- numaker_som_ma35d16ab1a_defconfig
Device tree of arm-trusted-firmware need to set cpu speed, DDR type and psci
according to the board. do the following:
1) run 'make numaker_som_ma35d16a81_defconfig'
2) run 'make menuconfig'
3) modify 'Bootloader --> (ma35d1-cpu800-custom-ddr) In-tree Device Tree Source file names'
The currently provided device tree are as follows:
- ma35d1-cpu800-wb-128m
- ma35d1-cpu800-wb-256m
- ma35d1-cpu800-wb-512m
- ma35d1-cpu800-custom-ddr
- ma35d0-cpu650-wb-256m
- ma35d0-cpu650-custom-ddr
- ma35h0-cpu650-wb-128m
- ma35h0-cpu650-custom-ddr
Device tree of Kernel need to set DDR size
according to the board. do the following:
1) run 'make numaker_som_ma35d16a81_defconfig'
2) run 'make menuconfig'
3) modify 'Kernel --> (nuvoton/ma35d1-som-256m) In-tree Device Tree Source file names '
The currently provided device tree are as follows:
- nuvoton/ma35d1-iot-128m
- nuvoton/ma35d1-iot-512m
- nuvoton/ma35d1-som-256m
- nuvoton/ma35d1-som-512m
- nuvoton/ma35d1-som-1g
After the complilatiobn is complete, you can get the complete image in
"output/images" folder
SD card image provides the full system to boot with TFA, u-Boot, Kernel and file system,
do the following:
1) run 'make nuvoton_ma35d1_som_defconfig'
2) run 'make menuconfig'
3) modify 'Bootloaders ---> Board defconfig' to 'ma35d1_sdcard0' or 'ma35d1_sdcard1'
4) run 'make arm-trusted-firmware-dirclean uboot-dirclean linux-dirclean'
if you use optee-os, you need to run 'make optee-os-dirclean'
5) run 'make'
6) wait while it compiles
7) find pack-core-image-buildroot-ma35d1-som-sdcard.bin and
core-image-buildroot-ma35d1-som.rootfs.sdcard in output/images
Run the following command to write SD card image.
Change sdx below to match the one used by the SD card.
sudo dd if=core-image-buildroot-ma35d1-som.rootfs.sdcard of=/dev/sdx conv=fsync
SPINAND image provides the full system to boot with TFA, u-Boot, Kernel and file system,
do the following:
1) run 'make numaker_som_ma35d16a81_defconfig'
2) run 'make menuconfig'
3) modify 'Bootloaders ---> Board defconfig' to 'ma35d1_spinand'
4) run 'make arm-trusted-firmware-dirclean uboot-dirclean linux-dirclean'
if you use optee-os, you need to run 'make optee-os-dirclean'
5) run 'make'
6) wait while it compiles
7) find pack-core-image-buildroot-ma35d1-som-spinand.bin in output/images
NAND image provides the full system to boot with TFA, u-Boot, Kernel and file system,
do the following:
1) run 'make numaker_som_ma35d16a81_defconfig'
2) run 'make menuconfig'
3) modify 'Bootloaders ---> Board defconfig' to 'ma35d1_nand'
4) run 'make arm-trusted-firmware-dirclean uboot-dirclean linux-dirclean'
if you use optee-os, you need to run 'make optee-os-dirclean'
5) run 'make'
6) wait while it compiles
7) find pack-core-image-buildroot-ma35d1-som-nand.bin in output/images
NOTE: pack-core-image-buildroot-#####.bin can be used by the MA35D1 nuwriter tool
============================================
Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on OFTC IRC.
If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches
# NUVOTON NUC980 SERIES RELATED DESCRIPTION:
============================================
The following boards were test in this release:
- nuvoton_nuc980_defconfig
- nuvoton_nuc980_iot_defconfig
- nuvoton_nuc980_chili_defconfig
- nuvoton_nuc980_eth2uart_defconfig
- nuvoton_nuc980_lorag_defconfig
1) For example, run 'make nuvoton_nuc980_iot_defconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, dtb, bootloader, root filesystem, etc. in output/images
# NUVOTON N9H30 SERIES RELATED DESCRIPTION:
============================================
The following boards were tested in this release:
- nuvoton_n9h30_emwin_defconfig
- nuvoton_n9h30_matter_defconfig
1) For example, run 'make nuvoton_n9h30_emwin_defconfig'
2) run 'make'
3) wait while it compiles
4) find the kernel, dtb, bootloader, root filesystem, etc. in output/images
These configurations provide example setups for N9H30 platforms,
including graphics (emWin) and Matter protocol support.
# NUVOTON NUC970 SERIES RELATED DESCRIPTION:
============================================
The following boards were tested in this release:
- nuvoton_nuc972_defconfig
1) For example, run 'make nuvoton_nuc972_defconfig'
2) run 'make'
3) wait while it compiles
4) find the kernel, dtb, bootloader, root filesystem, etc. in output/images
This configuration provides a basic setup for the NUC970 series platform.
You do not need to be root to build or run buildroot. Have fun!
If users need to modiy buildroot parameters, user can run 'make menuconfig'
to modify buildroot parameters.