[Lenny400] LetuxOS on SD card for MIPS JZ4780 CI20
paul at boddie.org.uk
Fri Apr 19 16:42:44 CEST 2019
On Friday 19. April 2019 14.27.16 H. Nikolaus Schaller wrote:
> That looks interesting!
> CONFIG_BUILTIN_DTB is mentioned on
> but it is neither defined by ci20_defconfig nor letux_defconfig.
It isn't in ci20_defconfig, not even in the 3.18 kernel, but for some reason
it is set in my .config.
> Here is the ci20_defconfig:
> The latter defines CONFIG_MIPS_RAW_APPENDED_DTB by default!:
I may have put it there. :-)
> So it might simply suffice to append the .dtb manually... I think there is
> (was) some script to do that inside flash-nand for the GTA04. Yes, here:
> Or if we do research there might be a kernel make option for that. I'll give
> it a try as soon as I find time for it.
In the 3.18 kernel for the CI20, there is this in arch/mips/Makefile:
core-$(CONFIG_BUILTIN_DTB) += arch/mips/boot/dts/
%.dtb %.dtb.S %.dtb.o: | scripts
$(Q)$(MAKE) $(build)=arch/mips/boot/dts arch/mips/boot/dts/$@
PHONY += dtbs
$(Q)$(MAKE) $(build)=arch/mips/boot/dts dtbs
I suspect that this should be causing the device tree binary to be bundled.
More information about the Lenny400