From owner-freebsd-arm@freebsd.org Tue Jan 12 16:47:35 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB046A80A32 for ; Tue, 12 Jan 2016 16:47:35 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6615F116E for ; Tue, 12 Jan 2016 16:47:35 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id f206so260574027wmf.0 for ; Tue, 12 Jan 2016 08:47:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=XzscI3gY9pSelg/p/8bs0sxshtzN4W5j03xXQ8LtWy8=; b=yLxsqJRVMR7H0G56/Lst+zifNIosP/emj0jgpPckHnc7adugCOBJPRx27UeO4sJKrE CUo0HFmZpj2Wp4CkPdeh1yNdhi9RS2tmGOpDOPivRhZ5Z0AfjeHgbO0aONlC3EENfkOi 2zTreWEUPjs4jnMGGr/9samsSBomRi21j2bTnGBQntZNi04QT4gBbPbIZENvAAILuT5r Ut8mK5tkZ6ntibEe7wT1FZ5exyOoucndnWZMc/50viJuy1dt7gRZi4Xjo6PKQANpGZiP VPQPyr8gDysOuQGCICXndzsAKWb1Xy8INHtg6z3C/FtqBugNKySQxoU3evn+uB4SYHkK VC+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=XzscI3gY9pSelg/p/8bs0sxshtzN4W5j03xXQ8LtWy8=; b=l6jhAmgkJcx8JbhMbXBWgpUVzbO8dF6WjwTKxGGfCDGA6hnHrsGmeO8yHueRlGSue+ fxeKMe9PrPqVeG3cV4JWbdRBg34nHQFLIgb1b0ZY7tqx+zYEuO6YOV940rTpnfsrbWv9 nzYicHeBIZ6WU+gheeoX3c6C3/lqp9ff/VMqr6+ay9BgvtsFxIqj/RW8MUbT2c93ZecR mEh8OPNdKvnkHqyOsQlPZUeHe+gGDc339P48+XwxAlI5OjszzsAIM7nx0mH7YFpwiJYy LgGrSWJrbR9RTI4DQqemf8s1BcwnvWflTBifFP0U6cY7Xv9ocX9vkB7DU6IKSFndXtdn b6IQ== X-Gm-Message-State: ALoCoQldCiYIh31FttJKIOdnksDxksC53xoOm+NJ676ky5ccF9djb7D9SARJ2u9iNebJKFHQFNM9KMsgIVLwVRwMEUJ5v3ntog== X-Received: by 10.28.141.10 with SMTP id p10mr20017819wmd.83.1452617253957; Tue, 12 Jan 2016 08:47:33 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Tom Vijlbrief Date: Tue, 12 Jan 2016 16:47:24 +0000 Message-ID: Subject: Re: Re: Cannot build RBPI2 kernel on pi (Toby) To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2016 16:47:35 -0000 > > > > 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