From 7ef9475fed18945327237296d596cf9b7347f7fd Mon Sep 17 00:00:00 2001
From: Jason Kridner <jkridner@beagleboard.org>
Date: Thu, 12 Jan 2023 17:01:35 -0500
Subject: [PATCH] BeaglePlay flash instructions

* Add instructions for pre-built binaries
---
 .../beagleplay/zephyr-cc1352-development.rst  | 22 +++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/boards/beagleplay/zephyr-cc1352-development.rst b/boards/beagleplay/zephyr-cc1352-development.rst
index 26d09ce9..a6dd0c74 100644
--- a/boards/beagleplay/zephyr-cc1352-development.rst
+++ b/boards/beagleplay/zephyr-cc1352-development.rst
@@ -83,12 +83,26 @@ Steps
 
 #. Ensure the `bcfserial` driver isn't blocking the serial port.
 
-#. Download and flash the `WPANUSB` Zephyr application firmware onto the CC1352P7 on BeaglePlay from
-the `releases on git.beagleboard.org <https://git.beagleboard.org/beagleplay/cc1352/wpanusb/-/releases>`_.
+    .. code-block: bash
 
-    .. code-block: shell-session
+        echo "    fdtoverlays /overlays/k3-am625-beagleplay-bcfserial-no-firmware.dtbo" | sudo tee -a /boot/firmware/extlinux/extlinux.conf
+        sudo shutdown -r now
 
-        debian@BeaglePlay:~$
+#. Download and flash the `WPANUSB` Zephyr application firmware onto the CC1352P7 on BeaglePlay from the `releases on git.beagleboard.org <https://git.beagleboard.org/beagleplay/cc1352/wpanusb/-/releases>`_.
+
+    .. code-block: bash
+
+        cd
+        wget https://debian.beagle.cc/images/cc1352-wpanusb-0.0.2.zip
+        unzip cc1352-wpanusb-0.0.2.zip
+        ./build/play/cc2538-bsl.py build/play
+
+#. Ensure the `bcfserial` driver is set to load.
+
+    .. code-block: bash
+
+        sudo sed -e '/bcfserial-no-firmware/ s/^#*/#/' -i /boot/firmware/extlinux/extlinux.conf
+        sudo shutdown -r now
 
 Setup Zephyr development on BeaglePlay
 *********************************************
-- 
GitLab