From owner-freebsd-arm@freebsd.org Fri Dec 28 17:21:57 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B548141ABC9 for ; Fri, 28 Dec 2018 17:21:57 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1.eu.mailhop.org (outbound1.eu.mailhop.org [52.28.251.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B27492869 for ; Fri, 28 Dec 2018 17:21:56 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1546017714; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=meWO96AAW6o0q62gc7OoMlSxYBvVPOLd3ow5hD/L4yIjognDKEwIDCCjkmhGLfhLvrabzy7pmVGF9 5y7kdDoJk6Q6rKAc3QmtYRHgOaC0clkzRcNQtPtxD0SxC+hF+BeLD0jCEX1m0dgF5Q+C0RDI/avPXe sDMY4G8wE6LFMRCxX/G8b3zCcpRklrNAcjWdZYMQP1Hg1Bg4kTiG/e2VNsnAaPsSz9oOBJ7a/fl7Yt rEtqBASG1j6x8/16yp/61gNNvdEqj65WQdSGCZV9cm3vvWsX4/Dy6MA48KuN9bMg17g++93G0vpHsG zOLPcOZOf/NBBmZvmgFZha8kpH0TYoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=2eYG8oXPgZXhEshxK9R6FciYFCHPlJf7aVDpBmOVdas=; b=I3wPrI+ETvdPACotELPGBGUYKmiMOPweHre7Q3+RBW7EhKBtGSXveObdhtcD2/D3iTyaVIFXacUEx yn1lhjxzCqrQcMaBYhjZyzlTcF1Q2B1mddWQDNJxbDVL5CW/8LjTX1fjGYdRuOehtlfPMSOiWt3GHy xAhiLY+9D3EfPu1v3hbCTwhmgw1fyzba/rG1O+MQ+6q5AjNuk1UEnCUlRw6p1FQt5O9ZM8unYV6Q6p o5d7btgufHVamdxAobq5bgKaWJ9n1mTQqA4M1kl2Cuz2U57wohUgH9wZQ7O13Cqo45lIxDOHm211xc p1uDNqxIZ/ZZmbrK8x14OtI1w9K5piQ== ARC-Authentication-Results: i=1; outbound3.eu.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=2eYG8oXPgZXhEshxK9R6FciYFCHPlJf7aVDpBmOVdas=; b=NIzXz+DDwPhgj5h+cm7W+La7JxcuPMVS/YXCqzaysVNzXfCB1XzEbgBQHmZK2VzbE44mH0yT7xwgK yCE0kdmdjz3okJfoNEU4azU9Cs1dhamWUQ8Rqgpkj28Vg60dn7qQw6ANBgOkO4Er5FZ4AaNGEDRTrc 0RU3cARTnPQXdDbZV9JpxVdux38Rd3+8zD7iCTADohz7xXr7YSQEVeXl7co+k+kY9mpsZCizZNVHoB tbAJiDESDiWz/sM8E7WiY5n9GpZgen1rg5/hdSm9lWQSih8p7Rp2MKkxHdpssSzCMAv1uNy940MkFw xhIC1QlZ2v3vq37locuUHn+3JhAD9Ug== X-MHO-RoutePath: aGlwcGll X-MHO-User: 0ea02aee-0ac5-11e9-8a28-a1efd8da9a94 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.eu.mailhop.org (Halon) with ESMTPSA id 0ea02aee-0ac5-11e9-8a28-a1efd8da9a94; Fri, 28 Dec 2018 17:21:52 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id wBSHLlH4024091; Fri, 28 Dec 2018 10:21:47 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1546017707.78877.88.camel@freebsd.org> Subject: Re: difference between buildkernel and release.sh for BBB From: Ian Lepore To: SAITOU Toshihide , freebsd-arm@freebsd.org Date: Fri, 28 Dec 2018 10:21:47 -0700 In-Reply-To: <20181228.215424.1441029979323733630.toshi@ruby.ocn.ne.jp> References: <20181228.215424.1441029979323733630.toshi@ruby.ocn.ne.jp> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8B27492869 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; ASN(0.00)[asn:16509, ipnet:52.28.0.0/16, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2018 17:21:57 -0000 On Fri, 2018-12-28 at 21:54 +0900, SAITOU Toshihide wrote: > What is a difference in kernel between these two? > >   make buildkernel TARGET=arm TARGET_ARCH=armv7 KERNCONF=BEAGLEBONE > >   release.sh -c arm/BEAGLEBONE.conf > > The former kernel can't create spigen0 node. > > > I'm using am335x-boneblack.dtb with the following additions. > > &am33xx_pinmux { >                 spi0_pins: pinmux-spi0-pins { >                         pinctrl-single,pins = < >                                 0x150 0x0 >                                 0x154 0x0 >                                 0x158 0x0 >                                 0x15c 0x0 >                         >; >                 }; > }; > > &spi0 { >                 status = "okay"; >                 pinctrl-names = "default"; >                 pinctrl-0 = <&spi0_pins>; >                 spigen0 { >                         compatible = "freebsd,spigen"; >                         reg = <0x0>; >                         status = "okay"; >                 }; > }; > The release.sh builds a GENERIC kernel, which contains the spigen driver; it looks like the BEAGLEBONE config doesn't have it.  Just add spigen_load=yes to your /boot/loader.conf (or kldload spigen after it boots). -- Ian