[U-Boot] [PATCH 26/26] dm: tegra: nyan-big: Move to livetree

Simon Glass sjg at chromium.org
Thu Jun 1 03:11:53 UTC 2017


Hi Marcel,

On 29 May 2017 at 09:08, Marcel Ziswiler <marcel.ziswiler at toradex.com> wrote:
> Hi Simon
>
> On Fri, 2017-05-19 at 08:31 -0600, Simon Glass wrote:
>> Change this board to use a live device tree after relocation.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>>  configs/nyan-big_defconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/configs/nyan-big_defconfig b/configs/nyan-big_defconfig
>> index a152ff6915..82be85a834 100644
>> --- a/configs/nyan-big_defconfig
>> +++ b/configs/nyan-big_defconfig
>> @@ -33,6 +33,7 @@ CONFIG_CMD_EXT4_WRITE=y
>>  # CONFIG_SPL_DOS_PARTITION is not set
>>  # CONFIG_SPL_ISO_PARTITION is not set
>>  # CONFIG_SPL_EFI_PARTITION is not set
>> +CONFIG_OF_LIVE=y
>>  CONFIG_SPL_DM=y
>>  CONFIG_REGMAP=y
>>  CONFIG_SYSCON=y
>
> Doing the same on dm/master for Apalis TK1 gives me the following:
>
> U-Boot 2017.05-00795-g40fcab4-dirty (May 29 2017 - 16:52:17 +0200)
>
> TEGRA124
> DRAM:  2 GiB
> Error binding driver 'gpio_tegra': -22
> Some drivers failed to bind
> initcall sequence fffad294 failed at call 80124360 (err=-22)
> ### ERROR ### Please RESET the board ###
>
> Do you happen to know what may go wrong here?

Not really. Can you diagnose it? I suspect it is in gpio_tegra_bind().

>
> I do actually even own a nyan-big but so far never run any mainline
> stuff on it as I am missing Servo and/or Yoshi et. al.

Sure. I did send a chain series (u-boot-dm/chain-working) which allows
it to run without those.

>
> Is there any particular reason you did not do this on a more accessible
> platform like e.g. Jetson TK1?

I do have one of those boards, but unfortunately I cannot find it. I'm
hoping to track it down in the next month or so.

>
> BTW: The same happens on Jetson TK1 once I enable live tree:
>
> U-Boot SPL 2017.05-00795-g40fcab4-dirty (May 29 2017 - 17:03:18)
> Trying to boot from RAM
>
> U-Boot 2017.05-00795-g40fcab4-dirty (May 29 2017 - 17:03:18 +0200)
>
> TEGRA124
> Model: NVIDIA Jetson TK1
> Board: NVIDIA Jetson TK1
> DRAM:  2 GiB
> Error binding driver 'gpio_tegra': -22
> Some drivers failed to bind
> initcall sequence fffa8ba4 failed at call 801235b8 (err=-22)
> ### ERROR ### Please RESET the board ###
>
> Cheers
>
> Marcel

Thank you for testing. I do have a beaver as well so may be able to
repeat it on that.

Regards,
Simon


More information about the U-Boot mailing list