[Letux-kernel] Status LX16
Andreas Kemnade
andreas at kemnade.info
Sun Dec 22 19:50:22 CET 2024
Am Sun, 22 Dec 2024 19:33:36 +0100
schrieb "H. Nikolaus Schaller" <hns at goldelico.com>:
> > Am 22.12.2024 um 19:25 schrieb Andreas Kemnade <andreas at kemnade.info>:
> >
> > Am Sun, 22 Dec 2024 18:55:28 +0100
> > schrieb "H. Nikolaus Schaller" <hns at goldelico.com>:
> >
> >> One other aspect which could be better than it is, is the management of the device tree for variants. We still have a single lx16.dtb
> >> which must be compiled into the kernel binary. Even if we had multiple .dtb in /boot. I still have no idea how to manage that
> >> better than we did so far with #if in the DTS file.
> >
> > If I remember correctly, the u-boot can load a dtb from file, the one
> > in the kernel is only a fallback.
>
> Well, when starting the X1600 project we investigated that but it did not work.
> Something was fundamentally different for MIPS from ARM.
>
> I do not exactly remember what it was.
>
I investigated u-boot and found everything was there... when I thought
about patching u-boot.
> Maybe that the other ingenic devices (CI20 and others) are all expected to
> be configured for builtin-dtb. And then the LX16 would fall out of the scheme.
> Or that the arch/mips/boot/ingenic/Makefile can't do that or something...
>
the builtin-dtb (even if configured) is a fallback. If something comes
from the bootloader, it is used instead of the builtin-dtb. At least
that was what I found from code research. I did not remember whether I
practically tested that.
Regards,
Andreas
More information about the Letux-kernel
mailing list