diff mbox

[U-Boot] README.imx6: Fix Code Signing Tool command line

Message ID 1498496539-3876-1-git-send-email-breno.lima@nxp.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Breno Matheus Lima June 26, 2017, 5:02 p.m. UTC
The CST input option was replaced by -i on CST 2.3.2, so update the
Code Signing Tool command line.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
---
 doc/README.imx6 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Fabio Estevam June 26, 2017, 6:42 p.m. UTC | #1
On Mon, Jun 26, 2017 at 2:02 PM, Breno Lima <breno.lima@nxp.com> wrote:
> The CST input option was replaced by -i on CST 2.3.2, so update the
> Code Signing Tool command line.
>
> Signed-off-by: Breno Lima <breno.lima@nxp.com>

Thanks for the fix:

Acked-by: Fabio Estevam <fabio.estevam@nxp.com>
Stefano Babic June 29, 2017, 8:29 a.m. UTC | #2
On 26/06/2017 19:02, Breno Lima wrote:
> The CST input option was replaced by -i on CST 2.3.2, so update the
> Code Signing Tool command line.
> 
> Signed-off-by: Breno Lima <breno.lima@nxp.com>
> ---
>  doc/README.imx6 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/doc/README.imx6 b/doc/README.imx6
> index 0e00968..9ca2150 100644
> --- a/doc/README.imx6
> +++ b/doc/README.imx6
> @@ -177,10 +177,10 @@ Example Output of the u-boot-ivt.img (firmware_ivt) creation:
>   Entry Point:  00000000
>   HAB Blocks:   0x177fffc0   0x0000   0x00054020
>  
> -The CST (Code Signing Tool) can be downloaded from NXP.
> +The CST (Code Signing Tool) version 2.3.2 can be downloaded from NXP website.
>  # Compile CSF and create signature
> -./cst --o csf-u-boot.bin < command_sequence_uboot.csf
> -./cst --o csf-SPL.bin < command_sequence_spl.csf
> +./cst --o csf-u-boot.bin -i command_sequence_uboot.csf
> +./cst --o csf-SPL.bin -i command_sequence_spl.csf
>  # Append compiled CSF to Binary
>  cat SPL csf-SPL.bin > SPL-signed
>  cat u-boot-ivt.img csf-u-boot.bin > u-boot-signed.img
> 
Applied to u-boot-imx, -next, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/doc/README.imx6 b/doc/README.imx6
index 0e00968..9ca2150 100644
--- a/doc/README.imx6
+++ b/doc/README.imx6
@@ -177,10 +177,10 @@  Example Output of the u-boot-ivt.img (firmware_ivt) creation:
  Entry Point:  00000000
  HAB Blocks:   0x177fffc0   0x0000   0x00054020
 
-The CST (Code Signing Tool) can be downloaded from NXP.
+The CST (Code Signing Tool) version 2.3.2 can be downloaded from NXP website.
 # Compile CSF and create signature
-./cst --o csf-u-boot.bin < command_sequence_uboot.csf
-./cst --o csf-SPL.bin < command_sequence_spl.csf
+./cst --o csf-u-boot.bin -i command_sequence_uboot.csf
+./cst --o csf-SPL.bin -i command_sequence_spl.csf
 # Append compiled CSF to Binary
 cat SPL csf-SPL.bin > SPL-signed
 cat u-boot-ivt.img csf-u-boot.bin > u-boot-signed.img