Skip to content

Commit 5d02182

Browse files
committed
boards: beagle: pocketbeagle_2: doc: Add DFU instructions
- Add instructions for DFU on a53 target - Useful for rapid development. Signed-off-by: Ayush Singh <ayush@beagleboard.org>
1 parent f03c105 commit 5d02182

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

boards/beagle/pocketbeagle_2/doc/index.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ Flashing
9595
A53 Core
9696
========
9797

98+
Using SD Card
99+
-------------
100+
98101
The testing requires the binary to be copied to the BOOT partition in SD card.
99102

100103
To test the A53 core, we build the :zephyr:code-sample:`hello_world` sample with the following command.
@@ -118,6 +121,38 @@ The SD card can now be used for booting.
118121

119122
The binary will run and print Hello world to the debug port.
120123

124+
DFU
125+
---
126+
127+
While doing rapid development, the SD Card workflow can become cumbersome. Since AM62x platform
128+
supports DFU over USB, we can use it to boot Zephyr applications, without ever having an SD Card
129+
plugged in. For more in-depth instructions, check out the `blog post <https://www.beagleboard.org/blog/2025-11-14-pocketbeagle-2-zephyr-dfu>`_.
130+
131+
1. Download the DFU u-boot binaries. Using `v2025.10-am62-pocketbeagle2-11.02.04 <https://github.com/beagleboard/u-boot-pocketbeagle2/releases/download/v2025.10-am62-pocketbeagle2-11.02.04/>`_ here.
132+
133+
.. code-block:: console
134+
135+
wget https://github.com/beagleboard/u-boot-pocketbeagle2/releases/download/v2025.10-am62-pocketbeagle2-11.02.04/tiboot3-usbdfu.bin
136+
wget https://github.com/beagleboard/u-boot-pocketbeagle2/releases/download/v2025.10-am62-pocketbeagle2-11.02.04/tispl.bin
137+
wget https://github.com/beagleboard/u-boot-pocketbeagle2/releases/download/v2025.10-am62-pocketbeagle2-11.02.04/u-boot-zephyrdfu.img
138+
139+
2. Install `dfu-util <https://dfu-util.sourceforge.net/>`_ CLI.
140+
141+
3. Plug in PocketBeagle 2 and check if it is available.
142+
143+
.. code-block:: console
144+
145+
dfu-util -l
146+
147+
4. Flash. The application path is assumed to be :file:`build/zephyr/zephyr.bin` here.
148+
149+
.. code-block:: console
150+
151+
dfu-util -R -a bootloader -D ./tiboot3-usbdfu.bin
152+
dfu-util -R -a tispl.bin -D ./tispl.bin
153+
dfu-util -R -a u-boot.img -D ./u-boot-zephyrdfu.img
154+
dfu-util -R -a zephyr.bin -D ./build/zephyr/zephyr.bin
155+
121156
M4F Core
122157
========
123158

0 commit comments

Comments
 (0)