From owner-freebsd-arm@freebsd.org Fri Jun 26 08:19:14 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 6D3F398D634 for ; Fri, 26 Jun 2015 08:19:14 +0000 (UTC) (envelope-from jau789@gmail.com) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3BA6127D for ; Fri, 26 Jun 2015 08:19:13 +0000 (UTC) (envelope-from jau789@gmail.com) Received: by wicnd19 with SMTP id nd19so10620677wic.1 for ; Fri, 26 Jun 2015 01:19:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=064K83RUhYZZ8ZzrjOYNBOLs24fZh1C9FFdMXW71M2w=; b=b5g3t+VwD9Y6AV3pFCwVAmFylaZdDEXatyaxAGIGLI2Iyyg+HKTWfLq7b1qB9hecYW azUe751GZv+OoLUepqcuyuEc0/9esh3ZRIhDAAM6E0D8UICUxLGmVYLnOouny2OgleHg TivRnw6UW3V4Qk4PJASfJfDpu8SVkRMPNWFRbGa+Xj3nVEuXfTniM3PRWOHe7DhPdhDS OmtiWhcqrxLvUWpR5ymlruoV24fjVGjU7B/ZQ/mRfTMcyUfHHbXAmmsCzowLalepabFl 9tmqF/AElOuVV7/6faYBB39Xp2cVWwCaMlyM0WAvkh73fegoUQ+H8+KpocEBaEQ7wGz2 6VhQ== X-Received: by 10.180.99.168 with SMTP id er8mr2575407wib.86.1435306752470; Fri, 26 Jun 2015 01:19:12 -0700 (PDT) Received: from [192.168.1.131] (xdsl-205-163.nblnetworks.fi. [83.145.205.163]) by mx.google.com with ESMTPSA id lf4sm49349339wjb.42.2015.06.26.01.19.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jun 2015 01:19:11 -0700 (PDT) Message-ID: <558D0AF8.4050507@gmail.com> Date: Fri, 26 Jun 2015 11:19:04 +0300 From: Jukka Ukkonen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-arm@FreeBSD.org Subject: RPI2 and DS3231 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: Fri, 26 Jun 2015 08:19:14 -0000 Hello everybody, Has anyone got a DS3231 RTC working with RPI2 yet. The ds3231 driver has been added to the kernel config. When I changed the DTS extension to this... bscl { #address-cells = <1>; #size-cells = <0>; rtc { compatible = "maxim,ds3231"; reg = <0xd0>; }; }; there are no longer complaints from dtc, but still the boot hangs after the network has been brought up. The settings for #address-cells and #size-cells were lifted from a Linux example which also set "reg = <0x68>;". Setting reg as in the Linux example to 0x68 did not help. The boot still hangs. Oh yes, the latest OS version I have tested with is head svn r284866. What should I try next? Any ideas anyone? --jau