From owner-freebsd-arm@freebsd.org Wed Nov 21 18:43:43 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 9332E1141A33 for ; Wed, 21 Nov 2018 18:43:43 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E86176FCCB for ; Wed, 21 Nov 2018 18:43:42 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1542825808; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=A4mS2/QGx0QMXcMDK+WKoHqQm8yakH2DO4tpzDMD0Jqr5wsG7Cwy4QY3v/j2/iHBfkijlraoYUZRm v3u0EsRqEo5pFIYiEVfye1aIVv17wFxOtGvIvsBBDaSwdSBzhAqJgXejFA2lhAc/zE3nv21SZ9tt7v GC37Dg6kYBJ0MCKhD2/1na7gEP/2qgsOvYCxRehbplFmh9q8fS3OBZYGFZv/rzI3N6rC4iHnOAwPfO XDRvd/33E37ZCAhAvgXB6xNR9+zV4OEFX780ospCu68n2NPYSrEvm8qc57aSCB19h7wHuhHqo++8tc UyOj7N+2lcWmetRz0i+SMuNy0zuqz5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=sM8DmqXapKlAkC/pMmjvhL1Zfg56Mzo7yewYlaQE1mM=; b=MTJ02jz+kpXzoqVsd8g3bcKS2jSrvpX1TpJForrZSZ9LzbQsJ03yVDi1FxtlpeHpz7QTBVkjruCOB 3j3cKmubUZJSLu3mo8JMeJvJS3WH5OIp8mKX5i7hlpOIYQ2iiYyUcAOJCPepirjKyOePHe0IrqvvPV BxOBFQh/KCNMPL65gamP/aZCVD2j/W4BVzbX3YcSGed7VF3bUUS8EqiyGJnSHGk/T94ow87kwlhUD8 iKH8x1KxiNg1HsFVihwA4XfsQ07KIDJa/sJXTfeZqhmvXmDweeLEy5JgYD/5XirR5W7DrD3B8V1z2h TPoHX5HhqzArYpNdqfEkx7TN+Fm2uWQ== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=sM8DmqXapKlAkC/pMmjvhL1Zfg56Mzo7yewYlaQE1mM=; b=IKF4Deq0jgNBZn4TvtsfIDtqWA4YDIX6XT5VbNysHz33ig1RLf4+d9uitNxdCZKHQWqN+WyuFmA3e ta/952qWRX41KCPBeW+teKsZ1KfU7TpsGCNZ3a685kF1EdxDX41mJZihidwl9dgz3gI4swgXzyafKy kugevfyPNAot77e9uqNpfkddTA4KpMv89S6u6kDsojv9lMCqSpBVThfmfIVPGe3YC6Qsm+TeOXKUgc g0qUtjqL5b0WC+GAy96nommUpT+B40o87cCTBZ3ghibTWTp3L0EyUA5pfYQHUAy3s17b2cdV7a5NsH 9yGtfcQua2JCxl1r2J0/h1P0XxtGVKw== X-MHO-RoutePath: aGlwcGll X-MHO-User: 54a91105-edbd-11e8-befd-af03bedce89f X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 54a91105-edbd-11e8-befd-af03bedce89f; Wed, 21 Nov 2018 18:43:26 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id wALIhXxG017732; Wed, 21 Nov 2018 11:43:33 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1542825813.56571.77.camel@freebsd.org> Subject: Re: FreeBSD 12.0 RBPI3B+ and hardware clock support From: Ian Lepore To: Stefan Parvu , freebsd-arm@freebsd.org Date: Wed, 21 Nov 2018 11:43:33 -0700 In-Reply-To: <70D1E906-D92A-4413-9327-DE1779E479E8@kronometrix.org> References: <70D1E906-D92A-4413-9327-DE1779E479E8@kronometrix.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E86176FCCB X-Spamd-Result: default: False [-0.05 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.27)[-0.275,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US]; NEURAL_SPAM_SHORT(0.67)[0.669,0]; NEURAL_HAM_LONG(-0.44)[-0.441,0] X-Rspamd-Server: mx1.freebsd.org 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: Wed, 21 Nov 2018 18:43:43 -0000 On Wed, 2018-11-21 at 20:31 +0200, Stefan Parvu wrote: > Hi, > > What is the status regarding FreeBSD 12.0 on RBPI3B+ regarding > support for > a hardware clock ? Do we have support only for Maxim DS chipsets ?  > > I download the latest 12.0 RC1 can I simple use the hardware clock > without rebuilding anything or > do I really still need to build a new kernel ?  > > Thank you, > Stefan We have support for most major/popular i2c-based realtimeclock chips. They all get built as modules, so there is no need to build a custom kernel. You probably will need to identify the chip type and add a load_xxxxx=YES to /boot/loader.conf to get the right driver loaded. Let me know which chipset you're using and I can tell you which driver. You also need an FDT overlay to assign the i2c bus pins and enable the bus and rtc drivers. Someone else will have to help with that part. -- Ian