Cannot build RBPI2 kernel on pi
Andreas Schwarz
freebsd.asc at strcmp.org
Tue Jan 12 21:22:21 UTC 2016
On 12.01.16, Toby wrote:
> On 20/12/15 22:07, Toby wrote:
Hi Toby,
>> make buildkernel KENRCONF=RPI2 fails with the following error:
>>
>>
>> ERROR: ctfmerge: No ctf sections found to merge
>> :> export_syms
>> awk -f /usr/src/sys/conf/kmod_syms.awk if_de.kld export_syms | xargs
>> -J% objcopy % if_de.kld
>> ld -Bshareable -d -warn-common -o if_de.ko if_de.kld
>> objcopy --strip-debug if_de.ko
>> ===> dtb/rpi (all)
>> Generating rpi.dtb from rpi.dts
>> converting rpi.dts ->
>> /usr/obj/usr/src/sys/RPI2/modules/usr/src/sys/modules/dtb/rpi/rpi.dtb
>> Unable to open file ./bcm2835.dtsi
>> Segmentation fault (core dumped)
>> *** Error code 139
>
> So, am I the only one with this problem? I just tried again with a new
> checkout and still the same error when building the kernel on my pi. Is
> this supposed to work, or am I forced to cross-compile? I remember
> having read on the list that some people compile the kernel with success
> directly on their pi.
I just build a new world (r293653) at my RPI2, all is working like expected.
Is your source tree complete and up to date? You can check this with "svnlite status".
And what is your building procedure? The proper procedure is to build the
kernel-toolchain before building the kernel (this is needed when the build
tools changing).
-asc
More information about the freebsd-arm
mailing list