doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10
PATCH 1/2 doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10
The PERSIST_SECONDARY_BOOT is in GPR10 address 0x30390098, adjust the text which currently says it is in GPR0 while using the correct address of GPR10.
--- doc/imx/misc/psb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/imx/misc/psb.rst +1 -1
@@ -159,7 +159,7 @@ WARM reset into B-copy using WDT ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To perform a reboot into B-copy, the PERSIST_SECONDARY_BOOT must be set -in SRC_GPR0 register. Example on iMX8MM:: +in SRC_GPR10 register. Example on iMX8MM:: => mw 0x30390098 0x40000000
Signature · 1 line
2.30.2
PATCH 2/2 doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown
On iMX8MM with Fast Boot fuse blown, the SIT and A-copy image are placed at different offset than on iMX8MM with Fast Boot fuse NOT blown. List both options and both offsets to avoid confusion.
--- doc/imx/misc/psb.rst | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)
doc/imx/misc/psb.rst +9 -7
@@ -75,13 +75,15 @@ offset 0x1 means 512 Bytes from the start of SD/eMMC card data partition). For details on the addition of two numbers in recommended B-copy offset, see SIT format below. -+----------+--------------------+-----------------------+-----------------------------+ -| SoC | SIT offset (fixed) | A-copy offset (fixed) | B-copy offset (recommended) | -+----------+--------------------+-----------------------+-----------------------------+ -| iMX7D | 0x1 | 0x2 | 0x800+0x2 | -+----------+--------------------+-----------------------+-----------------------------+ -| iMX8MM | 0x41 | 0x42 | 0x1000+0x42 | -+----------+--------------------+-----------------------+-----------------------------+ ++----------+-----------------------------+--------------------+-----------------------+-----------------------------+ +| SoC | Boot Device Type | SIT offset (fixed) | A-copy offset (fixed) | B-copy offset (recommended) | ++----------+-----------------------------+--------------------+-----------------------+-----------------------------+ +| iMX7D | | 0x1 | 0x2 | 0x800+0x2 | ++----------+-----------------------------+--------------------+-----------------------+-----------------------------+ +| iMX8MM | SD/eSD/MMC/eMMC normal boot | 0x41 | 0x42 | 0x1000+0x42 | ++----------+-----------------------------+--------------------+-----------------------+-----------------------------+ +| iMX8MM | eMMC Fast boot fuse blown | 0x1 | 0x2 | 0x1000+0x2 | ++----------+-----------------------------+--------------------+-----------------------+-----------------------------+ SIT format ~~~~~~~~~~
Signature · 1 line
2.30.2
Re: [PATCH 2/2] doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown
Quoted 5 lines · Marek Vasut
On iMX8MM with Fast Boot fuse blown, the SIT and A-copy image are placed at different offset than on iMX8MM with Fast Boot fuse NOT blown. List both options and both offsets to avoid confusion.
Signed-off-by Marek Vasut <[email protected]>
Quoted 44 lines
Cc Peng Fan <[email protected]>Cc Stefano Babic <[email protected]>Cc Ye Li <[email protected]>Cc uboot-imx <[email protected]>---
doc/imx/misc/psb.rst | 16 +++++++++-------1 file changed, 9 insertions(+), 7 deletions(-)doc/imx/misc/psb.rst +0
-0@@ -75,13 +75,15 @@ offset 0x1 means 512 Bytes from the start of SD/eMMC card data partition).For details on the addition of two numbers in recommended B-copy offset, see
SIT format below.
-+----------+--------------------+-----------------------+-----------------------------+
-| SoC | SIT offset (fixed) | A-copy offset (fixed) | B-copy offset (recommended) |
-+----------+--------------------+-----------------------+-----------------------------+
-| iMX7D | 0x1 | 0x2 | 0x800+0x2 |
-+----------+--------------------+-----------------------+-----------------------------+
-| iMX8MM | 0x41 | 0x42 | 0x1000+0x42 |
-+----------+--------------------+-----------------------+-----------------------------+
++----------+-----------------------------+--------------------+-----------------------+---------------------
--------+
+| SoC | Boot Device Type | SIT offset (fixed) | A-copy offset (fixed) | B-copy offset (recommended) |
++----------+-----------------------------+--------------------+-----------------------+---------------------
--------+
+| iMX7D | | 0x1 | 0x2 | 0x800+0x2 |
++----------+-----------------------------+--------------------+-----------------------+---------------------
--------+
+| iMX8MM | SD/eSD/MMC/eMMC normal boot | 0x41 | 0x42 | 0x1000+0x42 |
++----------+-----------------------------+--------------------+-----------------------+---------------------
--------+
+| iMX8MM | eMMC Fast boot fuse blown | 0x1 | 0x2 | 0x1000+0x2 |
++----------+-----------------------------+--------------------+-----------------------+---------------------
--------+
SIT format
~~~~~~~~~~
PATCH 2/2 doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown
In reply to Marek VasutQuoted 10 lines
On iMX8MM with Fast Boot fuse blown, the SIT and A-copy image are placed at different offset than on iMX8MM with Fast Boot fuse NOT blown. List both options and both offsets to avoid confusion.
Signed-off-by Marek Vasut <[email protected]>Cc Marcel Ziswiler <[email protected]>Cc Peng Fan <[email protected]>Cc Stefano Babic <[email protected]>Cc Ye Li <[email protected]>Cc uboot-imx <[email protected]>Reviewed-by Marcel Ziswiler <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================
Quoted 5 lines · Marek Vasut
The
PERSIST_SECONDARY_BOOTis in GPR10 address0x30390098, adjust the text which currently says it is in GPR0 while using the correct address of GPR10.Signed-off-by Marek Vasut <[email protected]>
Quoted 20 lines
Cc Peng Fan <[email protected]>Cc Stefano Babic <[email protected]>Cc Ye Li <[email protected]>Cc uboot-imx <[email protected]>---
doc/imx/misc/psb.rst | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)doc/imx/misc/psb.rst +0
-0@@ -159,7 +159,7 @@ WARM reset into B-copy using WDT~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To perform a reboot into B-copy, thePERSIST_SECONDARY_BOOTmust be setdoc/imx/misc/psb.rst +1
-1-in SRC_GPR0 register. Example on iMX8MM:: +in SRC_GPR10 register. Example on iMX8MM::
=> mw0x303900980x40000000
PATCH 1/2 doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10
In reply to Marek VasutQuoted 10 lines
The
PERSIST_SECONDARY_BOOTis in GPR10 address0x30390098, adjust the text which currently says it is in GPR0 while using the correct address of GPR10.Signed-off-by Marek Vasut <[email protected]>Cc Marcel Ziswiler <[email protected]>Cc Peng Fan <[email protected]>Cc Stefano Babic <[email protected]>Cc Ye Li <[email protected]>Cc uboot-imx <[email protected]>Reviewed-by Marcel Ziswiler <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================