From 338d124b8dbccdf9d0283bc261a56d9dd4979741 Mon Sep 17 00:00:00 2001 From: Santhosh Kumar K Date: Fri, 6 Dec 2024 14:03:55 +0530 Subject: [PATCH] docs(linux): U-Boot: Update OSPI NAND offsets for J784S4 Update the OSPI Documentation for J784S4 to align with SDK offsets Signed-off-by: Prasanth Babu Mantena Signed-off-by: Santhosh Kumar K --- .../U-Boot/UG-QSPI.rst | 41 +++++++++++++------ 1 file changed, 29 insertions(+), 12 deletions(-) diff --git a/source/linux/Foundational_Components/U-Boot/UG-QSPI.rst b/source/linux/Foundational_Components/U-Boot/UG-QSPI.rst index 7fe76e2b0..e3d0bc46f 100644 --- a/source/linux/Foundational_Components/U-Boot/UG-QSPI.rst +++ b/source/linux/Foundational_Components/U-Boot/UG-QSPI.rst @@ -1222,9 +1222,9 @@ Flash properties: u-boot.img over tftp and then flash it to OSPI NOR/NAND at respective addresses. - * OSPI NOR: + * OSPI NOR: - .. code-block:: console + .. code-block:: console => sf probe => tftp ${loadaddr} tiboot3.bin @@ -1234,18 +1234,35 @@ Flash properties: => tftp ${loadaddr} u-boot.img => sf update $loadaddr 0x280000 $filesize - * OSPI NAND: + .. ifconfig:: CONFIG_part_variant in ('J742S2', 'J722S') - .. code-block:: console + * OSPI NAND: - => mtd list - => mtd erase spi-nand0 - => tftp $loadaddr tiboot3.bin - => mtd write spi-nand0 $loadaddr 0x0 $filesize - => tftp $loadaddr tispl.bin - => mtd write spi-nand0 $loadaddr 0x80000 $filesize - => tftp $loadaddr u-boot.img - => mtd write spi-nand0 $loadaddr 0x280000 $filesize + .. code-block:: console + + => mtd list + => mtd erase spi-nand0 + => tftp $loadaddr tiboot3.bin + => mtd write spi-nand0 $loadaddr 0x0 $filesize + => tftp $loadaddr tispl.bin + => mtd write spi-nand0 $loadaddr 0x80000 $filesize + => tftp $loadaddr u-boot.img + => mtd write spi-nand0 $loadaddr 0x280000 $filesize + + .. ifconfig:: CONFIG_part_variant in ('J784S4') + + * OSPI NAND: + + .. code-block:: console + + => mtd list + => mtd erase spi-nand0 + => tftp $loadaddr tiboot3.bin + => mtd write spi-nand0 $loadaddr 0x0 $filesize + => tftp $loadaddr tispl.bin + => mtd write spi-nand0 $loadaddr 0x100000 $filesize + => tftp $loadaddr u-boot.img + => mtd write spi-nand0 $loadaddr 0x300000 $filesize **PHY calibration**