Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions configs/AM335X/AM335X_buildroot_config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# General family replacement variables and configuration values for Buildroot build

# This file is processed by Python scripts to define both replacement
# variable and configuration values for a device family build.
# For replacement variables, all variables should be listed on a single
# line, and all the variables should be listed on consecutive lines
# (i.e. no additional blank lines between the replacement variables).
# Similarly, all the configuration values should be listed on individual,
# consecutive lines (with no blank linues between the configuration values).
#
# Note that neither replacement variables nor configuration values may contain
# a colon (i.e. ":") in their name. However, values may contain colons.

Replacement Variables
---------------------
'__PART_FAMILY_NAME__' : 'AM335x'
'__PART_FAMILY_DEVICE_NAMES__' : 'AM335x'
'__PRODUCT_LINE_NAME__' : 'Sitara MPU'
'__SDK_BUILD_MACHINE__' : 'am335x-evm'
'__SDK_FULL_NAME__' : 'Buildroot for AM335x'
'__SDK_SHORT_NAME__' : 'Buildroot'
'__SDK_DOWNLOAD_URL__' : '`AM335X-Linux-SDK-Download-page <https://www.ti.com/tool/PROCESSOR-SDK-AM335X>`__'
'__LINUX_UBUNTU_VERSION_LONG__' : '22.04 (64-bit)'
'__LINUX_UBUNTU_VERSION_SHORT__' : '22.04'

Configuration Values
--------------------
'CONFIG_part_family' : 'AM335X_family'
'CONFIG_part_variant' : 'AM335X'
'CONFIG_sdk' : 'BuildrootSDK'
6 changes: 6 additions & 0 deletions configs/AM335X/AM335X_buildroot_tags.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Project name and HTML title
project = u'Buildroot for AM335x'
html_title = 'Buildroot AM335x Documentation'

# The master toctree document.
master_doc = 'devices/AM335X/buildroot/index'
8 changes: 8 additions & 0 deletions configs/AM335X/AM335X_buildroot_toc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
devices/AM335X/buildroot/index
devices/AM335X/buildroot/Getting_Started_Guide

buildroot/Overview
devices/AM335X/linux/Release_Specific
devices/AM335X/linux/Release_Specific_Release_Notes
buildroot/Building_Buildroot_Image
buildroot/Building_Buildroot_Packages
71 changes: 71 additions & 0 deletions source/devices/AM335X/buildroot/Getting_Started_Guide.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
##########################
Get started with Buildroot

Check warning on line 2 in source/devices/AM335X/buildroot/Getting_Started_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Headings] Use sentence-style capitalization in 'Get started with Buildroot'. Raw Output: {"message":"[RedHat.Headings] Use sentence-style capitalization in 'Get started with Buildroot'.","location":{"path":"source/devices/AM335X/buildroot/Getting_Started_Guide.rst","range":{"start":{"line":2,"column":1},"end":{"line":2,"column":27}}},"severity":"INFO","code":{"value":"RedHat.Headings","url":"https://redhat-documentation.github.io/vale-at-red-hat/reference-guide.html#headings"}}
##########################

The SD card image sdcard.img provided on the |__SDK_DOWNLOAD_URL__| is all you
need to get started and explore Buildroot on TI microprocessors.

The Buildroot image provided has all the basic packages required to boot with
Weston as default window manager. You can install any new package and
customize the filesystem as required.

Follow the steps on this page to create an SD card image.

**************
Hardware setup
**************

In addition to the SK Evaluation Module (EVM) itself, you need the following hardware:

1. USB Type-C 5V - 15V and 3A power supply
2. Micro-SD card reader
3. Micro-SD card (16GB or larger recommended)
4. USB Micro-B cable for Universal Asynchronous Receiver/Transmitter (UART) serial communication
5. High-Definition Multimedia Interface (HDMI) display and HDMI cable
6. USB mouse and keyboard (for controlling the UI)
7. Ethernet cable (for network access)

*********************************
Create SD card using balenaEtcher
*********************************

1. Download the default bootable SD card image available on the release page as
:file:`tisdk-buildroot-sdcard-image-am335xx-evm-<version>.img` for Linux image
or :file:`tisdk-buildroot-sdcard-image-rt-am335xx-evm-<version>.img` for RT-Linux
image.

