Date: Fri, 28 Dec 2018 10:21:47 -0700 From: Ian Lepore <ian@freebsd.org> To: SAITOU Toshihide <toshi@ruby.ocn.ne.jp>, freebsd-arm@freebsd.org Subject: Re: difference between buildkernel and release.sh for BBB Message-ID: <1546017707.78877.88.camel@freebsd.org> In-Reply-To: <20181228.215424.1441029979323733630.toshi@ruby.ocn.ne.jp> References: <20181228.215424.1441029979323733630.toshi@ruby.ocn.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1546017707.78877.88.camel>