From owner-freebsd-arm@freebsd.org Sun Sep 27 18:43:29 2015 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 8318FA0A36A for ; Sun, 27 Sep 2015 18:43:29 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [54.72.43.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1AD13C94 for ; Sun, 27 Sep 2015 18:43:28 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.171] (89-27-2-202.bb.dnainternet.fi [89.27.2.202]) (authenticated bits=0) by mail.kronometrix.org (8.14.9/8.14.9) with ESMTP id t8RIhPYd041165 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 27 Sep 2015 18:43:25 GMT (envelope-from sparvu@kronometrix.org) Reply-To: sparvu@kronometrix.org Subject: Re: RBPI2 ds1307 rtc kernel panic References: <5607C63D.2010203@kronometrix.org> To: "freebsd-arm@freebsd.org" From: Stefan Parvu X-Enigmail-Draft-Status: N1110 Organization: kronometrix.org Message-ID: <560838C7.6010500@kronometrix.org> Date: Sun, 27 Sep 2015 21:43:19 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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: Sun, 27 Sep 2015 18:43:29 -0000 > The crash happens when you enable ntpd with an i2c RTC, this is a know issue. > > There are two workarounds: > > 1) sysctl machdep.rtc_save_period=0 this will do just fine. thanks for clarification and for advice. We want to migrate from Raspbian to FreeBSD and we need to have a RTC hdw, for our product Kronometrix. One more thing, still a bit unclear to me: should I modify the sys/boot/fdt/dts/arm/rpi2.dts or sys/boot/fdt/dts/arm/bcm2836.dtsi Im now recompiling the kernel after I have modified the rpi2.dts, as Jukka pointed out. I did add to the sys/boot/fdt/dts/arm/rpi2.dts Jukka's patch, for ds1307. Worked fine. (built the fbt table file and install it under /boot/msdos) -- Stefan Parvu