Skip to content

Commit 4beb09b

Browse files
paresh-bhagat12jsuhaas22
authored andcommitted
feat: Update Buildroot doc for AM62L 11.0 release
Update build steps for Buildroot for AM62L 11.0 release. Signed-off-by: Paresh Bhagat <[email protected]>
1 parent 6c2d0ba commit 4beb09b

File tree

4 files changed

+93
-90
lines changed

4 files changed

+93
-90
lines changed

source/buildroot/Building_Buildroot_Image.rst

Lines changed: 37 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ the following command:
1717

1818
.. code-block:: console
1919
20-
$ sudo apt install debianutils sed make binutils build-essential gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc git
20+
$ sudo apt install debianutils sed make binutils build-essential gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc git
2121
2222
************************
2323
Steps to Build the Image
@@ -34,18 +34,18 @@ To set up and use the `buildroot-external-ti` external tree, follow these steps:
3434

3535
.. code-block:: console
3636
37-
$ git clone -b 2024.05.3 https://github.com/buildroot/buildroot
38-
$ git clone -b 10.01.10.04 https://github.com/TexasInstruments/buildroot-external-TI.git
37+
$ git clone -b 2024.11.1 https://github.com/buildroot/buildroot
38+
$ git clone -b 11.00.05.02 https://github.com/TexasInstruments/buildroot-external-TI.git
3939
4040
2. Configure Buildroot to use the external tree and choose a configuration file
4141

4242
.. code-block:: console
4343
44-
$ cd buildroot
45-
During configuration
46-
$ make BR2_EXTERNAL=<path to external tree>/buildroot-external-TI <configuration file>
47-
OR
48-
export BR2_EXTERNAL=<path to external tree>/buildroot-external-TI
44+
$ cd buildroot
45+
During configuration
46+
$ make BR2_EXTERNAL=<path to external tree>/buildroot-external-TI <configuration file>
47+
OR
48+
export BR2_EXTERNAL=<path to external tree>/buildroot-external-TI
4949
5050
Select the Build Configuration
5151
==============================
@@ -57,10 +57,10 @@ configuration file for your target device.
5757

5858
.. code-block:: console
5959
60-
$ cd buildroot
61-
$ make <defconfig>
62-
For example, for AM62X-SK Linux build use ti_release_am62x_sk_defconfig
63-
$ make ti_release_am62x_sk_defconfig
60+
$ cd buildroot
61+
$ make <defconfig>
62+
For example, for AM62LX-evm Linux build use ti_release_am62lx_evm_defconfig
63+
$ make ti_release_am62lx_evm_defconfig
6464
6565
Customize the Configuration
6666
===========================
@@ -70,7 +70,7 @@ interface. This step is optional but useful if you need to make specific adjustm
7070

7171
.. code-block:: console
7272
73-
$ make menuconfig
73+
$ make menuconfig
7474
7575
Build the Image
7676
===============
@@ -80,7 +80,7 @@ the necessary components and creates the root filesystem, kernel, and bootloader
8080

8181
.. code-block:: console
8282
83-
$ make TI_K3_BOOT_FIRMWARE_VERSION=10.01.10
83+
$ make TI_K3_BOOT_FIRMWARE_VERSION=11.00.05
8484
8585
The build process can take some time, depending on your system's resources and
8686
the complexity of the configuration.
@@ -107,9 +107,9 @@ Example for SD card:
107107

108108
.. code-block:: console
109109
110-
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
111-
$ sync
112-
Replace /dev/sdX with the appropriate device identifier for your SD card.
110+
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
111+
$ sync
112+
Replace /dev/sdX with the appropriate device identifier for your SD card.
113113
114114
Booting the SD Card Image
115115
=========================
@@ -119,7 +119,7 @@ After the image is flashed to SD Card. Change the boot mode pins in
119119

120120
.. code-block:: console
121121
122-
SW1[1:8] = 11000010 and SW2[1:8] = 01000000
122+
SW1[1:8] = 11000010 and SW2[1:8] = 01000000
123123
124124
Insert the SD Card in SD Card slot in |__PART_FAMILY_DEVICE_NAMES__| board. Use a
125125
USB Micro-B cable to connect the host PC to the USB Micro-B interface for UART
@@ -128,28 +128,25 @@ terminal window:
128128

