Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-09-16 Thread Igor Opaniuk
Hi Breno, On Mon, Sep 16, 2019 at 5:54 AM Breno Matheus Lima wrote: > > Hi Igor, > > Em qui, 12 de set de 2019 às 10:55, Igor Opaniuk > escreveu: > > > > Hy Bryan, Breno, > > > > On Tue, Jul 30, 2019 at 5:33 PM Bryan O'Donoghue > > wrote: > > > > > > > > > > > > On 30/07/2019 15:26, Igor Opani

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-09-15 Thread Breno Matheus Lima
Hi Igor, Em qui, 12 de set de 2019 às 10:55, Igor Opaniuk escreveu: > > Hy Bryan, Breno, > > On Tue, Jul 30, 2019 at 5:33 PM Bryan O'Donoghue > wrote: > > > > > > > > On 30/07/2019 15:26, Igor Opaniuk wrote: > > > Anyway, let me go through this article one more time, > > > and I'll get back to y

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-09-12 Thread Igor Opaniuk
Hy Bryan, Breno, On Tue, Jul 30, 2019 at 5:33 PM Bryan O'Donoghue wrote: > > > > On 30/07/2019 15:26, Igor Opaniuk wrote: > > Anyway, let me go through this article one more time, > > and I'll get back to you. > > If I've understood you, you are using the same binary for serial > download and fla

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-07-30 Thread Bryan O'Donoghue
On 30/07/2019 15:26, Igor Opaniuk wrote: Anyway, let me go through this article one more time, and I'll get back to you. If I've understood you, you are using the same binary for serial download and flash booting. Won't work unfortunately - there's an extra DCD directive in the recovery i

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-07-30 Thread Igor Opaniuk
Hi Bryan, On Tue, Jul 30, 2019 at 5:08 PM Bryan O'Donoghue wrote: > > > > On 30/07/2019 15:02, Bryan O'Donoghue wrote: > > > > > > On 30/07/2019 14:56, Igor Opaniuk wrote: > >>> Does that happen ? > >> Yes, it does. > > > > And the board is closed ? Actually it's not. In U-boot stored to RAM via

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-07-30 Thread Bryan O'Donoghue
On 30/07/2019 15:02, Bryan O'Donoghue wrote: On 30/07/2019 14:56, Igor Opaniuk wrote: Does that happen ? Yes, it does. And the board is closed ? Obviously yes it is. You have to sign the binary differently for serial download versus boot from eMMC - I guess this holds for NAND too.

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-07-30 Thread Bryan O'Donoghue
On 30/07/2019 14:56, Igor Opaniuk wrote: Does that happen ? Yes, it does. And the board is closed ? ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-07-30 Thread Igor Opaniuk
Hi Bryan, On Tue, Jul 30, 2019 at 4:32 PM Bryan O'Donoghue wrote: > > > > On 30/07/2019 12:00, Igor Opaniuk wrote: > > Hi folks, > > > > Just curious if you ever faced any issues with HABv4 based > > secure boot on iMX7 SoC-based boards + NAND + > > mainline U-Boot (although it works perfectly wh

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-07-30 Thread Bryan O'Donoghue
On 30/07/2019 12:00, Igor Opaniuk wrote: Hi folks, Just curious if you ever faced any issues with HABv4 based secure boot on iMX7 SoC-based boards + NAND + mainline U-Boot (although it works perfectly when booting from eMMC). I'm currently playing with it on Colibri iMX7 NAND version, followi

[U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-07-30 Thread Igor Opaniuk
Hi folks, Just curious if you ever faced any issues with HABv4 based secure boot on iMX7 SoC-based boards + NAND + mainline U-Boot (although it works perfectly when booting from eMMC). I'm currently playing with it on Colibri iMX7 NAND version, following all steps from [1], (colibri_imx7_defconfi