Looks like cross-compiled kernel (amd64->arm) fails to pick up
Starting with a clean /usr/src the built kernel does not contain code for FDT support. Steps taken:
So the kernel build process ignored the
As a result any driver code that is
What am I doing wrong here?
options FDT
from the kernel config file.Starting with a clean /usr/src the built kernel does not contain code for FDT support. Steps taken:
Code:
# uname -a
FreeBSD bobthebuilder.localdomain 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
# rm -R /usr/src
# tar -C / -xvf src.txz
# cd /usr/src
# make TARGET=arm KERNCONF=GENERIC -j 24 buildkernel
# grep FDT /usr/obj/usr/src/arm.armv7/sys/GENERIC/opt_global.h
#
options FDT
setting in src/sys/arm/conf/GENERIC and did not write a #define
for it in opt_global.h.As a result any driver code that is
ifdefed FDT
will not make it's way into the binary.What am I doing wrong here?