From 3355dbfba3fc0950d21433935028a08ef04daccd Mon Sep 17 00:00:00 2001 From: sadik Date: Wed, 17 Dec 2025 16:34:41 +0530 Subject: [PATCH 1/2] fix(configs): include flasing via fastboot to AM62L include the flashig via fastboot using snagboot for the AM62L paltform linux toc file. Signed-off-by: sadik --- configs/AM62LX/AM62LX_linux_toc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/AM62LX/AM62LX_linux_toc.txt b/configs/AM62LX/AM62LX_linux_toc.txt index 57531fed6..9d649724f 100644 --- a/configs/AM62LX/AM62LX_linux_toc.txt +++ b/configs/AM62LX/AM62LX_linux_toc.txt @@ -92,6 +92,7 @@ linux/Foundational_Components_Filesystem linux/Foundational_Components_Tools linux/Foundational_Components/Tools/Development_Tools linux/Foundational_Components/Tools/Pin_Mux_Tools +linux/Foundational_Components/Tools/Flash_via_Fastboot #linux/Foundational_Components/Tools/GPIO_Tools linux/Foundational_Components_Machine_Learning linux/Foundational_Components/Machine_Learning/arm_compute_library From 69b80d7f19a1a232646ef211f64c11c650060f26 Mon Sep 17 00:00:00 2001 From: sadik Date: Wed, 17 Dec 2025 16:51:04 +0530 Subject: [PATCH 2/2] fix(linux): update snagboot documentation update snagboot document for AM62L platform and add table for snagbfactory board names. Signed-off-by: sadik --- .../Tools/Flash_via_Fastboot.rst | 80 ++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/source/linux/Foundational_Components/Tools/Flash_via_Fastboot.rst b/source/linux/Foundational_Components/Tools/Flash_via_Fastboot.rst index 2d8bd5dcc..4f9757323 100644 --- a/source/linux/Foundational_Components/Tools/Flash_via_Fastboot.rst +++ b/source/linux/Foundational_Components/Tools/Flash_via_Fastboot.rst @@ -29,7 +29,7 @@ Installing Snagfactory .. note:: - At the time of 11.1 release, the corresponding Snagfactory version was v2.3. + At the time of 11.2 release, the corresponding Snagfactory version was v2.5. .. ifconfig:: CONFIG_part_variant in ('AM62DX') @@ -102,6 +102,12 @@ in :file:`Rules.make` file present in the top level of Linux SDK Installer. BOOT_MACHINE_A53=am62dx_evm_a53_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config +.. ifconfig:: CONFIG_part_variant in ('AM62LX') + + .. code-block:: make + + BOOT_MACHINE_A53=am62lx_evm_defconfig am62x_a53_usbdfu.config am6x_a53_snagfactory.config + Generate the bootloader images using top-level makefile by running following commands on the terminal from the top-level of the Linux SDK installer. @@ -185,6 +191,36 @@ the SnagFactory GUI tool. * Once you load the YAML configuration file, the SnagFactory GUI tool will flash the device with the specified configuration. +The following table outline the board names for snagfactory yaml configuration. + +.. list-table:: + :header-rows: 1 + + * - Evaluation Board + - Family + - board + * - am62pxx-evm + - am6x + - am62p + * - am62xx-evm + - am6x + - am625 + * - am62lxx-evm + - am62lx + - am62l3 + * - am62xx-lp-evm + - am6x + - am625 + * - am62sip-evm + - am6x + - am625 + * - am64xx-evm + - am6x + - am6442 + * - am62dxx-evm + - am6x + - am62d2 + The example configuration files for **emmc** and **ospi-nand** and **ospi-nor** are as follows. For reference, the :file:`ospi-nor.yaml` file for **am62p** platform can be as follows: @@ -314,6 +350,48 @@ For reference, the :file:`emmc.yaml` file for **am62p** platform can be as foll - image: "/rootfs.ext4" part: "rootfs" +For reference, the :file:`emmc.yaml` file for **am62l** platform can be as follows: + +.. code-block:: text + + boards: + "0451:6165": "am62l3" + + soc-models: + am62l3-firmware: + tiboot3: + path: "/tiboot3.bin" + tispl: + path: "/tispl.bin" + u-boot: + path: "/u-boot.img" + + am62l3-tasks: + - target-device: mmc0 + fb-buffer-addr: 0x82000000 + fb-buffer-size: 0x7000000 + + - task: gpt + args: + - name: rootfs + size: 15G + + - task: reset + + - task: flash + args: + - image: "/tiboot3.bin" + image-offset: 0x0 + part: "hwpart 1" + - image: "/tispl.bin" + image-offset: 0x80000 + part: "hwpart 1" + - image: "/u-boot.img" + image-offset: 0x280000 + part: "hwpart 1" + - image: "/rootfs.ext4" + part: "rootfs" + **Snagboot Command-line Configuration and Device Flashing Procedure** Snagrecover uses vendor-specific ROM code mechanisms to initialize external RAM and run U-Boot, without modifying any non-volatile memories.