2. Download and install the balenaEtcher tool:

Balena Etcher is an open-source utility that can be installed on both Linux and Windows.

Check warning on line 39 in source/devices/AM335X/buildroot/Getting_Started_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.PassiveVoice] 'be installed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice. Raw Output: {"message":"[RedHat.PassiveVoice] 'be installed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.","location":{"path":"source/devices/AM335X/buildroot/Getting_Started_Guide.rst","range":{"start":{"line":39,"column":58},"end":{"line":39,"column":70}}},"severity":"INFO","code":{"value":"RedHat.PassiveVoice","url":"https://redhat-documentation.github.io/vale-at-red-hat/reference-guide.html#passive-voice"}}

Check warning on line 39 in source/devices/AM335X/buildroot/Getting_Started_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Hyphens] Use 'open source' rather than 'open-source'. Raw Output: {"message":"[RedHat.Hyphens] Use 'open source' rather than 'open-source'.","location":{"path":"source/devices/AM335X/buildroot/Getting_Started_Guide.rst","range":{"start":{"line":39,"column":29},"end":{"line":39,"column":40}}},"severity":"WARNING","code":{"value":"RedHat.Hyphens","url":"https://redhat-documentation.github.io/vale-at-red-hat/reference-guide.html#hyphens"}}
Download the tool from `this link <https://www.balena.io/etcher/>`__ and install it.

3. Flash the SD Card image to the SD card:

Insert a micro SD card into the USB SD card reader and start Etcher. Choose the sdcard
image to flash, choose the USB SD card reader as the target, and then click "Flash".
Etcher will decompress the image and write it to the SD card, as shown in the following figure:

.. figure:: /images/balena_etcher.png
:height: 600
:width: 800

********************************
Set the EVM to SD card Boot mode

Check warning on line 53 in source/devices/AM335X/buildroot/Getting_Started_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Headings] Use sentence-style capitalization in 'Set the EVM to SD card Boot mode'. Raw Output: {"message":"[RedHat.Headings] Use sentence-style capitalization in 'Set the EVM to SD card Boot mode'.","location":{"path":"source/devices/AM335X/buildroot/Getting_Started_Guide.rst","range":{"start":{"line":53,"column":1},"end":{"line":53,"column":33}}},"severity":"INFO","code":{"value":"RedHat.Headings","url":"https://redhat-documentation.github.io/vale-at-red-hat/reference-guide.html#headings"}}
********************************

The simplest way to run Linux on the SK EVM is through an SD card. For that, you must
configure the EVM for SD card boot.
Refer to `AM335x SK EVM User's Guide <https://www.ti.com/tool/BEAGL-BONE-GRN-ECO>`__ for
detailed information about boot mode configurations.

***************************
Boot and Validate Buildroot

Check warning on line 62 in source/devices/AM335X/buildroot/Getting_Started_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Headings] Use sentence-style capitalization in 'Boot and Validate Buildroot'. Raw Output: {"message":"[RedHat.Headings] Use sentence-style capitalization in 'Boot and Validate Buildroot'.","location":{"path":"source/devices/AM335X/buildroot/Getting_Started_Guide.rst","range":{"start":{"line":62,"column":1},"end":{"line":62,"column":28}}},"severity":"INFO","code":{"value":"RedHat.Headings","url":"https://redhat-documentation.github.io/vale-at-red-hat/reference-guide.html#headings"}}
***************************

Make sure to connect the Ethernet cable, HDMI Display, Mouse and Keyboard to the EVM.
Insert the SD Card in the board and Power ON the EVM.

Booting to prompt will take around 12 seconds.


You've successfully booted Buildroot on AM335x(BEAGL-BONE-GRN-ECO).

Check warning on line 71 in source/devices/AM335X/buildroot/Getting_Started_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Definitions] Define acronyms and abbreviations (such as 'ECO') on first occurrence if they're likely to be unfamiliar. Raw Output: {"message":"[RedHat.Definitions] Define acronyms and abbreviations (such as 'ECO') on first occurrence if they're likely to be unfamiliar.","location":{"path":"source/devices/AM335X/buildroot/Getting_Started_Guide.rst","range":{"start":{"line":71,"column":63},"end":{"line":71,"column":66}}},"severity":"INFO","code":{"value":"RedHat.Definitions","url":"https://redhat-documentation.github.io/vale-at-red-hat/reference-guide.html#definitions"}}

