All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10
@ 2021-08-10 19:12 Marek Vasut
  2021-08-10 19:12 ` [PATCH 2/2] doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown Marek Vasut
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Marek Vasut @ 2021-08-10 19:12 UTC (permalink / raw)
  To: u-boot
  Cc: Marek Vasut, Marcel Ziswiler, Peng Fan, Stefano Babic, Ye Li, uboot-imx

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.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Ye Li <ye.li@nxp.com>
Cc: uboot-imx <uboot-imx@nxp.com>
---
 doc/imx/misc/psb.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/imx/misc/psb.rst b/doc/imx/misc/psb.rst
index 71ac09fac8d..3533c916405 100644
--- a/doc/imx/misc/psb.rst
+++ b/doc/imx/misc/psb.rst
@@ -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
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown
  2021-08-10 19:12 [PATCH 1/2] doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10 Marek Vasut
@ 2021-08-10 19:12 ` Marek Vasut
  2021-08-11 10:11   ` Marcel Ziswiler
  2021-10-20 17:20   ` sbabic
  2021-08-11 10:10 ` [PATCH 1/2] doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10 Marcel Ziswiler
  2021-10-20 17:20 ` sbabic
  2 siblings, 2 replies; 6+ messages in thread
From: Marek Vasut @ 2021-08-10 19:12 UTC (permalink / raw)
  To: u-boot
  Cc: Marek Vasut, Marcel Ziswiler, Peng Fan, Stefano Babic, Ye Li, uboot-imx

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 <marex@denx.de>
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Ye Li <ye.li@nxp.com>
Cc: uboot-imx <uboot-imx@nxp.com>
---
 doc/imx/misc/psb.rst | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/doc/imx/misc/psb.rst b/doc/imx/misc/psb.rst
index 3533c916405..2eccdcfccd9 100644
--- a/doc/imx/misc/psb.rst
+++ b/doc/imx/misc/psb.rst
@@ -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
 ~~~~~~~~~~
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10
  2021-08-10 19:12 [PATCH 1/2] doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10 Marek Vasut
  2021-08-10 19:12 ` [PATCH 2/2] doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown Marek Vasut
@ 2021-08-11 10:10 ` Marcel Ziswiler
  2021-10-20 17:20 ` sbabic
  2 siblings, 0 replies; 6+ messages in thread
From: Marcel Ziswiler @ 2021-08-11 10:10 UTC (permalink / raw)
  To: marex, u-boot; +Cc: peng.fan, uboot-imx, sbabic, ye.li

On Tue, 2021-08-10 at 21:12 +0200, Marek Vasut wrote:
> 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.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>

Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

> Cc: Peng Fan <peng.fan@nxp.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Ye Li <ye.li@nxp.com>
> Cc: uboot-imx <uboot-imx@nxp.com>
> ---
>  doc/imx/misc/psb.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/doc/imx/misc/psb.rst b/doc/imx/misc/psb.rst
> index 71ac09fac8d..3533c916405 100644
> --- a/doc/imx/misc/psb.rst
> +++ b/doc/imx/misc/psb.rst
> @@ -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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown
  2021-08-10 19:12 ` [PATCH 2/2] doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown Marek Vasut
@ 2021-08-11 10:11   ` Marcel Ziswiler
  2021-10-20 17:20   ` sbabic
  1 sibling, 0 replies; 6+ messages in thread
From: Marcel Ziswiler @ 2021-08-11 10:11 UTC (permalink / raw)
  To: marex, u-boot; +Cc: peng.fan, uboot-imx, sbabic, ye.li

On Tue, 2021-08-10 at 21:12 +0200, Marek Vasut wrote:
> 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 <marex@denx.de>

Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

> Cc: Peng Fan <peng.fan@nxp.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Ye Li <ye.li@nxp.com>
> Cc: uboot-imx <uboot-imx@nxp.com>
> ---
>  doc/imx/misc/psb.rst | 16 +++++++++-------
>  1 file changed, 9 insertions(+), 7 deletions(-)
> 
> diff --git a/doc/imx/misc/psb.rst b/doc/imx/misc/psb.rst
> index 3533c916405..2eccdcfccd9 100644
> --- a/doc/imx/misc/psb.rst
> +++ b/doc/imx/misc/psb.rst
> @@ -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
>  ~~~~~~~~~~

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10
  2021-08-10 19:12 [PATCH 1/2] doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10 Marek Vasut
  2021-08-10 19:12 ` [PATCH 2/2] doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown Marek Vasut
  2021-08-11 10:10 ` [PATCH 1/2] doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10 Marcel Ziswiler
@ 2021-10-20 17:20 ` sbabic
  2 siblings, 0 replies; 6+ messages in thread
From: sbabic @ 2021-10-20 17:20 UTC (permalink / raw)
  To: Marek Vasut, u-boot

> 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.
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> Cc: Peng Fan <peng.fan@nxp.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Ye Li <ye.li@nxp.com>
> Cc: uboot-imx <uboot-imx@nxp.com>
> Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
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: sbabic@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 2/2] doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown
  2021-08-10 19:12 ` [PATCH 2/2] doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown Marek Vasut
  2021-08-11 10:11   ` Marcel Ziswiler
@ 2021-10-20 17:20   ` sbabic
  1 sibling, 0 replies; 6+ messages in thread
From: sbabic @ 2021-10-20 17:20 UTC (permalink / raw)
  To: Marek Vasut, u-boot

> 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 <marex@denx.de>
> Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> Cc: Peng Fan <peng.fan@nxp.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Ye Li <ye.li@nxp.com>
> Cc: uboot-imx <uboot-imx@nxp.com>
> Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
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: sbabic@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-20 17:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10 19:12 [PATCH 1/2] doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10 Marek Vasut
2021-08-10 19:12 ` [PATCH 2/2] doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown Marek Vasut
2021-08-11 10:11   ` Marcel Ziswiler
2021-10-20 17:20   ` sbabic
2021-08-11 10:10 ` [PATCH 1/2] doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10 Marcel Ziswiler
2021-10-20 17:20 ` sbabic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.