From owner-freebsd-arm@freebsd.org Wed Apr 13 14:35:00 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 72525B0F482 for ; Wed, 13 Apr 2016 14:35:00 +0000 (UTC) (envelope-from tuexen@fh-muenster.de) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DEA413B5; Wed, 13 Apr 2016 14:34:59 +0000 (UTC) (envelope-from tuexen@fh-muenster.de) Received: from [192.168.1.200] (p508F1836.dip0.t-ipconnect.de [80.143.24.54]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 9C0BE721E280E; Wed, 13 Apr 2016 16:34:44 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: No usable event timer found on RPI2 From: Michael Tuexen In-Reply-To: <1460240966.1091.340.camel@freebsd.org> Date: Wed, 13 Apr 2016 16:34:43 +0200 Cc: bob prohaska , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20160409020229.GF71221@www.zefox.net> <20160409164903.GG71221@www.zefox.net> <1460220814.1091.338.camel@freebsd.org> <20160409181716.GH71221@www.zefox.net> <1460240966.1091.340.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.3124) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2016 14:35:00 -0000 > On 10 Apr 2016, at 00:29, Ian Lepore wrote: >=20 > On Sat, 2016-04-09 at 11:17 -0700, bob prohaska wrote: >> On Sat, Apr 09, 2016 at 10:53:34AM -0600, Ian Lepore wrote: >>>=20 >>> The rpi.dtb file lives on the FAT partition where u-boot is, but >>> it's >>> created by the freebsd build process and installing the kernel puts >>> the >>> new dtb into /boot/dtb on the freebsd rootfs. Something else >>> (crochet >>> or some similar script, or you by hand) have to copy from there to >>> the >>> FAT partition on the sdcard. >>>=20 >>> Note that right now all of this is unique to rpi. For other arm >>> boards, u-boot isn't involved in the dtb file loading at all and >>> the >>> file is normally read by ubldr from the freebsd filesystem. >>>=20 >>> There may come a day when all arm boards have to work more like rpi >>> does now (due to the way the u-boot world is evolving). >>>=20 >>>=20 >>=20 >> What inhibits making the copy to FAT part of kernel install? >>=20 >=20 > The freebsd build process doesn't know anything about filesystems, it > just installs things to DESTDIR (which is / by default). >=20 > If you're doing the kernel build and install native on the rpi, you > could get the effect you want by doing: >=20 > mount -t msdosfs /dev/mmcsd0s1 /boot/dtb > make installkernel > umount /boot/dtb >=20 > At least, I think that should work. Hi Ian, I'm running into the same problem. I updated the source on a RPI2 today, build a new kernel (with modules), installed it, manually copied = /boot/dtb/rpi2.dtb to /boot/msdos/ (which is mounted) and rebooted. The dtb files have the correct date, but the kernel panics. Do I need to = copy more? Thanks for your help! Best regards Michael >=20 > -- Ian >=20 >> The file has been moved. When the present build/install cycle >> completes I'll discover the next of my mistakes 8-). >>=20 >> With my thanks, >>=20 >> bob prohaska >>=20 >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org >> " > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"