Skip to content

Commit 5677eee

Browse files
committed
buildroot
Signed-off-by: Mahammed Sadik Shaik <s-sadik@ti.com>
1 parent eb9d150 commit 5677eee

3 files changed

Lines changed: 351 additions & 361 deletions

File tree

.rstcheck.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[rstcheck]
2-
ignore_directives = ifconfig,tabs,tab,group-tab,code-tab
2+
ignore_directives = ifconfig,tabs,tab,group-tab,code-tab,graphviz
33
# ignore the following languages because they require external compilers and
44
# snippets in this repo depend on external code
55
ignore_languages = c,cpp,c++

source/buildroot/Overview.rst

Lines changed: 2 additions & 360 deletions
Original file line numberDiff line numberDiff line change
@@ -48,366 +48,8 @@ The open-source Linux\ :sup:`®` distribution, based on the Buildroot build syst
4848
Each component in the diagram below is a **clickable hyperlink** that navigates
4949
directly to the corresponding source repository or documentation.
5050

51-
.. container:: buildroot-arch-diagram
52-
53-
.. graphviz::
54-
:caption: Buildroot-based Linux Architecture for TI Devices
55-
56-
digraph buildroot_architecture {
57-
rankdir=TB;
58-
graph [splines=ortho, nodesep=0.7, ranksep=0.9,
59-
fontname="Arial", pad=0.7, bgcolor="white"];
60-
node [fontname="Arial", fontsize=7, margin=0];
61-
edge [fontname="Arial", fontsize=13, penwidth=2.5,
62-
arrowsize=1.5];
63-
64-
subgraph cluster_outer {
65-
label="Buildroot-based Linux(R) Embedded Software for TI Devices";
66-
style="filled,bold";
67-
fillcolor="#F0F4FF";
68-
color="#1A237E";
69-
penwidth=5;
70-
fontsize=26;
71-
fontcolor="#1A237E";
72-
fontname="Arial Bold";
73-
74-
legend [
75-
shape=none,
76-
label=<
77-
<TABLE BORDER="2" CELLBORDER="0" CELLSPACING="4"
78-
CELLPADDING="5" BGCOLOR="#FAFAFA"
79-
COLOR="#424242" STYLE="ROUNDED">
80-
<TR>
81-
<TD COLSPAN="2" BGCOLOR="#424242"
82-
STYLE="ROUNDED" WIDTH="150">
83-
<FONT COLOR="white" POINT-SIZE="12">
84-
<B>Legend</B>
85-
</FONT>
86-
</TD>
87-
</TR>
88-
<TR>
89-
<TD BGCOLOR="#2E7D32" STYLE="ROUNDED"
90-
WIDTH="18" HEIGHT="18">
91-
<FONT COLOR="white" POINT-SIZE="4"> </FONT>
92-
</TD>
93-
<TD ALIGN="LEFT" WIDTH="130">
94-
<FONT COLOR="#2E7D32" POINT-SIZE="11">
95-
<B>Applications Layer</B>
96-
</FONT>
97-
</TD>
98-
</TR>
99-
<TR>
100-
<TD BGCOLOR="#E65100" STYLE="ROUNDED"
101-
WIDTH="18" HEIGHT="18">
102-
<FONT COLOR="white" POINT-SIZE="4"> </FONT>
103-
</TD>
104-
<TD ALIGN="LEFT" WIDTH="130">
105-
<FONT COLOR="#E65100" POINT-SIZE="11">
106-
<B>Buildroot Build System</B>
107-
</FONT>
108-
</TD>
109-
</TR>
110-
<TR>
111-
<TD BGCOLOR="#4527A0" STYLE="ROUNDED"
112-
WIDTH="18" HEIGHT="18">
113-
<FONT COLOR="white" POINT-SIZE="4"> </FONT>
114-
</TD>
115-
<TD ALIGN="LEFT" WIDTH="130">
116-
<FONT COLOR="#4527A0" POINT-SIZE="11">
117-
<B>TI BSP Components</B>
118-
</FONT>
119-
</TD>
120-
</TR>
121-
<TR>
122-
<TD BGCOLOR="#880E4F" STYLE="ROUNDED"
123-
WIDTH="18" HEIGHT="18">
124-
<FONT COLOR="white" POINT-SIZE="4"> </FONT>
125-
</TD>
126-
<TD ALIGN="LEFT" WIDTH="130">
127-
<FONT COLOR="#880E4F" POINT-SIZE="11">
128-
<B>Build Artifacts</B>
129-
</FONT>
130-
</TD>
131-
</TR>
132-
</TABLE>
133-
>
134-
];
135-
136-
apps [
137-
shape=none,
138-
label=<
139-
<TABLE BORDER="4" CELLBORDER="0" CELLSPACING="7"
140-
CELLPADDING="7" BGCOLOR="#E8F5E9"
141-
COLOR="#2E7D32" STYLE="ROUNDED">
142-
<TR>
143-
<TD COLSPAN="2" BGCOLOR="#2E7D32"
144-
STYLE="ROUNDED" WIDTH="219">
145-
<FONT COLOR="white" POINT-SIZE="15">
146-
<B>&#9312; Applications</B>
147-
</FONT>
148-
</TD>
149-
</TR>
150-
<TR>
151-
<TD BGCOLOR="#43A047" STYLE="ROUNDED"
152-
WIDTH="103" HEIGHT="51">
153-
<FONT COLOR="white" POINT-SIZE="13">
154-
<B>GUI Applications</B>
155-
</FONT>
156-
</TD>
157-
<TD BGCOLOR="#43A047" STYLE="ROUNDED"
158-
WIDTH="103" HEIGHT="51">
159-
<FONT COLOR="white" POINT-SIZE="13">
160-
<B>Custom Applications</B>
161-
</FONT>
162-
</TD>
163-
</TR>
164-
<TR>
165-
<TD BGCOLOR="#66BB6A" STYLE="ROUNDED"
166-
WIDTH="103" HEIGHT="51">
167-
<FONT COLOR="white" POINT-SIZE="13">
168-
<B>Trusted Applications</B>
169-
</FONT>
170-
</TD>
171-
<TD BGCOLOR="#66BB6A" STYLE="ROUNDED"
172-
WIDTH="103" HEIGHT="51">
173-
<FONT COLOR="white" POINT-SIZE="13">
174-
<B>Middleware and Libraries</B>
175-
</FONT>
176-
</TD>
177-
</TR>
178-
</TABLE>
179-
>
180-
];
181-
182-
buildroot [
183-
shape=none,
184-
label=<
185-
<TABLE BORDER="4" CELLBORDER="0" CELLSPACING="7"
186-
CELLPADDING="11" BGCOLOR="#FFFDE7"
187-
COLOR="#E65100" STYLE="ROUNDED">
188-
<TR>
189-
<TD COLSPAN="2" BGCOLOR="#E65100"
190-
STYLE="ROUNDED" WIDTH="336"
191-
HREF="https://gitlab.com/buildroot.org/buildroot/"
192-
TARGET="_blank"
193-
TOOLTIP="Buildroot official repository">
194-
<FONT COLOR="white" POINT-SIZE="23">
195-
<B>&#9313; Buildroot Build System</B>
196-
</FONT>
197-
</TD>
198-
</TR>
199-
<TR>
200-
<TD BGCOLOR="#F9A825" STYLE="ROUNDED"
201-
WIDTH="162" HEIGHT="78"
202-
HREF="https://gitlab.com/buildroot.org/buildroot/"
203-
TARGET="_blank"
204-
TOOLTIP="Buildroot Core repository">
205-
<FONT COLOR="#3E2723" POINT-SIZE="19">
206-
<B>Buildroot</B>
207-
</FONT>
208-
</TD>
209-
<TD BGCOLOR="#FFB300" STYLE="ROUNDED"
210-
WIDTH="162" HEIGHT="78"
211-
HREF="https://github.com/TexasInstruments/buildroot-external-TI"
212-
TARGET="_blank"
213-
TOOLTIP="TI Buildroot external tree repository">
214-
<FONT COLOR="#3E2723" POINT-SIZE="19">
215-
<B>Buildroot External-TI</B>
216-
</FONT>
217-
</TD>
218-
</TR>
219-
</TABLE>
220-
>
221-
];
222-
223-
artifacts [
224-
shape=none,
225-
label=<
226-
<TABLE BORDER="4" CELLBORDER="0" CELLSPACING="7"
227-
CELLPADDING="7" BGCOLOR="#F3E5F5"
228-
COLOR="#880E4F" STYLE="ROUNDED">
229-
<TR>
230-
<TD BGCOLOR="#880E4F" STYLE="ROUNDED" WIDTH="147">
231-
<FONT COLOR="white" POINT-SIZE="15">
232-
<B>Build Artifacts</B>
233-
</FONT>
234-
</TD>
235-
</TR>
236-
<TR>
237-
<TD BGCOLOR="#AD1457" STYLE="ROUNDED" HEIGHT="47">
238-
<FONT COLOR="white" POINT-SIZE="13">
239-
<B>SD Card Image</B>
240-
</FONT>
241-
</TD>
242-
</TR>
243-
<TR>
244-
<TD BGCOLOR="#C2185B" STYLE="ROUNDED" HEIGHT="47">
245-
<FONT COLOR="white" POINT-SIZE="13">
246-
<B>Boot Artifacts</B>
247-
</FONT>
248-
</TD>
249-
</TR>
250-
<TR>
251-
<TD BGCOLOR="#D81B60" STYLE="ROUNDED" HEIGHT="47">
252-
<FONT COLOR="white" POINT-SIZE="13">
253-
<B>Root Filesystem</B>
254-
</FONT>
255-
</TD>
256-
</TR>
257-
</TABLE>
258-
>
259-
];
260-
261-
tibsp [
262-
shape=none,
263-
label=<
264-
<TABLE BORDER="4" CELLBORDER="0" CELLSPACING="7"
265-
CELLPADDING="7" BGCOLOR="#EDE7F6"
266-
COLOR="#4527A0" STYLE="ROUNDED">
267-
<TR>
268-
<TD COLSPAN="4" BGCOLOR="#4527A0"
269-
STYLE="ROUNDED" WIDTH="351">
270-
<FONT COLOR="white" POINT-SIZE="15">
271-
<B>&#9314; TI BSP Components</B>
272-
</FONT>
273-
</TD>
274-
</TR>
275-
<TR>
276-
<TD COLSPAN="4" BGCOLOR="#512DA8" STYLE="ROUNDED">
277-
<FONT COLOR="white" POINT-SIZE="11">
278-
<B>Firmware and Security Components</B>
279-
</FONT>
280-
</TD>
281-
</TR>
282-
<TR>
283-
<TD BGCOLOR="#7B1FA2" STYLE="ROUNDED"
284-
WIDTH="81" HEIGHT="51"
285-
HREF="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/"
286-
TARGET="_blank"
287-
TOOLTIP="Trusted Firmware-A repository">
288-
<FONT COLOR="white" POINT-SIZE="12">
289-
<B>TF-A</B>
290-
</FONT>
291-
</TD>
292-
<TD BGCOLOR="#8E24AA" STYLE="ROUNDED"
293-
WIDTH="81" HEIGHT="51"
294-
HREF="https://github.com/OP-TEE/optee_os"
295-
TARGET="_blank"
296-
TOOLTIP="OP-TEE OS repository">
297-
<FONT COLOR="white" POINT-SIZE="12">
298-
<B>OP-TEE</B>
299-
</FONT>
300-
</TD>
301-
<TD BGCOLOR="#AB47BC" STYLE="ROUNDED"
302-
WIDTH="81" HEIGHT="51"
303-
HREF="https://git.ti.com/cgit/processor-firmware/ti-linux-firmware"
304-
TARGET="_blank"
305-
TOOLTIP="TI Linux Firmware repository">
306-
<FONT COLOR="white" POINT-SIZE="12">
307-
<B>TI Linux Firmware</B>
308-
<BR/>
309-
<FONT POINT-SIZE="8">
310-
(N/A for AM62Lx-EVM)
311-
</FONT>
312-
</FONT>
313-
</TD>
314-
<TD BGCOLOR="#9C27B0" STYLE="ROUNDED"
315-
WIDTH="81" HEIGHT="51"
316-
HREF="https://github.com/u-boot/u-boot"
317-
TARGET="_blank"
318-
TOOLTIP="U-Boot repository">
319-
<FONT COLOR="white" POINT-SIZE="12">
320-
<B>U-Boot</B>
321-
</FONT>
322-
</TD>
323-
</TR>
324-
<TR>
325-
<TD COLSPAN="4" BGCOLOR="#1565C0" STYLE="ROUNDED">
326-
<FONT COLOR="white" POINT-SIZE="11">
327-
<B>Linux Kernel Components</B>
328-
</FONT>
329-
</TD>
330-
</TR>
331-
<TR>
332-
<TD BGCOLOR="#1976D2" STYLE="ROUNDED"
333-
WIDTH="81" HEIGHT="51"
334-
HREF="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/"
335-
TARGET="_blank"
336-
TOOLTIP="Linux Kernel repository">
337-
<FONT COLOR="white" POINT-SIZE="12">
338-
<B>TI Linux Kernel</B>
339-
</FONT>
340-
</TD>
341-
<TD COLSPAN="2" BGCOLOR="#1E88E5"
342-
STYLE="ROUNDED" HEIGHT="51"
343-
HREF="https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel"
344-
TARGET="_blank"
345-
TOOLTIP="TI Linux Kernel repository">
346-
<FONT COLOR="white" POINT-SIZE="12">
347-
<B>TI Kernel Drivers</B>
348-
</FONT>
349-
</TD>
350-
<TD BGCOLOR="#42A5F5" STYLE="ROUNDED"
351-
WIDTH="81" HEIGHT="51"
352-
HREF="https://github.com/torvalds/linux/tree/master/arch/arm64/boot/dts/ti"
353-
TARGET="_blank"
354-
TOOLTIP="TI Device Tree sources">
355-
<FONT COLOR="white" POINT-SIZE="12">
356-
<B>Device Tree</B>
357-
</FONT>
358-
</TD>
359-
</TR>
360-
</TABLE>
361-
>
362-
];
363-
}
364-
365-
// Invisible anchor node for right column row 3
366-
anc_top [style=invis, width=0, height=0, label=""];
367-
368-
// Row 1: apps (left) | legend (right)
369-
{ rank=same; apps; legend; }
370-
// Row 2: buildroot (left) | artifacts (right)
371-
{ rank=same; buildroot; artifacts; }
372-
// Row 3: tibsp (left) | anchor (right)
373-
{ rank=same; tibsp; anc_top; }
374-
375-
// Data-flow edges
376-
apps -> buildroot [
377-
color="#2E7D32",
378-
penwidth=3.0,
379-
arrowsize=1.5,
380-
fontcolor="#2E7D32",
381-
fontsize=13,
382-
fontname="Arial Bold"
383-
];
384-
385-
tibsp -> buildroot [
386-
color="#4527A0",
387-
penwidth=3.0,
388-
arrowsize=1.5,
389-
fontcolor="#4527A0",
390-
fontsize=13,
391-
fontname="Arial Bold"
392-
];
393-
394-
buildroot -> artifacts [
395-
color="#E65100",
396-
penwidth=3.5,
397-
arrowsize=1.8,
398-
label=" Output ",
399-
fontcolor="#E65100",
400-
fontsize=13,
401-
fontname="Arial Bold",
402-
style=bold
403-
];
404-
405-
// Invisible ordering edges
406-
apps -> buildroot [style=invis, weight=10];
407-
buildroot -> tibsp [style=invis, weight=10];
408-
legend -> artifacts [style=invis, weight=10];
409-
artifacts -> anc_top [style=invis, weight=10];
410-
}
51+
.. graphviz:: buildroot_architecture.gv
52+
:caption: Buildroot-based Linux Architecture for TI Devices
41153

41254
*************************
41355
Key Features of Buildroot

0 commit comments

Comments
 (0)