Re: [PATCH] scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9

From: Guenter Roeck
Date: Mon Feb 15 2021 - 12:23:23 EST


On 2/15/21 7:23 AM, Michal Simek wrote:
[ ... ]

>
>> I think the problem is here:
>>
>> /* initialize device tree for usage in early_printk */
>> early_init_devtree(_fdt_start);
>>
>> That probably also explains why enabling earlycon doesn't help.
>
> Can you please elaborate more on it?
> I see earlycon to be enabled quite early.
>
> [ 0.000000] Ramdisk addr 0x00000000,
> [ 0.000000] Compiled-in FDT at (ptrval)

Unless I was missing something, this is where it failed.

> [ 0.000000] earlycon: ns16550a0 at MMIO 0x44a01000 (options '115200n8')
> [ 0.000000] printk: bootconsole [ns16550a0] enabled
> [ 0.000000] cma: Reserved 16 MiB at 0xaec00000
>
[ ... ]

>
> Please send the patch. Would be the best as early as possible and I will
> queue it for 5.12.
>
https://lore.kernel.org/patchwork/patch/1380316/

Guenter