Hi,
I'm trying to build a custom kernel using the release(7) scripts for ARM64. I have created a custom kernel configuration by copying and modifying the GENERIC kernel to a file in /usr/src/sys/arm64/conf/RPIMIN. I also have a custom RPI release(7) configuration. In the configuration I have the line:
I build with:
The code runs for a while and then stops with:
Doing an
If I build with the GENERIC kernel, it works OK (The only thing I've changed in the release(7) conf is
it's only the custom kernel that seems to give it a problem. Is there somewhere else I need to register the new kernel configuration? Or something I'm missing?
I'm trying to build a custom kernel using the release(7) scripts for ARM64. I have created a custom kernel configuration by copying and modifying the GENERIC kernel to a file in /usr/src/sys/arm64/conf/RPIMIN. I also have a custom RPI release(7) configuration. In the configuration I have the line:
KERNEL="RPIMIN"
I build with:
./release.sh -c arm64/RPIMIN.conf
The code runs for a while and then stops with:
Code:
--------------------------------------------------------------
>>> World build completed on Tue Jan 2 12:50:44 UTC 2024
>>> World built in 177 seconds, ncpu: 8, make -j8
--------------------------------------------------------------
make[1]: "/usr/src/share/mk/bsd.mkopt.mk" line 71: warning: WITHOUT_CAPSICUM option ignored: it is no longer supported
make[1]: "/usr/src/share/mk/bsd.mkopt.mk" line 71: warning: WITHOUT_CASPER option ignored: it is no longer supported
make[1]: "/usr/src/Makefile.inc1" line 1723: Missing KERNCONF /usr/src/sys/arm64/conf/RPIMIN
make[1]: stopped in /usr/src
--- buildkernel ---
make: stopped in /usr/src
Doing an
ls -alh /usr/src/sys/arm64/conf/RPIMIN
gives:
Code:
# ls -alh /usr/src/sys/arm64/conf/RPIMIN
-rw-r--r-- 1 root wheel 1.2K Jan 2 12:28 /usr/src/sys/arm64/conf/RPIMIN
If I build with the GENERIC kernel, it works OK (The only thing I've changed in the release(7) conf is
KERNEL="GENERIC"
):
Code:
--------------------------------------------------------------
>>> Kernel build for GENERIC started on Tue Jan 2 13:22:50 UTC 2024
--------------------------------------------------------------
===> GENERIC
--------------------------------------------------------------
>>> stage 1: configuring the kernel
--------------------------------------------------------------
Kernel build directory is /usr/obj/usr/src/arm64.aarch64/sys/GENERIC
Don't forget to do ``make cleandepend && make depend''
...
it's only the custom kernel that seems to give it a problem. Is there somewhere else I need to register the new kernel configuration? Or something I'm missing?