From ed493973f124a3f06af1d58c0b8627bbb29387bf Mon Sep 17 00:00:00 2001 From: Paresh Bhagat Date: Thu, 19 Dec 2024 19:32:35 +0530 Subject: [PATCH] feat(Snagfactory): Add a note for Fastboot buffer size Snagfactory flashing will fail if fastboot buffer size is smaller than the file being flashed for non-sparse images. Add a note for the same. Also add a note for corresponding Snagfactory version for 10.1. Signed-off-by: Paresh Bhagat --- .../Tools/Flash_via_Fastboot.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/linux/Foundational_Components/Tools/Flash_via_Fastboot.rst b/source/linux/Foundational_Components/Tools/Flash_via_Fastboot.rst index 6142b165..ca3bbcc1 100644 --- a/source/linux/Foundational_Components/Tools/Flash_via_Fastboot.rst +++ b/source/linux/Foundational_Components/Tools/Flash_via_Fastboot.rst @@ -26,6 +26,10 @@ Installing Snagfactory $ python3 -m pip install --user snagboot +.. note:: + + At the time of 10.1 release, the corresponding Snagfactory version was v2.0. + ***************************************** Building bootloader binaries for Recovery ***************************************** @@ -98,6 +102,13 @@ images after make can be found in :file:`board-support/built-images`. For more details regarding USB DFU refer :ref:`usb-device-firmware-upgrade-label`. +.. note:: + + ``CONFIG_FASTBOOT_BUF_SIZE`` is defined in :file:`am6x_a53_snagfactory.config` + and specifies the maximum buffer size for flashing files. Its value must be equal + or greater than the largest file size being flashed. If smaller, non-sparse + images will not flash correctly due to issues with chunked processing. + *********** Connections ***********