129129
.. code-block:: console
130130
131-
Trying to boot from MMC2
132-
Authentication passed
133-
Authentication passed
134-
Authentication passed
135-
...
136-
...
137-
...
138-
Starting network: [ 2.823578] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
139-
[ 2.823635] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
140-
udhcpc: started, v1.36.1
141-
udhcpc: broadcasting discover
142-
udhcpc: no lease, forking to background
143-
[ 5.944022] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
144-
[ 5.944130] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
145-
udhcpc: started, v1.36.1
146-
udhcpc: broadcasting discover
147-
udhcpc: no lease, forking to background
148-
OK
149-
150-
Welcome to Buildroot
151-
buildroot login: root
152-
#
131+
Trying to boot from MMC2
132+
...
133+
...
134+
...
135+
Starting network: [ 2.823578] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
136+
[ 2.823635] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
137+
udhcpc: started, v1.36.1
138+
udhcpc: broadcasting discover
139+
udhcpc: no lease, forking to background
140+
[ 5.944022] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
141+
[ 5.944130] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
142+
udhcpc: started, v1.36.1
143+
udhcpc: broadcasting discover
144+
udhcpc: no lease, forking to background
145+
OK
146+
147+
Welcome to Buildroot
148+
buildroot login: root
149+
#
153150
154151
*************
155152
Going further

source/buildroot/Building_Buildroot_Packages.rst

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ Run make menuconfig to enable the packages you have added in the Buildroot confi
2525

2626
.. code-block:: console
2727
28-
$ make menuconfig
28+
$ make menuconfig
2929
3030
.. figure:: /images/buildroot_menuconfig.png
31-
:height: 600
32-
:width: 800
31+
:height: 600
32+
:width: 800
3333

3434
Navigate to the relevant package categories and enable the desired packages.
3535
For **nano** and :command:`htop`, you would typically find them under the Target packages menu.
@@ -47,7 +47,7 @@ compile, and include the specified packages in the build process.
4747

4848
.. code-block:: console
4949
50-
$ make
50+
$ make
5151
5252
The build process can take some time, depending on your system's resources and
5353
the complexity of the configuration.
@@ -61,8 +61,8 @@ filesystem.
6161

6262
.. code-block:: console
6363
64-
$ find output/target -name nano
65-
$ find output/target -name htop
64+
$ find output/target -name nano
65+
$ find output/target -name htop
6666
6767
You should see the paths to your package binaries, indicating that they were
6868
successfully included in the build.
@@ -95,8 +95,8 @@ For example, if you want to add a package named myapp:
9595

9696
.. code-block:: console
9797
98-
$ cd buildroot-external-TI/
99-
$ mkdir -p package/myapp
98+
$ cd buildroot-external-TI/
99+
$ mkdir -p package/myapp
100100
101101
Create the Package Files
102102
========================
@@ -110,28 +110,28 @@ Example Config.in:
110110

111111
.. code-block:: console
112112
113-
config BR2_PACKAGE_MYAPP
114-
bool "myapp"
115-
help
116-
MyApp is an example application.
113+
config BR2_PACKAGE_MYAPP
114+
bool "myapp"
115+
help
116+
MyApp is an example application.
117117
118118
Example myapp.mk
119119

120120
.. code-block:: console
121121
122-
MYAPP_VERSION = 1.0
123-
MYAPP_SITE = http://example.com/downloads
124-
MYAPP_SOURCE = myapp-$(MYAPP_VERSION).tar.gz
122+
MYAPP_VERSION = 1.0
123+
MYAPP_SITE = http://example.com/downloads
124+
MYAPP_SOURCE = myapp-$(MYAPP_VERSION).tar.gz
125125
126-
define MYAPP_BUILD_CMDS
127-
$(MAKE) -C $(@D)
128-
endef
126+
define MYAPP_BUILD_CMDS
127+
$(MAKE) -C $(@D)
128+
endef
129129
130-
define MYAPP_INSTALL_TARGET_CMDS
131-
$(INSTALL) -D -m 0755 $(@D)/myapp $(TARGET_DIR)/usr/bin/myapp
132-
endef
130+
define MYAPP_INSTALL_TARGET_CMDS
131+
$(INSTALL) -D -m 0755 $(@D)/myapp $(TARGET_DIR)/usr/bin/myapp
132+
endef
133133
134-
$(eval $(generic-package))
134+
$(eval $(generic-package))
135135
136136
Add the Package to Buildroot Configuration
137137
==========================================
@@ -141,7 +141,7 @@ new package. Add the following line:
141141

