-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
132 lines (104 loc) · 5.03 KB
/
README
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
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 MA35D1 SERIES RELATED DESCRIPTION:
============================================
The following boards were test in this release:
- numaker_iot_ma35d16f70_defconfig
- numaker_som_ma35d16a81_defconfig
NOTE: If you want to use buildroot in the tc version, you need to download the following:
git clone https://github.com/OpenNuvoton/MA35D1_Buildroot.git -b tc_v1.00
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-wb-512m) 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-cpu1g-wb-256m
- ma35d1-cpu1g-wb-512m
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: [email protected]
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
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.
Integrated in Buildroot-2024.02 by Nuvoton MPU
Author [email protected]