Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2016 16:47:24 +0000
From:      Tom Vijlbrief <tvijlbrief@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   Re: Re: Cannot build RBPI2 kernel on pi (Toby)
Message-ID:  <CAOQrpVfNWXR=YeWaM2T8BCTcbM%2BDm_umNPRK1PKVX=nO46dJ=Q@mail.gmail.com>
In-Reply-To: <mailman.85.1452600001.40730.freebsd-arm@freebsd.org>
References:  <mailman.85.1452600001.40730.freebsd-arm@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>
>
>
> On 20/12/15 22:07, Toby wrote:
>
> > 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.
>
> Thanks,
> Toby
>
>
Building on the Raspberry works OK for me with 11-CURRENT.

Did you do a

make buildworld

before "make buildkernel"?

Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOQrpVfNWXR=YeWaM2T8BCTcbM%2BDm_umNPRK1PKVX=nO46dJ=Q>