142142
.. code-block:: console
143143
144-
$ source "$BR2_EXTERNAL_TI_PATH/package/myapp/Config.in"
144+
$ source "$BR2_EXTERNAL_TI_PATH/package/myapp/Config.in"
145145
146146
Also edit external.mk to include package mk file
147147

@@ -157,15 +157,15 @@ Buildroot configuration.
157157

158158
.. code-block:: console
159159
160-
$ cd buildroot/
161-
$ make menuconfig
160+
$ cd buildroot/
161+
$ make menuconfig
162162
163163
Navigate to your package in the External Options menu and enable it. Save and exit
164164
the menuconfig interface.
165165

166166
.. figure:: /images/buildroot_custom_package.png
167-
:height: 600
168-
:width: 800
167+
:height: 600
168+
:width: 800
169169

170170
Build the Package
171171
=================
@@ -175,7 +175,7 @@ compile, and include your new package in the build process.
175175

176176
.. code-block:: console
177177
178-
$ make
178+
$ make
179179
180180
Verify the Package
181181
==================
@@ -186,7 +186,7 @@ filesystem.
186186

187187
.. code-block:: console
188188
189-
$ find output/target -name myapp
189+
$ find output/target -name myapp
190190
191191
You should see the path to your package's binary, indicating that it was
192192
successfully included in the build.

source/buildroot/Overview.rst

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,23 @@ Repository structure
4646

4747
.. code-block::
4848
49-
buildroot-external-TI
50-
├── external.desc
51-
├── external.mk
52-
├── Config.in
53-
├── board
54-
│ ├── ti
55-
│ │ ├── am62x-sk
56-
│ │ ├── common
57-
├── COPYING
58-
├── README.md
59-
├── configs
60-
│ ├── ti_release_am62x_sk_defconfig
61-
│ └── ti_release_am62x_sk_rt_defconfig
49+
buildroot-external-TI
50+
├── external.desc
51+
├── external.mk
52+
├── Config.in
53+
├── board
54+
│ ├── ti
55+
│ │ ├── am62x-sk
56+
│ │ ├── am62lx-evm
57+
│ │ ├── common
58+
├── COPYING
59+
├── README.md
60+
├── configs
61+
│ ├─ ti_release_am62x_sk_defconfig
62+
│ ├─ ti_release_am62x_sk_rt_defconfig
63+
│ ├─ ti_release_am62lx_evm_defconfig
64+
│ ├─ ti_release_am62lx_evm_rt_defconfig
65+
├── package
6266
6367
:file:`external.desc`: contains name and description of br2-external tree.
6468

@@ -70,6 +74,8 @@ Repository structure
7074

7175
:file:`Config.in`: used to define package recipes.
7276

77+
:file:`package`: used to add package.
78+
7379
.. _technical-support:
7480

7581
*****************

source/devices/AM62LX/buildroot/Getting_Started_Guide.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,22 @@ Create SD Card using balenaEtcher
4646
Etcher will decompress the image and write it to the SD card, as shown below:
4747

4848
.. figure:: /images/balena_etcher.png
49-
:height: 600
50-
:width: 800
49+
:height: 600
50+
:width: 800
5151

5252
********************************
5353
Set the EVM to SD card Boot mode
5454
********************************
5555

5656
The simplest way to run Linux on the EVM is through an SD card. For that, the
5757
EVM will need to be configured for SD card boot.
58-
Refer to `AM62L EVM User's Guide <https://www.ti.com/tool/EVM-AM62L>`__ for
58+
Refer to `AM62L EVM User's Guide <https://www.ti.com/tool/TMDS62LEVM>`__ for
5959
detailed information about boot mode configurations. For quick reference,
6060
the figure below shows the boot mode switch setting for SD card boot.
6161

62-
.. figure:: /images/AM62x_SD_boot.jpg
63-
:height: 600
64-
:width: 800
62+
.. figure:: /images/AM62LX_SD_boot.jpg
63+
:height: 600
64+
:width: 800
6565

6666
***************************
6767
Boot and Validate Buildroot
@@ -73,7 +73,7 @@ Insert the SD Card in the board and Power ON the EVM.
7373
After few seconds the booting prompt will appear.
7474

7575
.. figure:: /images/buildroot_homescreen.png
76-
:height: 600
77-
:width: 800
76+
:height: 600
77+
:width: 800
7878

7979
You've successfully booted Buildroot on AM62L.

0 commit comments

Comments
 (0)