On Mon, Apr 11, 2016 at 7:04 PM, Laurent Pinchart
<[email protected]> wrote:
> The subject says it all. When CONFIG_DEBUG_RODATA is enabled the kernel fails
> to handle the DTB.
>
> I've debugged it to the point where setup_machine_fdt() is called with
> __atags_pointer == 0 and then had to move on to the other work.
>
> Is this a known issue ?
Yep, -EKERNELTOOBIG.
With that option enabled, there are too many
. = ALIGN(1<<SECTION_SHIFT);
in arch/arm/kernel/vmlinux.lds.S.
BTW, does it help if you make fdt_high in U-Boot 16 MiB larger?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds