From 456721e7a6ee544be1539c07b864a7a7744e11db Mon Sep 17 00:00:00 2001
From: Jason Kridner <jkridner@beagleboard.org>
Date: Mon, 26 Sep 2022 14:31:18 -0400
Subject: [PATCH] boards/beaglebone/ai-64: add update.rst

---
 boards/beaglebone/ai-64/index.rst  |  1 +
 boards/beaglebone/ai-64/update.rst | 60 ++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 boards/beaglebone/ai-64/update.rst

diff --git a/boards/beaglebone/ai-64/index.rst b/boards/beaglebone/ai-64/index.rst
index 598431af..691b7213 100644
--- a/boards/beaglebone/ai-64/index.rst
+++ b/boards/beaglebone/ai-64/index.rst
@@ -16,4 +16,5 @@ BeagleBone® AI-64 brings a complete system for developing artificial intelligen
    /boards/beaglebone/ai-64/ch09.rst
    /boards/beaglebone/ai-64/ch10.rst
    /boards/beaglebone/ai-64/ch11.rst
+   /boards/beaglebone/ai-64/update.rst
    /boards/beaglebone/ai-64/edge_ai_apps/index.rst
diff --git a/boards/beaglebone/ai-64/update.rst b/boards/beaglebone/ai-64/update.rst
new file mode 100644
index 00000000..576492b5
--- /dev/null
+++ b/boards/beaglebone/ai-64/update.rst
@@ -0,0 +1,60 @@
+.. _bbai64-update:
+
+Update software on BeagleBone AI-64
+###################################
+
+Production boards currently ship with the factory-installed 2022-01-14-8GB image. To upgrade from the software image on your BeagleBone AI-64 to the latest, you don't need to completely reflash the board. If you do want to reflash it, visit the flashing instructions on the getting started page.
+Factory Image update (without reflashing)…
+
+.. code-block:: bash
+   :linenos:
+
+   sudo apt update
+   sudo apt install --only-upgrade bb-j721e-evm-firmware generic-sys-mods
+   sudo apt upgrade
+
+Update U-Boot:
+==============
+
+to ensure only tiboot3.bin is in boot0, the pre-production image we tried to do more in boot0, but failed…
+
+.. code-block:: bash
+   :linenos:
+
+   sudo /opt/u-boot/bb-u-boot-beagleboneai64/install-emmc.sh
+   sudo /opt/u-boot/bb-u-boot-beagleboneai64/install-microsd.sh
+   sudo reboot
+
+Update Kernel and SGX modules:
+==============================
+
+.. code-block:: bash
+   :linenos:
+
+   sudo apt install bbb.io-kernel-5.10-ti-k3-j721e    
+
+Update xfce:
+============
+
+.. code-block:: bash
+   :linenos:
+
+   sudo apt install bbb.io-xfce4-desktop
+
+Update ti-edge-ai 8.2 examples
+==============================
+
+.. code-block:: bash
+   :linenos:
+
+   sudo apt install ti-edgeai-8.2-base ti-vision-apps-8.2 ti-vision-apps-eaik-firmware-8.2
+
+Cleanup:
+========
+
+.. code-block:: bash
+   :linenos:
+
+   sudo apt autoremove --purge
+
+
-- 
GitLab