Re: [armv7] dtb specified with FDT_DTS_FILE in kernconf not built when using release.sh
Date: Sun, 10 Apr 2022 20:22:44 UTC
On 2022-04-10 at 16:15 EDT, Mitchell Horne <mhorne@freebsd.org> wrote: >On 4/10/22 16:58, Matteo Riondato wrote: >>makeoptions FDT_DTS_FILE=am335x-sancloud-bbe.dts > >I believe this option is used to embed a static DTB in the kernel >binary, not to have it compiled as part of the build. I see, I thought that a static DTB in the kernel would only be the case if options FDT_DTB_STATIC was also specified, and otherwise a standalone dtb would be compiled. >What you most likely want instead is: > makeoptions MODULES_EXTRA+="dtb/am335x" > >This line is already included as part of the GENERIC config. However, >you will need to modify sys/modules/dtb/am335x/Makefile to include the >sancloud variant that you are interested in. I'll try that. Thank you. Matteo