Check warning on line 71 in source/devices/AM335X/buildroot/Getting_Started_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Definitions] Define acronyms and abbreviations (such as 'GRN') on first occurrence if they're likely to be unfamiliar. Raw Output: {"message":"[RedHat.Definitions] Define acronyms and abbreviations (such as 'GRN') on first occurrence if they're likely to be unfamiliar.","location":{"path":"source/devices/AM335X/buildroot/Getting_Started_Guide.rst","range":{"start":{"line":71,"column":59},"end":{"line":71,"column":62}}},"severity":"INFO","code":{"value":"RedHat.Definitions","url":"https://redhat-documentation.github.io/vale-at-red-hat/reference-guide.html#definitions"}}

Check warning on line 71 in source/devices/AM335X/buildroot/Getting_Started_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Definitions] Define acronyms and abbreviations (such as 'BONE') on first occurrence if they're likely to be unfamiliar. Raw Output: {"message":"[RedHat.Definitions] Define acronyms and abbreviations (such as 'BONE') on first occurrence if they're likely to be unfamiliar.","location":{"path":"source/devices/AM335X/buildroot/Getting_Started_Guide.rst","range":{"start":{"line":71,"column":54},"end":{"line":71,"column":58}}},"severity":"INFO","code":{"value":"RedHat.Definitions","url":"https://redhat-documentation.github.io/vale-at-red-hat/reference-guide.html#definitions"}}

Check warning on line 71 in source/devices/AM335X/buildroot/Getting_Started_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Definitions] Define acronyms and abbreviations (such as 'BEAGL') on first occurrence if they're likely to be unfamiliar. Raw Output: {"message":"[RedHat.Definitions] Define acronyms and abbreviations (such as 'BEAGL') on first occurrence if they're likely to be unfamiliar.","location":{"path":"source/devices/AM335X/buildroot/Getting_Started_Guide.rst","range":{"start":{"line":71,"column":48},"end":{"line":71,"column":53}}},"severity":"INFO","code":{"value":"RedHat.Definitions","url":"https://redhat-documentation.github.io/vale-at-red-hat/reference-guide.html#definitions"}}
33 changes: 33 additions & 0 deletions source/devices/AM335X/buildroot/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.. _linux-index:

###########################
Buildroot Developer's Guide

Check warning on line 4 in source/devices/AM335X/buildroot/index.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Headings] Use sentence-style capitalization in 'Buildroot Developer's Guide'. Raw Output: {"message":"[RedHat.Headings] Use sentence-style capitalization in 'Buildroot Developer's Guide'.","location":{"path":"source/devices/AM335X/buildroot/index.rst","range":{"start":{"line":4,"column":1},"end":{"line":4,"column":28}}},"severity":"INFO","code":{"value":"RedHat.Headings","url":"https://redhat-documentation.github.io/vale-at-red-hat/reference-guide.html#headings"}}
###########################

.. rubric:: Welcome to the Buildroot Developer's Guide
:name: welcome-to-the-buildroot-developers-guide

.. include:: ../../../buildroot/_Buildroot_Developers_Guide.rst

.. toctree::
:maxdepth: 5
:hidden:
:numbered:

../../../buildroot/Overview
/devices/AM335X/linux/Release_Specific
Getting_Started_Guide
../../../buildroot/Building_Buildroot_Image
../../../buildroot/Building_Buildroot_Packages

.. rubric:: Feedback
:name: feedback

If you have feedback, suggestions, or ideas on how to improve the SDK
or docs, it is very appreciated. Please post your ideas to the Linux
forum listed at :ref:`Technical Support <technical-support>`.


+--------------------------------+-------------------------------------------------------------------------------------+
| .. Image:: /images/E2e.jpg | For technical support please post your questions at `E2E <https://e2e.ti.com/>`__. |
+--------------------------------+-------------------------------------------------------------------------------------+
1 change: 1 addition & 0 deletions source/devices/AM335X/buildroot/version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12_01_00_05_03
Loading