From owner-freebsd-arm@freebsd.org Sat Dec 29 10:34:16 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 6EACC143B9DB for ; Sat, 29 Dec 2018 10:34:16 +0000 (UTC) (envelope-from toshi@ruby.ocn.ne.jp) Received: from mfdf018.ocn.ad.jp (mfdf018.ocn.ad.jp [153.128.50.74]) by mx1.freebsd.org (Postfix) with ESMTP id 61E978F821; Sat, 29 Dec 2018 10:34:15 +0000 (UTC) (envelope-from toshi@ruby.ocn.ne.jp) Received: from mogw1929.ocn.ad.jp (mogw1929.ocn.ad.jp [153.138.215.95]) by mfdf018.ocn.ad.jp (Postfix) with ESMTP id 8BC5CB8BF82; Sat, 29 Dec 2018 19:34:06 +0900 (JST) Received: from mf-smf-unw007c2 (mf-smf-unw007c2.ocn.ad.jp [153.138.219.100]) by mogw1929.ocn.ad.jp (Postfix) with ESMTP id 3E2EB203B5; Sat, 29 Dec 2018 19:33:55 +0900 (JST) Received: from ocn-vc-mts-202c1.ocn.ad.jp ([153.138.219.215]) by mf-smf-unw007c2 with ESMTP id dBqrgdBD1QXHCdBwJgYmbs; Sat, 29 Dec 2018 19:33:55 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.134]) by ocn-vc-mts-202c1.ocn.ad.jp with ESMTP id dBwJgnhpPVBnydBwJgPKNn; Sat, 29 Dec 2018 19:33:55 +0900 Received: from localhost (p571097-ipngn200409sizuokaden.shizuoka.ocn.ne.jp [180.33.36.97]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Sat, 29 Dec 2018 19:33:55 +0900 (JST) Date: Sat, 29 Dec 2018 19:33:48 +0900 (JST) Message-Id: <20181229.193348.553493805484498183.toshi@ruby.ocn.ne.jp> To: ian@freebsd.org Cc: freebsd-arm@freebsd.org Subject: Re: difference between buildkernel and release.sh for BBB From: SAITOU Toshihide In-Reply-To: <1546017707.78877.88.camel@freebsd.org> References: <20181228.215424.1441029979323733630.toshi@ruby.ocn.ne.jp> <1546017707.78877.88.camel@freebsd.org> X-GPG-fingerprint: 34B3 0B6A 8520 F5B0 EBC7 69F6 C055 9F8A 0D49 F8FC X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 61E978F821 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of toshi@ruby.ocn.ne.jp designates 153.128.50.74 as permitted sender) smtp.mailfrom=toshi@ruby.ocn.ne.jp X-Spamd-Result: default: False [4.98 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; URL_IN_SUBJECT(0.40)[release.sh]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:153.128.50.0/24]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[ocn.ne.jp]; NEURAL_SPAM_MEDIUM(0.99)[0.991,0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.57)[0.573,0]; MX_GOOD(-0.01)[cached: mfgw1.ocn.ad.jp]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; NEURAL_SPAM_LONG(0.99)[0.988,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4713, ipnet:153.128.0.0/11, country:JP]; IP_SCORE(0.74)[ip: (2.23), ipnet: 153.128.0.0/11(2.09), asn: 4713(-0.53), country: JP(-0.09)] 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: Sat, 29 Dec 2018 10:34:16 -0000 On Fri, 28 Dec 2018 10:21:47 -0700, Ian Lepore wrote:= > On Fri, 2018-12-28 at 21:54 +0900, SAITOU Toshihide wrote: >> What is a difference in kernel between these two? >> = >> =A0 make buildkernel TARGET=3Darm TARGET_ARCH=3Darmv7 KERNCONF=3DBEA= GLEBONE >> = >> =A0 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 { >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0spi0_pins: pinmux-sp= i0-pins { >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0pinctrl-single,pins =3D < >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A00x150 0x0 >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A00x154 0x0 >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A00x158 0x0 >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A00x15c 0x0 >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0>; >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0}; >> }; >> = >> &spi0 { >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0status =3D "okay"; >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0pinctrl-names =3D "d= efault"; >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0pinctrl-0 =3D <&spi0= _pins>; >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0spigen0 { >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0compatible =3D "freebsd,spigen"; >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0reg =3D <0x0>; >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0status =3D "okay"; >> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0}; >> }; >> = > = > The release.sh builds a GENERIC kernel, which contains the spigen > driver; it looks like the BEAGLEBONE config doesn't have it. =A0Just = add > spigen_load=3Dyes to your /boot/loader.conf (or kldload spigen after = it > boots). Oh, I see. By kldloading spigen, /dev/spigen0.0 is generated. -- SAITOU Toshihide