RE: [PATCH] tegra: fdt: Add tegra186-u-boot.dtsi

2020-01-14 Thread Tom Warren
I'll apply it and try to get a PR out today, sorry for the delay.

-Original Message-
From: Stephen Warren  
Sent: Tuesday, January 14, 2020 9:59 AM
To: Tom Rini ; Simon Glass 
Cc: u-boot@lists.denx.de; Stephen Warren ; Tom Warren 

Subject: Re: [PATCH] tegra: fdt: Add tegra186-u-boot.dtsi

External email: Use caution opening links or attachments


On 1/7/20 11:17 AM, Stephen Warren wrote:
> From: Stephen Warren 
>
> All Tegra chips except Tegra186 have a tegraNNN-u-boot.dtsi. Duplicate 
> Tegra210's copy of this file for Tegra186. This ensures that a /binman 
> node exists in U-Boot's control DT. Subsequent to 3c10dc95bdd0 
> ("binman: Add a library to access binman entries") this appears to be 
> required. I haven't really investigated why all this is necessary or 
> how it works, but simply observed the boot failure listed below, 
> bisected it, noticed the inconsistency in DT files, and found that 
> fixing it resolved the boot issue.
>
>  U-Boot 2020.01-rc4-00256-g3c10dc95bdd0 (Jan 07 2020 - 10:25:00 
> -0700)
>
>  SoC: tegra186
>  Model: NVIDIA P2771--500
>  Board: NVIDIA P2771-
>  DRAM:  7.8 GiB
>  initcall sequence fffb7858 failed at call 800955a8 
> (err=-22)
>  ### ERROR ### Please RESET the board ###
>
> Fixes: 3c10dc95bdd0 ("binman: Add a library to access binman entries")
> Fixes: f2faffecb016 ("binman: tegra: Convert to use binman")
> Signed-off-by: Stephen Warren 

Can we please apply this? All Tegra186 systems (i.e. Jetson TX2) can't boot 
without this patch. Thank.s

---
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
---


Re: [PATCH] tegra: fdt: Add tegra186-u-boot.dtsi

2020-01-14 Thread Stephen Warren

On 1/7/20 11:17 AM, Stephen Warren wrote:

From: Stephen Warren 

All Tegra chips except Tegra186 have a tegraNNN-u-boot.dtsi. Duplicate
Tegra210's copy of this file for Tegra186. This ensures that a /binman node
exists in U-Boot's control DT. Subsequent to 3c10dc95bdd0 ("binman: Add a
library to access binman entries") this appears to be required. I haven't
really investigated why all this is necessary or how it works, but simply
observed the boot failure listed below, bisected it, noticed the
inconsistency in DT files, and found that fixing it resolved the boot
issue.

 U-Boot 2020.01-rc4-00256-g3c10dc95bdd0 (Jan 07 2020 - 10:25:00 -0700)

 SoC: tegra186
 Model: NVIDIA P2771--500
 Board: NVIDIA P2771-
 DRAM:  7.8 GiB
 initcall sequence fffb7858 failed at call 800955a8 
(err=-22)
 ### ERROR ### Please RESET the board ###

Fixes: 3c10dc95bdd0 ("binman: Add a library to access binman entries")
Fixes: f2faffecb016 ("binman: tegra: Convert to use binman")
Signed-off-by: Stephen Warren 


Can we please apply this? All Tegra186 systems (i.e. Jetson TX2) can't 
boot without this patch. Thank.s


Re: [PATCH] tegra: fdt: Add tegra186-u-boot.dtsi

2020-01-07 Thread Simon Glass
Hi Stephen,

On Tue, 7 Jan 2020 at 11:18, Stephen Warren  wrote:
>
> From: Stephen Warren 
>
> All Tegra chips except Tegra186 have a tegraNNN-u-boot.dtsi. Duplicate
> Tegra210's copy of this file for Tegra186. This ensures that a /binman node
> exists in U-Boot's control DT. Subsequent to 3c10dc95bdd0 ("binman: Add a
> library to access binman entries") this appears to be required. I haven't
> really investigated why all this is necessary or how it works, but simply
> observed the boot failure listed below, bisected it, noticed the
> inconsistency in DT files, and found that fixing it resolved the boot
> issue.

If CONFIG_BINMAN is enabled, binman_init() is called and expects to
find a /binman node.

>
> U-Boot 2020.01-rc4-00256-g3c10dc95bdd0 (Jan 07 2020 - 10:25:00 -0700)
>
> SoC: tegra186
> Model: NVIDIA P2771--500
> Board: NVIDIA P2771-
> DRAM:  7.8 GiB
> initcall sequence fffb7858 failed at call 800955a8 
> (err=-22)
> ### ERROR ### Please RESET the board ###
>
> Fixes: 3c10dc95bdd0 ("binman: Add a library to access binman entries")
> Fixes: f2faffecb016 ("binman: tegra: Convert to use binman")
> Signed-off-by: Stephen Warren 
> ---
>  arch/arm/dts/tegra186-u-boot.dtsi | 3 +++
>  1 file changed, 3 insertions(+)
>  create mode 100644 arch/arm/dts/tegra186-u-boot.dtsi

Reviewed-by: Simon Glass