From owner-freebsd-arm@freebsd.org Tue Jul 16 14:20:18 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F24D0B09EA for ; Tue, 16 Jul 2019 14:20:18 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E24186972 for ; Tue, 16 Jul 2019 14:20:18 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563286816; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=hWJepKpRRmlZzgPcmxhYOtoy/gk/SdbwC2Czu9OtRLjhc0T3EY0dvTmOuwCWLZkYlla2ecqw7vkDI No3TLCwz05tsevZ121eSl4LBa/DkTqQZqqK88LpF92dGbAWcQ99GVg/6InqyGWVu1lW4I2CI+oYC3D hjklTAao6JMmT2cHHWa6GGDFhh0dZNye1LAFGlTpUK6qOZp0EHJZHRB05D3fUYliF3O6GwAg5TGGkN yCQO/YRsFtxTofhimoH7S52wE/u8j5Daajg8idGxQqz/Hk1Q1xe9vArSkJAm6fhXaflDKddpo1/oLP wjaBYWPyBfntNzVfWC/InRs1c0yZu/g== 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=oGgR9wbvbrnuN7HmQ50n+P6CCl7U8YavSFqixQZaCPU=; b=oQsM0WZ4sXcjFMWSFQi/YL0IlqcBmibtMq4nxaxrkcpugcufhdKz3Och/ipiM1CK0rgnFrH2HTDhS gipeEeTTYWvojMHoOfPjdf2sOfM+RznEMA8yU7I/xBEdRwkAuDerApvFC2GqkVR4fMkF431OE+8zow fHr5fLwj5hQukXUuBtsIt5qCxsOvG/PBXMxL4RN66YDnnODZ0RvrLopI918QJUk6ZcG3hrTkPf0psC 4VMd7Sef+DpEUOCgg7bo4yUwe0UeLRALpkYafKg0U8+JjspYWSw6JqvaIhF0133BS+xbqAZUh2AXcC RAlRVx8esbaN2qJSMfwS8UQPUVrlHOA== ARC-Authentication-Results: i=1; outbound2.eu.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=oGgR9wbvbrnuN7HmQ50n+P6CCl7U8YavSFqixQZaCPU=; b=VE/ZD8MqWhNdwY7Axu95rtgerNk9INFrk3NFc7yGFFeJLp4TbAeGJvkOQwU7i0bpC0LjqXAY0zmV7 upITr3nO9OpHISH+gQGvfgJDMQHJyQdQN5lljPPyoKy2H3Vc3bob6mH+N/SfidyOSQs+37uLLAbRUo fkWR1K02bChJXavAbD36C0F0j+uAz13YPAob0fIbvwbDDTUkW98mjwRkf36sWVYiU/Ghv6QjOZDL9T rQchE8FjpG4cXu2KnFKwvhddOuNptsgI3zat2jmpAUi3QCjuehjz6qfXwOLAbsCFgRKk9SzSle3iGV z5ZjMfWmYCkt/Q9uOA9dPFIdU4B2Yaw== X-MHO-RoutePath: aGlwcGll X-MHO-User: d27e298a-a7d4-11e9-93b3-ab2994fa733b 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 outbound2.eu.mailhop.org (Halon) with ESMTPSA id d27e298a-a7d4-11e9-93b3-ab2994fa733b; Tue, 16 Jul 2019 14:20:13 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6GEKBBn036457; Tue, 16 Jul 2019 08:20:11 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 From: Ian Lepore To: Stefan Parvu , freebsd-arm@freebsd.org Date: Tue, 16 Jul 2019 08:20:11 -0600 In-Reply-To: <36088812-2135-4433-BC49-0BC433EC6767@kronometrix.org> References: <41A4CA5C-B487-490F-8A19-2D51F43E1004@kronometrix.org> <95616620-bbaf-dbc3-49eb-3e2562638d49@bunyatech.com.au> <74E3E782-8481-4B5B-A0AF-A04590C27D6D@kronometrix.org> <790afcb5f0809a89b45982958a85f1539fec05c7.camel@freebsd.org> <36088812-2135-4433-BC49-0BC433EC6767@kronometrix.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 3E24186972 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.99)[-0.991,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:52.58.0.0/15, country:US] 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: Tue, 16 Jul 2019 14:20:19 -0000 On Tue, 2019-07-16 at 04:46 +0300, Stefan Parvu wrote: > > Okay, this should be fixed as of r350016. > > Cool and thank you for fix. > > The hard part: Im on FreeBSD 12 RELEASE. How can I get the fix on this version ? > Idea is Im planning to use the OS (FreeBSD 12.0 RELEASE) before 12.1 is released. > > * you fixed the nxprtc driver, right ? > > * can I somehow get the new driver for 12.0 RELEASE ARMv8 ? > > * do I need to make another system (using same hdw, RBPI3B+) and fetch > there the latest update and build the driver and then manually copy the driver > on other systems I install or how ? > > Thanks, > Stefan > What you need to do to incorporate the fix depends on what you're doing now. You say you're using 12-RELEASE, but using it how? Installing the official image, then adding your own stuff to it? Or building world and kernel yourself using the sources from the 12-RELEASE branch? The bottom line is that you need to rebuild the nxprtc driver with this patch applied: https://svnweb.freebsd.org/base/head/sys/dev/iicbus/nxprtc.c?r1=350016&r2=348184&view=patch -- Ian