I sent email to Andrew Turner and he told me to enable VERBOSE_SYSINIT to see where such stuck happens during the kernel booting.
Now the log says kernel stuck at 0xffffff800040120c. Since I don’t have a JTAG debugger, I can only use addr2line. I didn’t use it much at office since I have Trace32… but I have no choice but to use addr2line at home. T.T Anyway old tool is still very useful and it tell me to spot the problem.
[jmin@maui /usr/obj/arm64.arm64/usr/home/jmin/src/arm64/sys/GENERIC]$ aarch64-freebsd-addr2line -e kernel.debug 0xffffff800040120c
/usr/home/jmin/src/arm64/sys/vm/vm_init.c:139
139th line of vm_init.c is vm_set_page_size(). Hmm.. what’s wrong now? Guess memory info from DTB is missing. Need to learn create dtb from dts on freebsd. or can i just use dtb made in linux?






