20.03.2020 12:18, Geert Uytterhoeven пишет: ... > Thanks for the info! > >> I recalled that CONFIG_THUMB2_KERNEL=y is set in my kernel's config and >> disabling thumb2 build fixes the problem. Please correct it in the next >> version of the patch, thanks in advance. > > Interesting. I enabled CONFIG_THUMB2_KERNEL=y, and it doesn't make > a difference for the few board combos I've tried (with/without appended DTB). > So it must be related to ATAGS. Will dive deeper... > > P.S. I never realized CONFIG_THUMB2_KERNEL=y had such a big size > impact: my kernel shrunk by ca. 1 MiB. A quick observation tells that fdt_get_mem_start() returns a wrong address with CONFIG_THUMB2_KERNEL=y, I haven't tried to look further yet. Disabling all ATAGS options in kernel's config doesn't help. Kernel config: https://gist.github.com/digetx/b7c4e1d2d4dae0c5566748c0d7f1e884