From owner-freebsd-arm@freebsd.org Sun Jul 14 00:49:27 2019 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 9C76415D1DEA for ; Sun, 14 Jul 2019 00:49:27 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A5D4B76AE9 for ; Sun, 14 Jul 2019 00:49:25 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Sun, 14 Jul 2019 00:49:19 +0000 Received: from [192.168.2.155] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 5DB81441-E8C9-4F31-B8E9-4AC51D8BE16B.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sun, 14 Jul 2019 00:49:18 +0000 Date: Sun, 14 Jul 2019 03:49:15 +0300 User-Agent: K-9 Mail for Android In-Reply-To: References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> MIME-Version: 1.0 Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black To: freebsd-arm@freebsd.org,Dennis Clarke From: Greg V Message-ID: <94FB6E5D-90AC-46A1-B545-CFF934AFFE9F@unrelenting.technology> DKIM-Signature: v=1; a=rsa-sha256; bh=zZ1ybeBkCZ3J7F1gV+/FcV4Fe0IS0n175T2/kv8TFe0=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=HcBjTqFOp51fjV/OQS4tN38gFrjm8eHNyep1LZFQ9oKrcxZE5WRCNQZxKjlIq2MYGl0Lv8Np9idaX33irRz6XS2CQKNT6SF6EsiTQOnjqplEVmkQ0lTaWs7GkrwVwPAAXsbm8HnKiwRRanE6RD+Y9LBXt5HOhv/yU+Bc8ACJN0Q= X-Rspamd-Queue-Id: A5D4B76AE9 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=HcBjTqFO; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-5.36 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_SPAM_SHORT(0.27)[0.273,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: aspmx1.migadu.com]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCVD_IN_DNSWL_NONE(0.00)[63.223.121.91.list.dnswl.org : 127.0.10.0]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; IP_SCORE(-2.62)[ip: (-9.90), ipnet: 91.121.0.0/16(-4.36), asn: 16276(1.17), country: FR(-0.01)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sun, 14 Jul 2019 00:49:28 -0000 On July 13, 2019 9:27:50 PM GMT+03:00, Dennis Clarke wrote: >I am curious if anyone has ever tried out the ASUS Tinkerboard ? No=2E It won't really work=2E There are no drivers for the RK3288 SoC=2E As already mentioned on the mailing list recently: non-commercial/enthusia= st developers have very little interest in 32-bit (armv7) systems, because = 64-bit (aarch64) exists=2E Rockchip's newer 64-bit series (RK3328/RK3399) d= oes have some support, in fact I did the initial (hacky) bringup of the 339= 9 and got USB to work (a patch for that is on phabricator)=2E From owner-freebsd-arm@freebsd.org Sun Jul 14 01:34:49 2019 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 59FD815D35AA for ; Sun, 14 Jul 2019 01:34:49 +0000 (UTC) (envelope-from dpolyg@gmail.com) Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC1EF80A11; Sun, 14 Jul 2019 01:34:47 +0000 (UTC) (envelope-from dpolyg@gmail.com) Received: by mail-pf1-x433.google.com with SMTP id p184so5879065pfp.7; Sat, 13 Jul 2019 18:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=qUxHoG4r2DeEr5OICehOZdgT+wrJWNdg8RLs9RbBnRg=; b=bkzHQKeVMpyliAvN7MAWxFrPK6IPnkZKdiNI9Qg3cG8oM3Wo1ghBt80A9toioGnFqO mkuclHjHO/+QNMdCEarGnGKl0vRu64k+mIn963T6ZmR8ECsef4W9FUREeV47zO77LAPP u5eIOJ7dfJKck3HwWYBv13Bth1SrH0EdQtTP9/VRjHE7XXN5KtkDVJaWcI2Wjk3J0caa Kzh4ocLDpyzJ4newIgm4DVEGv+RkB/qBsyj6OhcZbE51qfkMxBjSZOQ3ZvMQsL82Ettv lS5/O8vC64AtfW08ukUhP2+YQG8v7iCvjNKAtQ9oAAoKqJkRXY5ivUkNGe5XhX+QGYag Aj3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qUxHoG4r2DeEr5OICehOZdgT+wrJWNdg8RLs9RbBnRg=; b=a7hcHOrK7zkzKk5ebhNdWzyAD3SEIb7ZJPmg9RjNpJv8c5j68NJI9ckZ3lJfxjBF7N cTNvOg6RzmVo1mIZc+vMV21KWDpjuFtyUcN/61HLRxzqVxawLYi/bmk4/mlxi3tlDZVq RGuwJGtDXBAtun3FQotWBaVQm5FodlpeuuKCmuVOixav+RsjYwN0l0iALZNzPIHzeke3 qDnAQjGLhx4DZDI4TwKB07JIdga4cCH1mOwpCPIA4KZbGp9dZAsj1o9Q2TcAF/qwvCCD BmdmDbyD8eRopKnfh8w1lw+tYSnM05SxhsWgg7SRmm3rAduk1T8/oP/gqGERInZ2sgDL /wkg== X-Gm-Message-State: APjAAAWY34yrmkLQDH+/uegKLpIApSfPA48NeeHGue8mKrheolLEAnFZ /CYaGnw7f8Q6Db45UIvIuJN/ZZSSE5Q= X-Google-Smtp-Source: APXvYqz2tE+zSHDpjGAKqWiFXsyMwGpV6W0ZLotmBU4BCaxIRnZ3vX4+jl3i649ttsEF7X32HjPzbA== X-Received: by 2002:a63:db47:: with SMTP id x7mr19319450pgi.375.1563068086472; Sat, 13 Jul 2019 18:34:46 -0700 (PDT) Received: from [192.168.1.100] (ngn8-ppp1551.tokyo.sannet.ne.jp. [157.192.118.27]) by smtp.googlemail.com with ESMTPSA id m4sm21922929pgs.71.2019.07.13.18.34.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Jul 2019 18:34:45 -0700 (PDT) Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black To: Sergey Manucharian , Ian Lepore Cc: freebsd-arm@freebsd.org References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> From: Denis Polygalov Message-ID: <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> Date: Sun, 14 Jul 2019 10:34:43 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190713194256.GK1503@dendrobates> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: BC1EF80A11 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=bkzHQKeV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dpolyg@gmail.com designates 2607:f8b0:4864:20::433 as permitted sender) smtp.mailfrom=dpolyg@gmail.com X-Spamd-Result: default: False [-6.59 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.64)[-0.641,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-2.93)[ip: (-8.99), ipnet: 2607:f8b0::/32(-3.18), asn: 15169(-2.44), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0] 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: Sun, 14 Jul 2019 01:34:49 -0000 > Yes, 12.0 works fine. just for clarification, - FreeBSD-12.0-RELEASE-arm-armv7-BEAGLEBONE.img does *not* work for me (same behavior as 11.3 and 11.2). I understand that there are not enough people in this area and most of existed are interested in aarch64 but at the same time imagine a *new* person who wants to do something with FreeBSD on ARM and the step number one is to get at lest something to work. So the person is reading wiki and it says that BBB is well supported, ISO images are generated regularly on the FreeBSD.org ftp site, consuming a lot of CPU time and couple of hundreds of Mb of disk space, so he 'dd' one of them,... second... third... and obviously losing interest. Then what should I think about other official ISO images? Spend money buying BananaPi and get the same result as with BBB?.. Does FreeBSD-12.0-RELEASE-arm64-aarch64-PINE64.img.xz works out of the box or only it's bleeding edge snapshot? For the sake of sanity just at least mark boards that are not working as 'not working' in the wiki and/or do not generate RELEASE images tailored to them i.e. *-BEAGLEBONE.img Regards, Denis. On 14/07/2019 4:42 am, Sergey Manucharian wrote: > Excerpts from Ian Lepore's message from Sat 13-Jul-19 11:39: >> I'm able to boot the most recent 12-stable snapshot on beaglebone >> black... >> >> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv7/ISO-IMAGES/12.0/FreeBSD-12.0-STABLE-arm-armv7-BEAGLEBONE-20190711-r349903.img.xz >> >> But there are some long timeout delays on ti_sdhci1 as it boots. > > Yes, 12.0 works fine. Also, after booted off an SD card, the image can be > dd-ed to the eMMC: perfectly works without SD card (except of spitting out > hundreds lot of meaningless messages: > Card did not respond to voltage select! ) > > I think, the difference with the previous images (11.x) is the fact that > u-boot is using EFI and it's a mainline u-boot, whilst the old images used > one specially tailored for FreeBSD. > > -S > . > From owner-freebsd-arm@freebsd.org Sun Jul 14 02:15:35 2019 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 E319B15D3FCB for ; Sun, 14 Jul 2019 02:15:34 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail.myserver.ws (mail.myserver.ws [144.217.111.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.myserver.ws", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B98AA81B3F; Sun, 14 Jul 2019 02:15:33 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from dendrobates (c-73-153-76-61.hsd1.co.comcast.net [73.153.76.61]) (Authenticated sender: sm@ara-ler.com) by mail.myserver.ws (Postfix) with ESMTPSA id 4ADC6A2241; Sun, 14 Jul 2019 02:15:27 +0000 (UTC) Date: Sat, 13 Jul 2019 20:15:22 -0600 From: Sergey Manucharian To: Denis Polygalov Cc: Ian Lepore , freebsd-arm@freebsd.org Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black Message-ID: <20190714021522.GL1503@dendrobates> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> User-Agent: Mutt/1.11.4 (2019-03-13) X-Rspamd-Queue-Id: B98AA81B3F X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sm@ara-ler.com designates 144.217.111.45 as permitted sender) smtp.mailfrom=sm@ara-ler.com X-Spamd-Result: default: False [-0.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.49)[-0.485,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:mail.myserver.ws]; NEURAL_HAM_LONG(-0.86)[-0.855,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ara-ler.com]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.64)[0.640,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.myserver.ws]; IP_SCORE(0.06)[ipnet: 144.217.0.0/16(-0.88), asn: 16276(1.17), country: FR(-0.01)]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[61.76.153.73.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16276, ipnet:144.217.0.0/16, country:FR]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] 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: Sun, 14 Jul 2019 02:15:35 -0000 Excerpts from Denis Polygalov's message from Sun 14-Jul-19 10:34: > > Yes, 12.0 works fine. > > just for clarification, - > FreeBSD-12.0-RELEASE-arm-armv7-BEAGLEBONE.img > does *not* work for me (same behavior as 11.3 and 11.2). Right now I have 2 BBBs running FreeBSD-12.0 for months, one of them has a working Newhaven 7" LCD cape (touchpanel doesn't work - there is no driver). I never needed any special tweaking to boot them. There exist a few flavors of BBBs. I testify, that, e.g., black-board industrial temperature BBBs have certain issues compared to red-board ones. Also, I discovered, that certain USB flash drives are not detected by u-boot at boot time because of wrong timing, I had to recompile u-boot to avoid such thing for my particular purpose. I know, it is not related to your case, Denis, just an example. What if you try using a different SD card? I know for sure that SanDisk cards of class 10 perfectly work with all variants of BBBs I have. The default DTB tells the kernel to set the SD card clock speed to 50MHz. It may be too high for certain types. I looked the clock's waveform on the oscilloscope, it doesn't look good, believe me. I'm involved in a commercial project with BBBs running Debian Linux, and to be on the safe side I lowered clock's speed to 25MHz. -S From owner-freebsd-arm@freebsd.org Sun Jul 14 05:43:47 2019 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 E80E315D934E for ; Sun, 14 Jul 2019 05:43:46 +0000 (UTC) (envelope-from oskar.holmlund@yahoo.com) Received: from sonic305-19.consmr.mail.ir2.yahoo.com (sonic305-19.consmr.mail.ir2.yahoo.com [77.238.177.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 476E589DF1 for ; Sun, 14 Jul 2019 05:43:45 +0000 (UTC) (envelope-from oskar.holmlund@yahoo.com) X-YMail-OSG: HsRCkHMVM1nrbU27mgf5p_9VEZcckRZRbCphcwVWXKkJfI6SdxD2iuzXDWt8Ioz MHdCY4.HPEYARM_U9cF6n9mgOSIKTSt66Cr4PkYuQ2rVf3xBvNcnNoekaO.tCa.vym8ANzxDyIH9 UczOn14WiV.eZ.DWM0pvyhtyZQv8T9tlnDJSDYHnKaRkn9ItmPYxIPCY89TyDTi3SFldClxVq8I6 9fTH5iGcrxZIjFf.w4U6dKeJT6LkJVlOklPnAttYWc6mWLSl_4JVeeHwbaKUnfgBN65PrjFa7u1U E_IdSjXu2.5TgAlFVcMXPjfgti_8BNqvUEIKf8jiol7zwyDRMNkU28z4ZNccHnmldsX2goj0Iaeh YijRFedDp86qRd8yHLDZwVE7oI6k.tn8dNxBmEFYY7mM411eVXQD7vk0AIgU06KwpQOP.UXmuNC4 IhRETnnWxEkl9I6FT927mmqTOlM7X7NpkfpkES3jGUgQlFmzTIv7.w6Dk0yHgeCl6_Gfci1keMLN SZyj5kYAMc.EGIwMBBm.CJ2vSr6zxUJ.MhXAn3Xx6k3V5yL_3JwSj1Vw.h7Ua9Rkj4FiDGoa9rcb ln4N.0w.uDNV1e3xsYGWZ_fampogYSjF13COmfv7k5dGFMk7yawPX6q9seWAfXB1IYzTL6byLTyD 95xPyUVUtelbdJzB396GA3xQwehMQybPUTq5yracwSLou98PkpXG9W5vlVuPGRY8rE2JQsG8LtvT hWTM8PWZU.ig9lIy5bvyfXHmefCeCu6bf8JwLfTlN.SCX5bYaHddvynJoLjL65ECJpkdHOVUPeiY l.n4f_oaKnLVl8Fq00dTuA9x.TcD4m5O4OdIqNGaNGANz_PAaNs72M6YDEkHA0Mv1neTWoCUnk3y lH_ch6NQF_yFWGv9AcJ.lq1r4Xb0v4iiXm9iNNq4sTDdvPeB.qN4RC_TPXUVB3EVmXwEB8hRQ3g7 D8Pb.B.4jJio0_xgLdoqVeyaqqWmFpxehZcUNv3n992qdYKTwg4IpENLtFJz_B6fJTioeJPhp_fn _Th34utVhj2OybedbmCu_K2bukIoELKb274aGW3gxv5vN.578L4IO3SmrEqvdu1ZwDAvMQJp6.UM AwHZb9UwDO35m9h0rCa48cp9zuw8TeQRKwkalttnIH5JUAQRTPBnAcCvZrSogCi4cpFD7BHi3d5Y BBlCmSQtxI1FcWF9V1Q-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Sun, 14 Jul 2019 05:43:37 +0000 Date: Sun, 14 Jul 2019 05:42:29 +0000 (UTC) From: Oskar Holmlund To: Ian Lepore Cc: Denis Polygalov , Sergey Manucharian , "freebsd-arm@freebsd.org" , "owner-freebsd-arm@freebsd.org" Message-ID: <785987037.1133186.1563082949396@mail.yahoo.com> Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <785987037.1133186.1563082949396.ref@mail.yahoo.com> X-Mailer: WebService/1.1.13991 YMailNorrin Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0 X-Rspamd-Queue-Id: 476E589DF1 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.99 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.98)[0.977,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(2.05)[ip: (6.27), ipnet: 77.238.176.0/22(2.27), asn: 34010(1.79), country: GB(-0.08)]; NEURAL_SPAM_MEDIUM(0.99)[0.994,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.98)[0.979,0]; RCVD_IN_DNSWL_NONE(0.00)[81.177.238.77.list.dnswl.org : 127.0.5.0]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] 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: Sun, 14 Jul 2019 05:43:47 -0000 2019-07-13 19:39 skrev Ian Lepore: > On Sun, 2019-07-14 at 01:01 +0900, Denis Polygalov wrote: >> Hi Sergey, >> >> I tried this on 11.2-RELEASE: >> >> mountroot> ufs:/dev/mmcsd1s2 >> >> Trying to mount root from ufs:/dev/mmcsd1s2 []... >> mountroot: waiting for device /dev/mmcsd1s2... >> Mounting from ufs:/dev/mmcsd1s2 failed with error 19. >> >> mountroot> >> >> unfortunately even 12.0-RELEASE doesn't work: >> >> Trying to mount root from ufs:/dev/ufs/rootfs [rw]... >> mountroot: waiting for device /dev/ufs/rootfs... >> Mounting from ufs:/dev/ufs/rootfs failed with error 19. >> >> Loader variables: >>=C2=A0=C2=A0=C2=A0 vfs.root.mountfrom=3Dufs:/dev/ufs/rootfs >>=C2=A0=C2=A0=C2=A0 vfs.root.mountfrom.options=3Drw >> >> Manual root filesystem specification: >>=C2=A0=C2=A0=C2=A0 : [options] >>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Mount using filesyste= m >>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 and with the specified (option= al) option list. >> >>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 eg. ufs:/dev/da0s1a >>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 zfs:zroot/ROOT/def= ault >>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 cd9660:/dev/cd0 ro >>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (which= is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) >> >>=C2=A0=C2=A0=C2=A0 ?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 List valid disk boot devices >>=C2=A0=C2=A0=C2=A0 .=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Yield 1 second (for background tasks) >>=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 Abort manual input >> >> mountroot> ? >> >> List of GEOM managed disk devices: >>=C2=A0=C2=A0=C2=A0 diskid/DISK-5C3DD42Es2 diskid/DISK-5C3DD42Es1 ext2fs/A= ngstrom >> msdosfs/BEAGLEBONE diskid/DISK-5C3DD42E mmcsd0s2 mmcsd0s1 >> mmcsd0boot1 >> mmcsd0boot0 mmcsd0 >> >> mountroot> ufs:/dev/mmcsd1s2 >> Trying to mount root from ufs:/dev/mmcsd1s2 []... >> mountroot: waiting for device /dev/mmcsd1s2... >> Mounting from ufs:/dev/mmcsd1s2 failed with error 19. >> >> mountroot> >> >> Regards, >> Denis. >> >=20 > I'm able to boot the most recent 12-stable snapshot on beaglebone > black...=20 >=20 > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv7/ISO-IMAGES/12.0/Fre= eBSD-12.0-STABLE-arm-armv7-BEAGLEBONE-20190711-r349903.img.xz >=20 > But there are some long timeout delays on ti_sdhci1 as it boots. >=20 > -- Ian >=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" I'm building FreeBSD 12 stable with crochet for AM335x at $work and had the= same trouble. One solution is to use an older u-boot version 2018.09, 2018.11 and 2019.01= (from ports) is working but 2019.04 is not working. It exists an PR=20 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238344 And the solution is in another thread. https://forums.freebsd.org/threads/default-serial-console-to-login.70957/#p= ost-428856 --=20 B=C3=A4sta H=C3=A4lsningar Oskar Holmlund Tel 070-3220292 From owner-freebsd-arm@freebsd.org Sun Jul 14 08:19:46 2019 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 CDD7115DBF89 for ; Sun, 14 Jul 2019 08:19:46 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhob22.registeredsite.com (atl4mhob22.registeredsite.com [209.17.115.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.registeredsite.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C5DF18E3F9 for ; Sun, 14 Jul 2019 08:19:45 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mailpod.hostingplatform.com (atl4qobmail02pod2.registeredsite.com [10.30.77.36]) by atl4mhob22.registeredsite.com (8.14.4/8.14.4) with ESMTP id x6E8JctK058206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Sun, 14 Jul 2019 04:19:38 -0400 Received: (qmail 46903 invoked by uid 0); 14 Jul 2019 08:19:38 -0000 X-TCPREMOTEIP: 99.253.177.25 X-Authenticated-UID: dclarke@blastwave.org Received: from unknown (HELO ?172.16.35.3?) (dclarke@blastwave.org@99.253.177.25) by 0 with ESMTPA; 14 Jul 2019 08:19:38 -0000 Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black To: freebsd-arm@freebsd.org References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> From: Dennis Clarke Message-ID: <26864b34-624a-075f-4a10-859314649d2f@blastwave.org> Date: Sun, 14 Jul 2019 04:19:37 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: C5DF18E3F9 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.33 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(1.00)[0.998,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[cached: mx1.netsolmail.net]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[116.115.17.209.list.dnswl.org : 127.0.5.0]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; R_SPF_NA(0.00)[]; DMARC_NA(0.00)[blastwave.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:19871, ipnet:209.17.112.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(1.44)[ip: (4.51), ipnet: 209.17.112.0/21(1.54), asn: 19871(1.23), country: US(-0.06)] 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: Sun, 14 Jul 2019 08:19:47 -0000 > I understand that there are not enough people in this area > and most of existed are interested in aarch64 but at the > same time imagine a *new* person who wants to do something > with FreeBSD on ARM and the step number one is to get > at lest something to work. So the person is reading wiki > and it says that BBB is well supported, ISO images > are generated regularly on the FreeBSD.org ftp site, consuming > a lot of CPU time and couple of hundreds of Mb of disk space, > so he 'dd' one of them,... second... third... > and obviously losing interest. > Then what should I think about other official ISO images? > Spend money buying BananaPi and get the same result as with BBB?.. > Does FreeBSD-12.0-RELEASE-arm64-aarch64-PINE64.img.xz works > out of the box or only it's bleeding edge snapshot? > > For the sake of sanity just at least mark boards that are > not working as 'not working' in the wiki and/or do not > generate RELEASE images tailored to them i.e. *-BEAGLEBONE.img > Brilliant. I have the same issue with ppc64 and most certainly for RISC-V where we are really well and truely in outer darkness. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional From owner-freebsd-arm@freebsd.org Sun Jul 14 08:21:37 2019 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 8FC4315DC1A3 for ; Sun, 14 Jul 2019 08:21:37 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhob20.registeredsite.com (atl4mhob20.registeredsite.com [209.17.115.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.registeredsite.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C4D1F8E6AA for ; Sun, 14 Jul 2019 08:21:36 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mailpod.hostingplatform.com (atl4qobmail02pod2.registeredsite.com [10.30.77.36]) by atl4mhob20.registeredsite.com (8.14.4/8.14.4) with ESMTP id x6E8LRm1022636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Sun, 14 Jul 2019 04:21:28 -0400 Received: (qmail 865 invoked by uid 0); 14 Jul 2019 08:21:27 -0000 X-TCPREMOTEIP: 99.253.177.25 X-Authenticated-UID: dclarke@blastwave.org Received: from unknown (HELO ?172.16.35.3?) (dclarke@blastwave.org@99.253.177.25) by 0 with ESMTPA; 14 Jul 2019 08:21:27 -0000 Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black To: Greg V , freebsd-arm@freebsd.org References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <94FB6E5D-90AC-46A1-B545-CFF934AFFE9F@unrelenting.technology> From: Dennis Clarke Message-ID: <5021efce-f74d-f500-0926-276c99811dd5@blastwave.org> Date: Sun, 14 Jul 2019 04:21:27 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: <94FB6E5D-90AC-46A1-B545-CFF934AFFE9F@unrelenting.technology> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: C4D1F8E6AA X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.83 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.98)[0.980,0]; IP_SCORE(0.96)[ip: (2.09), ipnet: 209.17.112.0/21(1.54), asn: 19871(1.23), country: US(-0.06)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[blastwave.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.994,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx1.netsolmail.net]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[114.115.17.209.list.dnswl.org : 127.0.5.0]; NEURAL_SPAM_LONG(1.00)[0.999,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:19871, ipnet:209.17.112.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[] 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: Sun, 14 Jul 2019 08:21:37 -0000 On 7/13/19 8:49 PM, Greg V wrote: > On July 13, 2019 9:27:50 PM GMT+03:00, Dennis Clarke > wrote: > >I am curious if anyone has ever tried out the ASUS Tinkerboard ? > > No. It won't really work. There are no drivers for the RK3288 SoC. > > As already mentioned on the mailing list recently: > non-commercial/enthusiast developers have very little interest in 32-bit > (armv7) systems, because 64-bit (aarch64) exists. Rockchip's newer > 64-bit series (RK3328/RK3399) does have some support, in fact I did the > initial (hacky) bringup of the 3399 and got USB to work (a patch for > that is on phabricator). Fair enough. Thank you for being blunt and straight to the point. It runs a Debian linux variant wonderfully well and I'll leave it that way. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional From owner-freebsd-arm@freebsd.org Sun Jul 14 08:56:02 2019 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 AD5BB15DCE1A for ; Sun, 14 Jul 2019 08:56:02 +0000 (UTC) (envelope-from dpolyg@gmail.com) Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2692F8F81C for ; Sun, 14 Jul 2019 08:56:01 +0000 (UTC) (envelope-from dpolyg@gmail.com) Received: by mail-pf1-x42d.google.com with SMTP id i189so6086979pfg.10 for ; Sun, 14 Jul 2019 01:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=S7sQBzlI0iMUY8Mx0cAi1W1a3PbMkwX5fQWUJPJ7HqQ=; b=GUFHEUddoT/rJKMiPXlCM7I6kazh9Brr5e5T24xAd7mZVPOkZ509A0ZQxTp81VgSjc nwd2sMkbXUgTUey/+yWBRFJ8DBTrnJ6nJkKFHoBmQfjF8I+1gEUADa8UsLX1GcSpQduW vpjwkBSXnUVPvl8CvI9FiEiIMCBmVq2+sRhLyHoX5sE2tUxzb29MA+tTV1pMujIP3Ozq b2PHGUnmMEdgrrqmOtNsuSUFRvInUP1eRaXa+SbvYr7o60YoVAbjJI7xZRB6kO+ib9Cm jsiiRr5PEDTItoxs/lwIsEImQ7va0Lxs2mzocrnV4rTaUBFwlRO9CJSazZD3v7E5fBUT LNvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=S7sQBzlI0iMUY8Mx0cAi1W1a3PbMkwX5fQWUJPJ7HqQ=; b=Vc2geFVTvuBY5yH5VZnsjwh6OG0y7VA+psaGP5J+cKdAWQuHOBWMEsHzLxX9pdJSQI khY9p3B3g2fQoNsKqZ9WSRMhA+Vr3n81/FaRAZFAU7m99UAEPHzKZMYV3pCN74koHSM1 D0u5bizAPYxzxpHauvBrUOt7XeNzC0V4lsobUDIN3rafUAKgZS6mZWcAY5mCPnCfQ2ya BxCunRSFJFu2nrjxw1Du5cERxVolqPrsdJ1QeUWq0I9ZDpm5cj3y3ZnOFINpkF+fB7C/ fFz+B6qa1yN7xh2hpEwPEjOkFqfWuJjf3nj4gIojW5PwFihp+2iyLMW8hnTm8pD33+gN Ee2A== X-Gm-Message-State: APjAAAUt/+NOJjQOzxa3cFisNrnAeoKj9rnPB188YT46WuYaJf9VAGK0 iUokECzubfFuUnaJysOHas1sCxXpdOw= X-Google-Smtp-Source: APXvYqwbXUOy97w1RXIlckERm+TD3t+LaSIZ4FRz3qyL+Rmwx7N+/Ur/he5X8Sp+qrgsvhXRtU3t3A== X-Received: by 2002:a65:50c5:: with SMTP id s5mr20618265pgp.368.1563094559729; Sun, 14 Jul 2019 01:55:59 -0700 (PDT) Received: from [192.168.1.100] (ngn8-ppp1551.tokyo.sannet.ne.jp. [157.192.118.27]) by smtp.googlemail.com with ESMTPSA id k70sm19307692pje.14.2019.07.14.01.55.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jul 2019 01:55:59 -0700 (PDT) Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black To: Sergey Manucharian Cc: freebsd-arm@freebsd.org References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <20190714021522.GL1503@dendrobates> From: Denis Polygalov Message-ID: <1457ff1f-9958-4aba-5100-d976ddf87947@gmail.com> Date: Sun, 14 Jul 2019 17:55:56 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190714021522.GL1503@dendrobates> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 2692F8F81C X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GUFHEUdd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dpolyg@gmail.com designates 2607:f8b0:4864:20::42d as permitted sender) smtp.mailfrom=dpolyg@gmail.com X-Spamd-Result: default: False [-6.78 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.85)[-0.847,0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[d.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.92)[ip: (-8.92), ipnet: 2607:f8b0::/32(-3.18), asn: 15169(-2.44), country: US(-0.06)] 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: Sun, 14 Jul 2019 08:56:02 -0000 > to your case, Denis, just an example. What if you try using a different > SD card? I know for sure that SanDisk cards of class 10 perfectly work > with all variants of BBBs I have. thanks for the advise. I just tried this with new SanDisc class 10 card. Doesn't work. So this is most probably something else related to this: > It exists an PR > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238344 > And the solution is in another thread. > https://forums.freebsd.org/threads/default-serial-console-to-login.70957/#post-428856 From owner-freebsd-arm@freebsd.org Sun Jul 14 11:25:30 2019 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 E650B15DFCEE for ; Sun, 14 Jul 2019 11:25:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7BDA26D5C0 for ; Sun, 14 Jul 2019 11:25:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 51DAB4E64 for ; Sun, 14 Jul 2019 11:25:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x6EBPTlI043399 for ; Sun, 14 Jul 2019 11:25:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x6EBPT2e043398 for freebsd-arm@FreeBSD.org; Sun, 14 Jul 2019 11:25:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 239197] FreeBSD 11.3-RELEASE boot failed on RaspberryPI 1 Date: Sun, 14 Jul 2019 11:25:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: samm@os2.kiev.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 7BDA26D5C0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.965,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, 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: Sun, 14 Jul 2019 11:25:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239197 Bug ID: 239197 Summary: FreeBSD 11.3-RELEASE boot failed on RaspberryPI 1 Product: Base System Version: 11.3-RELEASE Hardware: arm OS: Any Status: New Severity: Affects Some People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: samm@os2.kiev.ua I found that there is a regression on RPi1/FreeBSD. When i am copying offic= ial image to the SD card i am getting boot loop. Previous (11.2) version works = just fine on the same hardware. Boot log from the serial console provided below: Loading Environment from FAT... In: serial Out: vidconsole Err: vidconsole Net: No ethernet found. starting USB... USB0: scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 MMC Device 0 not found no mmc device at slot 0 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found U-Boot script /boot.scr 199 bytes read in 6 ms (32.2 KiB/s) ## Executing script at 02400000 285056 bytes read in 32 ms (8.5 MiB/s) ## Starting application at 0x00080000 ... Consoles: U-Boot console Compatible U-Boot API signature found @0x1bb40c80 FreeBSD/armv6 U-Boot loader, Revision 1.2 (Fri Jul 5 03:38:30 UTC 2019 root@releng2.nyi.freebsd.org) DRAM: 448MB Number of U-Boot devices: 1 U-Boot env: loaderdev not set, will probe all devices. Found U-Boot device: disk Probing all devices... Checking unit=3D0 slice=3D partition=3D... good. Booting from disk0s2a: Loading /boot/defaults/loader.conf /boot/kernel/kernel data=3D0x6482ac+0x19fd54 syms=3D[0x4+0xaae80+0x4+0x98ff= 0] / Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by U-Boot at address 0x1bfea200. Kernel entry at 0x400100... Kernel args: (null) Copyright (c) 1992-2019 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.3-RELEASE #0 r349754: Fri Jul 5 03:51:28 UTC 2019 root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) VT: init without driver. CPU: ARM ARM1176 r0p7 (ECO: 0x00000000) CPU Features: Thumb, Security, VMSAv7 Optional instructions: UMULL, SMULL, MLA, SIMD(ext) 16KB/32B 4-way instruction cache 16KB/32B 4-way WB data cache real memory =3D 469757952 (447 MB) avail memory =3D 448118784 (427 MB) random: entropy device external interface kbd0 at kbdmux0 ofwbus0: simplebus0: on ofwbus0 bcm_dma0: mem 0x7e007000-0x7e007eff irq 4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 on simplebus0 bcm_dma0: cannot allocate interrupt device_attach: bcm_dma0 attach returned 6 bcmwd0: mem 0x7e100000-0x7e100027 on simplebus0 bcmrng0: mem 0x7e104000-0x7e10400f irq 20 on simpleb= us0 mbox0: mem 0x7e00b880-0x7e00b8bf irq 21 on simplebus0 mbox0: could not allocate interrupt resource device_attach: mbox0 attach returned 6 gpio0: mem 0x7e200000-0x7e2000b3 irq 22,23 on simplebus0 gpio0: cannot allocate resources gpio0: bcm_gpio_pic_detach: not implemented yet device_attach: gpio0 attach returned 6 uart0: mem 0x7e201000-0x7e201fff irq 24 on simpleb= us0 uart0: console (115200,n,8,1) bcm283x_dwcotg0: mem 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 45,46 on simplebus0 bcm283x_dwcotg0: failed to set power state, err=3D6 device_attach: bcm283x_dwcotg0 attach returned 6 sdhci_bcm0: mem 0x7e300000-0x7e3000ff irq = 48 on simplebus0 device_attach: sdhci_bcm0 attach returned 6 fb0: on simplebus0 device_attach: fb0 attach returned 6 vchiq0: mem 0x7e00b840-0x7e00b84e irq 51 on simplebus0 vchiq0: could not allocate interrupt resource device_attach: vchiq0 attach returned 6 gpioled0: on ofwbus0 gpioled0: failed to map pin cryptosoft0: panic: No usable event timer found! Uptime: 1s Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Sun Jul 14 13:35:18 2019 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 88B6F15E29E1 for ; Sun, 14 Jul 2019 13:35:18 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9110871254 for ; Sun, 14 Jul 2019 13:35:12 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6EDZ4D8068944 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 14 Jul 2019 13:35:05 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: recreate FreeBSD 12 ARM image Message-Id: <23ABC4DD-840D-4C63-ACCF-4DF6BC801CF0@kronometrix.org> Date: Sun, 14 Jul 2019 16:34:58 +0300 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 9110871254 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [3.02 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.80)[0.803,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[mail.kronometrix.org]; NEURAL_SPAM_LONG(0.81)[0.805,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.64)[0.639,0]; IP_SCORE(0.59)[ipnet: 95.85.0.0/18(1.91), asn: 14061(1.07), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sun, 14 Jul 2019 13:35:18 -0000 Hi, Suppose I have installed FreeBSD 12 on a 32GB microSD under RBPI3B+ and = I have configure it as I want, add my own software and now I want to re-create = the image as=20 small as possible say as the original. Is it possible to do something = like this ? Anyone any advices, tips how can you do this ?=20 Thanks, Stefan Parvu sparvu@kronometrix.org From owner-freebsd-arm@freebsd.org Sun Jul 14 16:04:36 2019 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 D83AC15E546C for ; Sun, 14 Jul 2019 16:04:35 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (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 2572875EA3 for ; Sun, 14 Jul 2019 16:04:34 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563120273; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=cT2Ll+kX7PG2KwVp3oUC8LZ+LDuzuTtwPVQ5GQaFtF+aYDvakz7rf7cBPWuPcGdmG+7NUXvRwQ4hi N4Pqf3XEGmGHvater6lBg90CO8TCr+tS+7VhH/tz3/YJdplJedzgz9V3//iblofY4HSC93FXxOkDUI L7tf1xAfeoridIvsML/uHT71ZohE45uSYiLgeO54kljNMWiHjIlemt5Yn6LBGTcy5oKC+wycKb0Vug MANv0iYezSAQKMnfPLvoHzFlXXzrDo0tSbGeg4fVMSZxW43CWgQgkmzamOUdM2kKcGvGt7pwM2Dcoc RurtVnYUQY6Ctn11U2zStvjCVSePmzw== 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:cc:to:from:subject:message-id:dkim-signature:from; bh=mYd2d/2akOP3WPmPRCxrb4bgg/mXPBbYEbcMXjfj8L8=; b=SkCMEGuIqH+c7fYnE+YX3GR5HbX3v8cOCDXFMPPwnIsQEboPws+NA8XIYVvMIIUZtSw/cM4a9MzVg pkznRD5Ih16sUGftjk6qpwzQyxor9WDVjXiEvLfBkJnATJoO81+WTrbYWX3TCsAKkkIQPOEiDGWsqD sqTAAni2tD7H+F7WiEF8GrsqyJmzzP3obc2tfJ34h2EROZh5gaq1/gQ0V+Q/m1brwh7sXimgEMuMNV Uv374rcs87vxpNQkMa+rkaKmv47a7qkJoCJKou/UDv+vScFcfat8EkXFKavK3n04JjBGOdX3mxzTZh iDSX8JhhEwWAFtY2oFZPmFSvlK3bGWg== 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:cc:to:from:subject:message-id:from; bh=mYd2d/2akOP3WPmPRCxrb4bgg/mXPBbYEbcMXjfj8L8=; b=myJK4rSFIXOspO1y3irMazwnH+3VqCdxxeXUa8IjJjxpK82s/3Pcv8+HNTlKdmumS/90/w+w1ywMQ 8YZWhKGxwaNYHaciUI7phUi9WiHXyZQcmTJLUA7uUyiHYAWRsGxX277HNtHv5ooUij2xTPs0sU2wkQ NNiO6qghkAfQ/j5i1wKI8EggAwabEMGEzsHdBD7wmKzVVmt+KbxaHO98gbsezfWqfdLEC2GnxcNIr1 9CiiHDS96KiItjJ6vLatL4627bbRpYusEMBMeL+kxpz5WKQLxrGFgILBTcKtXDiXkN+nz7/qN9eg4l 85IeokHh2FOzAntaBsCnorFxaAVG0Uw== X-MHO-RoutePath: aGlwcGll X-MHO-User: 102854d1-a651-11e9-907a-1ba68abff17b 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 102854d1-a651-11e9-907a-1ba68abff17b; Sun, 14 Jul 2019 16:04:32 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6EG4U34028978; Sun, 14 Jul 2019 10:04:30 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black From: Ian Lepore To: Denis Polygalov , Sergey Manucharian Cc: freebsd-arm@freebsd.org Date: Sun, 14 Jul 2019 10:04:30 -0600 In-Reply-To: <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> 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: 2572875EA3 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)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.148.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: Sun, 14 Jul 2019 16:04:36 -0000 On Sun, 2019-07-14 at 10:34 +0900, Denis Polygalov wrote: > Does FreeBSD-12.0-RELEASE-arm64-aarch64-PINE64.img.xz works > out of the box or only it's bleeding edge snapshot? Right there, I think, is the root of your confusion. FreeBSD-NN- RELEASE is not bleeding edge. In fact, it's the exact opposite of that, it's a moment frozen in time that will never change again, so if it's broken, it will be broken forever. That's why I've talked several times in terms of "weekly snapshots" and "12-STABLE" which is NOT 12-RELEASE. For any given freebsd "release" it's kinda likely, sad to say, that one or several or even all the arm boards are broken. Then, the weekly snapshot that comes out for the corresponding -STABLE branch the week after the release may be fixed and work just fine. Such is life for a tier-2 platform. Two or three years ago it looked like arm was at the point where it should be a tier-1 platform, and I put a lot of effort into things like testing releases, because releases that actually work seem like an important thing for a tier-1 platform. Eventually it became clear to me that arm was never going to be a tier- 1 platform in freebsd. We had met all the requirements as near as I could tell, but no matter how many times it was brought up, it just got ignored. Politics or something, I guess, I dunno. But it was 100% demotivating, and so now I put 0% effort into things like worrying about whether something-RELEASE actually works. -- Ian From owner-freebsd-arm@freebsd.org Sun Jul 14 18:07:42 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 C4EFBA1A78 for ; Sun, 14 Jul 2019 18:07:42 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CF5785A71 for ; Sun, 14 Jul 2019 18:07:41 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6EI7cTk072772 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 14 Jul 2019 18:07:39 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: recreate FreeBSD 12 ARM image Date: Sun, 14 Jul 2019 21:07:33 +0300 References: <23ABC4DD-840D-4C63-ACCF-4DF6BC801CF0@kronometrix.org> To: "freebsd-arm@freebsd.org" In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 7CF5785A71 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [4.02 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_SPAM_SHORT(0.68)[0.676,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.59)[0.594,0]; URI_COUNT_ODD(1.00)[5]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[kronometrix.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.98)[0.985,0]; TO_DN_EQ_ADDR_ALL(0.00)[]; IP_SCORE(0.57)[ipnet: 95.85.0.0/18(1.85), asn: 14061(1.07), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sun, 14 Jul 2019 18:07:42 -0000 >=20 > You don't say how you obtained your installation image in the first = place. I have found the "crochet" tool is quite good. = (https://github.com/freebsd/crochet) ahh. Sorry. For example, I am using the RELEASE version of FreeBSD 12 https://download.freebsd.org/ftp/releases/arm64/aarch64/ISO-IMAGES/12.0/ = = Im installing the image on a microsd card, install my software and = configurations. I do not install ports nor kernel source since I do not intend to = rebuild everything. Question: using this setup can I re-create the image or like you said = can I just then add my own software and configurations (few) on top of the generic = ARMv8 image (this would probable be the simplest way ?) Thanks a lot, Stefan From owner-freebsd-arm@freebsd.org Sun Jul 14 18:09:14 2019 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.nyi.freebsd.org (Postfix) with ESMTP id 44E9EA1B0C for ; Sun, 14 Jul 2019 18:09:14 +0000 (UTC) (envelope-from crowston@protonmail.com) Received: from mail2.protonmail.ch (mail2.protonmail.ch [185.70.40.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.protonmail.ch", Issuer "SwissSign Server Silver CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 730DF83390 for ; Sun, 14 Jul 2019 17:43:02 +0000 (UTC) (envelope-from crowston@protonmail.com) Date: Sun, 14 Jul 2019 17:42:46 +0000 To: Stefan Parvu From: Robert Crowston Cc: "freebsd-arm@freebsd.org" Reply-To: Robert Crowston Subject: Re: recreate FreeBSD 12 ARM image Message-ID: In-Reply-To: <23ABC4DD-840D-4C63-ACCF-4DF6BC801CF0@kronometrix.org> References: <23ABC4DD-840D-4C63-ACCF-4DF6BC801CF0@kronometrix.org> Feedback-ID: 2OVbcR1yHYpdkD8cgQllkFwcuMVZg_LiVMMPvptooFDfHD_03MuQO4ZaF626jWHZYFEhNR2cmIbZ53j4QGWMBQ==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Rspamd-Queue-Id: 730DF83390 X-Spamd-Bar: ------- X-Spamd-Result: default: False [-7.71 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_REPLYTO(0.00)[crowston@protonmail.com]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; FREEMAIL_FROM(0.00)[protonmail.com]; DKIM_TRACE(0.00)[protonmail.com:+]; MX_GOOD(-0.01)[mailsec.protonmail.ch,mail.protonmail.ch]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.88)[-0.880,0]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-3.72)[ip: (-9.71), ipnet: 185.70.40.0/24(-4.90), asn: 19905(-3.92), country: US(-0.06)]; RCVD_IN_DNSWL_LOW(-0.10)[22.40.70.185.list.dnswl.org : 127.0.5.1]; ASN(0.00)[asn:19905, ipnet:185.70.40.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=default]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] 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: Sun, 14 Jul 2019 18:09:14 -0000 You don't say how you obtained your installation image in the first place. = I have found the "crochet" tool is quite good. (https://github.com/freebsd/= crochet) It will cross-compile a kernel and userland for you from source, and then s= pit out a .img ready to dd onto an SD card. You can tweak the default kerne= l configuration ("GENERIC") to be better suited to your hardware platform. There are hooks for you to install your own software onto the image as well= . =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Sunday, 14 July 2019 14:34, Stefan Parvu wrote: > Hi, > > Suppose I have installed FreeBSD 12 on a 32GB microSD under RBPI3B+ and I= have > configure it as I want, add my own software and now I want to re-create t= he image as > small as possible say as the original. Is it possible to do something lik= e this ? Anyone > any advices, tips how can you do this ? > > Thanks, > > Stefan Parvu > sparvu@kronometrix.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" From owner-freebsd-arm@freebsd.org Sun Jul 14 18:09:14 2019 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.nyi.freebsd.org (Postfix) with ESMTP id 771EFA1B2A for ; Sun, 14 Jul 2019 18:09:14 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C55083604; Sun, 14 Jul 2019 17:44:34 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id 9EFD21FCD3; Sun, 14 Jul 2019 17:44:33 +0000 (UTC) Date: Sun, 14 Jul 2019 17:44:32 +0000 From: Mark Linimon To: Ian Lepore Cc: Denis Polygalov , Sergey Manucharian , freebsd-arm@freebsd.org Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black Message-ID: <20190714174432.GC26897@lonesome.com> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: 0C55083604 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-1.43 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.25)[ip: (0.03), ipnet: 18.220.0.0/14(0.14), asn: 16509(-1.34), country: US(-0.06)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.90)[-0.905,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[11.6.222.18.list.dnswl.org : 127.0.5.2]; MX_GOOD(-0.01)[cached: mail.soaustin.net]; NEURAL_HAM_SHORT(-0.13)[-0.134,0]; NEURAL_HAM_MEDIUM(-0.84)[-0.837,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.220.0.0/14, country:US]; FREEMAIL_CC(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sun, 14 Jul 2019 18:09:14 -0000 On Sun, Jul 14, 2019 at 10:04:30AM -0600, Ian Lepore wrote: > That's why I've talked several times in terms of "weekly snapshots" and > "12-STABLE" which is NOT 12-RELEASE. Although the FreeBSD FAQ is old, stinky, and rotten, this part is still valid: https://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#idp42812792 > Two or three years ago it looked like arm was at the point where it > should be a tier-1 platform, and I put a lot of effort into things like > testing releases, because releases that actually work seem like an > important thing for a tier-1 platform. I will have to admit ignorance of the past history, so I can't address what went wrong there. But my own view as a very casual user of arm is this: - we need more people doing testing (both releases and snapshots), and reporting the results. - we need to be better about gathering that information together. IMHO it's impossible (and even if possible, unfair), to expect one person to test N arm boards. Also IMHO, the information in the wiki is only as good as the people who contribute to it make it. I think I can offer the following page(s) as a proof that we (the FreeBSD community) *can* do this right, if we put our minds to it: https://wiki.freebsd.org/Laptops Dozens of people have contributed to this page and its sub-pages over the years. If enough people are interested, I can put together a page modeled on this, and we can see where it goes from there. mcl From owner-freebsd-arm@freebsd.org Sun Jul 14 18:09:15 2019 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.nyi.freebsd.org (Postfix) with ESMTP id 5BBEFA1C09 for ; Sun, 14 Jul 2019 18:09:15 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD02C81E28 for ; Sun, 14 Jul 2019 17:29:29 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id 1262D1FCD3; Sun, 14 Jul 2019 17:29:29 +0000 (UTC) Date: Sun, 14 Jul 2019 17:29:28 +0000 From: Mark Linimon To: Greg V Cc: freebsd-arm@freebsd.org, Dennis Clarke Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black Message-ID: <20190714172918.GB26897@lonesome.com> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <94FB6E5D-90AC-46A1-B545-CFF934AFFE9F@unrelenting.technology> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94FB6E5D-90AC-46A1-B545-CFF934AFFE9F@unrelenting.technology> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: DD02C81E28 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-1.66 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.86)[-0.859,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.95)[-0.951,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[11.6.222.18.list.dnswl.org : 127.0.5.2]; MX_GOOD(-0.01)[cached: mail.soaustin.net]; NEURAL_HAM_SHORT(-0.29)[-0.293,0]; IP_SCORE(-0.25)[ip: (0.03), ipnet: 18.220.0.0/14(0.14), asn: 16509(-1.34), country: US(-0.06)]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.220.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sun, 14 Jul 2019 18:09:16 -0000 On Sun, Jul 14, 2019 at 03:49:15AM +0300, Greg V wrote: > As already mentioned on the mailing list recently: non-commercial/ > enthusiast developers have very little interest in 32-bit (armv7) > systems Hmm. Well I'm not sure I agree -- I still see work being done on it. mcl From owner-freebsd-arm@freebsd.org Sun Jul 14 18:09:15 2019 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.nyi.freebsd.org (Postfix) with ESMTP id E9569A1BA4 for ; Sun, 14 Jul 2019 18:09:14 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB70A81C09 for ; Sun, 14 Jul 2019 17:28:20 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id 76CF91FCD3; Sun, 14 Jul 2019 17:28:19 +0000 (UTC) Date: Sun, 14 Jul 2019 17:28:17 +0000 From: Mark Linimon To: Dennis Clarke Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black Message-ID: <20190714172816.GA26897@lonesome.com> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <26864b34-624a-075f-4a10-859314649d2f@blastwave.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26864b34-624a-075f-4a10-859314649d2f@blastwave.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: AB70A81C09 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-1.81 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.959,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.25)[ip: (0.03), ipnet: 18.220.0.0/14(0.14), asn: 16509(-1.34), country: US(-0.06)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.97)[-0.967,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[11.6.222.18.list.dnswl.org : 127.0.5.2]; MX_GOOD(-0.01)[cached: mail.soaustin.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.33)[-0.327,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.220.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sun, 14 Jul 2019 18:09:17 -0000 On Sun, Jul 14, 2019 at 04:19:37AM -0400, Dennis Clarke wrote: > I have the same issue with ppc64 and most certainly for RISC-V where > we are really well and truely in outer darkness. I don't understand. Can you explain this to me more clearly? fwiw, I have personally invested a lot of time in getting our powerpc64 documentation up to date on the wiki. As well: blackbird1% uname -a FreeBSD blackbird1.lonesome.com 13.0-CURRENT FreeBSD 13.0-CURRENT r349478 GENERIC powerpc blackbird1% uptime 5:25PM up 12:52, 2 users, load averages: 0.01, 0.05, 0.0 (It would have been up longer but I moved it into my rack.) What have I missed? As for RISC-V, IIUC, support for the architecture is very much in an alpha state. mcl From owner-freebsd-arm@freebsd.org Sun Jul 14 18:42:19 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 E1EDDA331D for ; Sun, 14 Jul 2019 18:42:19 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "m5p.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B92458755B; Sun, 14 Jul 2019 18:42:13 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from [IPv6:2001:470:1f07:15ff::26] (court.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:26]) (authenticated bits=0) by mailhost.m5p.com (8.15.2/8.15.2) with ESMTPSA id x6EIfsKf039282 (version=TLSv1.2 cipher=AES128-SHA bits=128 verify=NO); Sun, 14 Jul 2019 14:42:02 -0400 (EDT) (envelope-from george+freebsd@m5p.com) To: Mark Linimon , Ian Lepore Cc: freebsd-arm@freebsd.org References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> <20190714174432.GC26897@lonesome.com> From: George Mitchell Openpgp: preference=signencrypt Autocrypt: addr=george+freebsd@m5p.com; prefer-encrypt=mutual; keydata= mQINBFgnLnwBEADAJDiBKQX77LFRz9wZW8mz3KvaQol2nIremcws0F1mz/zgFlk6uhQVtwnL wb4XL5LdFwcNE1+QZzPLcbYWoWQlz0lBw1bMuKAgr0S6V2e0+I0DqhKeslVFctcTwtvT6pnK VLZXO/7ZGAaLzG4K5vSPzgoevU+YI/pxNsVCH2UO/c3jQW63uEt25mIZbCF1Pu4jgp4RhIgF ujn877r/j6OwBwjzRUu3E6ADp+U825d+5YCuQMEH0wIPnn9GTpXvfdKdbwOIl2akqXqs4cnk iATWfK3r6D4mvDEj1OPHlTvJYcfic7aOIiAwmx1C1v78GjXOdOOA0SGffNix3C2/8oZUO1+V Aet4MKpUKkduWSvULhIkHNZ5Nu8SIJOqge8pmtHxuNXAMfMrAjMdjPwwBFLsYg3Xa2E2oJwg ehTauwd/EDJFcVCyDCyCAYOi/BH/+XQyxzgDlY9N9qj9tHqhVPI6XK7t8UVffGiZUq4rHp5J RdOToqiTNC6eCJBczhMIW+DuFvWU9e6W708T1dz0Accn6Lrgk4eRIn3GFPBG+TxnpjAqHsbW 607dcnD3YKAqY4e+khczL4EObhe7dC1v2fmZiAC6Ds3WHR11IfqoUgCkIwJ590Ej+ElygJFF XxI82wtEz9hkeLLvItpyEJNVjppViRW+Dgl/U7ypHB3qDgYjgwARAQABtChHZW9yZ2UgTWl0 Y2hlbGwgPGdlb3JnZStmcmVlYnNkQG01cC5jb20+iQJUBBMBCAA+FiEENdM4ZHktsJW5kKZX wRES3m+p4fkFAlhZcR0CGyMFCQlmAYAFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AACgkQwRES 3m+p4flqmw/9Emr/ydTG2n9o/IX1yVCNcHVFenVrcOY0L+DGQYZRO/XpLvsGYcuSIQId1w7h l4HZKI89ri2fF2ks6upMqBajLf8s7a8PnYrbw5bPaoOFyNTjv57GLZVsYw95kmMUpK6siuAA fXvHfKUpC/sThbwSv/1CLryVG74+5vdI8j7cQeDM436FThxlVfHKrILIiL34D4WThFB3hV/Y 2A+mQwXmdLcuQXXeAazqsFJL8sgEKSC7GMcExDkVpGc5Rh2hu97a4Sa7qWX9G/YdZOrcDacJ XxfvePn3m3WfRtXN/r0lUfiVXiqkFfbvqSaZQ0I4UvZXNGd/gH4jKHtX9RTH9G96UZeHNoMo tPw9U0fx8Ceh72nUL9qzqnmok/ryWm+6gt4Q1eRP7QAosOa1g/RgUdS1Z9IuCmbXMDp5kbNw L4ZoDMF5U3mmh8/IOKkhGopNLbNv0mwUgC59pnCptiOVx8DyckXWC4L2r6PKbWGrcGIzsUER 9smfL10gpp5H5agjwwPZI6/kzJ0R5nBzQWAlwqI73YAy6JI0HTD6lvxW7yWm2fGjEfmyaBOU 8OLUin7auoFSn+QmD5yNCUn5Ls77qHARkT1ZGocAnQkvZBGTwXpvyJixygXsm+vSUFDYBOSn cR54vdXOEMqrJk6SGau5YI9V7EhQVveE1BUp8ofWf2oo4RG5Ag0EWCcufAEQALuTOxmqMFE+ ieev/rcL3wVJrcuKS+pBbKCY9IIL0OwVf98HQJJcgdOsdDhruVd19nJNlwZ3Fc34wLw7y2GO 9WrpZiYKnI4n9urhLE5r1ydBInlI/1UKZWgM3/dPjJtcXMsC3vnqR9DmOxW4/SbqJDjP3XzO FleT4yip3AaNhPGwEPTZrubVp5hp/JojaZn690TLRwOFXg8NcjpOEs0Bq9M+OLpmsF0flrgs yDfS7y+SQ17R4Iq9T7RxZvZVAh510yGGIZIETYO/4Dh417VVm+gaksOVh2egetpUUvYYc0Ub KaP+5F/WGNrmRb1F6SKypvLlKkYAHCsUUSzsAGl9gbQhEEpuOMbUKp1979HoRMkW+8046kIo 8BZ6ph8izG/g4dZOaEqKGEhqdhYIB7UwMtFFuPtSs5Nl6JrZYni/nzFtTmtVCgcj9PNqrzqt fNFYhNznD6St6wxp3TOm9D3TQF0dzwBM1jZpb8WvmK3k6oy8hbpjiBzxn3kyRA9Vzy+PdbN/ G5a1k0rpZu/ivpBuLCDVGljUmgQigXg6xkk5UxBoHp7MPvG9prZ5jqdEa2r1KgnGjaq+VJsu Uqrw10dVgeG1NulDU1+sQl+/mwtflbkimhjDDjxsVgfrv7uvV/9be+gGm1KATuqdgCboSb1s QAo5ARfwFfChrnh+fTfPpPKHABEBAAGJAiQEGAEIAA8FAlgnLnwCGwwFCQlmAYAACgkQwRES 3m+p4fno9w/4m+swztkzxSWdutjgSv2mw+PdrKWVGFAUD2HoY1Qpi5LNLE6s9pP3qzwpQYwK viOufVJYWZ540ss6BImZBGJwyHouacqrpZjpRo5+ftj07rY1SNd8QjcHDggPfpgJ1D4Il3Xi vRg5/gzkXnRu8dXeVvMP1Ndk/F5wcoLZlQwFtPfu2xyRYIsveXMoyypAvAFSaAGXU0hRzuDJ fGI3LFvpI9UXU2C4MMzjfyZyD2NJEDKOACTo85QQzxgheTDQaDocXW00wknXFMwEItiXp8dO 2zEml/3Kj4efDfjqGpjNefjK0cnj02Byt7y6GozWXyIylrXu0SN9qWRzUVZH3+q+ijA4q3Gm 9uWzLdpjN4QWAiiaEvMhLPohp9DdLsy3kAWWrA3+pAfHSTZXrobMMbSeBkE9E4/WxdKl0nM7 TNslAWcxkTd/7Ly9cxwT8wFdHuQB1hgCmIQxDNXHL1N1ANTeUYum1w9nUg6e1M0UWu+nk3Cw qL7oL2KZe13mQnU/CFwlhbf+i//j3SXrQLlIVQv9Fn805bxIcVo9yqUZyoiV7EUpvOsxDCZh ej3mNYF5nRCf6trEJQVk0aLC26zJAYExykdUlRqc4I13XPhlt+aFSMMkoL/thYO6e9oNFK6Q aJEKXomzxxqpceJVmPH6zvqJbOboAdE/mOD0PoS1M6saIQ== Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black Message-ID: Date: Sun, 14 Jul 2019 14:41:46 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190714174432.GC26897@lonesome.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xFNwUiK8msfiQUo4V9YcoGi0VbJaqypl5" X-Spam-Status: No, score=0.0 required=10.0 tests=HELO_MISC_IP autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mattapan.m5p.com X-Rspamd-Queue-Id: B92458755B X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of george@m5p.com designates 74.104.188.4 as permitted sender) smtp.mailfrom=george@m5p.com X-Spamd-Result: default: False [-8.01 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a]; IP_SCORE(-2.78)[ip: (-9.84), ipnet: 74.104.0.0/16(-4.92), asn: 701(0.91), country: US(-0.06)]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[m5p.com]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mailhost.m5p.com]; NEURAL_HAM_SHORT(-0.82)[-0.819,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; ASN(0.00)[asn:701, ipnet:74.104.0.0/16, country:US]; TAGGED_FROM(0.00)[freebsd]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sun, 14 Jul 2019 18:42:19 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xFNwUiK8msfiQUo4V9YcoGi0VbJaqypl5 Content-Type: multipart/mixed; boundary="NBwMEkRGysVSbIDI6U5lb2QYpjidTLniS"; protected-headers="v1" From: George Mitchell To: Mark Linimon , Ian Lepore Cc: freebsd-arm@freebsd.org Message-ID: Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> <20190714174432.GC26897@lonesome.com> In-Reply-To: <20190714174432.GC26897@lonesome.com> --NBwMEkRGysVSbIDI6U5lb2QYpjidTLniS Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2019-07-14 13:44, Mark Linimon wrote: > On Sun, Jul 14, 2019 at 10:04:30AM -0600, Ian Lepore wrote: >> [...] Two or three years ago it looked like arm was at the point where= it >> should be a tier-1 platform, and I put a lot of effort into things lik= e >> testing releases, because releases that actually work seem like an >> important thing for a tier-1 platform.=20 >=20 > I will have to admit ignorance of the past history, so I can't address > what went wrong there. >=20 > But my own view as a very casual user of arm is this: >=20 > - we need more people doing testing (both releases and snapshots), and= > reporting the results. >=20 > - we need to be better about gathering that information together. > [...] Both of you are right. But despite my own forlorn hope a few years back that ARM would become a fully-fledged Tier 1 platform, the fragmentation of the market has made it impossible. But I still hope that maybe three or four widely popular ARM boards (Raspberry Pi being the most obvious possibility) might individually be declared Tier 1. -- George --NBwMEkRGysVSbIDI6U5lb2QYpjidTLniS-- --xFNwUiK8msfiQUo4V9YcoGi0VbJaqypl5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAl0rd3IACgkQwRES3m+p 4fmj9g//Sdpoeonyfog10YGBFJrlrNf4YG3yuYDAlrPRMUmL63NzaG9clq1BSLk0 0TdKIObQ/lUhyweBjCl3cUdhvLuQ/k94HGP2FmTFkyWVqZweKjHEMjQblbJaRwIt oboxWiHY7uHvebOi25fB6Uzr0a3KHTAEx6GJucNqEMxvHjfYr1bJtA1Z8lj5HwcV tNBBsnXQ1/YtTi1x7T1h+ECexuKx9bnS6Y8XF/IjwOfpQcHWlWWMT+u55bnTp+6i DznOLgVufFqjVYz2Hgso+fQn36EyxTloqTc6SZixOLFGEL0SU1VVE2ByuQsCFh/0 6g+twfulTMLA6bTwO+/zjosWJSKJ66DKr201TG7cjJHOytDMoYrexuo8MWVikZaK qWrgEAkk3F3AtCHdGvp/WVKmFYQSodM7ONCjDKI31hzZ2vfGA3z/YMoI1CBZR5IG UsKl1Cevc1EQTlwsIg5sP7ttG8zwjv9FD3P/4l1ijLaotJCTeKtZ/WR2/xojSQ7I jac/3GGLl0CzvXOA1dkRxF9FTtSQMTiOuX1Tn852d/VmlrjryVx/jIMFeP91AGwG EhQ+3gaez7chgQhS259yN4rcpDRq+HD8/mWixFKa+b1kHhSQj6tm5frDcCemz2sK /SgBUersTjUlkLIilsyjjLjelKa9PtrZ5F4YSk7x2tDdycgs7TE= =2Cno -----END PGP SIGNATURE----- --xFNwUiK8msfiQUo4V9YcoGi0VbJaqypl5-- From owner-freebsd-arm@freebsd.org Sun Jul 14 21:01:37 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 7C3B2A6C96 for ; Sun, 14 Jul 2019 21:01:37 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E5938CD58 for ; Sun, 14 Jul 2019 21:01:37 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 12584B341 for ; Sun, 14 Jul 2019 21:01:37 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x6EL1amJ021908 for ; Sun, 14 Jul 2019 21:01:36 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x6EL1afO021898 for freebsd-arm@FreeBSD.org; Sun, 14 Jul 2019 21:01:36 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201907142101.x6EL1afO021898@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: freebsd-arm@FreeBSD.org Subject: Problem reports for freebsd-arm@FreeBSD.org that need special attention Date: Sun, 14 Jul 2019 21:01:36 +0000 MIME-Version: 1.0 X-Rspamd-Queue-Id: 5E5938CD58 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)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sun, 14 Jul 2019 21:01:37 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 238576 | Raspberry Pi 3B+ "shutdown -p" does not shut off 1 problems total for which you should take action. From owner-freebsd-arm@freebsd.org Sun Jul 14 21:23:29 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 4C4F4A77BD for ; Sun, 14 Jul 2019 21:23:29 +0000 (UTC) (envelope-from samm@net-art.cz) Received: from zebra.net-art.cz (smtp-out.net-art.cz [IPv6:2001:1468::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "zebra.net-art.cz", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA4A98DCF9 for ; Sun, 14 Jul 2019 21:23:28 +0000 (UTC) (envelope-from samm@net-art.cz) Received: by zebra.net-art.cz (Postfix, from userid 65534) id 7E0DC336DA; Sun, 14 Jul 2019 23:23:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=net-art.cz; s=netart; t=1563139404; bh=7NhcfAnNRMEXM6WVUIwVrcf4pJUvbSlAhr7VBh4dbng=; h=Subject:From:To:References:Date:In-Reply-To; b=hVejwZwJmIRFeKGiUsVSFp4tM7FnIl+yrvOvCEIPqHL0Lrep8VuwjuFog1f4HqKhg NQukj2rjoR7XQxYXZpVTnRTulTQILxyEI2i6XyZw/IjGmBP1bNXD4rRRnPgOR20o2O er5sJRHRva/+lq51LkfjGchFQWl+GGsDUmc5U9vxabXCnM69fN7EvggEO2/689eZqy MymH8awinVCGsqHuRQq0QLhhSlgnXuUoAF+LiZOj3ekwmHqbnX2Lz2wv6T1oUgh701 BwmPwKchsDzLcATQKCU6kvtB6hzXcAeVQhIE3tDS35Mpr0b4W7LrBBmqbQAskVIfi5 9MLjKWkvLdZrQ== X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on zebra.dc.rinet.ru X-Spam-Level: X-Spam-Status: No, score=-1.9 required=10.0 tests=BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 Reported 0 times. [188.130.248.80] [5 zebra.net-art.cz., 1000 coolmx.net-art.cz.] autolearn=ham autolearn_force=no version=3.4.2 Received: from owl.net-art.cz (surikat.net-art.cz [185.82.212.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "owl.net-art.cz", Issuer "owl.net-art.cz" (verified OK)) by zebra.net-art.cz (Postfix) with ESMTPS id 3C814336D8 for ; Sun, 14 Jul 2019 23:23:23 +0200 (CEST) Received: from [2001:1a48:6:10:4503:2ec7:51d:9e4a] (account samm@net-art.cz HELO Administrators-MacBook-Pro.local) by owl.net-art.cz (CommuniGate Pro SMTP 6.1.20) with ESMTPSA id 165362 for freebsd-arm@freebsd.org; Sun, 14 Jul 2019 23:23:21 +0200 Subject: Re: FreeBSD 11.3-R does not boot on RPi1 From: Alex Samorukov To: "freebsd-arm@freebsd.org" References: <57851faa-180b-8033-d29a-129776d2d1fa@net-art.cz> <64219eed-f641-be41-5a83-658010f45349@net-art.cz> Message-ID: <892a5f34-d2ce-cfdb-545a-9871d3eb93d2@net-art.cz> Date: Sun, 14 Jul 2019 23:23:19 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <64219eed-f641-be41-5a83-658010f45349@net-art.cz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Virus-Status: No X-Virus-Checker-Version: clamassassin 1.2.4 with clamdscan / ClamAV 0.101.1/25510/Sun Jul 14 10:10:17 2019 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: Sun, 14 Jul 2019 21:23:29 -0000 On 13/07/2019 21:47, Alex Samorukov wrote: > >> >> I tried today to boot 11.3 from the official image >> (FreeBSD-11.3-RELEASE-arm-armv6-RPI-B.img) and found that it does not >> work. I think it is a regression, as 11.2 boots on the same hw >> without any issues. >> >> > One more update - workaround and detailed description provided at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239197 Would be great if someone can pick it up, seems to be trivial to fix in the upstream From owner-freebsd-arm@freebsd.org Sun Jul 14 22:04:12 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 AEFB8A839B for ; Sun, 14 Jul 2019 22:04:12 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5046D8F1D6; Sun, 14 Jul 2019 22:04:12 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x6EM44mt085685 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 14 Jul 2019 15:04:05 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x6EM430W085684; Sun, 14 Jul 2019 15:04:03 -0700 (PDT) (envelope-from fbsd) Date: Sun, 14 Jul 2019 15:04:03 -0700 From: bob prohaska To: Ian Lepore Cc: bob prohaska , freebsd-arm@freebsd.org Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black Message-ID: <20190714220403.GA84263@www.zefox.net> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 5046D8F1D6 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.04 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(0.10)[ip: (0.38), ipnet: 50.1.16.0/20(0.19), asn: 7065(-0.04), country: US(-0.06)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.34)[0.345,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.95)[0.948,0]; MX_GOOD(-0.01)[cached: www.zefox.net]; NEURAL_SPAM_LONG(0.76)[0.765,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[] 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: Sun, 14 Jul 2019 22:04:12 -0000 On Sun, Jul 14, 2019 at 10:04:30AM -0600, Ian Lepore wrote: > > Such is life for a tier-2 platform. Two or three years ago it looked > like arm was at the point where it should be a tier-1 platform, and I > put a lot of effort into things like testing releases, because releases > that actually work seem like an important thing for a tier-1 platform. > Eventually it became clear to me that arm was never going to be a tier- > 1 platform in freebsd. That last sentence is quite a surprise. Could you elaborate a little? Thanks for reading! bob prohaska From owner-freebsd-arm@freebsd.org Mon Jul 15 00:52:58 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 B1F83ACA77 for ; Mon, 15 Jul 2019 00:52:58 +0000 (UTC) (envelope-from dpolyg@gmail.com) Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E0BAF6E846; Mon, 15 Jul 2019 00:52:57 +0000 (UTC) (envelope-from dpolyg@gmail.com) Received: by mail-pf1-x442.google.com with SMTP id r1so6590335pfq.12; Sun, 14 Jul 2019 17:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=wvyDQElKK+G1Ni8LXmJsn+Z4/xvLhUwK7DlYA7QTq04=; b=DDvXaiLFyTfzJOw78OKs03fSqrnAGOPw8CTu0HFFSlGQPFaixmV/tfjS71MIXrW3AG T/0sLoy3CNMSMPuQTj+YQDq1hzzyQNzlKZgvAj+gmE+NtVixK5ifAfjKbwtcxNun8tjB xjsCHufvj4mrp6B2NgtEcWwR3Zj4z3D4c1Mtmv0er0r0ZwuZWhRKDIU7970pKApvAV0R g9YuNhqpUCR48ss43p94zGpXLa1qOMKBWeGKejVupodA6cDIcitmSV8L3LIeCA+JFxaN CzhA1iEw+jUNkumAY1nFAEYPJT6Cn+qCppTP46Nklfj9zwd2w/GDtSsps7JHXGz7KZVt HBFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wvyDQElKK+G1Ni8LXmJsn+Z4/xvLhUwK7DlYA7QTq04=; b=sn9jnuxrLxZi5RNfCE04Kwg59ysgaaHC7XScbkjteEvhNt7Tkt8gJ74vvCy8sFVqfS pgBSb7BXHUXIOxWtAdQ/Hfk3ZEKFUtKcHEH3he7UJuQuFJdbYnso80LTAuWghxOg6VtW dUd4RhvSLfoRVUCylYGY5tY42a1e6ulgO8/YO7VAIp/bEhe1KAVw4LuLB7oWoDRqDV3v y9sx07WsbispungZMaOBapj5ZSeDfgK/4CaFcLKiZ20PbWvYs+L2kTOMtaQcsJXwmLF7 pwY1jwioMMVVdJkuDv8EEzGkUn5NdzCoj/lk5SpVkA9bUW823rsINnj2LCqIsnYRQhoh za8Q== X-Gm-Message-State: APjAAAWu3OolwAACL08BEnfbHIzY5Mzha6fpu/3MFpRtA0mkc9ugjl7K Hua2+c/qzWuB8YaAcVYdjloLgCezzhs= X-Google-Smtp-Source: APXvYqxt0A18R/ll4B+lt1/G6uv2gTMQj9NDg09w2RLpP5o6IheRET+WgajX59R8II+u4qQ13irZJA== X-Received: by 2002:a63:2cd5:: with SMTP id s204mr12448861pgs.95.1563151976678; Sun, 14 Jul 2019 17:52:56 -0700 (PDT) Received: from [192.168.1.100] (ngn8-ppp1551.tokyo.sannet.ne.jp. [157.192.118.27]) by smtp.googlemail.com with ESMTPSA id a6sm7669463pfa.162.2019.07.14.17.52.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jul 2019 17:52:56 -0700 (PDT) Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black To: Ian Lepore , Sergey Manucharian Cc: freebsd-arm@freebsd.org References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> From: Denis Polygalov Message-ID: <51af8373-6542-cdb2-b810-1d968fd4c7b9@gmail.com> Date: Mon, 15 Jul 2019 09:52:52 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: E0BAF6E846 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DDvXaiLF; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dpolyg@gmail.com designates 2607:f8b0:4864:20::442 as permitted sender) smtp.mailfrom=dpolyg@gmail.com X-Spamd-Result: default: False [-4.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.69)[-0.686,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-1.21)[ip: (-0.37), ipnet: 2607:f8b0::/32(-3.17), asn: 15169(-2.44), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0] 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: Mon, 15 Jul 2019 00:52:58 -0000 Oh, I see. Now it makes a lot more sense for me. Thanks for clarification. I came from Tier 1 supported amd64 which I use in production for decade and I'm quite sure many other people in the same situation will also be confused. I knew that FreeBSD-NN-RELEASE is not a bleeding edge. This is exactly what I want - not a bleeding edge but OS with it's binary packages infrastructure that can be used for building something *on top* of it. This is BTW is what Stefan from neighbor thread "recreate FreeBSD 12 ARM image" is trying to achieve. Presence of not-working RELEASE images confuse new people a lot and the reason why these images are not working is the lack of new people... I'm not sure what to do in this situation - leave as is, do not generate RELEASE images (only STABLE etc.) or state clearly in the wiki (ideally in the bold red font :) that the RELEASE images may not work at all, but just at least anyone who will read this - > because releases > that actually work seem like an important thing for a tier-1 platform yes, they are. And I guess one of conditions of how to become a Tier 1 platform is to make RELEASE images working :) Thanks for a lot of effort for making FreeBSD running on ARM! Regards, Denis On 15/07/2019 1:04 am, Ian Lepore wrote: > On Sun, 2019-07-14 at 10:34 +0900, Denis Polygalov wrote: >> Does FreeBSD-12.0-RELEASE-arm64-aarch64-PINE64.img.xz works >> out of the box or only it's bleeding edge snapshot? > > Right there, I think, is the root of your confusion. FreeBSD-NN- > RELEASE is not bleeding edge. In fact, it's the exact opposite of > that, it's a moment frozen in time that will never change again, so if > it's broken, it will be broken forever. > > That's why I've talked several times in terms of "weekly snapshots" and > "12-STABLE" which is NOT 12-RELEASE. > > For any given freebsd "release" it's kinda likely, sad to say, that one > or several or even all the arm boards are broken. Then, the weekly > snapshot that comes out for the corresponding -STABLE branch the week > after the release may be fixed and work just fine. > > Such is life for a tier-2 platform. Two or three years ago it looked > like arm was at the point where it should be a tier-1 platform, and I > put a lot of effort into things like testing releases, because releases > that actually work seem like an important thing for a tier-1 platform. > Eventually it became clear to me that arm was never going to be a tier- > 1 platform in freebsd. We had met all the requirements as near as I > could tell, but no matter how many times it was brought up, it just got > ignored. Politics or something, I guess, I dunno. But it was 100% > demotivating, and so now I put 0% effort into things like worrying > about whether something-RELEASE actually works. > > -- Ian > > > From owner-freebsd-arm@freebsd.org Mon Jul 15 05:21:36 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 2983FB1199 for ; Mon, 15 Jul 2019 05:21:36 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3EC3E7728E for ; Mon, 15 Jul 2019 05:21:35 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6F5LVRk082935 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 15 Jul 2019 05:21:32 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Message-Id: <41A4CA5C-B487-490F-8A19-2D51F43E1004@kronometrix.org> Date: Mon, 15 Jul 2019 08:21:26 +0300 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 3EC3E7728E X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [4.12 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.52)[0.522,0]; URI_COUNT_ODD(1.00)[5]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.99)[0.991,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.86)[0.857,0]; IP_SCORE(0.56)[ipnet: 95.85.0.0/18(1.79), asn: 14061(1.07), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Mon, 15 Jul 2019 05:21:36 -0000 Hi, Would this hardware clock work using ds1307 driver ? https://afterthoughtsoftware.com/products/rasclock = Rasclock seems is using PCF2127 chipset. = http://www.nxp.com/products/interface_and_connectivity/real_time_clocks/rt= cs_with_temp_compensation/PCF2127AT.html Any ideas ? Thanks, Stefan Parvu sparvu@kronometrix.org From owner-freebsd-arm@freebsd.org Mon Jul 15 07:27:20 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 5C6F0B2BC1 for ; Mon, 15 Jul 2019 07:27:20 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 28F3A82C82 for ; Mon, 15 Jul 2019 07:27:19 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [10.204.126.225] (37-219-118-163.nat.bb.dnainternet.fi [37.219.118.163]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6F7RFGu084530 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 15 Jul 2019 07:27:16 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 37-219-118-163.nat.bb.dnainternet.fi [37.219.118.163] claimed to be [10.204.126.225] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Mon, 15 Jul 2019 10:27:10 +0300 Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Message-Id: <1CD97C2F-4370-4EFF-8D62-378C3625C21B@kronometrix.org> References: <41A4CA5C-B487-490F-8A19-2D51F43E1004@kronometrix.org> In-Reply-To: <41A4CA5C-B487-490F-8A19-2D51F43E1004@kronometrix.org> To: freebsd-arm@freebsd.org X-Mailer: iPhone Mail (16F203) X-Rspamd-Queue-Id: 28F3A82C82 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [2.34 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.08)[-0.081,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.82)[0.817,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.87)[0.867,0]; IP_SCORE(0.55)[ipnet: 95.85.0.0/18(1.74), asn: 14061(1.07), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 15 Jul 2019 07:27:20 -0000 The exact chip model is PCF2129AT Stefan > On 15 Jul 2019, at 8.21, Stefan Parvu wrote: >=20 > Hi, >=20 > Would this hardware clock work using ds1307 driver ? > https://afterthoughtsoftware.com/products/rasclock >=20 > Rasclock seems is using PCF2127 chipset. > http://www.nxp.com/products/interface_and_connectivity/real_time_clocks/rt= cs_with_temp_compensation/PCF2127AT.html >=20 > Any ideas ? >=20 > Thanks, >=20 > Stefan Parvu > sparvu@kronometrix.org >=20 >=20 >=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" From owner-freebsd-arm@freebsd.org Mon Jul 15 08:42:31 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 7C757B4191 for ; Mon, 15 Jul 2019 08:42:31 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CD2985892 for ; Mon, 15 Jul 2019 08:42:29 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6F8gRVI085551 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 15 Jul 2019 08:42:28 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: hardware clock small size factor for RBPI3B+ Message-Id: <0F5F01D5-1787-42E2-A939-EE3A23960167@kronometrix.org> Date: Mon, 15 Jul 2019 11:42:21 +0300 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 3CD2985892 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [3.81 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.26)[0.261,0]; URI_COUNT_ODD(1.00)[3]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.99)[0.988,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.83)[0.829,0]; IP_SCORE(0.54)[ipnet: 95.85.0.0/18(1.69), asn: 14061(1.07), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Mon, 15 Jul 2019 08:42:31 -0000 Hi, Can anyone point me, list some models of RTC models which should work = with=20 latest production release of FreeBSD 12.0 ? Im looking to get for our = RBPI3B+ boards a supported RTC which should work without rebuilding the kernel = and preferable have a small size like Rasclock [1] =20 [1] https://afterthoughtsoftware.com/products/rasclock = =20 Thanks a lot Stefan Parvu sparvu@kronometrix.org From owner-freebsd-arm@freebsd.org Mon Jul 15 08:44:06 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 81803B43C0 for ; Mon, 15 Jul 2019 08:44:06 +0000 (UTC) (envelope-from bscott@bunyatech.com.au) Received: from ppp150-101-221-139.static.internode.on.net (2001-44b8-4170-0a00-0000-0000-0000-0002.static.ipv6.internode.on.net [IPv6:2001:44b8:4170:a00::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "150.101.221.139", Issuer "Bunya Technology Certification Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 61E1785B9A for ; Mon, 15 Jul 2019 08:44:04 +0000 (UTC) (envelope-from bscott@bunyatech.com.au) X-Clacks-Overhead: GNU Terry Pratchett Received: from DHCP.tawonga.bunyatech.com.au (DHCP.tawonga.bunyatech.com.au [10.0.1.78] (may be forged)) (authenticated bits=0) by cope.tawonga.bunyatech.com.au (8.15.2/8.15.2/MSA) with ESMTPSA id x6F8hqMo065033 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK) for ; Mon, 15 Jul 2019 18:43:55 +1000 (AEST) (envelope-from bscott@bunyatech.com.au) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 To: freebsd-arm@freebsd.org References: <41A4CA5C-B487-490F-8A19-2D51F43E1004@kronometrix.org> From: Brian Scott Message-ID: <95616620-bbaf-dbc3-49eb-3e2562638d49@bunyatech.com.au> Date: Mon, 15 Jul 2019 18:43:51 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <41A4CA5C-B487-490F-8A19-2D51F43E1004@kronometrix.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-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: Mon, 15 Jul 2019 08:44:06 -0000 On 15/7/19 3:21 pm, Stefan Parvu wrote: > Hi, > > Would this hardware clock work using ds1307 driver ? > https://afterthoughtsoftware.com/products/rasclock > > Rasclock seems is using PCF2127 chipset. > http://www.nxp.com/products/interface_and_connectivity/real_time_clocks/rtcs_with_temp_compensation/PCF2127AT.html > > Any ideas ? > > Thanks, > > Stefan Parvu > sparvu@kronometrix.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" Stefan, I'd think the nxprtc driver would be much more likely to work. Nice looking chip though. Cheers, Brian From owner-freebsd-arm@freebsd.org Mon Jul 15 09:01:46 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 4DA65B4C11 for ; Mon, 15 Jul 2019 09:01:46 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 22291867C5 for ; Mon, 15 Jul 2019 09:01:45 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6F91hb6085846 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 15 Jul 2019 09:01:44 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Mon, 15 Jul 2019 12:01:38 +0300 References: <41A4CA5C-B487-490F-8A19-2D51F43E1004@kronometrix.org> <95616620-bbaf-dbc3-49eb-3e2562638d49@bunyatech.com.au> To: freebsd-arm@freebsd.org In-Reply-To: <95616620-bbaf-dbc3-49eb-3e2562638d49@bunyatech.com.au> Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 22291867C5 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.95 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.950,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Mon, 15 Jul 2019 09:01:46 -0000 >=20 > I'd think the nxprtc driver would be much more likely to work. +1. Many thanks. I do not know all drivers but your advice helped me a = lot. I will need to test to see if this works with PCF2127, PCF2129AT and = other variants. I will post later the results. Im posting here, maybe somebody else might have same issues like me: How to enable NXP PCF2127 RTC=20 1. Load the correct driver * Manual # kldload nxprtc * Automatic, permanent=20 =20 # vi /boot/loader.conf add nxprtc_load=3D=E2=80=9CYES"=20 2. Copy the i2c-rtc file to overlays directory =20 # cp i2c-rtc.dtbo /boot/msdos/overlays/ Source file: = https://github.com/raspberrypi/firmware/tree/master/boot/overlays = =20 3. Enable the driver under config.txt=20 # vi /boot/msdos/config.txt=20 add dtoverlay=3Di2c-rtc,pcf2127 4. Reboot and validate yu can see the driver attached and functional. After reboot you should see something like this: $ dmesg | grep nxp nxprtc0: at addr 0xa2 on iicbus0 nxprtc0: WARNING: RTC battery is low nxprtc0: registered as a time-of-day clock, resolution 0.015625s $ sysctl -b hw.fdt.dtb | dtc -I dtb -O dts | grep pcf pcf2127@51 { compatible =3D "nxp,pcf2127"; Thanks, Stefan= From owner-freebsd-arm@freebsd.org Mon Jul 15 09:10:03 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 BFB55B4EBA for ; Mon, 15 Jul 2019 09:10:03 +0000 (UTC) (envelope-from hrant.dadivanyan@gmail.com) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 345CC86B7B for ; Mon, 15 Jul 2019 09:10:02 +0000 (UTC) (envelope-from hrant.dadivanyan@gmail.com) Received: by mail-wm1-f41.google.com with SMTP id x15so14341470wmj.3 for ; Mon, 15 Jul 2019 02:10:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to; bh=R9t5RRGEtCXVVB+oQe9/T1eYSE4dHwD5DlBGVdWJLO0=; b=YwBhZviiXqWnzCAwtWeGAP/FaSuD8lwq4PzXmTdIS6ku7QYYZ2/oEh1ulokU7z/xKI v7O6NjshTqRTebeoWhRmVlI0LXnS+qHM3hnuoDZE5mZnNqS+ORy72/6n3SywR01SSRv4 KWVATxSkxq/6VnTFUkN/6HY5+UF6VRlcRQiksQn7M4IwdJgYzMn+dkaA+Io0DJVlfbko /ueA7+YQojFTDSL4U7DQYrXLXoYChRa6bLRq+dii1+isD3KUl8LtPVljW57wtVgdcG+r rRbUUBPlwRBTocCIvw2ouyIGzTqgnnqNej8jgsirK9drNJm4t8ztUJHS+fy6SSy0x8pb MMbQ== X-Gm-Message-State: APjAAAUdRVZHQxXomtTJUV8bPLBxKcKs2toIXKR3cFuEbVfJoIvKoJZU uONFH8n1ENbNBygUR3P3T8eWVQ+g X-Google-Smtp-Source: APXvYqwHyKk1OJkhYMEgoBfE33MoXlRj9zBNJTREguMQBN+Vuipup/NOILskZ/PAS+uhGgY3T2utLQ== X-Received: by 2002:a1c:f61a:: with SMTP id w26mr24759200wmc.75.1563181794788; Mon, 15 Jul 2019 02:09:54 -0700 (PDT) Received: from dadivanyan.net ([141.136.77.248]) by smtp.gmail.com with ESMTPSA id h133sm17244944wme.28.2019.07.15.02.09.53 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jul 2019 02:09:53 -0700 (PDT) Subject: Re: hardware clock small size factor for RBPI3B+ To: freebsd-arm@freebsd.org References: <0F5F01D5-1787-42E2-A939-EE3A23960167@kronometrix.org> From: Hrant Dadivanyan Openpgp: preference=signencrypt Autocrypt: addr=hrant@dadivanyan.net; prefer-encrypt=mutual; keydata= mQENBFgDUB4BCACuEuOfqVeiotV5BY/6IlWfSvmsY+EI9yYA62Q5310oYUsKBL4HwKpNl5N2 7Nt3YJWp5QAkB49B4msl9fGpzKK/obxDwoM37bf3Np789dSRp9EKk71Thel3eeaYvaz2K7w4 iT+R5/1/5Wvn5TqV96X9aTlmzDkz7eHJ3SRVsz2Vbk4fbbFSAv1OaDaiscOVpDXZsVLUMoL3 N8YLMmsNHw8pt7Kh/08Pd5SU4k576Mo2TUWG0uRiL2BunQP/JMvs/jU8L5xpaXi1MfEFyRfC 3xEeEM9hjBn3PgJgtJW071CRibc7E+e9Xi5K7kVn4MQnoZM0byiyC26XHtKehS7rtoZDABEB AAG0J0hyYW50IERhZGl2YW55YW4gPGhyYW50QGRhZGl2YW55YW4ubmV0PokBOAQTAQIAIgUC WANQHgIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQh/fmw7c/bD0TmwgApxRd9pxN dypwqb87PYTbEwn9lBl4lHOTjuvrH+MWeIYhnG9R9AOd+MsxixMxvCVL+o54qv9HDx9Ew3ao u89QqAjzB/vsqBUldr1hluO8VUeFAYAiXZQKjToMPZQjFANrIdlAkb4E4DhGG8lKSL+t/yqf Ey3YXcx7qntsPCHnkZbXzabx37x2MOHyuSLLoqvmNHq7un99+dhNgdNxQCliDEqys8xe3Iie uThYdAaxczqZ6oHQ0iMsRJgJRwXB9CengCxZ+Znd48ugdE1ueig6NJxlrpdSrAgNpa393Cwf FLi9SkKSGciSCWjTWjkcv1Mwj5kFzSrRlLKt0/MsPwOTt7kBDQRYA1AeAQgA82m2h8C4Sj4B Kzvw29PQ3IyiQCx5mwP6JDp3X+ePPT8ZG0yDveTqXQej9ZPTOpUdofMgPc86qp19zyjAqc0l 6liOxxFAEGfV3dWKJGXA0t5dQiuBeVb+++Z8WsSsKG8pVoeFkchBvJK5DlHgpb7DaUNLevBK /fR9x3apK1zeyz2W2njs8MI7+ZBEW9O2FaEV2m9VkjVJj5SBBbm+IMYJKhgH0tPwViPoLBbp mpII1zCNyu74XlyjmPkfa5DW862UvAvljtJmNlgFt6Lu/BJYNvqe1Q56hA1NwmVjNrofnLur Vr36L/bBcmBCNXqOBmafjrjnrX5Q7eJyJDe8E2h9RwARAQABiQEfBBgBAgAJBQJYA1AeAhsM AAoJEIf35sO3P2w9RcgIAIgkvrZ7MvKWUe93WLDjpSOAL9iq8DxPTczjQ2vlnVawn0bh7Qvq Awktno+4PXi5CRx4k43npnRrj6NTg4QYrGW5eir9XQnAY45K29GeTB/TbTG7PHJfwDYD9SCW aultbVIWKlzJVreRuQFbQYMau67RLs1x2g5XkZlbGtk9gReEQv5wXUiW2KHXTxdZVAz7Imfe E7Qm/YQPImxUWj6s46gyLnSq20rGrtd1240rKHML3eVKTU7daBcs5YV0QOKOlDEbXO8J+Y0O iz7QApDB0RfSTHvUh6bn6P7cNPXQFA6JYfd9TIaW32tAUJYeYB6Q5q29VeXH0s+qJE7OLFDT YQI= Message-ID: <816d2760-34b0-1f3c-e77d-3ac57771317c@dadivanyan.net> Date: Mon, 15 Jul 2019 13:09:36 +0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <0F5F01D5-1787-42E2-A939-EE3A23960167@kronometrix.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="p9VxmKKebxIvapUrOrke92eCF24C7okYT" X-Rspamd-Queue-Id: 345CC86B7B X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hrantdadivanyan@gmail.com designates 209.85.128.41 as permitted sender) smtp.mailfrom=hrantdadivanyan@gmail.com X-Spamd-Result: default: False [-6.14 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.84)[-0.838,0]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[hrant@dadivanyan.net,hrantdadivanyan@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[248.77.136.141.zen.spamhaus.org : 127.0.0.11]; MIME_TRACE(0.00)[0:+,1:+,2:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[hrant@dadivanyan.net,hrantdadivanyan@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[dadivanyan.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[41.128.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.19)[ipnet: 209.85.128.0/17(-3.46), asn: 15169(-2.44), country: US(-0.06)] 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: Mon, 15 Jul 2019 09:10:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --p9VxmKKebxIvapUrOrke92eCF24C7okYT Content-Type: multipart/mixed; boundary="RTt1oCkOEEsb3U8kr0l7CIPqEmWZuN68z"; protected-headers="v1" From: Hrant Dadivanyan To: freebsd-arm@freebsd.org Message-ID: <816d2760-34b0-1f3c-e77d-3ac57771317c@dadivanyan.net> Subject: Re: hardware clock small size factor for RBPI3B+ References: <0F5F01D5-1787-42E2-A939-EE3A23960167@kronometrix.org> In-Reply-To: <0F5F01D5-1787-42E2-A939-EE3A23960167@kronometrix.org> --RTt1oCkOEEsb3U8kr0l7CIPqEmWZuN68z Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi, Look for DS3231. It works fine here (ds3231.ko): ds32310: at addr 0xd0 on iicbus0 ds32310: registered as a time-of-day clock, resolution 1.000000s Thank you, Hrant On 2019-07-15 12:42, Stefan Parvu wrote: > Hi, >=20 > Can anyone point me, list some models of RTC models which should work w= ith=20 > latest production release of FreeBSD 12.0 ? Im looking to get for our R= BPI3B+ > boards a supported RTC which should work without rebuilding the kernel = and > preferable have a small size like Rasclock [1] > =20 > [1] https://afterthoughtsoftware.com/products/rasclock =20 >=20 > Thanks a lot >=20 > Stefan Parvu > sparvu@kronometrix.org >=20 >=20 >=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" >=20 --=20 Hrant Dadivanyan (aka Ran d'Adi) hrant(at)dadivanyan.net /* "Feci quod potui, faciant meliora potentes." */ ran(at)psg.com --RTt1oCkOEEsb3U8kr0l7CIPqEmWZuN68z-- --p9VxmKKebxIvapUrOrke92eCF24C7okYT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEEPbz+l3tnoK718ci3h/fmw7c/bD0FAl0sQt8ACgkQh/fmw7c/ bD1JpQf7BG2WmpZbsUxoLf7Kk4BrTbP3gwQQovuNeT4jKJP7aoFpbXFNHQ+yBYHj aFSIz8xpuOXQmhrFps7vKM74U34k6elnrylVlFNZFRN8CPwTG/SxQLDJe/6zdE9A y2eV08gz5XHlWAEWdYtTL0Rdi05WYYyybG/iHtGCeWdnK1uPtApz+U0+ZzlbZ7UG b5OmTreKEQ4sCNjFVXinTDI8E62xzpPNwcw+7OnndU4rcJk1Fd7D3yPyAXEZkPFe K7806jXRBzy3eZ7x+nvNZeJNbNiZxX6rTHjW5S0YIWm+lC5pLOSY/YuZ+av+gc8f bHif/8CZaXt9Omhuj9Y/aO1mUCGTnw== =gtP2 -----END PGP SIGNATURE----- --p9VxmKKebxIvapUrOrke92eCF24C7okYT-- From owner-freebsd-arm@freebsd.org Mon Jul 15 09:15:56 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 475DCB5060 for ; Mon, 15 Jul 2019 09:15:56 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:300:2185:123::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 14F7086F32 for ; Mon, 15 Jul 2019 09:15:55 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [104.207.135.49]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id x6F9FrFT061431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Jul 2019 10:15:53 +0100 (BST) (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id x6F9FqES061430; Mon, 15 Jul 2019 10:15:52 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <201907150915.x6F9FqES061430@donotpassgo.dyslexicfish.net> Date: Mon, 15 Jul 2019 10:15:52 +0100 Organization: Dyslexic Fish To: sparvu@kronometrix.org, freebsd-arm@freebsd.org Subject: Re: recreate FreeBSD 12 ARM image References: <23ABC4DD-840D-4C63-ACCF-4DF6BC801CF0@kronometrix.org> In-Reply-To: <23ABC4DD-840D-4C63-ACCF-4DF6BC801CF0@kronometrix.org> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [104.207.135.49]); Mon, 15 Jul 2019 10:15:53 +0100 (BST) 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: Mon, 15 Jul 2019 09:15:56 -0000 Stefan Parvu wrote: > Suppose I have installed FreeBSD 12 on a 32GB microSD under RBPI3B+ and I have > configure it as I want, add my own software and now I want to re-create the image as > small as possible say as the original. Is it possible to do something like this ? Anyone > any advices, tips how can you do this ? Do you mean make a snapshot copy of the card so you can distribute it elsewhere, but with the copy of the (largely empty) disk not using the full 32GB? I.E. Stick the card into another system, don't mount it, but do: dd if=/dev/DEVICE-NAME bs=1m | gzip -c > img.gz This will copy the disk image, and compress it with gzip before saving it to the file. From owner-freebsd-arm@freebsd.org Mon Jul 15 09:22:19 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 437A8B53AA for ; Mon, 15 Jul 2019 09:22:19 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:300:2185:123::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E97B2876C7 for ; Mon, 15 Jul 2019 09:22:18 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [104.207.135.49]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id x6F9MI1s063647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Jul 2019 10:22:18 +0100 (BST) (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id x6F9MIAA063646; Mon, 15 Jul 2019 10:22:18 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <201907150922.x6F9MIAA063646@donotpassgo.dyslexicfish.net> Date: Mon, 15 Jul 2019 10:22:18 +0100 Organization: Dyslexic Fish To: sparvu@kronometrix.org, jamie@catflap.org, freebsd-arm@freebsd.org Subject: Re: recreate FreeBSD 12 ARM image References: <23ABC4DD-840D-4C63-ACCF-4DF6BC801CF0@kronometrix.org> <201907150915.x6F9FqES061430@donotpassgo.dyslexicfish.net> In-Reply-To: <201907150915.x6F9FqES061430@donotpassgo.dyslexicfish.net> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [104.207.135.49]); Mon, 15 Jul 2019 10:22:18 +0100 (BST) 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: Mon, 15 Jul 2019 09:22:19 -0000 Jamie Landeg-Jones wrote: > I.E. Stick the card into another system, don't mount it, but do: > > dd if=/dev/DEVICE-NAME bs=1m | gzip -c > img.gz > > This will copy the disk image, and compress it with gzip before saving it > to the file. P.S. Before you unmount the "live" system you want to copy, do: rm /etc/hostid or else all your installs will have the same id! From owner-freebsd-arm@freebsd.org Mon Jul 15 13:50:05 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 CC2A0BA7A0 for ; Mon, 15 Jul 2019 13:50:05 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A35C091698 for ; Mon, 15 Jul 2019 13:50:05 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6FDnvFD090245 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 15 Jul 2019 13:49:58 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Mon, 15 Jul 2019 16:49:52 +0300 References: <41A4CA5C-B487-490F-8A19-2D51F43E1004@kronometrix.org> <95616620-bbaf-dbc3-49eb-3e2562638d49@bunyatech.com.au> To: freebsd-arm@freebsd.org In-Reply-To: <95616620-bbaf-dbc3-49eb-3e2562638d49@bunyatech.com.au> Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: A35C091698 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Mon, 15 Jul 2019 13:50:05 -0000 >=20 > I'd think the nxprtc driver would be much more likely to work. Here latest:=20 https://github.com/raspberrypi/firmware/issues/1190 = Still for some very strange reasons Im not able to use Raclock on = FreeBSD 12.=20 Pssoible problems: * driver issue=20 * battery low, cannot save keep the time=20 * else, configurations=20 The config is simple:=20 config.txt: root@k1:~ # cat /boot/msdos/config.txt=20 arm_control=3D0x200 dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don dtoverlay=3Dmmc dtoverlay=3Dpwm dtoverlay=3Dpi3-disable-bt device_tree_address=3D0x4000 kernel=3Du-boot.bin dtoverlay=3Di2c-rtc,pcf2129 Any ideas, tips ?=20 Stefan= From owner-freebsd-arm@freebsd.org Mon Jul 15 13:57:22 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 2D0A5BAA1D for ; Mon, 15 Jul 2019 13:57:22 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id ED5B591C0A for ; Mon, 15 Jul 2019 13:57:21 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6FDvJPo090364 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 15 Jul 2019 13:57:20 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: recreate FreeBSD 12 ARM image Date: Mon, 15 Jul 2019 16:57:14 +0300 References: <23ABC4DD-840D-4C63-ACCF-4DF6BC801CF0@kronometrix.org> <201907150915.x6F9FqES061430@donotpassgo.dyslexicfish.net> <201907150922.x6F9MIAA063646@donotpassgo.dyslexicfish.net> To: freebsd-arm@freebsd.org In-Reply-To: <201907150922.x6F9MIAA063646@donotpassgo.dyslexicfish.net> Message-Id: <148817FA-22C2-4393-836C-474ABCA92C41@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: ED5B591C0A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Mon, 15 Jul 2019 13:57:22 -0000 Thanks for message.=20 What I meant was this: * original ARMv8 FreeBSD 12.0 RELEASE is 2 684 354 560 bytes (2.69 GB = on disk) not compressed=20 * if I install the image on a 32GB MicroSD card I would love to make = back the FreeBSD=20 image to something as close as possible to the original size (of course = except what I install additional)=20 * yes, idea is to offer the FreeBSD 12 to our customers pre-packaged = and ready to be used for=20 analytics and data recording =20 * I want our customers would install the img on their own MicroSD cards = =E2=80=A6=20 See what I mean ? Thanks, Stefan= From owner-freebsd-arm@freebsd.org Mon Jul 15 15:03:24 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 A9592BC2A7 for ; Mon, 15 Jul 2019 15:03:24 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (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 2EA6B954A5 for ; Mon, 15 Jul 2019 15:03:24 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563202997; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=RfhWqjPvOBQMP/hHpV96z8D3Om0MprRSiX/DMg4IhoH5pcYbqUGZRy1XjuNFriZpht3xtIeIBGthd +Bw9zD19qZAl9T2LZ6tuDy/fyfr+rJOyOpUaaj4ArYSd52KRSzomXhEwGMmQD9UGFWk7EZSoNn9fcw 4xctasJm/rz1ASyagwjAedP4u1xA5qH/d73+eNTarA+BaeZ0jUZhrn4ektAb4dU0Iw6phUtbi20mQt RdVsKBBzYE2kVUYrZjIt6jDHeksUh/PQXCcJfwAXFiT9VQWhRT38VpxfMbHwE9ka8dQgl0ADaVhfdN gt0QJny+55Esrm3ZSAy3Hf1QCR//DZA== 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=xG5mEsUh3RfYG7oUjFHJGq5k+XTenDfnoCRFmTVBm/A=; b=Xzb5SgddxU8Y7idNrr7VqoiJRUvlNLmLbfLeUTJL1/saBV1AG0XNKoEO3LDwNihf30sWX9Xm1l0H+ otnkql7CQhwvT8X5M0UswlhaUYxjWY9srHIh0eBDCrrsloyuCgpdP6rvEQVRjIFGTbJghYpzcVWVV0 Kmt4BoxWzqHoMT93DK1lDeNSclQt61djYm9z7Zf2rvKsG83MDdNZkEIb2xh7NB2Q571VZF/R2Kt7uy /NqY708VGsil/ME7xqw4BA+Ij8TLDHXRJ1QbQ812nqYnm8MwjQ4nUJ4ucUdGEgQqFKHirlbJKIIuKd UhuJ/deI/dEYGSK60+QKo0WPX5Jo3pQ== 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=xG5mEsUh3RfYG7oUjFHJGq5k+XTenDfnoCRFmTVBm/A=; b=HpsJoGSLpoc2OUMczdPPo/Dp+6WXV6YLB2DtvzqpBvO6X1QWGhXr3GHEa4qlrcS5MRRxfhMUj4Gtv w1ECb8ZH8aoPr75+xWq7iXN0bft2bBhSKVu9F+l/EOh27PF0POTsPI5TGkLSIJlkh67aNRt3C0HvCZ Scwjm1QKHrOKdfvuAFs8WnVpyhmaWmLuzmuaXFW5WDPjffMB6nrio12DHzBqzSKHuvYjKWtpII562I 0ltY/PFKVWhzCYyy7FiJaclZ968mAqdvOOoRWVtaqnJq5y1dj5eYPU+0U/y5MZ1+rbnLbB1Lng7LYQ 3TcFAI/026vo7+dKe1dw4bE+Zs2PbwA== X-MHO-RoutePath: aGlwcGll X-MHO-User: ab79271f-a711-11e9-907a-1ba68abff17b 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 ab79271f-a711-11e9-907a-1ba68abff17b; Mon, 15 Jul 2019 15:03:15 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6FF3E0e032314; Mon, 15 Jul 2019 09:03:14 -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: Mon, 15 Jul 2019 09:03:14 -0600 In-Reply-To: References: <41A4CA5C-B487-490F-8A19-2D51F43E1004@kronometrix.org> <95616620-bbaf-dbc3-49eb-3e2562638d49@bunyatech.com.au> 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: 2EA6B954A5 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)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.148.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: Mon, 15 Jul 2019 15:03:24 -0000 On Mon, 2019-07-15 at 16:49 +0300, Stefan Parvu wrote: > > > > I'd think the nxprtc driver would be much more likely to work. > > Here latest: > https://github.com/raspberrypi/firmware/issues/1190 < > https://github.com/raspberrypi/firmware/issues/1190> > > Still for some very strange reasons Im not able to use Raclock on > FreeBSD 12. > Pssoible problems: > > * driver issue > > * battery low, cannot save keep the time > > * else, configurations > > The config is simple: > > config.txt: > > root@k1:~ # cat /boot/msdos/config.txt > arm_control=0x200 > dtparam=audio=on,i2c_arm=on,spi=on > dtoverlay=mmc > dtoverlay=pwm > dtoverlay=pi3-disable-bt > device_tree_address=0x4000 > kernel=u-boot.bin > dtoverlay=i2c-rtc,pcf2129 > > Any ideas, tips ? > > Stefan I'm the one who wrote the nxprtc driver (and pretty much all the i2c rtc drivers except ds1307). I have a rasclock here (v4.2) and it works fine, but it's been over a year since I last hooked it up. The battery-low flag is set by the chip whenever the battery voltage drops below 2.5v, but the battery is able to run the chip all the way down to 1.2v before it stops keeping time. The PCF2129 chip has a unique feature where battery usage is disabled when it leaves the factory, and code in the driver sends a command to the chip to make it start using the battery the first time the chip is used. The idea is to preserve the battery when the chip is just sitting around for months in a warehouse. But if the people who make the rasclock do something like QA-test the boards when they're built, they could end up disabling that battery-save feature. It might help to see what's going on with the clock at boot time. Add debug.clock_show_io=3 to loader.conf and let's see what it says when it boots. -- Ian From owner-freebsd-arm@freebsd.org Mon Jul 15 15:22:27 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 E7413BCC1E for ; Mon, 15 Jul 2019 15:22:27 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (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 A59459683D for ; Mon, 15 Jul 2019 15:22:27 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563204146; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=unbWsFkxcQr1/6Bjw1EWlezSxKws3P/Q1oCyVobft7w+3qry5KZObMJ5drapEE6zFh4EB6Q1so26G iDt1vOF+d+KUg8KXZqTJrh7xZNWAtgwstqBJmbaa5FxymLQo4nO2TWNk5yKzMQlwoFNB5zDxQDk3Vf akOzDi+SYvKK6T7lPaOq/dT/FSM3hNxcbHinT9QYhg4CyTlAlubICpaqyNDz9Gbd2qf83+h5c2ZUIo gCG+K41JQXm+u4cAQsMBaTk02z3/He0qpt2F0TeuIrBGihiw4KpUufWRu4XWX0/9nKdRrO7VVUxsZw +iGPKgKsIISDIhQtUI/mveLjep+JGrQ== 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=dbi42F9AMvKe0IppB1itsUWap+AVe19/hQFC1lf/x/4=; b=OAbxKj+Yt0WhVl32fuxjgrWKNouoA/XEdW6XNuR0Jn6vNgyJy5WV8ycKWk5U8ZyXRYa7k8zalcbZe hSfRENfGfZteHB1BbE25q4341FIaTht9jr/nmd4qGcusMHegHZYW3VeuSwNFdIu7+Cp6s7RGtg4rQy 53AR4V96aauQJKhZDUynu0DaEXygsJ/UtBobj33CzflmFq0T6lznfQxF2sVKxz0LiySF7H1rZ0Sohy mW3Wumf1Prsmg1X5SDW3zSdvvD/4N9oEHyzCfMye/FknwBfYoA5b4NotQzJ3Z5aa0zZ7pVo2+2PbDl ADVRym6w/v9ICB6MYyRtHV67SPD/vEw== 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=dbi42F9AMvKe0IppB1itsUWap+AVe19/hQFC1lf/x/4=; b=KBVZYltUvEZzmGI0R1Iqk3fe1hN8S0nT0OwOJry7LZD0wrpJyK7AxU3o6sr1gYHEVkChTZGATDypK 9uay2/xiDEXj9fsGN+RxVIyBNLFHEAzAL926BX4KJ3pa3Qi64sITU3IQarXfmoTJ2zbyxe1UzQWMCo 0YDKb45JVFQ3KkmzvEuy+OXISy2dBIPNhH5V+Uvv+egWWCD+Bj8aYqwYpNU21rdyYCrgGZCkUaafpc IjOl5//9fNN/EwNuJnt+GONPyy+J95YQMVdObUrB2QAy4KThuBPskSPuZxeOhLZnNko6Cw4C1xjPR4 npmUbZ/qKGAOrDZmQpacu2//olKX7Nw== X-MHO-RoutePath: aGlwcGll X-MHO-User: 583b5aaa-a714-11e9-907a-1ba68abff17b 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 583b5aaa-a714-11e9-907a-1ba68abff17b; Mon, 15 Jul 2019 15:22:25 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6FFMMsF032396; Mon, 15 Jul 2019 09:22:23 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <8f72bb7c2eb77e95d245c8b4422db5f2fa6ad3a6.camel@freebsd.org> Subject: Re: hardware clock small size factor for RBPI3B+ From: Ian Lepore To: Hrant Dadivanyan , freebsd-arm@freebsd.org Date: Mon, 15 Jul 2019 09:22:22 -0600 In-Reply-To: <816d2760-34b0-1f3c-e77d-3ac57771317c@dadivanyan.net> References: <0F5F01D5-1787-42E2-A939-EE3A23960167@kronometrix.org> <816d2760-34b0-1f3c-e77d-3ac57771317c@dadivanyan.net> 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: A59459683D 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)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.148.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: Mon, 15 Jul 2019 15:22:28 -0000 On Mon, 2019-07-15 at 13:09 +0400, Hrant Dadivanyan wrote: > Hi, > > Look for DS3231. It works fine here (ds3231.ko): > ds32310: at addr 0xd0 on iicbus0 > ds32310: registered as a time-of-day clock, resolution 1.000000s > > Thank you, > Hrant > Actually, almost any i2c RTC you can find will work, I bought all the common chips and wrote drivers for all of them a couple years ago. If you run into one that doesn't have a driver, just tell me what chip type it is and I'll try to get my hands on one and write a driver for it. -- Ian > On 2019-07-15 12:42, Stefan Parvu wrote: > > Hi, > > > > Can anyone point me, list some models of RTC models which should > > work with > > latest production release of FreeBSD 12.0 ? Im looking to get for > > our RBPI3B+ > > boards a supported RTC which should work without rebuilding the > > kernel and > > preferable have a small size like Rasclock [1] > > > > [1] https://afterthoughtsoftware.com/products/rasclock < > > https://afterthoughtsoftware.com/products/rasclock> > > > > Thanks a lot > > > > Stefan Parvu > > sparvu@kronometrix.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" > > > > From owner-freebsd-arm@freebsd.org Mon Jul 15 15:25:08 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 59521BCCEF for ; Mon, 15 Jul 2019 15:25:08 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C9A0969D3; Mon, 15 Jul 2019 15:25:07 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6FFP3d3091425 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 15 Jul 2019 15:25:04 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Message-Id: Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: hardware clock small size factor for RBPI3B+ Date: Mon, 15 Jul 2019 18:24:58 +0300 In-Reply-To: <8f72bb7c2eb77e95d245c8b4422db5f2fa6ad3a6.camel@freebsd.org> Cc: Hrant Dadivanyan , freebsd-arm@freebsd.org To: Ian Lepore References: <0F5F01D5-1787-42E2-A939-EE3A23960167@kronometrix.org> <816d2760-34b0-1f3c-e77d-3ac57771317c@dadivanyan.net> <8f72bb7c2eb77e95d245c8b4422db5f2fa6ad3a6.camel@freebsd.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 8C9A0969D3 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [4.63 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[kronometrix.org]; TO_DN_SOME(0.00)[]; URI_COUNT_ODD(1.00)[7]; NEURAL_SPAM_MEDIUM(0.83)[0.827,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.97)[0.975,0]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(1.00)[0.998,0]; IP_SCORE(0.64)[ip: (0.45), ipnet: 95.85.0.0/18(1.73), asn: 14061(1.07), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Mon, 15 Jul 2019 15:25:08 -0000 To be honest I have now 3 rasclocks and 3 more coming (ver 4.2). I would = love to make these working first and test them on RBPI3B+ and maybe RBPI4 = later. But if you have some links Amazon or other shops share pls to see what = other people are using.=20 Cheers, Stefan Parvu sparvu@kronometrix.org > On 15 Jul 2019, at 18.22, Ian Lepore wrote: >=20 > On Mon, 2019-07-15 at 13:09 +0400, Hrant Dadivanyan wrote: >> Hi, >>=20 >> Look for DS3231. It works fine here (ds3231.ko): >> ds32310: at addr 0xd0 on iicbus0 >> ds32310: registered as a time-of-day clock, resolution 1.000000s >>=20 >> Thank you, >> Hrant >>=20 >=20 > Actually, almost any i2c RTC you can find will work, I bought all the > common chips and wrote drivers for all of them a couple years ago. If > you run into one that doesn't have a driver, just tell me what chip > type it is and I'll try to get my hands on one and write a driver for > it. >=20 > -- Ian >=20 >=20 >> On 2019-07-15 12:42, Stefan Parvu wrote: >>> Hi, >>>=20 >>> Can anyone point me, list some models of RTC models which should >>> work with=20 >>> latest production release of FreeBSD 12.0 ? Im looking to get for >>> our RBPI3B+ >>> boards a supported RTC which should work without rebuilding the >>> kernel and >>> preferable have a small size like Rasclock [1] >>>=20 >>> [1] https://afterthoughtsoftware.com/products/rasclock < >>> https://afterthoughtsoftware.com/products/rasclock>=20 >>>=20 >>> Thanks a lot >>>=20 >>> Stefan Parvu >>> sparvu@kronometrix.org >>>=20 >>>=20 >>>=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" >>>=20 >>=20 >>=20 >=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 = " From owner-freebsd-arm@freebsd.org Mon Jul 15 15:26:44 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 93F2ABCD95 for ; Mon, 15 Jul 2019 15:26:44 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1.eu.mailhop.org (outbound1.eu.mailhop.org [52.28.251.132]) (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 E317E96AC1 for ; Mon, 15 Jul 2019 15:26:43 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563204396; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=TjJQGia1nQPS6uoykv8/S13tPA3L9szEfT/xwINeEDIgjalK+EYeUjEtlR0r4QRA/sGD67CF3gDUh eHdfyZBzMuve5MBy9JiQ0zOytdGKWY7qGD4GUoolakSP1QhTTl9/IgrAlouPAOPEQGohLDzANxJOhq LSDZcx3G4PrdLRn0s13quAdZ+2CFnTexhC1AYE0IHoPmjz9kEUFfc/I4Y0sTOMSCAp1V1dB3C/HxqW yi0W+zZr79j14p7RPTGKdSlQXe4DfGgfVS9MgZH0/nCRQuA5XHa+2jMhQ4eKhSV8rjHsA4Db1LAhfY 5rgyg7f6B0wPwiJA3GGXn/7r8UBLo8w== 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=R459SehdsBUSu32EMEw/mcu5bgrToQ6R7Qq2h8hOLB0=; b=NVW2ym4Q+FxZwDAL/H+xoDvSvIQdvg+dmfeoYzwS5lL5e13V4jHChYsAOwguF5/yb2uQEPmwtT1lr cPhSmxdHG/+7aiFZGNCDtvdTWbRcwUZ3WrXTv98Z083E1AuypYO6WR/yWWXBfiEpWP+lNYe5ZQvtRO XGSXuGwOT3sRqxg1eMO9soFbh9eJ1uZF3LPWNcP/upwrERdEyYq5MYmwAc8WS1eJvhMaOaZLALOHo1 i//3zUioj88bNyhaNZuwT0a31xqVB+Ai6mM2t7/rL4SRb3hSqanvwgQtnWEVTYXoTKhd/SEwGL+MQX t2IAb5vCn8weK8XmyPdYnvZWeWNLUqw== ARC-Authentication-Results: i=1; outbound3.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=R459SehdsBUSu32EMEw/mcu5bgrToQ6R7Qq2h8hOLB0=; b=J9GdBBJ/zkOq/oaYi/Hl8FtI/5PA4VKwXXp3CIJSNNI0SgLl+iWZvIJXuWUI3s6xQyQP8D8UcDywy 6a+JPz3NwGdCTLlgOdL8ZyLtNtDE3I3sPuuMA8Oo+llRbY6hslv+XpiYp56w+HsommQXOQdUXl9Kdp LE3wzdxU39MFCgRPqVaUB6tAJ1C507s/LxDwh6c5msB9XkLqMS9KQ9IrDzl9kRsmxUbihMBm8N6qky q+N/r8nDrGs1xHkk1rIDPK2YhK/f6BoOhFiptbszJYBmg1jamIdL+eh1Z7jixFfRdPLx+X9Qxy1ANu DDUPDf3lTf5kNMycaw/kYIoKf3BfzRA== X-MHO-RoutePath: aGlwcGll X-MHO-User: ed015763-a714-11e9-8f50-5302f4c7f6f4 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 outbound3.eu.mailhop.org (Halon) with ESMTPSA id ed015763-a714-11e9-8f50-5302f4c7f6f4; Mon, 15 Jul 2019 15:26:34 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6FFQWAU032422; Mon, 15 Jul 2019 09:26:32 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <98823c454f96624432bf47773781d3c286f05077.camel@freebsd.org> Subject: Re: recreate FreeBSD 12 ARM image From: Ian Lepore To: Stefan Parvu , freebsd-arm@freebsd.org Date: Mon, 15 Jul 2019 09:26:32 -0600 In-Reply-To: <148817FA-22C2-4393-836C-474ABCA92C41@kronometrix.org> References: <23ABC4DD-840D-4C63-ACCF-4DF6BC801CF0@kronometrix.org> <201907150915.x6F9FqES061430@donotpassgo.dyslexicfish.net> <201907150922.x6F9MIAA063646@donotpassgo.dyslexicfish.net> <148817FA-22C2-4393-836C-474ABCA92C41@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: 8bit X-Rspamd-Queue-Id: E317E96AC1 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)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; ASN(0.00)[asn:16509, ipnet:52.28.0.0/16, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Mon, 15 Jul 2019 15:26:44 -0000 On Mon, 2019-07-15 at 16:57 +0300, Stefan Parvu wrote: > Thanks for message. > > What I meant was this: > > * original ARMv8 FreeBSD 12.0 RELEASE is 2 684 354 560 bytes (2.69 > GB on disk) not > compressed > > * if I install the image on a 32GB MicroSD card I would love to make > back the FreeBSD > image to something as close as possible to the original size (of > course except what I install > additional) > > * yes, idea is to offer the FreeBSD 12 to our customers pre-packaged > and ready to be used for > analytics and data recording > > * I want our customers would install the img on their own MicroSD > cards … > > > See what I mean ? > > Thanks, > Stefan > The release images are made with /usr/src/release/release.sh, and you can use it to make your own images. I've never done so, but I know other arm folks use it, so you should be able to get some help with it if you have questions. I've heard that Poudriere now also has some sort of image-building feature built into it. (What ever happened to the old unix philosophy of small tools, each of which does exactly one thing very well, working together? Seems like "one tool to rule them all" has seeped into unix design lately). -- Ian From owner-freebsd-arm@freebsd.org Mon Jul 15 15:27:28 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 80172BCDEF for ; Mon, 15 Jul 2019 15:27:28 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9293C96B4F for ; Mon, 15 Jul 2019 15:27:27 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-io1-xd33.google.com with SMTP id m24so34779153ioo.2 for ; Mon, 15 Jul 2019 08:27:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cbFyKtOEqCPMphCLw5fzYt89TACNPtabKxMMzr5CT8I=; b=E8S6QpuCDLWeJRaZXewBCrcK7Y53BVKW1FDDCJXhYQ0V1+ra0xYpOlgt0FkbSO9wW/ TGOh/70ZYX4Ry4wU7Snq6KzdN3JqWScl2rnnYHulDU3YPFg1Gh23oNKpMEAHCcLbDlQK dg9IjMAKBA7XMQWpnds7/YFv+yF+LqkTfQBT9b/tvnH9GRsAKF0v0ZUQhJ3XM9dde5nH aZruRg/wrbBrsoj2eMwZISI6J0/Q3QRV+dv6Jc+6WrYq+8m7BAm573zw5KrIPOJoHZjN o9nn3KGX8gKL6hZ41uwSOiQHgMQnHzR/s3rb/zJJd09qHVt3/v5JlU9xRbKMkOS+H+4T HRLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cbFyKtOEqCPMphCLw5fzYt89TACNPtabKxMMzr5CT8I=; b=Mi7eDVbvpSIGbwcNjR++upcXINtHU6X7gxNU1/WBypjf7gLy/gAJLY4VzVQqh1p7hW k6DEMCkDpsZxC7PAaIp0E6xopy4ravRBppUOPQgfsLqFQ90egbqirUWYwKA2M6Le50I8 TWC2LhCJ0BTpQEXnvQ2az7MIpBAaNNviUYiIy+5CDWCiPLqVovTjsQCRaUnKYrjfvGj7 GZr2NNFvrjogPtqVMKI9HKith7//neKHsJ8qRGyW5FLVos+MagCXsm0MmMuTPJRx4UNW iCI3vFIT1y9D/5GUvIG2jzVUF22w6sK3aUEVKH/mdhJyecT2drZQYfnyL83boCSDP9zt i+wQ== X-Gm-Message-State: APjAAAUmZ9++1BUQ5RlKPwmOJfo5GJRqUrP4FIX2pBejvt6JQ21w6RnJ n7p9yroGq04cBBY9KRCiZdBJltRNy6+LA7mGeD9lUf3P X-Google-Smtp-Source: APXvYqznbWhBC6sZ4K6xuNyP2L5Q3jhdwX+qsbmOVWLm/qb7gZqIp1FZ1m4sfa6kgL/71yvJWuR8zYsh/TLZGwOGMsk= X-Received: by 2002:a6b:90c3:: with SMTP id s186mr26344957iod.114.1563204446772; Mon, 15 Jul 2019 08:27:26 -0700 (PDT) MIME-Version: 1.0 References: <23ABC4DD-840D-4C63-ACCF-4DF6BC801CF0@kronometrix.org> <201907150915.x6F9FqES061430@donotpassgo.dyslexicfish.net> <201907150922.x6F9MIAA063646@donotpassgo.dyslexicfish.net> <148817FA-22C2-4393-836C-474ABCA92C41@kronometrix.org> In-Reply-To: <148817FA-22C2-4393-836C-474ABCA92C41@kronometrix.org> From: Russell Haley Date: Mon, 15 Jul 2019 08:27:15 -0700 Message-ID: Subject: Re: recreate FreeBSD 12 ARM image To: Stefan Parvu Cc: freebsd-arm , Udit agarwal X-Rspamd-Queue-Id: 9293C96B4F X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=E8S6QpuC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of russhaley@gmail.com designates 2607:f8b0:4864:20::d33 as permitted sender) smtp.mailfrom=russhaley@gmail.com X-Spamd-Result: default: False [-5.45 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[7]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.65)[-0.647,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.79)[ip: (-8.30), ipnet: 2607:f8b0::/32(-3.17), asn: 15169(-2.44), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Mon, 15 Jul 2019 15:27:28 -0000 On Mon, Jul 15, 2019 at 6:57 AM Stefan Parvu wrote= : > Thanks for message. > > What I meant was this: > > * original ARMv8 FreeBSD 12.0 RELEASE is 2 684 354 560 bytes (2.69 GB on > disk) not > compressed > > * if I install the image on a 32GB MicroSD card I would love to make bac= k > the FreeBSD > image to something as close as possible to the original size (of course > except what I install > additional) > > * yes, idea is to offer the FreeBSD 12 to our customers pre-packaged and > ready to be used for > analytics and data recording > > * I want our customers would install the img on their own MicroSD cards = =E2=80=A6 > > > See what I mean ? > Hi Stefan, (Waringing: I'm in and out of this community all the time so the suggestions below should be taken with some skepticism that I have all the details correct). Perhaps what you're actually looking for is to simply shrink down the partition and copy the results into an img file using memdisk? man.freebsd.org should be able to provide instructions on gpart and md, though there may be a better tool to shrink partitions than gpart. Udit agarwal has intructions linked below that has an example of using md. NOTE: You will need to copy ALL the partitions and the boot code into that new memdisk. It seems to me that what you are asking for is fraught with problems. You won't have autoexpanding filesystems anymore, the uboot code is platform specific, etc,etc. Something you may want to be concerned about is repeat-ability. It's fine to grab the FreeBSD image and expand it on an arm device and customize it. But that process is going to eat up time when people start asking for updates, or you want to move to the latest image. Other things that will likely come up for you are custom build options, especially in your applications. For a one off, that may be okay. But if this is an offering to customers, you may want to look a little deeper. When building/cross compiling FreeBSD, the make scripts copy all the files into a directory (OBJDIR?) and that directory is what eventually becomes your root directory on the sdcard. What you may want to do is re-use the cross compiler and rebuild your software yourself, then copy it into the output directory and create an image file from that. You could installworld the FreeBSD files into the memdisk and then copy in your own software afterwards. This would give you complete control over the process and you wouldn't have to "shrink" the SD card image. I don't know how FreeBSD gets the partition to autoexpand on first boot, but that's something you could ask about on this list. So I see two options in this vein: 1) Learn how to cross compile your own build, add your software to the output directory and then create your own img file. Udit has a pretty decent blog about how to do that for BBB: http://uditagarwal.in/index.php/2018/04/17/building-freebsds-sdio-driver-fo= r-beaglebone-black/. Some of the steps concerning the SDIO driver aren't applicable to you, but you would be able to put together your own instruction set pretty easily from what he has. 2) I've never used Crochet but I've read through the code a little bit. Since it's a shell script, it would be pretty easy to insert your own commands into the overall process and that would give you a truly automated way of creating these custom images. So my suggestion is the following: 1) Build your concept/prototype as you are doing and shrink the root partition. Then you could figure out how big your ARM image is, create a memdisk the size you want and DD everything the files back into the memdisk. Buyer beware: I think this is going to give you more problems than you realize. 2) After you have a prototype working, learn the build process from Udits blog and internalize it, that way you understand what's actually happening. The running of the build process is actually quite simple once you've done it a few times. You could manually cross compile your code (again, ask here for that) and manually add it to the memdisk img file. 3) Once you know what needs to be done, review Crochet and customize it to suite your needs. That way when your non-technical boss says "Could you just add this one thing to the image" you're ready. Good Luck! Russ > > Thanks, > Stefan > _______________________________________________ > 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" > From owner-freebsd-arm@freebsd.org Mon Jul 15 15:46:12 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 A5FB5BD6C6 for ; Mon, 15 Jul 2019 15:46:12 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D8E897DE4 for ; Mon, 15 Jul 2019 15:46:12 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6FFk9fm092083 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 15 Jul 2019 15:46:10 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Mon, 15 Jul 2019 18:46:04 +0300 References: <41A4CA5C-B487-490F-8A19-2D51F43E1004@kronometrix.org> <95616620-bbaf-dbc3-49eb-3e2562638d49@bunyatech.com.au> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: <74E3E782-8481-4B5B-A0AF-A04590C27D6D@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 4D8E897DE4 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [3.07 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.32)[0.321,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.95)[0.953,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.93)[0.929,0]; IP_SCORE(0.67)[ip: (0.64), ipnet: 95.85.0.0/18(1.72), asn: 14061(1.07), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Mon, 15 Jul 2019 15:46:12 -0000 Another comment: these 3 Rasclocks are ver 4.0, they been used on = Raspbian for some time back but they have been off for some good months, except = one. I=20 changed the batteries on all of them. All of them behave the same on = FBSD 12.0. Stefan Parvu sparvu@kronometrix.org From owner-freebsd-arm@freebsd.org Mon Jul 15 16:31:05 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 A14DDBE691 for ; Mon, 15 Jul 2019 16:31:05 +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 2BA156AECA for ; Mon, 15 Jul 2019 16:31:04 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563208258; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=fRUT7gD9vYrSu405bRDCk6PvkM8zU+0FSHFv++5fRfebrVJssx2dkJ77CAosXL0ekKZnUQVS3BGq7 OAxrpsksyCVHtCMP1XfSs7j0t3/O5Qzy/mXNav4HLlULGPfARwrWIkDqe6teYs/tysl0YTnTfhS//Q fBgSZgGquVYuT/N7AnFiMZS4BKVDarhfXSSMvNLzThHpOFSvGc96ANBo94AUKmy1lZSpV5UMXNBjiT vB8f9pmXDBrrgi9dKhlWKK8JE7MOdL15Ltxk8/brR8RHY/TqOnG1D6yeth9VxKNk53Rp3YlvEudz7V bvcVqAQ5958ZI+trb3TUUHw+aP+8Vqw== 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=8UrwBym4dl8HHU5BA5krpYMVi5v4TdeYa96LP326NeA=; b=rTnJaZldHv0VAzZqnJfjsi4xEaj5xCKV8jzDQFL/MnXwAVchGE2cD1dI3tetpHW4flc1UpTTXyqpx 3kayPr8+Qn9FjkkHLPsFtV2mJ1RBzd9vR7xcJo8A8HTBe5BsGGH39I9wg2WPAasi4ZscUhniALTX+4 wb3ERVrPfbZkCIEwt3MwOQuGZ7ZP37vlzonijpcsUiaqcEJ0PIjWeI/HAY0zJ6hxaXJIgCm7OxTqCW z5ACoQKwPU8ost1me+/SA3T+CuI7QLYBL2YPy1dE1/Ree1Gny3qn1Lsf62X86ja54rVeGScdWMw0LW IBqUoyA+Fdy8dkrWW9CPxlEC/JB+RZg== 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=8UrwBym4dl8HHU5BA5krpYMVi5v4TdeYa96LP326NeA=; b=fJcwHt1co2IYJTdTNxDEQHpAeoqIgyFWgXTCPCVSKV+jNeDmhQPqi5IwUnoJFx+nvpfEBudlTlweZ bWEpFiySSIxyfWWPFWuqUkDZ+kEbrbDdpFsfbXlv3JLdDlYec4vC5tYUimSBdg/5tMHZtLlJ2VR6j4 ia9pBRr01zRVmK95u1MP/wTES+Z0xdRlnp2CbTOsjGauFw8HWA+B8Bs8h58UTLzSrAa5Mp/3+kD/ik HNKctvINIR989wa0W/po6ZPMXIphPKkImqHZRp2goIsMydPI5/1C/2z6p4VTKs5Xa2f21hrYZPAzZN di32JnWYkTHfQ0TAqCj6+Oc6KMwBvOA== X-MHO-RoutePath: aGlwcGll X-MHO-User: eae684bc-a71d-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 eae684bc-a71d-11e9-93b3-ab2994fa733b; Mon, 15 Jul 2019 16:30:56 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6FGUsMv032569; Mon, 15 Jul 2019 10:30:54 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <877868f6a651ecd1fea9fee55010965b2e8493f0.camel@freebsd.org> Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 From: Ian Lepore To: Stefan Parvu , freebsd-arm@freebsd.org Date: Mon, 15 Jul 2019 10:30:54 -0600 In-Reply-To: <74E3E782-8481-4B5B-A0AF-A04590C27D6D@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> 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: 2BA156AECA X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; ASN(0.00)[asn:16509, ipnet:52.58.0.0/15, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Mon, 15 Jul 2019 16:31:05 -0000 On Mon, 2019-07-15 at 18:46 +0300, Stefan Parvu wrote: > Another comment: these 3 Rasclocks are ver 4.0, they been used on > Raspbian > for some time back but they have been off for some good months, > except one. I > changed the batteries on all of them. All of them behave the same on > FBSD 12.0. > > Stefan Parvu > sparvu@kronometrix.org > I've got my rasclock hooked up to an rpi2 now, and I'm seeing the same symptoms you are. So, debugging is underway, I'll let you know when I've figured out what's wrong. -- Ian From owner-freebsd-arm@freebsd.org Mon Jul 15 18:05:00 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 78EF2C0177 for ; Mon, 15 Jul 2019 18:05:00 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C6AA6F5AF; Mon, 15 Jul 2019 18:04:58 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id bf6ae806; Mon, 15 Jul 2019 20:04:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=He2V8jbwdbBArXfmWbZm2weLCzI=; b=rzxhZKwgQsMo6/+5F6nOERUaONq1 DmtTOwaYtauZT6R4JMUXb1keKWN5U7bNmQug6cidhqGMJBVWztfXfHeS4Tq+uU/Y 2JlQhy+EbiwVhw4WxuIwyUrNXzE5f4dWM6V3Z51tLmdqqvOEHVCgbk+tDppMcrgx DvL6bjB+LxKG+E0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=Twab6KDSohantXFmWACqW/PUdu25MkWWrXEBO0yIdAjPXRBYm5T8VS8S OYLotbIPPrkL0Xh2q3Bwsx0I9awrsjdB+b85GukgKtwi+kiurlvDf0xWKmbBRxDK OPXF4fzbm2K7mL1R6aMALnGZNl0/S1bYSaFnz42ltDaLFM5m4H0= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 80a24394 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 15 Jul 2019 20:04:56 +0200 (CEST) Date: Mon, 15 Jul 2019 20:04:56 +0200 From: Emmanuel Vadot To: George Mitchell Cc: Mark Linimon , Ian Lepore , freebsd-arm@freebsd.org Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black Message-Id: <20190715200456.6d64e3b9297ca0f54ffc0577@bidouilliste.com> In-Reply-To: References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> <20190714174432.GC26897@lonesome.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 3C6AA6F5AF X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=rzxhZKwg; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-0.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.62)[-0.621,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.71)[0.708,0]; NEURAL_HAM_LONG(-0.80)[-0.801,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; MX_GOOD(-0.01)[mx-backup.blih.net,mail.blih.net]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.22)[ip: (-1.26), ipnet: 212.83.160.0/19(2.66), asn: 12876(-0.29), country: FR(-0.01)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 15 Jul 2019 18:05:00 -0000 On Sun, 14 Jul 2019 14:41:46 -0400 George Mitchell wrote: > On 2019-07-14 13:44, Mark Linimon wrote: > > On Sun, Jul 14, 2019 at 10:04:30AM -0600, Ian Lepore wrote: > >> [...] Two or three years ago it looked like arm was at the point where it > >> should be a tier-1 platform, and I put a lot of effort into things like > >> testing releases, because releases that actually work seem like an > >> important thing for a tier-1 platform. > > > > I will have to admit ignorance of the past history, so I can't address > > what went wrong there. > > > > But my own view as a very casual user of arm is this: > > > > - we need more people doing testing (both releases and snapshots), and > > reporting the results. > > > > - we need to be better about gathering that information together. > > [...] > > Both of you are right. But despite my own forlorn hope a few years back > that ARM would become a fully-fledged Tier 1 platform, the fragmentation > of the market has made it impossible. But I still hope that maybe three > or four widely popular ARM boards (Raspberry Pi being the most obvious > possibility) might individually be declared Tier 1. -- George > If we promote an ARM board to tier-1 this will never be one of the RPI. None of the active ARM FreeBSD developper works on it (and don't really want to as the board and the docs just sucks). Just go with Allwinner or IMX6 based board and you will be good. -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Mon Jul 15 18:07:00 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 C7CD0C0277 for ; Mon, 15 Jul 2019 18:07:00 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 14A046F77D; Mon, 15 Jul 2019 18:06:59 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 1c11f1a4; Mon, 15 Jul 2019 20:06:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=TiKyvGG/vAZVOvYp1dbcIzfXx8E=; b=n6wFW1rTB2HVNetlPzHf4JrAY0aA f1UFli5hq0VlDVoacrhUXXF474rj79mG/nvPhyOwZ83MEshUa8phjzHeXguObhnD Gf18mhTXF9HlKyZ196G5Dv9n+++h5tAqF/sPwBgKCJwCZkoWZA8E7lPTkUfH85hh v+4sxUJEyFAEKbM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=DypTWEeWppXea1FQjWXB5j2J/E9gIOb0P+oYhI8Utq6YvZg/wsDOdq0i jD3qx/XLJLESP5MLggS8wXAzUz+uXnHFYkmTKuVmDHFmfA3QrDVxzwzXvHCiWH6L GDG1JEpmApVo94ikg2h/3gDChmGokoaRgNQ/Ck95hHmKGcgxHKw= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id db74251a TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 15 Jul 2019 20:06:57 +0200 (CEST) Date: Mon, 15 Jul 2019 20:06:57 +0200 From: Emmanuel Vadot To: Mark Linimon Cc: Ian Lepore , freebsd-arm@freebsd.org Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black Message-Id: <20190715200657.17c4e2b933abebfb11047e6e@bidouilliste.com> In-Reply-To: <20190714174432.GC26897@lonesome.com> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> <20190714174432.GC26897@lonesome.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 14A046F77D X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=n6wFW1rT; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-0.49 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.70)[-0.698,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.80)[-0.805,0]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.71)[0.705,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; MX_GOOD(-0.01)[cached: mx-backup.blih.net]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.22)[ip: (-1.25), ipnet: 212.83.160.0/19(2.66), asn: 12876(-0.29), country: FR(-0.01)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 15 Jul 2019 18:07:00 -0000 On Sun, 14 Jul 2019 17:44:32 +0000 Mark Linimon wrote: > On Sun, Jul 14, 2019 at 10:04:30AM -0600, Ian Lepore wrote: > > That's why I've talked several times in terms of "weekly snapshots" and > > "12-STABLE" which is NOT 12-RELEASE. > > Although the FreeBSD FAQ is old, stinky, and rotten, this part is still > valid: > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#idp42812792 > > > Two or three years ago it looked like arm was at the point where it > > should be a tier-1 platform, and I put a lot of effort into things like > > testing releases, because releases that actually work seem like an > > important thing for a tier-1 platform. > > I will have to admit ignorance of the past history, so I can't address > what went wrong there. > > But my own view as a very casual user of arm is this: > > - we need more people doing testing (both releases and snapshots), and > reporting the results. > > - we need to be better about gathering that information together. > > IMHO it's impossible (and even if possible, unfair), to expect one person > to test N arm boards. I did test almost every image for 11.0 (I think that GUMSTIX was the only one I haven't tested) so it's possible but the fact that I didn't for 12.0 says a lot :) > Also IMHO, the information in the wiki is only as > good as the people who contribute to it make it. > > I think I can offer the following page(s) as a proof that we (the FreeBSD > community) *can* do this right, if we put our minds to it: > > https://wiki.freebsd.org/Laptops > > Dozens of people have contributed to this page and its sub-pages over > the years. > > If enough people are interested, I can put together a page modeled on > this, and we can see where it goes from there. > > mcl > _______________________________________________ > 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" -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Mon Jul 15 18:08:10 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 3016FC0320 for ; Mon, 15 Jul 2019 18:08:10 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 990CB6F92C for ; Mon, 15 Jul 2019 18:08:09 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 18cae4a6; Mon, 15 Jul 2019 20:01:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=Qkb4R0F10KTUcuIhCE2NYjD6CdU=; b=NzBxNofozfuWl82xnzw6nhoOymFc /dw/y0CujpYLlFInFilIvqpSE7JrifbgMAeY9zA92ZYfrgYBpnjbHBR6AIC1yXLD eZgCNnv17WGXtUKyenCewraSJWe3HwhXR3IFr7Z5gJTujnqH5vPy0L6YCs3s7lde 4VOJcUuNRXqOJWU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=piA/xlDXj65LSSEq2YW4r2+9pWk6enBvC4UnT1YDvR+HW+Q43AZUqLnw yYVRZV5WFfzjsTVbz2v9c84I40eJD6AMzx2Rs/Pk12Lti4gPAhjQ+jRGjSpZuC2x dbKHJTPi0qEhEH1kNf3xla8NHoMCP6lS1/wPpDonKCbqxmm9+H4= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 24d2543f TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 15 Jul 2019 20:01:27 +0200 (CEST) Date: Mon, 15 Jul 2019 20:01:27 +0200 From: Emmanuel Vadot To: Denis Polygalov Cc: freebsd-arm@freebsd.org Subject: Re: Booting FreeBSD on Rock64 Message-Id: <20190715200127.4b649877d8baefeb5282df64@bidouilliste.com> In-Reply-To: <169de7cf-32f2-7b7b-c12e-a86a4b6a9e87@gmail.com> References: <169de7cf-32f2-7b7b-c12e-a86a4b6a9e87@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 990CB6F92C X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=NzBxNofo; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-0.85 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.88)[-0.877,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.93)[-0.932,0]; NEURAL_SPAM_SHORT(0.65)[0.650,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: mx-backup.blih.net]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.22)[ip: (-1.23), ipnet: 212.83.160.0/19(2.66), asn: 12876(-0.29), country: FR(-0.01)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 15 Jul 2019 18:08:10 -0000 On Sat, 13 Jul 2019 19:16:30 +0900 Denis Polygalov wrote: > Here is my attempt to advance this thread: > http://freebsd.1045724.x6.nabble.com/Booting-FreeBSD-on-Rock64-td6312109.html > > by using new release of ayufan's u-boot: > 2017.09-rockchip-ayufan-1063-g29843fbd42 > > and most recent FreeBSD image: > FreeBSD-13.0-CURRENT-arm64-aarch64-20190711-r349909-memstick.img > > Booting from USB drive lead to near the same infinite reset loop: > ... > Found 3 disks > Consoles: EFI console > Reading loader env vars from /efi/freebsd/loader.env > FreeBSD/arm64 EFI loader, Revision 1.1 > > Command line arguments: loader.efi > EFI version: 2.05 > EFI Firmware: Das U-boot (rev 0.00) > Console: efi (0) > Load Path: \efi\boot\bootaa64.efi > Load Device: UNKNOWN(0001,0004) > "Synchronous Abort" handler, esr 0x96000210 > ELR: fbec72c4 > LR: fbe97500 > x0 : 0000000000000000 x1 : 0000000000000000 > x2 : 0000000000000000 x3 : 0000000000000000 > x4 : 00000000fbecf890 x5 : 00000000fbec6838 > x6 : 00000000fbeea150 x7 : 0000000000000000 > x8 : 0000000000000000 x9 : 0000000000000074 > x10: 00000000fbeef8a8 x11: 0000000000000296 > x12: 0000000000000296 x13: 0000000000000000 > x14: 00000000f9f68b90 x15: 0000000000000000 > x16: 0000000000000045 x17: 0000000000000000 > x18: 0000000000000000 x19: 00000000fbee9e48 > x20: 00000000fbece8d3 x21: 0000000000000000 > x22: 0000000000000000 x23: 00000000fbeef8b0 > x24: 0000000000000000 x25: 0000000000000000 > x26: 00000000fbeeeb40 x27: 0000000020001000 > x28: 8000000000000005 x29: 00000000fbee9e00 > > Resetting CPU ... > > Notice however absence of line > "Failed to find bootable partition" > comparing to the first post in original thread. RockChip's vendor u-boot is really broken for efi booting (or maybe we do weird stuff in loader.efi but I doubt it). There have been some progress in mainline u-boot for RockChip recently but I haven't checked yet if we can use it for rock64. > As of the network boot it reaches screen > with ASCII art of the FreeBSD loader and then hangs here: > > Autoboot in 0 seconds, hit [Enter] to boot or any other key to stop > Loading kernel... > /boot/kernel/kernel text=0x93951c data=0x1914c8+0x84ab1c > syms=[0x8+0x1387f8+0x8+0x124a11] > Loading configured modules... > can't find '/boot/entropy' > Using DTB provided by EFI at 0x8200000. > / > > For the network boot I'm using the same image as for USB boot: > FreeBSD-13.0-CURRENT-arm64-aarch64-20190711-r349909-memstick.img > unpacked and served via NFS. > Can someone suggest what is going on here? > Full USB and network boot logs are attached. > > Regards, > Denis. How did you setup the boot ? Do you have tftpd running so u-boot can download the loader and the dtb ? If you don't have the dtb in $TFTPDIR/dtb/rockchip/ that might be the problem, I recall the dtb included in u-boot being incomplete. I've just booted mine after updating to r350003+c99cb2e79ed6 without a problem. -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Mon Jul 15 19:49:53 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 70980C2137 for ; Mon, 15 Jul 2019 19:49:53 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vtr.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8ACAE735B9 for ; Mon, 15 Jul 2019 19:49:52 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id x6FJneQC060194 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 Jul 2019 05:49:46 +1000 (AEST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id x6FJnZNA008320 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 16 Jul 2019 05:49:35 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id x6FJnZ84008319; Tue, 16 Jul 2019 05:49:35 +1000 (AEST) (envelope-from peter) Date: Tue, 16 Jul 2019 05:49:35 +1000 From: Peter Jeremy To: Denis Polygalov Cc: freebsd-arm@freebsd.org Subject: Re: Booting FreeBSD on Rock64 Message-ID: <20190715194935.GB89335@server.rulingia.com> References: <169de7cf-32f2-7b7b-c12e-a86a4b6a9e87@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <169de7cf-32f2-7b7b-c12e-a86a4b6a9e87@gmail.com> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.12.0 (2019-05-25) 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: Mon, 15 Jul 2019 19:49:53 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-Jul-13 19:16:30 +0900, Denis Polygalov wrote: >Here is my attempt to advance this thread: >http://freebsd.1045724.x6.nabble.com/Booting-FreeBSD-on-Rock64-td6312109.h= tml > >by using new release of ayufan's u-boot: >2017.09-rockchip-ayufan-1063-g29843fbd42 > >and most recent FreeBSD image: >FreeBSD-13.0-CURRENT-arm64-aarch64-20190711-r349909-memstick.img I'm running a Rock64 with U-Boot SPL 2017.09-rockchip-ayufan-1035-gd646df03ac (Oct 26 2018 - 08:35:43) and booting FreeBSD diskless. The issues I've had are: * On the v1 Rock64, the RMII interface levels are a bit low and the diskless boot process can be flaky at low temperatures. I've mod'd my board my moving a level control resistor and the problem went away. * FreeBSD leaks mbuf clusters. I have a patch for this but need to clean it up before committing it. I haven't tried booting off physical media. --=20 Peter Jeremy --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAl0s2MVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzTvEw/+Kt4fDEREFM/TaAALfUY6r22NQK17Tbbwgqou+S/Vad9SyU90N6y8RBz+ qxv39ObYW317YL4bGG8nRjPeG+PhYXc3y9jjcLuteNwvlHIZ3IfF+/wLcCCRjJse l+IEYG/40PURCb4eBPC3XgAFwNrKIPkf26xR9W/rA1uStSTDL4S3uTZkzeJ4ifgi rkmsPBaBpB/AWCAb8PYzDd2XCX69IjJMURU4nyFtni8u4XqM+uBtytqBo77S2Liy Fn/ACSeWSc2sVXVrbIg3JlbF9MeNjdKSbRY2fcDvuZpljbti2J9Xbtv+QmaC9zEt sdSfAl6Vrv26t4jMdxGHZLHjAyHSUMChjtDowL+uFeFMKVhNRS8NAZ8gR0zOgYEz RPx1UDyolasIRvWHQz/G9JBBiwOpCrDlerYZRkzm+VI3Rj/KmEj/gl30u/sWJkB+ wVaSswzQLoeTG1R4fFFCsmpHLcAMKe1N552/At6OIBQew4JPL/9CSpEMvmk0IvlJ hhYBtaSSxQvTRKXpUqIwy5TA6GpcRwXU5SK4T0JPDiWDpeExotHKh3cQJjd+aRAt skrzpY2ofO/DJYmcESYRLfaaHO7MR/FR62zbTw1HbIA4FxjIxfu6WuAT7qMzxt32 UR9Ft3bilnsJwpEPmbLVXQ2VZdiGRSCCWgIX58hXfEQKosH9yvU= =sTdC -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24-- From owner-freebsd-arm@freebsd.org Mon Jul 15 21:57:24 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 D2B99C4EB3 for ; Mon, 15 Jul 2019 21:57:24 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (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 62A4981931 for ; Mon, 15 Jul 2019 21:57:24 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563227837; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=rizT1dJVkGWdHADacfGU/9L7I6T9QCIUw5dcQY+4teLH5i4pzeI/TAn36PKZM2AxCKfpruiYlVt1b Fm+f9QQov3WUyqmOXUf+pFyibGp1qo55oH7Pi5ZeaHr5fg11WQiN2mg9dWw1Q718r0BzTqcL3HU6W2 R4d5unkesIr/NVYI9RbMxPy8Nndnd+B1U6D4ik5p8l/OD1ECGMttrIoNHnGnj38eC7ywAko502yYiT 8DWf9gOskLXtofT0jxmvyTuedKOo/ppHztSVjyw76Ii9gLgnVIiJ4/yHlFmSU0KyOnk8HFSA6Z2JJ3 yQTCuYgiRe5bMXC9TGkMzNtEsB9r7og== 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=rT4uosgHeEfLhRW/CLHf28jyZQHqTfV/94UtuDb8Nlg=; b=CDSWZojH188huogOKYtIfLjSK+nBwpSwNjVP6L9p9ZlOCX1KETbaDuFjsDYsXhy9+GekxeW9BguS4 0dnOCcw5950LKUN0QYoxoC4fWGk0msCW23bI+JcXN1n31avL3/jx1vifQBTMBTiTFxa2MulZN8+ksW 34n+Sb1PbvzPi1U9WMVI7cGpv0fhXQ8DflGowt63vFMd2n2eyswYDsbmZX9b9JzNKlJjXtI6EdAwCl JqvAAMZCG1EPYlJRb8aVQdLqJLkly3zsHo8yD4zbMqxlywO1rgoO1bfTAeTDb2HJne4aKfgkAAYtqO q3SStgjHjn9YI+Vx6gz2RyjAgra+E6g== ARC-Authentication-Results: i=1; outbound3.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=rT4uosgHeEfLhRW/CLHf28jyZQHqTfV/94UtuDb8Nlg=; b=BsDTkXOpb/5FVet6RLqYRTHLEj0noqmf80F0aDKnapLvGA1Ria/3pNzITFEu6bVF++6xcisZ78aCD ORA1Vj88DMjXS7oriymNTkP2s3OxhrGXdZp64BACnBzUvQwpVeyq6r6SedauuxXVvWtRInCGynxDRL jGoDJbJ2SHN7pUqfg+7Qdz3Y38B5dTWTRYGbSk1kwA7+/k02X4hgrbHk9hQvd1wjsHD7N1TR/VLLkQ guGrtPJdMgia/HYU8LteX9AXhaTluJdbKUn4DXgIG6hTJF9Jm61+q2dfg/UVlImO0WKRUpuvezcfdw 0IClk6nkBw3ifpJhwI/8h8D7LpX3YQA== X-MHO-RoutePath: aGlwcGll X-MHO-User: 814ad42b-a74b-11e9-9d30-d9f4e14f47a7 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 outbound3.ore.mailhop.org (Halon) with ESMTPSA id 814ad42b-a74b-11e9-9d30-d9f4e14f47a7; Mon, 15 Jul 2019 21:57:16 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6FLvEVF033571; Mon, 15 Jul 2019 15:57:14 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <790afcb5f0809a89b45982958a85f1539fec05c7.camel@freebsd.org> Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 From: Ian Lepore To: Stefan Parvu , freebsd-arm@freebsd.org Date: Mon, 15 Jul 2019 15:57:14 -0600 In-Reply-To: <74E3E782-8481-4B5B-A0AF-A04590C27D6D@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> 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: 62A4981931 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.998,0]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.186.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: Mon, 15 Jul 2019 21:57:24 -0000 On Mon, 2019-07-15 at 18:46 +0300, Stefan Parvu wrote: > Another comment: these 3 Rasclocks are ver 4.0, they been used on Raspbian > for some time back but they have been off for some good months, except one. I > changed the batteries on all of them. All of them behave the same on FBSD 12.0. > > Stefan Parvu > sparvu@kronometrix.org > Okay, this should be fixed as of r350016. It turns out the PCF2129 chip isn't fully compliant with the i2c spec... an obscure footnote in the datasheet mentions that it doesn't support i2c repeat-start operations. Back when I originally wrote and tested the driver I was using an rpi for testing, and the rpi i2c driver didn't support repeated-start, it just silently turned them into a stop-then-start. Some time last year, I fixed the rpi i2c driver to handle repeat-start properly, and at that point the nxprtc driver would have stopped working because I had missed that footnote when I first wrote it. Now the nxprtc driver doesn't try to do repeat-start transactions, and it should work right on all boards. Another thing I noticed is that the rpi dtbo file activates a PCF2127 chip, so the driver was trying to treat that 2129 as if it were a 2127. The major difference between the models is that the 2129 doesn't have a sub-second countdown timer for better resolution. So that should have made the 2129 fail on an rpi after I fixed the repeat-start thing, but it didn't fail, it just worked fine. It turns out the 2129 chip has the countdown timer hardware too, even though the datasheet says it doesn't. You just can't use it to toggle an output pin or trigger an interrupt. But our driver only uses it to read the sub-second time. So I made that less accidental; the driver now treats the 2127 and 2129 the same, and gets .015 second resolution on both of them. -- Ian From owner-freebsd-arm@freebsd.org Tue Jul 16 00:29:13 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 6D57FC7A48 for ; Tue, 16 Jul 2019 00:29:13 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhob05.registeredsite.com (atl4mhob05.registeredsite.com [209.17.115.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.registeredsite.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C2A887723 for ; Tue, 16 Jul 2019 00:29:10 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mailpod.hostingplatform.com (atl4qobmail01pod2.registeredsite.com [10.30.77.35]) by atl4mhob05.registeredsite.com (8.14.4/8.14.4) with ESMTP id x6G0T7Xa009069 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 15 Jul 2019 20:29:07 -0400 Received: (qmail 41736 invoked by uid 0); 16 Jul 2019 00:29:07 -0000 X-TCPREMOTEIP: 99.253.177.25 X-Authenticated-UID: dclarke@blastwave.org Received: from unknown (HELO ?172.16.35.3?) (dclarke@blastwave.org@99.253.177.25) by 0 with ESMTPA; 16 Jul 2019 00:29:07 -0000 Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black To: Mark Linimon Cc: freebsd-arm@freebsd.org References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <26864b34-624a-075f-4a10-859314649d2f@blastwave.org> <20190714172816.GA26897@lonesome.com> From: Dennis Clarke Message-ID: <3e91570f-69b4-1d29-ada9-bd13d42e236a@blastwave.org> Date: Mon, 15 Jul 2019 20:29:06 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: <20190714172816.GA26897@lonesome.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 9C2A887723 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.82 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.84)[0.843,0]; IP_SCORE(1.15)[ip: (2.66), ipnet: 209.17.112.0/21(1.73), asn: 19871(1.39), country: US(-0.06)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[blastwave.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.94)[0.944,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx1.netsolmail.net]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[43.115.17.209.list.dnswl.org : 127.0.5.0]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:19871, ipnet:209.17.112.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[] 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 00:29:13 -0000 On 7/14/19 1:28 PM, Mark Linimon wrote: > On Sun, Jul 14, 2019 at 04:19:37AM -0400, Dennis Clarke wrote: >> I have the same issue with ppc64 and most certainly for RISC-V where >> we are really well and truely in outer darkness. > > I don't understand. Can you explain this to me more clearly? > Essentially one my checkout the sources and do a clean build only to see the kernel panic on ppc64 hardware. There are times where things work and there are mostly times where things simply don't and in very bad ways. On a PowerMac G5 it is usually the latter. > fwiw, I have personally invested a lot of time in getting our powerpc64 > documentation up to date on the wiki. As well: > > blackbird1% uname -a > FreeBSD blackbird1.lonesome.com 13.0-CURRENT FreeBSD 13.0-CURRENT r349478 GENERIC powerpc > blackbird1% uptime > 5:25PM up 12:52, 2 users, load averages: 0.01, 0.05, 0.0 > > (It would have been up longer but I moved it into my rack.) > > What have I missed? Well I think I last saw things sort-of working with r345425 but only in single user mode and only with a single core. I wiped the machine out and started over today with 12.0-RELEASE r341666 and again only with a single core available. I am watching r350018 compile right now but I am still fuzzy on what the boot loaded magic words are. Could be usefdt=1 and maybe not. Could be that I must have kern.smp.disabled=1 and maybe not. Or it could panic so early that not much of this matters. As I say, outer darkness. > As for RISC-V, IIUC, support for the architecture is very much in an > alpha state. Strangely I have an instance that boots neatly inside a qemu vm and that even includes a ZFS zpool. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional From owner-freebsd-arm@freebsd.org Tue Jul 16 00:31:21 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 113B3C7B6E for ; Tue, 16 Jul 2019 00:31:21 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 548DF878F8 for ; Tue, 16 Jul 2019 00:31:18 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Tue, 16 Jul 2019 00:31:10 +0000 Received: from [192.168.2.155] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 0C90F768-C6C9-4612-9A05-DCB5180F94CD.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Tue, 16 Jul 2019 00:31:10 +0000 Date: Tue, 16 Jul 2019 03:31:06 +0300 User-Agent: K-9 Mail for Android In-Reply-To: <20190715200456.6d64e3b9297ca0f54ffc0577@bidouilliste.com> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> <20190714174432.GC26897@lonesome.com> <20190715200456.6d64e3b9297ca0f54ffc0577@bidouilliste.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black To: freebsd-arm@freebsd.org, Emmanuel Vadot , George Mitchell CC: Mark Linimon ,Ian Lepore From: Greg V Message-ID: <1A010154-D48C-43B2-8F7B-71C85D34577C@unrelenting.technology> DKIM-Signature: v=1; a=rsa-sha256; bh=6L+fIW7Xcl4dfrAUjwVmtu5ZoASa1nFWwZI5Hcz8s+M=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=NNfEriYiOKmllzNA3ozGQST+qs8i55Of/h24NixLOsnyJI+6XY2byAMdCSiHaoTyn5hgTkrVpvUnZHTzcbH4E4vuNF6XwHsq1wdfaF9EeiL51IoKXnpFNACNFBVA6kFsam3vWVHcfMZxGigTRLVHRhEgVY9us+N300/wXjv9Uus= X-Rspamd-Queue-Id: 548DF878F8 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=NNfEriYi; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-6.37 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; RCVD_IN_DNSWL_NONE(0.00)[63.223.121.91.list.dnswl.org : 127.0.10.0]; MX_GOOD(-0.01)[aspmx1.migadu.com,aspmx2.migadu.com]; NEURAL_HAM_SHORT(-0.74)[-0.742,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.62)[ip: (-9.90), ipnet: 91.121.0.0/16(-4.37), asn: 16276(1.17), country: FR(-0.01)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] 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 00:31:21 -0000 On July 15, 2019 9:04:56 PM GMT+03:00, Emmanuel Vadot wrote: >On Sun, 14 Jul 2019 14:41:46 -0400 >George Mitchell wrote: > >> On 2019-07-14 13:44, Mark Linimon wrote: >> > On Sun, Jul 14, 2019 at 10:04:30AM -0600, Ian Lepore wrote: >> >> [=2E=2E=2E] Two or three years ago it looked like arm was at the poi= nt >where it >> >> should be a tier-1 platform, and I put a lot of effort into things >like >> >> testing releases, because releases that actually work seem like an >> >> important thing for a tier-1 platform=2E=20 >> >=20 >> > I will have to admit ignorance of the past history, so I can't >address >> > what went wrong there=2E >> >=20 >> > But my own view as a very casual user of arm is this: >> >=20 >> > - we need more people doing testing (both releases and snapshots), >and >> > reporting the results=2E >> >=20 >> > - we need to be better about gathering that information together=2E >> > [=2E=2E=2E] >>=20 >> Both of you are right=2E But despite my own forlorn hope a few years >back >> that ARM would become a fully-fledged Tier 1 platform, the >fragmentation >> of the market has made it impossible=2E But I still hope that maybe >three >> or four widely popular ARM boards (Raspberry Pi being the most >obvious >> possibility) might individually be declared Tier 1=2E -- >George >>=20 > >If we promote an ARM board to tier-1 this will never be one of the RPI=2E > None of the active ARM FreeBSD developper works on it (and don't >really want to as the board and the docs just sucks)=2E > Just go with Allwinner or IMX6 based board and you will be good=2E I would expect generic ACPI "SBSA-ish" aarch64 to be promoted to tier-1 be= fore any of the embedded stuff=2E=2E From owner-freebsd-arm@freebsd.org Tue Jul 16 00:33:53 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 E6ABDC7D80 for ; Tue, 16 Jul 2019 00:33:53 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DAA0187C7D; Tue, 16 Jul 2019 00:33:52 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id 10FC61FCE1; Tue, 16 Jul 2019 00:33:52 +0000 (UTC) Date: Tue, 16 Jul 2019 00:33:51 +0000 From: Mark Linimon To: Ian Lepore Cc: freebsd-arm@freebsd.org Subject: Re: arm support documentation [was: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black] Message-ID: <20190716003350.GA19462@lonesome.com> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> <20190714174432.GC26897@lonesome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190714174432.GC26897@lonesome.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: DAA0187C7D X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-0.77 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.60)[-0.599,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.84)[-0.836,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.22)[0.222,0]; IP_SCORE(-0.25)[ip: (0.03), ipnet: 18.220.0.0/14(0.14), asn: 16509(-1.34), country: US(-0.06)]; RCVD_IN_DNSWL_MED(-0.20)[11.6.222.18.list.dnswl.org : 127.0.5.2]; MX_GOOD(-0.01)[cached: mail.soaustin.net]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.220.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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 00:33:54 -0000 On Sun, Jul 14, 2019 at 05:44:32PM +0000, Mark Linimon wrote: > If enough people are interested, I can put together a page modeled on > this, and we can see where it goes from there. Turning the existing rpi table on the wiki on its side gives us the following prototype: https://wiki.freebsd.org/MarkLinimon/WorkArea16 I'll add more information if people on this list a) think it's useful, b) will send me the data. I am too overcommitted to gather it myself, but I can edit it. mcl From owner-freebsd-arm@freebsd.org Tue Jul 16 00:38:47 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 58291C7EE4 for ; Tue, 16 Jul 2019 00:38:47 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E9FB87E84 for ; Tue, 16 Jul 2019 00:38:46 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id 0C2A01FCE1; Tue, 16 Jul 2019 00:38:46 +0000 (UTC) Date: Tue, 16 Jul 2019 00:38:44 +0000 From: Mark Linimon To: Dennis Clarke Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black Message-ID: <20190716003844.GB19462@lonesome.com> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <26864b34-624a-075f-4a10-859314649d2f@blastwave.org> <20190714172816.GA26897@lonesome.com> <3e91570f-69b4-1d29-ada9-bd13d42e236a@blastwave.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3e91570f-69b4-1d29-ada9-bd13d42e236a@blastwave.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: 0E9FB87E84 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-0.53 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.53)[-0.535,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.44)[0.442,0]; IP_SCORE(-0.25)[ip: (0.03), ipnet: 18.220.0.0/14(0.14), asn: 16509(-1.34), country: US(-0.06)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.88)[-0.883,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[11.6.222.18.list.dnswl.org : 127.0.5.2]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: mail.soaustin.net]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.220.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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 00:38:47 -0000 On Mon, Jul 15, 2019 at 08:29:06PM -0400, Dennis Clarke wrote: > Essentially one may checkout the sources and do a clean build only to > see the kernel panic on ppc64 hardware. I don't understand. What hardware? We are doing a lot of work on Power8 and Power9 hardware from various manufacturers, and both 12 and -CURRENT behave well, even under stress. (I have powered down my Power5 machine; I know of two cases where I cannot move to 12.X, and since I have Power9 in-house, I probably will not pursue it.) > Strangely I have [a RISC-V] instance that boots neatly inside a qemu > vm and that even includes a ZFS zpool. If you've built ports on it, you may be the first. You are definitely at the bleeding edge in this case. I know of no user documentation for FreeBSD/RISC-V. mcl From owner-freebsd-arm@freebsd.org Tue Jul 16 00:48:40 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 B2673A116C for ; Tue, 16 Jul 2019 00:48:40 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 642C588309; Tue, 16 Jul 2019 00:48:40 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id 75DA21FCE1; Tue, 16 Jul 2019 00:48:39 +0000 (UTC) Date: Tue, 16 Jul 2019 00:48:37 +0000 From: Mark Linimon To: Greg V Cc: freebsd-arm@freebsd.org, Emmanuel Vadot , George Mitchell , Ian Lepore , emaste@FreeBSD.org Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black Message-ID: <20190716004836.GC19462@lonesome.com> References: <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> <20190714174432.GC26897@lonesome.com> <20190715200456.6d64e3b9297ca0f54ffc0577@bidouilliste.com> <1A010154-D48C-43B2-8F7B-71C85D34577C@unrelenting.technology> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1A010154-D48C-43B2-8F7B-71C85D34577C@unrelenting.technology> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: 642C588309 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-0.06 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.40)[-0.400,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.64)[0.639,0]; IP_SCORE(-0.25)[ip: (0.03), ipnet: 18.220.0.0/14(0.14), asn: 16509(-1.34), country: US(-0.06)]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[6]; NEURAL_HAM_LONG(-0.74)[-0.742,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[11.6.222.18.list.dnswl.org : 127.0.5.2]; MX_GOOD(-0.01)[cached: mail.soaustin.net]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.220.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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 00:48:40 -0000 On Tue, Jul 16, 2019 at 03:31:06AM +0300, Greg V wrote: > I would expect generic ACPI "SBSA-ish" aarch64 to be promoted to > tier-1 before any of the embedded stuff.. We have kind of waved our hands about "arm" in this discussion. aarch64 in FreeBSD is far more mature: - there are less variations to troubleshoot - building ports natively is much easier - in general, FreeBSD ports work better on 64 than 32-bit Cc:ing emaste@, who has been advocating Tier-2 for arm for a while. (I probably should have brought him into this discussion several days ago.) mcl From owner-freebsd-arm@freebsd.org Tue Jul 16 01:46:57 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 02141A2AF5 for ; Tue, 16 Jul 2019 01:46:57 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 982068ABA7 for ; Tue, 16 Jul 2019 01:46:56 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6G1ksv0097441 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 16 Jul 2019 01:46:54 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Tue, 16 Jul 2019 04:46:48 +0300 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> To: freebsd-arm@freebsd.org In-Reply-To: <790afcb5f0809a89b45982958a85f1539fec05c7.camel@freebsd.org> Message-Id: <36088812-2135-4433-BC49-0BC433EC6767@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 982068ABA7 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [3.58 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.84)[0.835,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.93)[0.931,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.99)[0.986,0]; IP_SCORE(0.64)[ip: (0.58), ipnet: 95.85.0.0/18(1.60), asn: 14061(1.07), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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 01:46:57 -0000 > Okay, this should be fixed as of r350016. Cool and thank you for fix.=20 The hard part: Im on FreeBSD 12 RELEASE. How can I get the fix on this = version ?=20 Idea is Im planning to use the OS (FreeBSD 12.0 RELEASE) before 12.1 is = released.=20 * you fixed the nxprtc driver, right ?=20 * can I somehow get the new driver for 12.0 RELEASE ARMv8 ?=20 * 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 ?=20 Thanks, Stefan= From owner-freebsd-arm@freebsd.org Tue Jul 16 08:34:42 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 DEB25A95F0 for ; Tue, 16 Jul 2019 08:34:42 +0000 (UTC) (envelope-from 0102016bf9dec372-65f7c9d9-fb16-4fb0-a4c7-40cc17fac825-000000@eu-west-1.amazonses.com) Received: from a6-32.smtp-out.eu-west-1.amazonses.com (a6-32.smtp-out.eu-west-1.amazonses.com [54.240.6.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E4B427170F for ; Tue, 16 Jul 2019 08:34:41 +0000 (UTC) (envelope-from 0102016bf9dec372-65f7c9d9-fb16-4fb0-a4c7-40cc17fac825-000000@eu-west-1.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ihchhvubuqgjsxyuhssfvqohv7z3u4hn; d=amazonses.com; t=1563265254; h=Message-ID:Date:Subject:From:To:MIME-Version:Content-Type:List-Unsubscribe:Feedback-ID; bh=SVNCrURAzLfzTvItmvisSNzZb5ggqDvLbVIV4+9Ul/c=; b=Izo51ltH+azGadH4EK8iLOkh6/4pZj+jQCHYJwC5MHO5550NmWjInVUhmQs6Jiql SqakXC+HMACul+pLHDjE7zFCuxOzU88tR+KmFwXvKRGgzujr/CaUsAAChB6xSX5053x G6SAev1rLBJOcYERNDbXWVwAErYGSMkFrPCATi8g= Message-ID: <0102016bf9dec372-65f7c9d9-fb16-4fb0-a4c7-40cc17fac825-000000@eu-west-1.amazonses.com> Date: Tue, 16 Jul 2019 08:20:54 +0000 Subject: Get Clicking! From: Snatcher Deals To: freebsd-arm@freebsd.org MIME-Version: 1.0 X-EmailOctopus-Version: 2 X-EmailOctopus-Started-Preparing-At: 2019-07-16T08:09:23+00:00 X-EmailOctopus-Ses-Configuration-Set-Name: emailoctopus-92ac08625b86fcb74e8dc6e633188d55 X-EmailOctopus-Sent-At: 2019-07-16T08:20:54+00:00 X-EmailOctopus-Parent-Type-Id: campaign X-EmailOctopus-Parent-Id: 0431030f-a7a0-11e9-9307-06b4694bee2a X-EmailOctopus-List-Id: f3068783-93ee-11e9-9307-06b4694bee2a X-EmailOctopus-List-Contact-Id: 66d6227d-9712-11e9-9307-06b4694bee2a X-SES-Outgoing: 2019.07.16-54.240.6.32 Feedback-ID: 1.eu-west-1.S9D/OG//uxqWxLXWwJC1jmPHR4F3B2r9y7EKQ4EbeeU=:AmazonSES X-Rspamd-Queue-Id: E4B427170F X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=amazonses.com header.s=ihchhvubuqgjsxyuhssfvqohv7z3u4hn header.b=Izo51ltH; spf=pass (mx1.freebsd.org: domain of 0102016bf9dec372-65f7c9d9-fb16-4fb0-a4c7-40cc17fac825-000000@eu-west-1.amazonses.com designates 54.240.6.32 as permitted sender) smtp.mailfrom=0102016bf9dec372-65f7c9d9-fb16-4fb0-a4c7-40cc17fac825-000000@eu-west-1.amazonses.com X-Spamd-Result: default: False [7.52 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:54.240.0.0/18]; ZERO_FONT(0.10)[1]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[amazonses.com:+]; MX_GOOD(-0.01)[cached: feedback-smtp.eu-west-1.amazonses.com]; SUBJECT_ENDS_EXCLAIM(0.00)[]; FORGED_SENDER(0.30)[mailer@snatcherdeals.co.za,0102016bf9dec372-65f7c9d9-fb16-4fb0-a4c7-40cc17fac825-000000@eu-west-1.amazonses.com]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+,1:+]; IP_SCORE(-0.56)[ipnet: 54.240.0.0/21(-1.40), asn: 16509(-1.34), country: US(-0.06)]; ASN(0.00)[asn:16509, ipnet:54.240.0.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[mailer@snatcherdeals.co.za,0102016bf9dec372-65f7c9d9-fb16-4fb0-a4c7-40cc17fac825-000000@eu-west-1.amazonses.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.08)[-0.081,0]; R_DKIM_ALLOW(-0.20)[amazonses.com:s=ihchhvubuqgjsxyuhssfvqohv7z3u4hn]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HTML_SHORT_LINK_IMG_1(2.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[snatcherdeals.co.za]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; R_SUSPICIOUS_IMAGES(3.48)[]; MANY_INVISIBLE_PARTS(1.00)[10]; NEURAL_SPAM_SHORT(0.81)[0.814,0]; NEURAL_SPAM_LONG(0.99)[0.986,0]; RCVD_IN_DNSWL_NONE(0.00)[32.6.240.54.list.dnswl.org : 127.0.15.0]; RCVD_TLS_ALL(0.00)[]; GREYLIST(0.00)[pass,body] X-Spam: Yes Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 08:34:42 -0000 Up to 80% Discount=C2=A0 Snatch Now!=20 Get Clicking! View this email in your browser [https://berrima.eomail1.com/web-version?lc=3D66d6227d-9712-11e9-9307-06b46= 94bee2a&p=3D0431030f-a7a0-11e9-9307-06b4694bee2a&pt=3Dcampaign&t=3D15632652= 54&s=3D40527870536ee70f804b90051e1398a16cd59d4ad5bbe6b57b11cf97855c1015] =09=09[Snatcher-Sign-1%20(002).jpg] [https://snatcher.co.za/collections/snatch-of-the-week] =09=09[PRODUCT%20BLUE%20(7).PNG] [https://snatcher.co.za/products/helmet-bluetooth-headset] =09=09[Product%20Blue.png] [https://snatcher.co.za/products/pane-dr] =09=09[Product%20Black.png] [https://snatcher.co.za/products/ombre-stainless-steel-water-bottle] =09=09[Product%20Black%20(1).png] [https://snatcher.co.za/products/baseboard-buddy-1] =09=09[Product%20Blue%20(1).png] [https://snatcher.co.za/products/berlinger-haus-6-piece-stainless-steel-kni= fe-set-purple-1] =09=09[PRODUCT%20BLACK%20(4).PNG] [https://snatcher.co.za/products/mini-book-lamp] =09=09[Product%20Black%20(2).png] [https://snatcher.co.za/products/berlinger-haus-28cm-marble-coating-cassero= le-with-lid-rose-gold-1] =09=09[Product%20Blue%20(3).png] [https://snatcher.co.za/products/hook-its-hanging-system] =09=09[Product%20Blue%20(4).png] [https://snatcher.co.za/products/berlinger-haus-8-piece-stainless-steel-kni= fe-set-turquoise-silver-1] =09=09[Product%20Black%20(3).png] [https://snatcher.co.za/products/led-number-clock] =09=09[Product%20Blue%20(2).png] [https://snatcher.co.za/products/cut-resistant-gloves] =09=09[Product%20Blue%20(5).png] [https://snatcher.co.za/products/180w-combo-bar-light] =09=09[Product%20Black%20(5).png] [https://snatcher.co.za/products/2-for-1-tip-toe-protector] =09=09[Product%20Black%20(6).png] [https://snatcher.co.za/products/berlinger-haus-47cm-marble-coating-grill-p= late-rose-gold-1] =09=09[Product%20Blue%20(8).png] [https://snatcher.co.za/products/32gb-otg-usb-flash-drive] =09=09 VIEW MORE DEALS! [https://snatcher.co.za/collections/best-selling-products] =09=09 Unsubscribe from this list [https://berrima.eomail1.com/unsubscribe?l=3Df3068783-93ee-11e9-9307-06b469= 4bee2a&lc=3D66d6227d-9712-11e9-9307-06b4694bee2a&p=3D0431030f-a7a0-11e9-930= 7-06b4694bee2a&pt=3Dcampaign&spa=3D1563264563&t=3D1563265254&s=3D65b8ac3dc6= e8aed447abbb001a7743136d3025145f0565c86644b8323488bc94] Email Powered By Snatcher [https://snatcher.co.za/]=20 [https://snatcher.co.za/] 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 From owner-freebsd-arm@freebsd.org Tue Jul 16 15:18:10 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 37FEAB2144 for ; Tue, 16 Jul 2019 15:18:10 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 98D0B89757 for ; Tue, 16 Jul 2019 15:18:09 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.4] (mail.kronometrix.com [79.134.105.181]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6GFI1el006871 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 16 Jul 2019 15:18:02 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host mail.kronometrix.com [79.134.105.181] claimed to be [192.168.1.4] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Tue, 16 Jul 2019 18:17:56 +0300 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> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: <7AB6AF4A-5476-4B70-B6A7-D6D5468B9ED4@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 98D0B89757 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [3.51 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.97)[0.972,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.88)[0.882,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.84)[0.839,0]; IP_SCORE(0.63)[ip: (0.57), ipnet: 95.85.0.0/18(1.56), asn: 14061(1.07), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 15:18:10 -0000 >=20 > 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? * official img release images, adding our own packages and = configurations and thats it * no building world, no kernel rebuilding=20 I probable need to build the driver somehow.=20 Thanks, Stefan= From owner-freebsd-arm@freebsd.org Tue Jul 16 18:17:17 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 51C08B6F68 for ; Tue, 16 Jul 2019 18:17:17 +0000 (UTC) (envelope-from sig6247@gmail.com) Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 536006DA89 for ; Tue, 16 Jul 2019 18:17:16 +0000 (UTC) (envelope-from sig6247@gmail.com) Received: by mail-oi1-x22a.google.com with SMTP id s184so16328006oie.9 for ; Tue, 16 Jul 2019 11:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tlJY7uHrfkPge/pch8MvgXYPaXQBHaCq2liAZmPe1N8=; b=gCoKtGR/AVdFE0lvWnkfTJcTTvQDueOfonRyAyvpZwjoLDYB7LR4VnNPrRZjES4xjI +4AwSdgbliISomY8jFNLRdNBO3Sce/yV4jMrAwTW2k0Yih7ZXCgRS1rjo9YyB1ui76GR VABWyLL8vPcbBj95lQYEjd53rSdIusGwgZyEIgLeU7bqYOKZyFBHIueIxF3KAZVw6fa+ 72wD8X1V4d1CvbLKUlKdyz9eY0coHvrWNkknY2XY4K2OhMpCe8LLmcw7KqkEBzNeVvWN y1mEPcHPV59e2jzKAjekRKh6/OdzshsC3J75yR20q8STJuxHutnlfzdyQYPCalw5MKUy vp8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tlJY7uHrfkPge/pch8MvgXYPaXQBHaCq2liAZmPe1N8=; b=Ihi3o10TAu5zq3eQk9pneZtKBbuxArMgBo5Fbjxx8p62W8aAhdISpYYbdA51JH5lwX 7Qs/GrH80lsejs6132XU1CN+tdc607z4AxSOtr5lZHQizbEMoiTv2ubujjs58GODTBLu HZtromDGOxLZLsHalmqcHCNBTQ3QRAFtrp7dTGYrU8318TRqmUcxecmHyjs+mKfgCC2g poea8VNxxFkq0cnAxSYXHYq5Qekv+RoNhFBkK0Sxhsx2+Aq72bCEBK23hBtymdKUtysP bAX1eInLQ+nSPhOujHXRT1lf7y4H8qHH6v018eacIT9We7nI0kGcDnaRYKGw79XB6S0/ Zr9Q== X-Gm-Message-State: APjAAAVXSlcuTfZTxZTLyq2Pzg4l7SWmQGbHDojAPqPZJOItJszqho5I Pknf4MnLgIkyiL/4tTcBgKbu9qtFb0vhq0m6yCwUmn/gBcM= X-Google-Smtp-Source: APXvYqym+n/bgfN6QLS+U5DJ6iWQL8SSPQ4lISjgjQz828+2W2N2/P2TM4SCwTc/KTRsPOWSFrEUTbbNg1T793yq9Ok= X-Received: by 2002:aca:b808:: with SMTP id i8mr16607468oif.160.1563301035325; Tue, 16 Jul 2019 11:17:15 -0700 (PDT) MIME-Version: 1.0 From: sig term Date: Tue, 16 Jul 2019 18:17:03 +0000 Message-ID: Subject: BeagleBone Black hangs after importing Linux 5.0 DTS To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 536006DA89 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=gCoKtGR/; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sig6247@gmail.com designates 2607:f8b0:4864:20::22a as permitted sender) smtp.mailfrom=sig6247@gmail.com X-Spamd-Result: default: False [-6.67 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.983,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[a.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.91)[ip: (-8.87), ipnet: 2607:f8b0::/32(-3.17), asn: 15169(-2.45), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.77)[-0.771,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 18:17:17 -0000 Hi, The previous commit r346087 can boot the board but r346092 just hangs after loading the kernel, any ideas? Loading kernel... /boot/kernel/kernel text=0x6c2720 data=0x834a0+0xb5420 syms=[0x4+0x86560+0x4+0xdaf54] Loading configured modules... Using DTB provided by EFI at 0x87f00000. Kernel entry at 0x95000180... Kernel args: (null) From owner-freebsd-arm@freebsd.org Tue Jul 16 18:35:36 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 8E253B7354 for ; Tue, 16 Jul 2019 18:35:36 +0000 (UTC) (envelope-from oskar.holmlund@yahoo.com) Received: from sonic304-22.consmr.mail.ir2.yahoo.com (sonic304-22.consmr.mail.ir2.yahoo.com [77.238.179.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E8AA6E44C for ; Tue, 16 Jul 2019 18:35:34 +0000 (UTC) (envelope-from oskar.holmlund@yahoo.com) X-YMail-OSG: ugGU1UUVM1mZuu6Kw13Ysk6eI5sWyoXQQY6tCFhVQJtLOjCOZ4j8Ll03WaFMn3k cACBuCrRJtHkg9TiN7PF6KJDmNpBUdNMB7Wbv4GzmXt8MGO6G8EuRFqLvPBCy__KCvrgVX9B4u93 oSMPkQ.6bJ0Ap0GW0ZJuPdaMyU17oE0LzwNp2xtVgBsd_rvQP0qJ68c3G9IBisyk4FFnkgyTlGeM msNxuUm5qH5NcqK_fzwi_6yIu9Dkc_esRWaV_yIfTxMhpbzmhKMIKZe2L4QlpuT9V8BXZw6YrVgK 3ozJEaR2JL0hmBxFDbaeES00KCjqdBYINxITx4LHps_CaJNnm9kCuAW.jK_lNc.GQT5lFI2O53tV nBqY2StuNjYHgpB4yxlNuif5yWkf2VKlNaZEWZ0U2r5c7Gl1r68pHUR8X4wEqMv_lnRD2Kjs4yVI x8_RjQCk02_C0MyXg0R6DZGpkgY4iWchs_bIqdaZTpkZ4s7bz2nQmHLQvArWrfHq8WyBRkiJ9qDX 2eW1kwxCawE0E5TJK_dj5STH1NabPtC_lhDmuhSbJbiFh_YCCnicKzuUP_GvPggCfsuWjZRkqdcc vaw.AAqqtFMx6u3NXDfnblY4LfC0b4nP2NrYA6g.Y.mHon4s10hmSjSaBnrrizFg7zAUZT_.fy.u Vvu5SU2ZUZv4rdHJ689VMD2GE96bLi7Vo3An4mHh7pGzxT42EW.TdpF2JFWDcsDUxjh9CK.gQbYK wkGmbKmcM5cBsBE42tCwpWsDu3rZdfTyG9ir5OE8bKN5GBUjRN62LaBWVK_7TCjmzPcuRd_ZqxrN DWUFqgf91RqBXcZ_R5srqAjrWpyv9bkjlZBp7jQWHo_FR7GIw96Cu6MsMSPGzf69kBoAQcxbgvi4 mQL29MVQgkSWI5UXHKx8G.ymnN50CKMQKPh_NXIDuqB.ge8t92QLUUQCTCnuxESqlzyOrkS8e20a RGhMMIWlEzbOlrkR2beUMZsyQxyNymPTnlnDliEuzUHuBZfh4lyOKmW_ZNbZYiKLDJB_lemsdlno fS3i6vZ5rTbjsOjWJE.hqmg_1ph9h0fZSC09KpJDDG44Qb8.JqDvvA0hkdLxFCAol0tLdyVuERGF nrhZQAepKrJxu8k735XgdfhyVFNsmWBnSH71il.36NWJLNh1HK0mi.AOfxhHSH7jGUbhl2hwH7xX 9RJuuLSkB103hzzNIDWG8Fp_GK_MJiGyvjGvKLyTp9r9JnCBtJAsdfzNNlLZLC9n3l6R3mUFQ Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ir2.yahoo.com with HTTP; Tue, 16 Jul 2019 18:35:27 +0000 Date: Tue, 16 Jul 2019 18:34:36 +0000 (UTC) From: Oskar Holmlund To: Ian Lepore , Mark Linimon Cc: freebsd-arm@freebsd.org Message-ID: <777187156.3093253.1563302076702@mail.yahoo.com> In-Reply-To: <20190716003350.GA19462@lonesome.com> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> <20190714174432.GC26897@lonesome.com> <20190716003350.GA19462@lonesome.com> Subject: Re: arm support documentation [was: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.13991 YMailNorrin Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0 X-Rspamd-Queue-Id: 8E8AA6E44C X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.56 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; RWL_MAILSPIKE_POSSIBLE(0.00)[147.179.238.77.rep.mailspike.net : 127.0.0.17]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.988,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.86)[0.860,0]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_IN_DNSWL_NONE(0.00)[147.179.238.77.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; IP_SCORE(1.75)[ip: (4.76), ipnet: 77.238.176.0/22(2.26), asn: 34010(1.79), country: GB(-0.08)]; NEURAL_SPAM_LONG(0.98)[0.978,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] 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 18:35:36 -0000 Den tisdag 16 juli 2019 02:34:02 CEST, Mark Linimon = skrev:=20 On Sun, Jul 14, 2019 at 05:44:32PM +0000, Mark Linimon wrote: > If enough people are interested, I can put together a page modeled on > this, and we can see where it goes from there. Turning the existing rpi table on the wiki on its side gives us the following prototype: =C2=A0 https://wiki.freebsd.org/MarkLinimon/WorkArea16 I'll add more information if people on this list a) think it's useful, b) will send me the data.=C2=A0 I am too overcommitted to gather it myself, but I can edit it. mcl _______________________________________________ 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" For the hobbyist user, your table is ok. The professional users (Build custom boards based around a SoC and custom F= reeBSD images based probably on stable) are interested in which SoC (bcm283= 7, AM335x, iMX6...), support for SPI (speed/mode), I2C, UART (Yes still usi= ng UARTS), GPIO, ADC, PWM, SD/emmc/flash/... USB, some are also intrested i= n LCD (16, 24bit, resolution), Touch interface. If drivers exists for the SoCs watchdog, RTC, DMA and so on. Of course its nice to have a fully functional eval card from the SoC vendor= for example=20 http://www.ti.com/tool/tmdsidk574 or http://www.ti.com/tool/tmdsevm572x at = the same time the Beagleboard X15 and Beaglebone AI is the same SoC family = and its cheaper and still do the job to provide initial development platfor= m before the custom boards are produced. And the professional users are still looking at the 32bit ARM due to $cost = and of course the 32bit is quite cooler than the 64 bit and can be cooled p= assive without fans when embedded. Other aspects are how long the SoC vendor "prommise" to produce their SoC f= amily. Of the RPi family the "most" interesting product are the compute module https://www.raspberrypi.org/products/compute-module-development-kit-2/ To get more manpower to the whole project i belive its cruciale to attract = the businesses to build solutions with the BSD code as the base of their pr= oducts. -- B=C3=A4sta H=C3=A4lsningar=20 Oskar Holmlund Tel 070-3220292 From owner-freebsd-arm@freebsd.org Wed Jul 17 03:49:42 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 0F901A26A2 for ; Wed, 17 Jul 2019 03:49:42 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 02B8C8B994; Wed, 17 Jul 2019 03:49:40 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id 9BAF21FCD4; Wed, 17 Jul 2019 03:49:39 +0000 (UTC) Date: Wed, 17 Jul 2019 03:49:38 +0000 From: Mark Linimon To: Oskar Holmlund Cc: Ian Lepore , freebsd-arm@freebsd.org Subject: Re: arm support documentation [was: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black] Message-ID: <20190717034937.GA1700@lonesome.com> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> <20190714174432.GC26897@lonesome.com> <20190716003350.GA19462@lonesome.com> <777187156.3093253.1563302076702@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <777187156.3093253.1563302076702@mail.yahoo.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: 02B8C8B994 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [0.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.25)[ip: (0.03), ipnet: 18.220.0.0/14(0.14), asn: 16509(-1.34), country: US(-0.06)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.05)[0.048,0]; NEURAL_SPAM_SHORT(0.45)[0.451,0]; NEURAL_HAM_LONG(-0.86)[-0.863,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[11.6.222.18.list.dnswl.org : 127.0.5.2]; MX_GOOD(-0.01)[cached: mail.soaustin.net]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.220.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 17 Jul 2019 03:49:42 -0000 On Tue, Jul 16, 2019 at 06:34:36PM +0000, Oskar Holmlund wrote: > The professional users (Build custom boards based around a SoC and > custom FreeBSD images based probably on stable) are interested in which > SoC (bcm2837, AM335x, iMX6...), support for SPI (speed/mode), I2C, > UART (Yes still using UARTS), GPIO, ADC, PWM, SD/emmc/flash/... USB, > some are also interested in LCD (16, 24bit, resolution), Touch interface. > If drivers exists for the SoCs watchdog, RTC, DMA and so on. This is far more work than I can take on at this time. IMHO a complete table of the form I'm working on is a predicate for something like that. And, complete documentation probably needs to be in a database rather than in a text-based table. mcl From owner-freebsd-arm@freebsd.org Wed Jul 17 08:15:15 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 67FC2A65AE for ; Wed, 17 Jul 2019 08:15:15 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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 A7C4C6D884; Wed, 17 Jul 2019 08:15:13 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Date: Wed, 17 Jul 2019 10:15:04 +0200 (CEST) From: Ronald Klop To: Mark Linimon Cc: Ian Lepore , freebsd-arm@freebsd.org Message-ID: <887395824.108.1563351304556@localhost> In-Reply-To: <20190716003350.GA19462@lonesome.com> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> <20190714174432.GC26897@lonesome.com> <20190716003350.GA19462@lonesome.com> Subject: Re: arm support documentation [was: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black] MIME-Version: 1.0 X-Mailer: Realworks (466.790.8a5e32f9f13) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: A7C4C6D884 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 194.109.157.24 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-1.15 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.950,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; NEURAL_HAM_LONG(-0.98)[-0.981,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[klop.ws]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.64)[0.644,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx2.greenhost.nl,mx1.greenhost.nl]; RCVD_IN_DNSWL_NONE(0.00)[24.157.109.194.list.dnswl.org : 127.0.15.0]; HAS_X_PRIO_THREE(0.00)[3]; IP_SCORE(-0.05)[ipnet: 194.109.0.0/16(-0.14), asn: 3265(-0.12), country: NL(0.01)]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 08:15:15 -0000 Van: Mark Linimon Datum: dinsdag, 16 juli 2019 02:33 Aan: Ian Lepore CC: freebsd-arm@freebsd.org Onderwerp: Re: arm support documentation [was: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black] > > On Sun, Jul 14, 2019 at 05:44:32PM +0000, Mark Linimon wrote: > > If enough people are interested, I can put together a page modeled on > > this, and we can see where it goes from there. > > Turning the existing rpi table on the wiki on its side gives us the > following prototype: > > https://wiki.freebsd.org/MarkLinimon/WorkArea16 > > I'll add more information if people on this list a) think it's useful, > b) will send me the data. I am too overcommitted to gather it myself, > but I can edit it. > > mcl My RPI3B+ runs 64 bits (aarch64). Or does the bits column mean something else? Doesn't the RPI4 have aarch64 chip also? Regards, Ronald. From owner-freebsd-arm@freebsd.org Wed Jul 17 09:27:29 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 83BE6A7B11 for ; Wed, 17 Jul 2019 09:27:29 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CECC87015C for ; Wed, 17 Jul 2019 09:27:23 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6H9RKir019238 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Jul 2019 09:27:21 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Wed, 17 Jul 2019 12:27:15 +0300 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> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: CECC87015C X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [4.36 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.98)[0.985,0]; URI_COUNT_ODD(1.00)[3]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[mail.kronometrix.org]; NEURAL_SPAM_LONG(0.99)[0.988,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.58)[0.576,0]; IP_SCORE(0.62)[ip: (0.55), ipnet: 95.85.0.0/18(1.52), asn: 14061(1.07), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 09:27:29 -0000 > The bottom line is that you need to rebuild the nxprtc driver with = this > patch applied: >=20 > = https://svnweb.freebsd.org/base/head/sys/dev/iicbus/nxprtc.c?r1=3D350016&r= 2=3D348184&view=3Dpatch = okay. Let me see if I can do this. Some questions: * can I build only the driver without rebuilding all kernel components ? * most likely I need the kernel source code, apply the patch for nxprtc = driver and build the driver * If I build the driver on a FreeBSD 12.0 development env can I take the = resulting driver and=20 copy it over to different vanilla FreeBSD 12.0 RELEASE installations ? Thanks, Stefan= From owner-freebsd-arm@freebsd.org Wed Jul 17 11:47:38 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 8F775AA564 for ; Wed, 17 Jul 2019 11:47:38 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 84EFB75881 for ; Wed, 17 Jul 2019 11:47:37 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Received: from webmail.gandi.net (webmail23.sd4.0x35.net [10.200.201.23]) (Authenticated sender: daniel.engberg@pyret.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPA id C74291C0003; Wed, 17 Jul 2019 11:47:29 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 17 Jul 2019 13:47:29 +0200 From: Daniel Engberg To: freebsd-arm@freebsd.org, sparvu@kronometrix.org Subject: Re: recreate FreeBSD 12 ARM image Message-ID: <4d0800d92bf7d7a698d25dd4b948ae6d@pyret.net> X-Sender: daniel.engberg.lists@pyret.net User-Agent: Roundcube Webmail/1.3.8 X-Rspamd-Queue-Id: 84EFB75881 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of daniel.engberg.lists@pyret.net designates 217.70.183.197 as permitted sender) smtp.mailfrom=daniel.engberg.lists@pyret.net X-Spamd-Result: default: False [-2.97 / 15.00]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.70.183.192/28]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[pyret.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[spool.mail.gandi.net,fb.mail.gandi.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.63)[-0.635,0]; NEURAL_HAM_MEDIUM(-0.99)[-0.988,0]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[197.183.70.217.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.94)[ip: (-2.60), ipnet: 217.70.176.0/20(-1.14), asn: 29169(-0.93), country: FR(-0.01)]; FROM_EQ_ENVFROM(0.00)[] 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, 17 Jul 2019 11:47:38 -0000 Hi Stefan, I've been looking at this myself a little bit unfortunately I haven't been able to find such solution yet but this might help you on the way. To build the image itself you can use FreeBSD's own infrastructure, I've written a very short tutorial on the Wiki about it which you can find here: https://wiki.freebsd.org/FreeBSD/arm/Build_image_using_release_building_infrastructure . In your case I think the "easiest" solution would be to patch the source tree in chroot and possibly disabling future checkouts later on. This is documented in the man page: https://www.freebsd.org/cgi/man.cgi?release(7) As far as packages goes it's a bit more tricky, I haven't found a good solution and easy for it yet but you might want to have a look at: firstboot_sentinel https://lists.freebsd.org/pipermail/freebsd-current/2013-October/045502.html https://www.freebsd.org/cgi/man.cgi?query=rc.conf firstboot-pkgs https://www.freshports.org/sysutils/firstboot-pkgs/ Best regards, Daniel From owner-freebsd-arm@freebsd.org Wed Jul 17 12:13:49 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 65CB5AB3E0 for ; Wed, 17 Jul 2019 12:13:49 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 535A776B0D for ; Wed, 17 Jul 2019 12:13:48 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6HCDjrB020865 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Jul 2019 12:13:45 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Wed, 17 Jul 2019 15:13:39 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 535A776B0D X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [4.77 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[15]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.99)[0.989,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_MEDIUM(0.99)[0.986,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.61)[ip: (0.54), ipnet: 95.85.0.0/18(1.49), asn: 14061(1.07), country: US(-0.05)]; NEURAL_SPAM_LONG(0.99)[0.991,0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 12:13:49 -0000 I have tried the following: * under FreeBSD 12 RELEASE (using default image) I tried to fetch from = svn.freebsd.org =20 the CURRENT source codem which should include the latest fix for nxprtc # uname -a FreeBSD k50dev 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC arm64 # svnlite checkout https://svn.freebsd.org/base/head /usr/src # cd /usr/src/sys/dev/iicbus # svnlite info nxprtc.c Path: nxprtc.c Name: nxprtc.c Working Copy Root Path: /usr/src URL: https://svn.freebsd.org/base/head/sys/dev/iicbus/nxprtc.c Relative URL: ^/head/sys/dev/iicbus/nxprtc.c Repository Root: https://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 350079 Node Kind: file Schedule: normal Last Changed Author: ian Last Changed Rev: 350016 Last Changed Date: 2019-07-15 21:47:40 +0000 (Mon, 15 Jul 2019) Text Last Updated: 2019-07-17 10:43:33 +0000 (Wed, 17 Jul 2019) Checksum: f724d6513c0ac5b29ebf8be65d717faa98aa52cb So this includes the latest and the greatest. I must rebuild the kernel = right, including all drivers and everything to get nxprtc compiled ? Is this right ? I cannot build only = a single driver or only iicbus ? Thanks, =20 Stefan Parvu sparvu@kronometrix.org > On 17 Jul 2019, at 12.27, Stefan Parvu wrote: >=20 >> The bottom line is that you need to rebuild the nxprtc driver with = this >> patch applied: >>=20 >> = https://svnweb.freebsd.org/base/head/sys/dev/iicbus/nxprtc.c?r1=3D350016&r= 2=3D348184&view=3Dpatch = >=20 >=20 > okay. Let me see if I can do this. Some questions: >=20 > * can I build only the driver without rebuilding all kernel components = ? >=20 > * most likely I need the kernel source code, apply the patch for = nxprtc driver and build the driver >=20 > * If I build the driver on a FreeBSD 12.0 development env can I take = the resulting driver and=20 > copy it over to different vanilla FreeBSD 12.0 RELEASE installations ? >=20 > Thanks, > Stefan > _______________________________________________ > 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" From owner-freebsd-arm@freebsd.org Wed Jul 17 13:02:46 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 81FC3AC530 for ; Wed, 17 Jul 2019 13:02:46 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 28B1980810 for ; Wed, 17 Jul 2019 13:02:45 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6HD2gGB021322 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Jul 2019 13:02:43 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: recreate FreeBSD 12 ARM image Date: Wed, 17 Jul 2019 16:02:37 +0300 References: <4d0800d92bf7d7a698d25dd4b948ae6d@pyret.net> To: freebsd-arm@freebsd.org In-Reply-To: <4d0800d92bf7d7a698d25dd4b948ae6d@pyret.net> Message-Id: <21ACF091-2543-480D-A098-FD83AC0D6087@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 28B1980810 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [2.58 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.97)[0.966,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.74)[0.743,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.08)[0.077,0]; IP_SCORE(0.60)[ip: (0.52), ipnet: 95.85.0.0/18(1.46), asn: 14061(1.07), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 13:02:46 -0000 thanks all for answers. I need to digest these to see what method can I = use to make these happen.=20 Somebody mentioned that would be possible to mount the original image = and add my packages=20 and configurations directly to the image. Is this possible ? Stefan Parvu sparvu@kronometrix.org > On 17 Jul 2019, at 14.47, Daniel Engberg = wrote: >=20 > Hi Stefan, >=20 > I've been looking at this myself a little bit unfortunately I haven't = been able to find such solution yet but this might help you on the way. >=20 > To build the image itself you can use FreeBSD's own infrastructure, = I've written a very short tutorial on the Wiki about it which you can = find here: = https://wiki.freebsd.org/FreeBSD/arm/Build_image_using_release_building_in= frastructure . >=20 > In your case I think the "easiest" solution would be to patch the = source tree in chroot and possibly disabling future checkouts later on. = This is documented in the man page: = https://www.freebsd.org/cgi/man.cgi?release(7) >=20 > As far as packages goes it's a bit more tricky, I haven't found a good = solution and easy for it yet but you might want to have a look at: >=20 > firstboot_sentinel > = https://lists.freebsd.org/pipermail/freebsd-current/2013-October/045502.ht= ml > https://www.freebsd.org/cgi/man.cgi?query=3Drc.conf >=20 > firstboot-pkgs > https://www.freshports.org/sysutils/firstboot-pkgs/ >=20 > Best regards, > Daniel From owner-freebsd-arm@freebsd.org Wed Jul 17 13:22:26 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 4F7F6ACAAD for ; Wed, 17 Jul 2019 13:22:26 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A67B1813B9 for ; Wed, 17 Jul 2019 13:22:25 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from pmather-dld-1.lib.vt.edu (pmather-dld-1.lib.vt.edu [128.173.51.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 629F2351; Wed, 17 Jul 2019 09:22:18 -0400 (EDT) Content-Type: text/plain; charset=us-ascii; delsp=yes; format=flowed Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 From: Paul Mather In-Reply-To: Date: Wed, 17 Jul 2019 09:22:18 -0400 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> To: Stefan Parvu X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: A67B1813B9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dmarc=fail reason="" header.from=vt.edu (policy=none) X-Spamd-Result: default: False [-2.81 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[vt.edu : No valid SPF, No valid DKIM,none]; NEURAL_HAM_MEDIUM(-0.92)[-0.920,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.66)[ip: (-1.67), ipnet: 128.173.0.0/16(-0.83), asn: 1312(-0.76), country: US(-0.05)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[chumby.dlib.vt.edu,gromit.dlib.vt.edu]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.72)[-0.716,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1312, ipnet:128.173.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 17 Jul 2019 13:22:26 -0000 On Jul 17, 2019, at 8:13 AM, Stefan Parvu wrote: > I have tried the following: > > * under FreeBSD 12 RELEASE (using default image) I tried to fetch from > svn.freebsd.org > the CURRENT source codem which should include the latest fix for nxprtc > > # uname -a > FreeBSD k50dev 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC arm64 > > # svnlite checkout https://svn.freebsd.org/base/head /usr/src > > # cd /usr/src/sys/dev/iicbus > # svnlite info nxprtc.c > Path: nxprtc.c > Name: nxprtc.c > Working Copy Root Path: /usr/src > URL: https://svn.freebsd.org/base/head/sys/dev/iicbus/nxprtc.c > Relative URL: ^/head/sys/dev/iicbus/nxprtc.c > Repository Root: https://svn.freebsd.org/base > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > Revision: 350079 > Node Kind: file > Schedule: normal > Last Changed Author: ian > Last Changed Rev: 350016 > Last Changed Date: 2019-07-15 21:47:40 +0000 (Mon, 15 Jul 2019) > Text Last Updated: 2019-07-17 10:43:33 +0000 (Wed, 17 Jul 2019) > Checksum: f724d6513c0ac5b29ebf8be65d717faa98aa52cb > > So this includes the latest and the greatest. I must rebuild the kernel > right, including all drivers and > everything to get nxprtc compiled ? Is this right ? I cannot build only a > single driver or only iicbus ? Note that if you rebuild the above source you will get FreeBSD-CURRENT, not FreeBSD 12.x-RELEASE, which, from earlier posts, is what you want to distribute. What I believe you need to do is to make a patch against the appropriate 12-RELEASE source of the nxprtc driver changes in CURRENT and then rebuild that to get your fixed version of the 12.x-RELEASE nxprtc driver. Cheers, Paul. > > Thanks, > > Stefan Parvu > sparvu@kronometrix.org > > > >> On 17 Jul 2019, at 12.27, Stefan Parvu wrote: >> >>> 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 >>> >> >> >> okay. Let me see if I can do this. Some questions: >> >> * can I build only the driver without rebuilding all kernel components ? >> >> * most likely I need the kernel source code, apply the patch for nxprtc >> driver and build the driver >> >> * If I build the driver on a FreeBSD 12.0 development env can I take the >> resulting driver and >> copy it over to different vanilla FreeBSD 12.0 RELEASE installations ? >> >> Thanks, >> Stefan >> _______________________________________________ >> 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" From owner-freebsd-arm@freebsd.org Wed Jul 17 13:58:45 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 3EE25AD5A5 for ; Wed, 17 Jul 2019 13:58:45 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A457082978 for ; Wed, 17 Jul 2019 13:58:44 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6HDwfTr021928 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 17 Jul 2019 13:58:42 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Message-Id: Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Wed, 17 Jul 2019 16:58:35 +0300 In-Reply-To: Cc: freebsd-arm@freebsd.org To: Paul Mather 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: A457082978 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [3.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_MEDIUM(0.94)[0.940,0]; NEURAL_SPAM_SHORT(0.63)[0.631,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.74)[0.735,0]; IP_SCORE(0.59)[ip: (0.51), ipnet: 95.85.0.0/18(1.43), asn: 14061(1.07), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 13:58:45 -0000 >=20 > Note that if you rebuild the above source you will get = FreeBSD-CURRENT, not FreeBSD 12.x-RELEASE, which, from earlier posts, is = what you want to distribute. >=20 > What I believe you need to do is to make a patch against the = appropriate 12-RELEASE source of the nxprtc driver changes in CURRENT = and then rebuild that to get your fixed version of the 12.x-RELEASE = nxprtc driver. Right. How on earth I would do that ? Any tips, advices very = appreciated. Stefan= From owner-freebsd-arm@freebsd.org Wed Jul 17 14:16:46 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 CE3A6ADAD2 for ; Wed, 17 Jul 2019 14:16:46 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (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 46AEF83588 for ; Wed, 17 Jul 2019 14:16:46 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563372999; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=eyNdVVN6GitKMqBjugK/ioEUhCeNOBherfuwGJBhx5xsq9jTpSCqipi5SJY9PO1ipEOqSQ0l81brG pnp0falYOurCRAAL9LevLgN2jRmPbksdtd0LCgwcENZZAcSsN/K3altspsbAOA0SQLKLxu1dqTZlCk +aGNFKvdWgbH5DHk5DaddUsHW/l1z616qeArRkRUA+SHZd8lYzH65+wo6jLCNuAVqZ8D5eUJEbQFzO QtXyaurepurbJTNgoyHy0xi8MKQFSgodidpYnmXTDRW798hNyGHFkfMKbCjNxYyxVPspS2G6YGT5vY H90kDgp8UHXTyCA1fxW0RSU5zEzNkJQ== 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:cc:to:from:subject:message-id:dkim-signature:from; bh=YFHFNBJj5gTDj3Sdg9WAgENWN3eCLnAjJyoeIjKp3EA=; b=iv1kM/Fqt7iwOwSbr8tJ9Fo6oaRPjVuOpep47dtUlTs8kEUs3nNDNZAYp/kxnl7u/dPuT/fgnAOa3 Je7ya0ocusAatVNHtHVjc6xtFidBkfmmr6d0c1Anhk14Yuu+NNWCI9CBQk8b0ZxPUJymnv43bOaJhe tvDKetea8ixduKLdCEdiPft9vzn/dkmBjUmUN35qVQHu6mBG/MCXxiIutYlfW00h2o2i+GI7BUgl3V 9wNR4/wXSOWXTERxSonvRFaOhk5Hsz6JL0ALIVgLKGWvhKjqqrXXKzCQFWlwwu4WK4LKr1UovX1VYF OS8WPcSh65ntSKxz6LHyldpwUnrVhSA== 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:cc:to:from:subject:message-id:from; bh=YFHFNBJj5gTDj3Sdg9WAgENWN3eCLnAjJyoeIjKp3EA=; b=YhqPaNQmswjFEInh6BbX2Wc4YOhOvGllqljHlY4e6UQK+FkmyK1qk4eGOT8oS6pDhKqaLu3+FPmyo qQ1ZbbsEfPiWwzj+oz+5GCBWkLNQ4fsb52UtVyovMllRCXgEeApnoShLnArFpvUGMo1/SS3+ouXreJ wsh7A/tcZ8NJrX0QwkMdK0qraX1el0kQAZov9ATnLf5iganUlli+YlbZ9g9cdEDJyccvrCG+yF5+2S 0RYWZSaKNoKLp2PuTklV4sUuGe6rka8VRrCO0lIUKhsMhpxP/5zFikjLhn0AG1DmvbQClKSAuds9X9 /pOmu9ZH8pEukZFXb06NKXKSvmE7/jQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: 7c14baa1-a89d-11e9-8490-9363c60c4e70 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 7c14baa1-a89d-11e9-8490-9363c60c4e70; Wed, 17 Jul 2019 14:16:37 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6HEGZib040515; Wed, 17 Jul 2019 08:16:35 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 From: Ian Lepore To: Stefan Parvu Cc: freebsd-arm@freebsd.org Date: Wed, 17 Jul 2019 08:16:35 -0600 In-Reply-To: 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@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: 46AEF83588 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.985,0]; ASN(0.00)[asn:16509, ipnet:54.148.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: Wed, 17 Jul 2019 14:16:46 -0000 On Wed, 2019-07-17 at 16:58 +0300, Stefan Parvu wrote: > > > > Note that if you rebuild the above source you will get FreeBSD- > > CURRENT, not FreeBSD 12.x-RELEASE, which, from earlier posts, is > > what you want to distribute. > > > > What I believe you need to do is to make a patch against the > > appropriate 12-RELEASE source of the nxprtc driver changes in > > CURRENT and then rebuild that to get your fixed version of the > > 12.x-RELEASE nxprtc driver. > > Right. How on earth I would do that ? Any tips, advices very > appreciated. > > You were close with your original steps. Wipe out that /usr/src you originally checked out, and instead do: svnlite checkout https://svnweb.freebsd.org/base/release/12.0.0/ /usr/src That will give you the same source code in /usr/src as the system itself was built from. Next, fetch that patch I mentioned: https://svnweb.freebsd.org/base/head/sys/dev/iicbus/nxprtc.c?r1=350016&r2=348184&view=patch and get it onto that system as a plain text file, then do: cd /usr/src patch 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 A9F3FAE2B1 for ; Wed, 17 Jul 2019 14:46:55 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AA0898468E for ; Wed, 17 Jul 2019 14:46:54 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6HEkqJv022510 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Jul 2019 14:46:52 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Wed, 17 Jul 2019 17:46:46 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> To: freebsd-arm@freebsd.org In-Reply-To: <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: AA0898468E X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [4.37 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.98)[0.985,0]; URI_COUNT_ODD(1.00)[11]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.98)[0.979,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.63)[0.633,0]; IP_SCORE(0.58)[ip: (0.50), ipnet: 95.85.0.0/18(1.40), asn: 14061(1.07), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 14:46:55 -0000 >=20 > svnlite checkout https://svnweb.freebsd.org/base/release/12.0.0/ = /usr/src # svnlite checkout https://svnweb.freebsd.org/base/release/12.0.0/ = /usr/src Redirecting to URL 'https://svnweb.freebsd.org/base/release/12.0.0': Redirecting to URL 'https://svnweb.freebsd.org/base/release/12.0.0': svn: E195019: Redirect cycle detected for URL = 'https://svnweb.freebsd.org/base/release/12.0.0=E2=80=99 This gives me errors. Something wrong am I doing ?=20 Stefan= From owner-freebsd-arm@freebsd.org Wed Jul 17 14:48:16 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 B9365AE325 for ; Wed, 17 Jul 2019 14:48:16 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 15F548475F for ; Wed, 17 Jul 2019 14:48:16 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-io1-xd34.google.com with SMTP id e20so15811955iob.9 for ; Wed, 17 Jul 2019 07:48:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/GpSV+d32sadTkUmTU/WQvP5bydSIqaOFWChAd/tfrI=; b=XgaldiG5ecckAmj7m7Ucna0HMc6+r0pkJjDppmH4x3wmtfiFcW8T066nG9KV7A8tJf FMo2l2JTg8EHSTJA8juIiulmIcXgXzNq0mnZnYkKum93robitlgQmPRbQKuFiNq29lLB ATmRovGN1TTpxfAj6vEamSLPjYFfdbFfDD4/4+2bB5VPRCZT5qxvXwSKCMRbhLEd/r75 N8I8ryaXxkCSI9Rutj8CcKVloyySmHt39AYZVjX+zfyhN/ybfWP0XPI2WVwRnmURGS8g hZMEMPKEyNOdBtKYUcJdiw+Afm7NKGLrY0Dq4SVF/gBviojhYXuupUS1sH+rTVpBj7PC X94g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/GpSV+d32sadTkUmTU/WQvP5bydSIqaOFWChAd/tfrI=; b=YmOrvWaFNebkX/39TiLkMwEB8R+JSg3hgUpRfLV8PudS6/SP7qYavRiZi3EZalt7Uk ul27bNHDY+02FexldVVg8rD9hRNxAz6Eqfc3nkF6pPr853w8+NM/gDbC+KM4PPSHkVA+ ULpG8aY8v1vU30hjERFQxO5emMDLZlFGv0Y7xTxeunPyj4cpSL+aqjY+goK96t0PThn+ 0Xaoc2eHCsg4gENOqOpbLeRE1FSYo2Pu49K/j9YEsuYzNyghO8ZDwNoXbjkprSe8Bn3W VaL990261NXs0uu80KRpSPyq/HNhUcVGfzeWeBsW+wy1Ql/6syi1VULUecTrZB2PXabG kRUQ== X-Gm-Message-State: APjAAAXD9QSxwYtW5trZbbaJzZe7/cOsdomeMACBZn0oyYsojAapwjJw LjXFYWU8gq45YW0mSDZI0X6ZMG1beBqLgB6QOtY= X-Google-Smtp-Source: APXvYqwV6RwNjYoflbUvK9Z1JagxeBNAsYXDJSB1WeYhQ+YZdObjtwaHAsBIiLcdjod/K4PhHn4vfgEpMLG0VFWZBuY= X-Received: by 2002:a05:6638:c8:: with SMTP id w8mr43566288jao.52.1563374895228; Wed, 17 Jul 2019 07:48:15 -0700 (PDT) MIME-Version: 1.0 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> In-Reply-To: From: Russell Haley Date: Wed, 17 Jul 2019 07:48:47 -0700 Message-ID: Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 To: Stefan Parvu Cc: freebsd-arm X-Rspamd-Queue-Id: 15F548475F X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=XgaldiG5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of russhaley@gmail.com designates 2607:f8b0:4864:20::d34 as permitted sender) smtp.mailfrom=russhaley@gmail.com X-Spamd-Result: default: False [-5.38 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[15]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.67)[-0.675,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.70)[ip: (-7.86), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.44), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 14:48:16 -0000 On Wed, Jul 17, 2019 at 7:47 AM Stefan Parvu wrote= : > > > > > svnlite checkout https://svnweb.freebsd.org/base/release/12.0.0/ < > https://svnweb.freebsd.org/base/release/12.0.0/> /usr/src > > > # svnlite checkout https://svnweb.freebsd.org/base/release/12.0.0/ > /usr/src > Redirecting to URL 'https://svnweb.freebsd.org/base/release/12.0.0': > Redirecting to URL 'https://svnweb.freebsd.org/base/release/12.0.0': > svn: E195019: Redirect cycle detected for URL ' > https://svnweb.freebsd.org/base/release/12.0.0=E2=80=99 > > This gives me errors. Something wrong am I doing ? > I just ran into that too. Use svn://svn.freebsd.org/base/release/12.0.0 > > Stefan > _______________________________________________ > 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" > From owner-freebsd-arm@freebsd.org Wed Jul 17 15:10:28 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 D23B3AEA83 for ; Wed, 17 Jul 2019 15:10:28 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (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 561078592A for ; Wed, 17 Jul 2019 15:10:28 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563376226; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=ZCnUgbub6F31xgZAp0yT//rCKE+ZtEwHS1XztmTl2me6AjZ660fMIEnDCXJN+eA633XKnb7uoyFrA HIQdg9S6yWrNrDpltIYB3wvVPlQE04ONIcxYhadUycEvYnJJLOHb7N5aKaPorVCwPMatQcxMDnnyun ohs92d9dfI/gjRAU1NrRdpOS+QgEhTop5y3IGp9tjUTnmc20Z6ElFjODwg2cCRLa9VjkrvswcITXYG g0+UIS/fS18hPOTX3nJdQb6F8j+ARy5SSbHfGBfggF9zjR19K4s5MOAg/4lRPJe7/ZVVUipcWXLoz2 5V8bXbNxvUDPHLScGn0kbWlwCBklnMA== 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:cc:to:from:subject:message-id:dkim-signature:from; bh=M6xj9YbxuoDwrPZxxJb1bSTnSwOJZlyIkYVilSx07dk=; b=uu0V08mYAQ50ljl3QmYmMNjU+fjiBBAnV22HfCklBVQUIzXN9AQXfD6zWnnF2MoXLf/dbIJIzTkih eyJ9qlMBUorBxKWYVa0IE9sTLggbQjeuU4wMhLp/s7erGWHpQuJ8ZNQL1/aZT2wXv/2wJ3BaCLJ0v+ 3pEciJ4+eWu+icnb/N/J1G4QFyyeQlQParMX9w9Tf+Rj8f/zwyHfCbIwuNNkdUFvlIw0nh0AQuXFhs YVh1Gr9RBhFR27cHAX2abAmbXUSsJ9wpGhIXFHJm1ceRCeg2IE16HAbt9OlXMoElK0PDWBgJnUsk0V IU6jox+SxA9JANJjc6Sb/h6qUf3ykFw== 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:cc:to:from:subject:message-id:from; bh=M6xj9YbxuoDwrPZxxJb1bSTnSwOJZlyIkYVilSx07dk=; b=MWKHRiTx43EfHtHFqkf3YNN1AiwUjkSFkolCPaFpLAjAQK+oPK/E5BUU3QybhoxAQTRsFK5nAWvK9 WmLMgNBOcDJ2ZoRjF0ifCqnwSxAmkwwCTCX893ypHI2uktpQuxO1sR5WhSea/MCOPWGjXFzV7Hfrbc JoJk695dBgQIf/4DMXxyOce3K+A6S8fn1xbXsNveb3e/1BYdZmLK3B4qkgZ+IwT39K2ZTB+ctINsZ0 qR7jraWvKlFeNw/GYMvE+vG+rflkwAb7oBp0wHVf+jLmbv+ln5yXmCeOGCtv2OovZFBJ5yDFMmi0k0 1jeCRdZT37Heg3JEtpFKZ+upowTE+fg== X-MHO-RoutePath: aGlwcGll X-MHO-User: 006720a4-a8a5-11e9-8490-9363c60c4e70 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 006720a4-a8a5-11e9-8490-9363c60c4e70; Wed, 17 Jul 2019 15:10:25 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6HFANRo040635; Wed, 17 Jul 2019 09:10:23 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <3bb4d5855cfb7392ebbdc9054fb0680130a52649.camel@freebsd.org> Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 From: Ian Lepore To: Russell Haley , Stefan Parvu Cc: freebsd-arm Date: Wed, 17 Jul 2019 09:10:23 -0600 In-Reply-To: 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 561078592A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; TAGGED_RCPT(0.00)[]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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, 17 Jul 2019 15:10:28 -0000 On Wed, 2019-07-17 at 07:48 -0700, Russell Haley wrote: > On Wed, Jul 17, 2019 at 7:47 AM Stefan Parvu > wrote: > > > > > > > > > svnlite checkout https://svnweb.freebsd.org/base/release/12.0.0/ > > > < > > > > https://svnweb.freebsd.org/base/release/12.0.0/>; /usr/src > > > > > > # svnlite checkout https://svnweb.freebsd.org/base/release/12.0.0/ > > /usr/src > > Redirecting to URL 'https://svnweb.freebsd.org/base/release/12.0.0' > > : > > Redirecting to URL 'https://svnweb.freebsd.org/base/release/12.0.0' > > : > > svn: E195019: Redirect cycle detected for URL ' > > https://svnweb.freebsd.org/base/release/12.0.0’ > > > > This gives me errors. Something wrong am I doing ? > > > > I just ran into that too. Use > svn://svn.freebsd.org/base/release/12.0.0 > Ooops, yeah, my bad, sorry about that. I was using svnweb to get the exact name of the branch, and just foolishly pasted the svnweb url instead of a proper svn checkout url. -- Ian From owner-freebsd-arm@freebsd.org Wed Jul 17 15:45:37 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 B3B0CAF67C for ; Wed, 17 Jul 2019 15:45:37 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E96098712F for ; Wed, 17 Jul 2019 15:45:36 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6HFjSSG023213 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Jul 2019 15:45:29 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Wed, 17 Jul 2019 18:45:23 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> To: freebsd-arm@freebsd.org In-Reply-To: <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: E96098712F X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [3.18 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.95)[0.946,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.70)[0.697,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.78)[0.776,0]; IP_SCORE(0.57)[ip: (0.49), ipnet: 95.85.0.0/18(1.37), asn: 14061(1.07), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 15:45:37 -0000 fixed the svn. thanks for tips. and applied the patched, make and make install worked fine: # patch < /home/krmx/nxprtc.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/dev/iicbus/nxprtc.c 2019/05/23 18:24:27 348184 |+++ sys/dev/iicbus/nxprtc.c 2019/07/15 21:47:40 350016 -------------------------- Patching file sys/dev/iicbus/nxprtc.c using Plan A... Hunk #1 succeeded at 33. Hunk #2 succeeded at 42. Hunk #3 succeeded at 243. Hunk #4 succeeded at 312. Hunk #5 succeeded at 478. Hunk #6 succeeded at 534. Hunk #7 succeeded at 805. done # cd /usr/src/sys/modules/i2c/nxprtc # make machine -> /usr/src/sys/arm64/include awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/clock_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m = -h awk -f /usr/src/sys/tools/makeobjops.awk = /usr/src/sys/dev/iicbus/iicbus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk = /usr/src/sys/dev/ofw/ofw_bus_if.m -h :> opt_platform.h cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE = -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include = -fno-common -fPIC -MD -MF.depend.nxprtc.o -MTnxprtc.o = -mgeneral-regs-only -ffixed-x18 -ffreestanding -fwrapv -fstack-protector = -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef = -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ = -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas = -Wno-error-tautological-compare -Wno-error-empty-body = -Wno-error-parentheses-equality -Wno-error-unused-function = -Wno-error-pointer-sign -Wno-error-shift-negative-value = -Wno-address-of-packed-member -std=3Diso9899:1999 -c = /usr/src/sys/dev/iicbus/nxprtc.c -o nxprtc.o ld -m aarch64elf -d -warn-common --build-id=3Dsha1 -r -d -o nxprtc.kld = nxprtc.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk nxprtc.kld export_syms | xargs = -J% objcopy % nxprtc.kld ld -m aarch64elf -Bshareable -znotext -d -warn-common --build-id=3Dsha1 = -o nxprtc.ko nxprtc.kld objcopy --strip-debug nxprtc.ko # make install install -T release -o root -g wheel -m 555 nxprtc.ko /boot/modules/ kldxref /boot/modules Bingo. Let me try now the new ko module file on another system. Will = report back the findings. thanks all for help. Stefan Parvu sparvu@kronometrix.org > On 17 Jul 2019, at 17.16, Ian Lepore wrote: >=20 > On Wed, 2019-07-17 at 16:58 +0300, Stefan Parvu wrote: >>>=20 >>> Note that if you rebuild the above source you will get FreeBSD- >>> CURRENT, not FreeBSD 12.x-RELEASE, which, from earlier posts, is >>> what you want to distribute. >>>=20 >>> What I believe you need to do is to make a patch against the >>> appropriate 12-RELEASE source of the nxprtc driver changes in >>> CURRENT and then rebuild that to get your fixed version of the >>> 12.x-RELEASE nxprtc driver. >>=20 >> Right. How on earth I would do that ? Any tips, advices very >> appreciated. >>=20 >>=20 >=20 > You were close with your original steps. Wipe out that /usr/src you > originally checked out, and instead do: >=20 > svnlite checkout https://svnweb.freebsd.org/base/release/12.0.0/ = /usr/src >=20 > That will give you the same source code in /usr/src as the system > itself was built from. Next, fetch that patch I mentioned: >=20 > = https://svnweb.freebsd.org/base/head/sys/dev/iicbus/nxprtc.c?r1=3D350016&r= 2=3D348184&view=3Dpatch = >=20 > and get it onto that system as a plain text file, then do: >=20 > cd /usr/src > patch =20 > Now the part I'm not so sure about... In an ideal world, you'd be = able > to "cd /usr/src/sys/modules/i2c/nxprtc; make install", and the updated > nxprtc.ko would get installed. You could then grab that module from > /boot/kernel/ add it to the set of extra stuff you install after > installing the 12.0 image. >=20 > People in the amd64 world claim that they build and install single > modules like that, so it may work. I've never done it. If it = doesn't, > what will work for sure is "cd /usr/src; make -j4 buildkernel && make > installkernel". >=20 > -- Ian From owner-freebsd-arm@freebsd.org Wed Jul 17 15:57:24 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 17673AFB6A for ; Wed, 17 Jul 2019 15:57:24 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (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 9C8C9878AB for ; Wed, 17 Jul 2019 15:57:23 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563379035; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=QoiR+pPNX5vicXdidWPqvd0QOeae8mpO6FbxDCWoGiPheVTxocEg5anv15AB8GRZ168h0hJOQZqLQ w8W2VMbzVgVsO/sVErkAzPhI3fE6ENl3MLjPm0snQB3jU2cEOrfvL1fttsYcPXSbYIOh55T9/8rQXQ SyPYUeZY8dR4FcQCApbX5Aq4++S4R/6JaEWLKi3a7oxB7hJfphLbaV+hlMWCUcTPizCoWprkq79npX NDU2jGXKfNKmmr8271eGf3pbeaED/udDLeCUSq0lV86vNbDftVhavHtMgGq+QRez9NlfekIzAbYPdO ffpV2maouS1M/kHQlSnIHF1l/WmWuvw== 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=yeYje/9svddJuHxrZqYE+Ibp9rDKUa+cpita1T27tn4=; b=Ig8yRLtzOIfFzOm57k/skASjv9xXpK+ElXuSLQDVZeHb/znts/Rb+YIRz0SM1twyHn0YPfO0a6ZVt Hhmams8wedhDYnc22+8XHTdQU1e0J68wbwcZmNZCTjwzey5rYAA7jMOOoWWoVAn1OstV2Xr3jDiz43 MYB4cYlZ2Gd7XqttaF+IaYLIM032mmmghVRmK92SSB94Wi2ODJ534eQ8kPULIGZ03egaQdfpiMvSXu BTLp/aJKqe8MRY1J5BKFDRypodFhMzNObVEzf89oROC5ssVK6TNrL4PEg3crQnI0wsPW+ewORW0mjm H2zD5SnmEyEV35Gd47De2PTdDO1QEDw== ARC-Authentication-Results: i=1; outbound3.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=yeYje/9svddJuHxrZqYE+Ibp9rDKUa+cpita1T27tn4=; b=tshN7TSWkuCRAj8TpnQ9fMMk7CKVWu6mT8MTceSg4KX2Vrowv59KQ9/Q47v3BbgvUBdlBDifYlRpN 1J6KK3e8bC27B7JmEeEgvUi1eEJHY1jvaUZedvsGwcZ9N4JwJVQ14tiaWyfU+3/OQXMgP+pGCFC701 2Aj/omQIqL1fxwUzY60o9ugrpoMOaZoGU7upP/pbFTUMnwkApUAw66Ucc6k2EFwX+0UI+xotweYCzF hsPt/jtDJeOePe9fdPMXGbZTK+zDKVKBn3qYqWuy6kMjFD6B38A4eQ6sGHCfrvcxLwug+tx28RbcX8 yMWVr2pzLywSd+NXvXBoXacaa2/11rQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: 8a8563d6-a8ab-11e9-9d30-d9f4e14f47a7 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 outbound3.ore.mailhop.org (Halon) with ESMTPSA id 8a8563d6-a8ab-11e9-9d30-d9f4e14f47a7; Wed, 17 Jul 2019 15:57:14 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6HFvCga040748; Wed, 17 Jul 2019 09:57:12 -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: Wed, 17 Jul 2019 09:57:12 -0600 In-Reply-To: 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.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: 9C8C9878AB 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)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.186.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: Wed, 17 Jul 2019 15:57:24 -0000 On Wed, 2019-07-17 at 18:45 +0300, Stefan Parvu wrote: > fixed the svn. thanks for tips. > > and applied the patched, make and make install worked fine: > > # patch < /home/krmx/nxprtc.patch > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > > --- sys/dev/iicbus/nxprtc.c 2019/05/23 18:24:27 348184 > > +++ sys/dev/iicbus/nxprtc.c 2019/07/15 21:47:40 350016 > > -------------------------- > Patching file sys/dev/iicbus/nxprtc.c using Plan A... > Hunk #1 succeeded at 33. > Hunk #2 succeeded at 42. > Hunk #3 succeeded at 243. > Hunk #4 succeeded at 312. > Hunk #5 succeeded at 478. > Hunk #6 succeeded at 534. > Hunk #7 succeeded at 805. > done > > # cd /usr/src/sys/modules/i2c/nxprtc > # make > machine -> /usr/src/sys/arm64/include > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/clock_if.m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/iicbus/iicbus_if.m -h > awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/ofw/ofw_bus_if.m -h > :> opt_platform.h > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fPIC -MD -MF.depend.nxprtc.o -MTnxprtc.o -mgeneral-regs-only -ffixed-x18 -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -std=iso9899:1999 -c /usr/src/sys/dev/iicbus/nxprtc.c -o nxprtc.o > ld -m aarch64elf -d -warn-common --build-id=sha1 -r -d -o nxprtc.kld nxprtc.o > :> export_syms > awk -f /usr/src/sys/conf/kmod_syms.awk nxprtc.kld export_syms | xargs -J% objcopy % nxprtc.kld > ld -m aarch64elf -Bshareable -znotext -d -warn-common --build-id=sha1 -o nxprtc.ko nxprtc.kld > objcopy --strip-debug nxprtc.ko > > # make install > install -T release -o root -g wheel -m 555 nxprtc.ko /boot/modules/ > kldxref /boot/modules > > > Bingo. Let me try now the new ko module file on another system. Will report back the findings. > thanks all for help. What worries me about that output is this line: > :> opt_platform.h that looks like it created a completely empty opt_platform.h, but that file must contain #define FDT 1 for the nxprtc module to build with fdt support. That's why I have been lifelong-skeptical about the whole concept of trying to build a single module separate from the kernel. Maybe it mostly works for amd64, but I've never thought it was a safe thing to do on arm systems. You might be able to work around it by hand-editing that file and then rebuilding the module. The file will be in /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/modules/i2c/nxprtc/opt_platform.h -- Ian From owner-freebsd-arm@freebsd.org Wed Jul 17 16:03:56 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 24374AFEDE for ; Wed, 17 Jul 2019 16:03:56 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A05518807F for ; Wed, 17 Jul 2019 16:03:55 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6HG3rwp023419 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Jul 2019 16:03:53 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Wed, 17 Jul 2019 19:03:47 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: A05518807F X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [3.31 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.96)[0.962,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.64)[0.641,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.95)[0.945,0]; IP_SCORE(0.57)[ip: (0.47), ipnet: 95.85.0.0/18(1.34), asn: 14061(1.07), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 17 Jul 2019 16:03:56 -0000 I copied the ko file under /boot/kernel . I just copied the nxprtc.ko = nothing else no linker.hints=20 But does not work. I cannot see the driver after reboot. I have of = course all things in config.txt. root@k1:/boot/kernel # kldstat=20 Id Refs Address Size Name 1 9 0xffff000000000000 13d1480 kernel 3 1 0xffff000001415000 40f10 nxprtc.ko 4 1 0xffff000053600000 41000 tmpfs.ko 5 1 0xffff000053641000 31000 mac_ntpd.ko root@k1:/boot/kernel #=20 root@k1:/boot/kernel # dmesg | grep nxp root@k1:/boot/kernel #=20 > That's why I have been lifelong-skeptical about the whole concept of > trying to build a single module separate from the kernel. Maybe it > mostly works for amd64, but I've never thought it was a safe thing to > do on arm systems. >=20 > You might be able to work around it by hand-editing that file and then > rebuilding the module. The file will be in >=20 > = /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/modules/i2c/nxprtc/opt_platform= .h okay. let me try that. Stefan= From owner-freebsd-arm@freebsd.org Wed Jul 17 16:13:34 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 98511B03AE for ; Wed, 17 Jul 2019 16:13:34 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E4E688840 for ; Wed, 17 Jul 2019 16:13:34 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-145-201.bb.dnainternet.fi [82.203.145.201]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6HGDVRF023538 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Jul 2019 16:13:32 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-145-201.bb.dnainternet.fi [82.203.145.201] claimed to be [192.168.1.164] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Wed, 17 Jul 2019 19:13:26 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 2E4E688840 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [3.34 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.992,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.65)[0.648,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.95)[0.951,0]; IP_SCORE(0.56)[ip: (0.46), ipnet: 95.85.0.0/18(1.31), asn: 14061(1.07), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 17 Jul 2019 16:13:34 -0000 >> = /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/modules/i2c/nxprtc/opt_platform= .h >=20 > okay. let me try that. yes. Ian, you are correct. After fixing opt_platform manually yep, I can = see the driver on the system. 10 x thanks. Let me try now the testing part. Stefan= From owner-freebsd-arm@freebsd.org Wed Jul 17 17:06:22 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 E5EB0B193C for ; Wed, 17 Jul 2019 17:06:22 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB9C18AE8A for ; Wed, 17 Jul 2019 17:06:21 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-io1-xd33.google.com with SMTP id s7so46806525iob.11 for ; Wed, 17 Jul 2019 10:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7OF0QAbcCAIu9lKz5QhSfI+shyO+GIwVHykcW9YOyDE=; b=pKxixubzs2J3MC+FlC0vUq3AxsenU+JvOURl1y9N/pU/SCVakkxcV4L68RRrYemKyH 0vRGogRCBuxBlBLg620TMbaRV9RadXucHPYrBfYATtxiWJTfKHzUcK8KOsshtLh/LBXd MdzzmRbWi0f3XGsU5nERTyPILSe4vyXkuutfdbw40eOr4odS+Vbb0EFcKk2SSDzvQHaa fw7jW45ZKPtVX+aguQe7uZQkwgS7xLG/gy0aDRqjDEVVtYHzBEqMZwTTdMamnRfR7zRA d7bZhUoeaPBpvHdIctix8+2EZTeiWj8dMOeq5FK6dozv9XW4T/7zNiEBCLEM+BGb0W0w AhHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7OF0QAbcCAIu9lKz5QhSfI+shyO+GIwVHykcW9YOyDE=; b=IDvgnC9w0daobBF0NL6J6S+iujGZ5aAnwGTbDoo26y3P4I/ZK27YD+o03uXXFTJo3s MsEyHJCKFFbNxOGYsX/ta6+MiYcPciycfD4nwCc+UdkK7srM6PmAnmBkuk2pHj+NJzgC wjH1IBFIXa4um5Yp5I6hQYYqt8OHHHpqw8tYA9+nl2SB+FFtvrJxmYGCIDc8TvmrpsCP tt+0pC+N0tf+IFq+s8oREnm7P1B5pKjSbmXFryZqSoRcLfX2Al7KtRrPNmIHVi3s+q0u ha+fIMDkbekQBmnRyjiL59rPFojTAFN2vZiQx9Kz/hEHR4TrF4UiP5d001WFHhKZ54HW VTLg== X-Gm-Message-State: APjAAAV0aEVUcpqzNrHUtjJ9H//6+g/jo7Iiv3KGBAuhNDO9IU/GoBJ/ L0Z0pgyQ7uZX82oiHSr2N5Erb67SBGskeIJR9so= X-Google-Smtp-Source: APXvYqzKP/AeRAtETJ88K9thkrI5IddUeKjcg7WlYkKiAMRnKsFJUVvRjO9LOKv5NpRU4cTmP137djswLOEX3uB/XiU= X-Received: by 2002:a02:a07:: with SMTP id 7mr43333551jaw.65.1563383180577; Wed, 17 Jul 2019 10:06:20 -0700 (PDT) MIME-Version: 1.0 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> In-Reply-To: <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> From: Russell Haley Date: Wed, 17 Jul 2019 10:06:09 -0700 Message-ID: Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 To: Stefan Parvu Cc: freebsd-arm X-Rspamd-Queue-Id: CB9C18AE8A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pKxixubz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of russhaley@gmail.com designates 2607:f8b0:4864:20::d33 as permitted sender) smtp.mailfrom=russhaley@gmail.com X-Spamd-Result: default: False [-6.63 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.82)[-0.821,0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.80)[ip: (-8.37), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.44), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 17:06:23 -0000 So out of curiosity I wanted to see if this process can be achieved on an amd64 platform. Memdisk can be used to open a release image and that can then be mounted. I then downloaded the source code and ran buildkernel. I performed these steps in TrueOS running under virtualbox: #may not have been necessary... added geom_md_load="YES" to loader.conf mkdir ~/freebsd mkdir ~/freebsd/src mkdir ~/freebsd/imgs mkdir ~/freebsd/obj mkdir ~/mount svn checkout svn://svn.freebsd.org/base/release/12.0.0 ~/freebsd/src #downloaded release image... #extract xz -d ~/freebsd/imgs/FreeBSD-12.0-RELEASE-arm-armv7-RPI2.img.xz #create a mem disk mdconfig -f ~/freebsd/imgs/FreeBSD-12.0-RELEASE-arm-armv7-RPI2.img.xz -u md0 #mount sudo mount /dev/md0s2a ~/mount #shows all kernel modules ls ~/mount/boot/kernel #build steps below setenv MAKEOBJDIRPREFIX ~/freebsd/obj cd ~/freebsd/src make -j4 buildkernel TARGET=arm TARGET_ARCH=armv6 KERNCONF=GENERIC --------------------------------- I then fished into the output dir and was able to `sudo cp` a random kernel module into my mounted img file. This will save you from having to run all this stuff on a PI and it means you (likely) don't need to "shrink" your image back down because it never expanded to fit a partition. My mounted img directory is only 1.3 GB. You could unmount and xz the file back up. Again, if you want to cross build your custom software, you could ask on this list how to re-use the arm compiler used in the buildkernel step. Good Luck, Russ On Wed, Jul 17, 2019 at 9:13 AM Stefan Parvu wrote: > >> > /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/modules/i2c/nxprtc/opt_platform.h > > > > okay. let me try that. > > yes. Ian, you are correct. After fixing opt_platform manually yep, I can > see the driver > on the system. 10 x thanks. Let me try now the testing part. > > Stefan > _______________________________________________ > 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" > From owner-freebsd-arm@freebsd.org Wed Jul 17 17:22:23 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 4F126B1D8C for ; Wed, 17 Jul 2019 17:22:23 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 78C6A8B7AB for ; Wed, 17 Jul 2019 17:22:22 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-io1-xd36.google.com with SMTP id g20so46954606ioc.12 for ; Wed, 17 Jul 2019 10:22:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ew70TE3x3U9b3wDHBVdMAo/rRVQzvYt15x02h0HveUw=; b=qvsQtBZ4Dybtboyrd5lZJvdEHh26N1QhXGNaBN/D2mOZN+KlAuQem3f/OUs/WeiVca W1pdr1V1TRhQ8/qi9v0falt1jvze/25In47RaU/RTA2B4ZMIc0KvJqBzeo2oZwZx5Yvj jwq+ptdHhcsuB91rp1YFWsMh6O6TaUZ3PpcrCNwuI+cd8+pDMyIyZ8TQdWPPDFpnxREx Hbl32SSUtwZwprHiYX46Ky4yKh/NLisxyjthzSQSbHUfKAmu1/2eyHx+8oNYvxGQbFx9 Xmg3fO5NCRwB1tNMQfBUKN1thHVMXolqJESWdotHb0XGGK8dYvRtatyVP7qBGfocSrxZ yATw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ew70TE3x3U9b3wDHBVdMAo/rRVQzvYt15x02h0HveUw=; b=dxCjwsd4mYcWh2SxQuPf2GSxwVa1ULw2CDgSj5Pug3HoZ1Ynpgsni6WJy8IowJaBIZ 2Xxyd0zh1NXz9Mg0e/Ax5rhTG/erCj5g9Vx2U2rwkpJ53hvSAvbs6iVjPzIOg1z7802P 01w7myX7a+rSKi6P1P4Jb1SGqVnoZbjU0H3j25OH08fHxy8KTpaNHQSEYTR989oHhj5y gJI9NVvF4sf0zdYCyHC/dcV/vqMMGEwh6qvuAZCEiU3t/xLl0h1LZWER8fEDGiN4QpRz iwYTyx8NELIHp2R/c0JjZ1Dm6QWQFowVPrfZ43meyuKb0QttcZRPWUHXq7xs2g0/FzGL V7bg== X-Gm-Message-State: APjAAAUdMMCMps8N4me6Z417R2/0xcBqqVJWrS23iqJEb0r3kj71upQY 7F9vCD0bGCnJBAskhf/ndgonWgsQDNNVfchfVekRYg8xFII= X-Google-Smtp-Source: APXvYqzzMBWl6fPwU4JmVKPLfxIeCxJEZ3aCaUGfMAbGK/Ggou7Vkf6ginKWKY8DNmU5Rpk8KTlikOkd3Sp364UX2wk= X-Received: by 2002:a5d:9e48:: with SMTP id i8mr36679287ioi.51.1563384141934; Wed, 17 Jul 2019 10:22:21 -0700 (PDT) MIME-Version: 1.0 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> In-Reply-To: From: Russell Haley Date: Wed, 17 Jul 2019 10:22:10 -0700 Message-ID: Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 To: Stefan Parvu Cc: freebsd-arm X-Rspamd-Queue-Id: 78C6A8B7AB X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=qvsQtBZ4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of russhaley@gmail.com designates 2607:f8b0:4864:20::d36 as permitted sender) smtp.mailfrom=russhaley@gmail.com X-Spamd-Result: default: False [-6.83 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.83)[-0.830,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[6.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.99)[ip: (-9.31), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.44), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 17:22:23 -0000 On Wed, Jul 17, 2019 at 10:06 AM Russell Haley wrote: > So out of curiosity I wanted to see if this process can be achieved on an > amd64 platform. Memdisk can be used to open a release image and that can > then be mounted. I then downloaded the source code and ran buildkernel. I > performed these steps in TrueOS running under virtualbox: > > #may not have been necessary... > added geom_md_load="YES" to loader.conf > > mkdir ~/freebsd > mkdir ~/freebsd/src > mkdir ~/freebsd/imgs > mkdir ~/freebsd/obj > mkdir ~/mount > > svn checkout svn://svn.freebsd.org/base/release/12.0.0 ~/freebsd/src > > #downloaded release image... > > #extract > xz -d ~/freebsd/imgs/FreeBSD-12.0-RELEASE-arm-armv7-RPI2.img.xz > > #create a mem disk > mdconfig -f ~/freebsd/imgs/FreeBSD-12.0-RELEASE-arm-armv7-RPI2.img.xz -u > md0 > Sorry, typo. Point mdconfig at the extracted img file: mdconfig -f ~/freebsd/imgs/FreeBSD-12.0-RELEASE-arm-armv7-RPI2.img -u md0 > #mount > sudo mount /dev/md0s2a ~/mount > > #shows all kernel modules > ls ~/mount/boot/kernel > > #build steps below > setenv MAKEOBJDIRPREFIX ~/freebsd/obj > > cd ~/freebsd/src > > make -j4 buildkernel TARGET=arm TARGET_ARCH=armv6 KERNCONF=GENERIC > --------------------------------- > I then fished into the output dir and was able to `sudo cp` a random > kernel module into my mounted img file. > > This will save you from having to run all this stuff on a PI and it means > you (likely) don't need to "shrink" your image back down because it never > expanded to fit a partition. My mounted img directory is only 1.3 GB. You > could unmount and xz the file back up. > > Again, if you want to cross build your custom software, you could ask on > this list how to re-use the arm compiler used in the buildkernel step. > > Good Luck, > Russ > > On Wed, Jul 17, 2019 at 9:13 AM Stefan Parvu > wrote: > >> >> >> /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/modules/i2c/nxprtc/opt_platform.h >> > >> > okay. let me try that. >> >> yes. Ian, you are correct. After fixing opt_platform manually yep, I can >> see the driver >> on the system. 10 x thanks. Let me try now the testing part. >> >> Stefan >> _______________________________________________ >> 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" >> > From owner-freebsd-arm@freebsd.org Wed Jul 17 19:49:52 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 521C1B48FD for ; Wed, 17 Jul 2019 19:49:52 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B7AE91A5A for ; Wed, 17 Jul 2019 19:49:51 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-io1-xd42.google.com with SMTP id s7so47598321iob.11 for ; Wed, 17 Jul 2019 12:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Wwm2VGEK/aWum6ti5W8zKptqeMPZAKWu1hsR6BJobaQ=; b=KdQUUXKYRYoY7zNgDx1ix+lmjdyBvL/SxagVCRDMqfAkbAUnEr9tybl11FaLWlLPDA MVIYgT6yv1V/mJTuOdIPqiMKgcLZ33060IdMmQdEpazG2NJ8cTpuVJEBs+rt9AE0Gczw oc3JuffIF7a89HtwLh7MFlauNXXdtx6Jq5AuoOrXSVPDbs9C0zCZuuQGWN9YBZ1O5JXd LbUk5hN3pgH8LHs8ZL6pFO6uH4pMZK/8Wi92LKDhFqeDLaZsLqQBUvluzXRWJ2uUSfDV +sbnDCaWl+5cvyZ868Aza5tGUcwyJeL2+ZqrmHAgi6ylAeGEqP9D4r0rnEsMUNsYf31i /1rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Wwm2VGEK/aWum6ti5W8zKptqeMPZAKWu1hsR6BJobaQ=; b=tnM4glD18pKVZaMXGUQ8Vq+mrVceeZ5BX7P/7TmfLKdy2yBdB3/drByu2LI6FHMlqD RLPXvXgFJrNQaHkOBXTqtmn0rN+dp1zoTxpdfufvfB96fJ2fzOPoBKpeoNtPbkT4zdcs W1kAapWU5bUWGh9v4WslD+HpvR6UQG3vs5CmzlabPNYFETe8iysU6jNb1MeJyBNpKbdC XVS3SNzu9ZtmFC0NukZz/ApZ/+upq6DWQGk5GNiWw+I21yu/VU2IXvEsHKe2GlUlp2Re BnL2ovF11m2+ZxEPKHtK5CaFzZHzmKRSDWd9WJo4cl/vpGs41vE0Z2xTFoBmmZYKyRef JEag== X-Gm-Message-State: APjAAAUMB2gRt8+j8Ly6eqJ1YLz0hzPWKTA6OIhn3UA/+uuPqojqZOwO Gru5MO6cyeL5QUCIurH3E2/SKfnc6nOUsxOfgTE= X-Google-Smtp-Source: APXvYqzoWbBz5tFY4bxZHpxdEj+NYJi6+IpwvrwdRvBKH9W5Sde39j20l3IrHfgLxBhj55xK3Wn/NNQJUUrUgfB3gao= X-Received: by 2002:a02:9f07:: with SMTP id z7mr43470095jal.29.1563392990998; Wed, 17 Jul 2019 12:49:50 -0700 (PDT) MIME-Version: 1.0 References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> <900bc3467c7e28f58e8e6cf17e881bdefcb3b751.camel@freebsd.org> <20190714174432.GC26897@lonesome.com> <20190716003350.GA19462@lonesome.com> <777187156.3093253.1563302076702@mail.yahoo.com> <20190717034937.GA1700@lonesome.com> In-Reply-To: <20190717034937.GA1700@lonesome.com> From: Russell Haley Date: Wed, 17 Jul 2019 12:49:39 -0700 Message-ID: Subject: Re: arm support documentation [was: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black] To: Mark Linimon Cc: Oskar Holmlund , freebsd-arm X-Rspamd-Queue-Id: 9B7AE91A5A X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=KdQUUXKY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of russhaley@gmail.com designates 2607:f8b0:4864:20::d42 as permitted sender) smtp.mailfrom=russhaley@gmail.com X-Spamd-Result: default: False [-4.71 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.93)[-0.934,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.77)[ip: (1.82), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.44), country: US(-0.05)]; FREEMAIL_CC(0.00)[yahoo.com]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 19:49:52 -0000 On Tue, Jul 16, 2019 at 8:49 PM Mark Linimon wrote: > On Tue, Jul 16, 2019 at 06:34:36PM +0000, Oskar Holmlund wrote: > > The professional users (Build custom boards based around a SoC and > > custom FreeBSD images based probably on stable) are interested in which > > SoC (bcm2837, AM335x, iMX6...), support for SPI (speed/mode), I2C, > > UART (Yes still using UARTS), GPIO, ADC, PWM, SD/emmc/flash/... USB, > > some are also interested in LCD (16, 24bit, resolution), Touch interface. > > If drivers exists for the SoCs watchdog, RTC, DMA and so on. > > This is far more work than I can take on at this time. > > IMHO a complete table of the form I'm working on is a predicate for > something like that. And, complete documentation probably needs to be > in a database rather than in a text-based table. > Might this be a worthy cause for the FreeBSD foundation to pick up? I could see a number of advantages to a proper database driven page that lists full support information. It may also spur people or companies to invest a little time in driver support if there was a clear picture of what is involved in supporting a platform. It also seems to me that keeping an Arm driver support list up to date would require a regular investment. If there was a resource (person/persons) assigned to the task it would simply be a matter of contacting the resource when support changes. Just a thought, Russ > > mcl > _______________________________________________ > 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" > From owner-freebsd-arm@freebsd.org Wed Jul 17 21:42:52 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 AB410B61C4 for ; Wed, 17 Jul 2019 21:42:52 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B2A19518D for ; Wed, 17 Jul 2019 21:42:51 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6HLgmch027485 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Jul 2019 21:42:49 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Thu, 18 Jul 2019 00:42:43 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> Message-Id: <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 0B2A19518D X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [2.89 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.55)[0.546,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_MEDIUM(0.99)[0.991,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.55)[ip: (0.45), ipnet: 95.85.0.0/18(1.29), asn: 14061(1.08), country: US(-0.05)]; NEURAL_SPAM_LONG(0.61)[0.606,0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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, 17 Jul 2019 21:42:52 -0000 nxprtc driver results 1. Default test - passed=20 Description: I can see the driver, NTP runs ok, after reboot system is = ok and I can see activity from RTC via sysctl=20 I can see sometimes from dmesg the following: local_intc0: Spurious interrupt detected local_intc0: Spurious interrupt detected local_intc0: Spurious interrupt detected local_intc0: Spurious interrupt detected 2. System power off 2hrs - failed=20 Description: I set correctly the time on the system, NTP was running and = I have shutdown the system. After two hours I powered back the system but I see the RTC battery = failed.=20 mbox0: mbox response error bcm2835_cpufreq0: can't get clock rate (id=3D8) bcm2835_cpufreq0: ARM 600MHz, Core 250MHz, SDRAM -999MHz, Turbo OFF nxprtc0: WARNING: RTC battery failed; time is invalid nxprtc0: registered as a time-of-day clock, resolution 0.015625s Release APs...done I have changed now Varta 3V CR1220 to Energizer CR1220. Lets see.=20 From owner-freebsd-arm@freebsd.org Wed Jul 17 21:55:05 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 275CFB637C for ; Wed, 17 Jul 2019 21:55:05 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1.eu.mailhop.org (outbound1.eu.mailhop.org [52.28.251.132]) (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 9A46F95578 for ; Wed, 17 Jul 2019 21:55:04 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563400495; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=ANKL7rCriquDAg3gUiKqDj5H00NZCkQNzCHeVOwReL3Tk6HxiWBIOj8EZ9nAmTvpOydbCLOb+IOmj aio1ImOi4+zYCh6BAMU22AsJUY5fbuYS2uVrC28nmtVbbxxF8sJkzA7MdlUu+fg9t1hCE/V/L0nkHE 99EMeIXRuI5ua+hNzgE1GbNZLKui4hNGsAouaSGWJak0STolST/Y5IS5CVAjX8JSl8JBGYaY7iCDJy meHXwWYsOaXOdoSWsHRRFjJn2Z1Yt+aB+74mbDYOFWrYprYKPQCyg+2LKUeGxN/PClIdCp9vJ4XSC7 PBIsg6JzVqvIqgPzs9eSUjKlG4nRd6w== 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=txbEJVvwc6bV07MfS5aqeibk719lTJxc4caiFdLy4NI=; b=uXvHAxdm10kc8EY75N9s4JiJOdbqo9Jt6NdFa3OKN+YDeipC0YJwsq1YXIe/hP809GZUwzB0dwdgN LClaIuvzq2IL1v9UhAqgXTfBKgSPAxjvn0ZAs05m6drH77Hj669OvFRw3vvts5knrVH6eSoJ+zHx/w 1JtUAmJtdJWuGnhTRi1vrpbavkOdxzgZhyGHeBSDj2j++RJQ+Cv7/J1UUatECid0ha+OkG4oTG0Nn4 p8gnCIOc1rUzv/W3XNufVTtqfm8g7HR8JKL309xXeWuJbop8A+6gtRtd19FqYD22JJ73iU6N/qxLnG xGx+PwBraAVgSjYf/qdrode4h4juP4w== ARC-Authentication-Results: i=1; outbound3.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=txbEJVvwc6bV07MfS5aqeibk719lTJxc4caiFdLy4NI=; b=eIVMpie3mjwebSCEy/QPtfKp2k29Jikfk3BuJiLS57hnbKWX+pBwMJyTo1gS0u1Y5gSYINKNJZ4u4 fv8WvoenCMeqVzfDNvbBslFG9daUhtswL6pt6LgRT9HA69OfbGtbROgWnY64O8Qc6C6FRosgPELkEn 2fxOceydS9Uwdth3ypkKoXZDnE/YLNv1fMQPF+fr5hSPeUwAzOlMu9txvozGupV9gsW6Z0DYwixNeg 3dinlK+k1cWkQjfxjFHkbIAfUOYplt/B0r+U0NcItNf0VMvwK/InhImOFx38iYoMfpxTrvmkf3Yez4 NY8EYxOVATlB3rvW7K3X5WFGtgBRvpA== X-MHO-RoutePath: aGlwcGll X-MHO-User: 81016307-a8dd-11e9-852e-270a483ae530 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 outbound3.eu.mailhop.org (Halon) with ESMTPSA id 81016307-a8dd-11e9-852e-270a483ae530; Wed, 17 Jul 2019 21:54:53 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6HLspK8041789; Wed, 17 Jul 2019 15:54:51 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <4707336cb7d4cdd8dbd2070a9e799f12bff59fcc.camel@freebsd.org> Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 From: Ian Lepore To: Stefan Parvu , freebsd-arm@freebsd.org Date: Wed, 17 Jul 2019 15:54:51 -0600 In-Reply-To: <91E26684-07A0-4F03-92BC-8D49359B1358@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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@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: 9A46F95578 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)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.991,0]; ASN(0.00)[asn:16509, ipnet:52.28.0.0/16, 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: Wed, 17 Jul 2019 21:55:05 -0000 On Thu, 2019-07-18 at 00:42 +0300, Stefan Parvu wrote: > nxprtc driver results > > 1. Default test - passed > Description: I can see the driver, NTP runs ok, after reboot system > is ok and I can see activity from RTC via sysctl > I can see sometimes from dmesg the following: > > local_intc0: Spurious interrupt detected > local_intc0: Spurious interrupt detected > local_intc0: Spurious interrupt detected > local_intc0: Spurious interrupt detected > > > 2. System power off 2hrs - failed > Description: I set correctly the time on the system, NTP was running > and I have shutdown the system. > After two hours I powered back the system but I see the RTC battery > failed. > > mbox0: mbox response error > bcm2835_cpufreq0: can't get clock rate (id=8) > bcm2835_cpufreq0: ARM 600MHz, Core 250MHz, SDRAM -999MHz, Turbo OFF > nxprtc0: WARNING: RTC battery failed; time is invalid > nxprtc0: registered as a time-of-day clock, resolution 0.015625s > Release APs...done > > > I have changed now Varta 3V CR1220 to Energizer CR1220. Lets see. > > The spurious interrupt problems are fixed with this patch (it isn't really a problem, the patch just disables the messages): https://svnweb.freebsd.org/base/head/sys/arm/broadcom/bcm2835/bcm2835_intr.c?r1=332262&r2=346489&view=patch But this driver is built into the kernel, not a module, so you'll have to replace the whole kernel from 12-RELEASE with the one you build yourself. My RasClock battery had gone dead too. It was no more than 2 years old at the most, but the rasclock was running on battery all that time (until it died), because I almost never power on the rpi boards. I think the rasclock may use more battery power than some other rtc boards because the chip it uses is more accurate than most. Part of how it does that is to use a temperature-compensated oscillator, but that means it uses extra power to measure the temperature. -- Ian From owner-freebsd-arm@freebsd.org Wed Jul 17 21:59:43 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 165A6B650A for ; Wed, 17 Jul 2019 21:59:43 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 54D8495720 for ; Wed, 17 Jul 2019 21:59:42 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6HLxd3Z027690 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Jul 2019 21:59:40 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Thu, 18 Jul 2019 00:59:34 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> Message-Id: <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 54D8495720 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [2.12 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.96)[0.955,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.47)[0.471,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_HAM_SHORT(-0.04)[-0.041,0]; IP_SCORE(0.55)[ip: (0.44), ipnet: 95.85.0.0/18(1.26), asn: 14061(1.08), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 21:59:43 -0000 Energizer, Varta CR1220 all failed ?=20 With Energizer CR1220: I have stopped the system for 8-10minutes. After = that I have=20 seen the date/time is ok, NTP up and running but on system logs: $ dmesg | grep nxp nxprtc0: at addr 0xa2 on iicbus0 nxprtc0: WARNING: RTC battery failed; time is invalid nxprtc0: registered as a time-of-day clock, resolution 0.015625s nxprtc0: RTC clock not running Stefan Parvu sparvu@kronometrix.org > On 18 Jul 2019, at 0.42, Stefan Parvu wrote: >=20 > nxprtc driver results >=20 > 1. Default test - passed=20 > Description: I can see the driver, NTP runs ok, after reboot system is = ok and I can see activity from RTC via sysctl=20 > I can see sometimes from dmesg the following: >=20 > local_intc0: Spurious interrupt detected > local_intc0: Spurious interrupt detected > local_intc0: Spurious interrupt detected > local_intc0: Spurious interrupt detected >=20 >=20 > 2. System power off 2hrs - failed=20 > Description: I set correctly the time on the system, NTP was running = and I have shutdown the system. > After two hours I powered back the system but I see the RTC battery = failed.=20 >=20 > mbox0: mbox response error > bcm2835_cpufreq0: can't get clock rate (id=3D8) > bcm2835_cpufreq0: ARM 600MHz, Core 250MHz, SDRAM -999MHz, Turbo OFF > nxprtc0: WARNING: RTC battery failed; time is invalid > nxprtc0: registered as a time-of-day clock, resolution 0.015625s > Release APs...done >=20 >=20 > I have changed now Varta 3V CR1220 to Energizer CR1220. Lets see.=20 >=20 >=20 >=20 >=20 >=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" From owner-freebsd-arm@freebsd.org Wed Jul 17 22:02:49 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 BA3CAB689F for ; Wed, 17 Jul 2019 22:02:49 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F06595B28 for ; Wed, 17 Jul 2019 22:02:48 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6HM2kxJ027740 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Jul 2019 22:02:47 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Thu, 18 Jul 2019 01:02:41 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <4707336cb7d4cdd8dbd2070a9e799f12bff59fcc.camel@freebsd.org> To: freebsd-arm@freebsd.org In-Reply-To: <4707336cb7d4cdd8dbd2070a9e799f12bff59fcc.camel@freebsd.org> Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 0F06595B28 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [3.93 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.98)[0.982,0]; URI_COUNT_ODD(1.00)[3]; RCPT_COUNT_ONE(0.00)[1]; HAS_XAW(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.96)[0.961,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.26)[0.259,0]; IP_SCORE(0.54)[ip: (0.43), ipnet: 95.85.0.0/18(1.24), asn: 14061(1.08), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 17 Jul 2019 22:02:49 -0000 >=20 > The spurious interrupt problems are fixed with this patch (it isn't > really a problem, the patch just disables the messages): > = https://svnweb.freebsd.org/base/head/sys/arm/broadcom/bcm2835/bcm2835_intr= .c?r1=3D332262&r2=3D346489&view=3Dpatch = Thanks. I can live with these.=20 > My RasClock battery had gone dead too. It was no more than 2 years = old > at the most, but the rasclock was running on battery all that time > (until it died), because I almost never power on the rpi boards. I > think the rasclock may use more battery power than some other rtc > boards because the chip it uses is more accurate than most. Part of > how it does that is to use a temperature-compensated oscillator, but > that means it uses extra power to measure the temperature. Right. Now it makes sense. I was wondering is this chip using more = battery than others ? Looks like. And maybe my batteries I bought might not have = been very good. I need to test other models.=20 Thanks a lot for help. Stefan= From owner-freebsd-arm@freebsd.org Thu Jul 18 00:59:29 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 E7651B9736 for ; Thu, 18 Jul 2019 00:59:29 +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 51ADF6C37C for ; Thu, 18 Jul 2019 00:59:29 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563411561; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=EiLpq8gQE23xwWQEGXgrTictB0zVONZLjs8WsGCUQAiq1eGWIuSvmB2sqghTUMdnKfPOChSFIXUaw mxop2ihTk4XNU2mKLLkb8p9JF6jUjqT3bU9z0hdtiELZWOrhSmWQKwNrmfj18JLW5xDCeza4yM7B7d 4Z2KPfA7ckQA0OZ1sCvyoXooMICu3cATLF5q75Crru6K6t3sb8pGwrDLrnmwvBwJuIF3TKS3l9KdY6 +nf1m1uxwYqxFB7z/Fye7eOegqxtDfyhCL06LVIgjnyYyyBX8raXWVd6oLc9QGOr0u+ks+8X76hMi6 I4OI/vF/BKYbYQHW0xZ3FATRFsE8lVA== 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=2yMJRm/Bum1MexjsM3q9GGQslSkwlkVTaIbXnUCfYcI=; b=GnD+f3t8zoFyAZjmh5iBBXyzKf3nawQY0a+aWwVSEcv9pR9gLAjuMS0zazgaCT5iO4Frmz5HzRF16 c9zrm/oCnVaZxy8VbAqwNFdAgpC1dVyrXF5E6jZ8OoH4qDwrZvmp1xchPOe/wOeraLJSU7G5QiSGxX /4UzfWl7BdD1SExDNltU8I8GIAPsJXkWAAaLzduqiGNix43VtiZb60FMXgwS75m8QAqUvhqsj186de 7LEcKSJv1EGuUgZSgrjsXEccXL4pvMZy1/JTqV1EcDPKY4HCsHr0ORYZud+BwxutdPzFCTwzTbmxWZ v3wMdI6SjZxxoBKfiuP5E/0GErc2Mmg== 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=2yMJRm/Bum1MexjsM3q9GGQslSkwlkVTaIbXnUCfYcI=; b=Dc2V70eiBHsss+gNtKmoO3qxbArd7sQ6k+sPDBpOAbM6TBOnv5sv20XD3/mnbF12F2FGVxW1y1MQa JbhZJp11vth4i8N6LOPtqOZ2NW3BDfhZw11zpIIwAaBvhQVeWu0QShgcBO7+RBbq/XmMYKOYR2dAoI uyy0j0FuaLQ3W+f6qNVXvHzO9/2C0axQmNIFUDgFOqCPIuI3l7NlYfEbX8ifrL+c+pDVCAL1o5D6uI XWdXfOS1kY8+z24T1vjdBXdmeipHnFL6sBjDAeGaVI/YeHqlQY/iIl2Yb80VYxk8jrkkEv4H8FqASC Z5vzswkYVgG3KRYfjBWzwRpnKFiZ0Wg== X-MHO-RoutePath: aGlwcGll X-MHO-User: 44cf6407-a8f7-11e9-9a90-0794651146a4 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 44cf6407-a8f7-11e9-9a90-0794651146a4; Thu, 18 Jul 2019 00:59:19 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6I0xHn0042305; Wed, 17 Jul 2019 18:59:17 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 From: Ian Lepore To: Stefan Parvu , freebsd-arm@freebsd.org Date: Wed, 17 Jul 2019 18:59:17 -0600 In-Reply-To: <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@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: 51ADF6C37C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,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: Thu, 18 Jul 2019 00:59:30 -0000 On Thu, 2019-07-18 at 00:59 +0300, Stefan Parvu wrote: > $ dmesg | grep nxp > nxprtc0: at addr 0xa2 on iicbus0 > nxprtc0: WARNING: RTC battery failed; time is invalid > nxprtc0: registered as a time-of-day clock, resolution 0.015625s > nxprtc0: RTC clock not running > > Stefan Parvu > sparvu@kronometrix.org Why does it claim to have found a PCF2129 when the rpi i2c overlay only has an entry for 2127? The driver will believe whatever is in the dts compatible string, it has no way to ask the chip at runtime what model it is. -- Ian From owner-freebsd-arm@freebsd.org Thu Jul 18 01:53:08 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 198F5BB212 for ; Thu, 18 Jul 2019 01:53:08 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 65A486E178 for ; Thu, 18 Jul 2019 01:53:07 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6I1r4L2030258 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jul 2019 01:53:05 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Thu, 18 Jul 2019 04:52:59 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> To: freebsd-arm@freebsd.org In-Reply-To: <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> Message-Id: <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 65A486E178 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [4.64 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.98)[0.981,0]; URI_COUNT_ODD(1.00)[3]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.96)[0.958,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.98)[0.980,0]; IP_SCORE(0.53)[ip: (0.42), ipnet: 95.85.0.0/18(1.22), asn: 14061(1.08), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 18 Jul 2019 01:53:08 -0000 >=20 > Why does it claim to have found a PCF2129 when the rpi i2c overlay = only > has an entry for 2127? The driver will believe whatever is in the dts > compatible string, it has no way to ask the chip at runtime what model > it is. If I understood right, Im using an updated version of the i2c-rtc.dtbo, = which does include things for 2129. I think. Take a look: https://github.com/raspberrypi/firmware/issues/1190 = =20 So Im using the latest dtbo file which might know the 2129.=20 Stefan= From owner-freebsd-arm@freebsd.org Thu Jul 18 03:48:47 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 1DFA6BD459 for ; Thu, 18 Jul 2019 03:48:47 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 94857713A7 for ; Thu, 18 Jul 2019 03:48:46 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x6I3mcuW001995 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 17 Jul 2019 20:48:39 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x6I3mc66001994; Wed, 17 Jul 2019 20:48:38 -0700 (PDT) (envelope-from fbsd) Date: Wed, 17 Jul 2019 20:48:38 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Lethargic rpi3, but seemingly still running Message-ID: <20190718034838.GA1921@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 94857713A7 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.75 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.93)[0.935,0]; IP_SCORE(0.09)[ip: (0.37), ipnet: 50.1.16.0/20(0.19), asn: 7065(-0.04), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.74)[0.735,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: www.zefox.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.09)[0.093,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[] 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: Thu, 18 Jul 2019 03:48:47 -0000 I'm playing with an RPI3 running -current at r349989 and trying to build a port (firefox) with the ports tree at (....long delay to svnlite info command.....) 506825 using portmaster under the portmaster-devel script. The system is still running and mostly idle, as reported by top: last pid: 8739; load averages: 0.00, 0.02, 0.00 up 1+12:03:29 20:29:20 36 processes: 1 running, 35 sleeping CPU: 0.0% user, 0.0% nice, 0.1% system, 0.1% interrupt, 99.8% idle Mem: 22M Active, 720M Inact, 2324K Laundry, 137M Wired, 57M Buf, 27M Free Swap: 6349M Total, 23M Used, 6326M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAN 8374 root 1 26 0 27M 9160K biord 1 1:21 0.00% bsdtar 8739 root 1 21 0 21M 8108K sbwait 3 0:00 0.00% sshd 21314 bob 1 20 0 14M 1120K CPU2 2 3:44 0.20% top 21512 bob 1 21 0 13M 1108K ttyin 1 0:00 0.00% tcsh 970 root 1 20 0 16M 848K select 0 0:09 0.02% sendma 957 root 1 21 0 20M 688K select 0 0:05 0.00% sshd 38012 root 1 52 0 15M 656K wait 2 0:58 0.00% bash 973 smmsp 1 20 0 16M 548K pause 3 0:00 0.00% sendma 2036 bob 1 20 0 22M 544K select 1 0:22 0.02% sshd 977 root 1 20 0 12M 412K nanslp 0 0:03 0.00% cron 21511 bob 1 20 0 22M 408K select 0 0:00 0.00% sshd 826 root 1 20 0 11M 404K select 3 0:03 0.00% syslog 2001 bob 1 20 0 22M 244K select 1 0:04 0.00% sshd 2007 root 1 20 0 14M 140K pause 2 0:00 0.00% csh Every once in a while bsdtar will use a fraction of a percent of cpu, but that seems to be all that's happening. The timestamp updates every other second, typing echoes as expected but something like pwd takes twenty seconds to answer. The controlling terminal for portmaster-devel has been sitting at => SHA256 Checksum OK for rust/2019-05-23/cargo-0.36.0-aarch64-unknown-freebsd.tar.gz. for about two hours. There are sporadic reports of swap_pager: indefinite wait buffer: bufobj: 0, blkno: 516, size: 4096 on the console, but they're sparse. At least according to top there's no significant swap usage. This behavior isn't entirely new, but this is the first time it's been bad enough to seem worth reporting. The filesystem is 74% full, so it's not out of storage: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ufs/rootfs 116766684 78989800 28435552 74% / devfs 1 1 0 100% /dev /dev/msdosfs/MSDOSBOOT 51096 13552 37544 27% /boot/msdos Meanwhile an RPI2 running 11.3-BETA1 #0 r348441 is happily grinding away on the same problem with ports at 506786. It answered svnlite info /usr/ports in less than a second. Thanks for reading, and any thoughts. bob prohaska From owner-freebsd-arm@freebsd.org Thu Jul 18 06:29:54 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 1AA88BFAB6 for ; Thu, 18 Jul 2019 06:29:54 +0000 (UTC) (envelope-from crowston@protonmail.com) Received: from mail2.protonmail.ch (mail2.protonmail.ch [185.70.40.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.protonmail.ch", Issuer "SwissSign Server Silver CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9ABE74F24 for ; Thu, 18 Jul 2019 06:29:52 +0000 (UTC) (envelope-from crowston@protonmail.com) Date: Thu, 18 Jul 2019 06:29:37 +0000 To: bob prohaska , freebsd-arm@freebsd.org From: Robert Crowston Reply-To: Robert Crowston Subject: Re: Lethargic rpi3, but seemingly still running Message-ID: In-Reply-To: <20190718034838.GA1921@www.zefox.net> References: <20190718034838.GA1921@www.zefox.net> Feedback-ID: 2OVbcR1yHYpdkD8cgQllkFwcuMVZg_LiVMMPvptooFDfHD_03MuQO4ZaF626jWHZYFEhNR2cmIbZ53j4QGWMBQ==:Ext:ProtonMail MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Rspamd-Queue-Id: C9ABE74F24 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.65 / 15.00]; HAS_REPLYTO(0.00)[crowston@protonmail.com]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; FREEMAIL_FROM(0.00)[protonmail.com]; URI_COUNT_ODD(1.00)[1]; DKIM_TRACE(0.00)[protonmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[mailsec.protonmail.ch,mail.protonmail.ch]; MIME_BASE64_TEXT(0.10)[]; NEURAL_HAM_SHORT(-0.93)[-0.930,0]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; ASN(0.00)[asn:19905, ipnet:185.70.40.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[22.40.70.185.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=default]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_PHPMAILER_SIG(0.00)[]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-3.71)[ip: (-9.69), ipnet: 185.70.40.0/24(-4.90), asn: 19905(-3.91), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 18 Jul 2019 06:29:54 -0000 SWYgeW91IGNvbXBpbGVkIC1DVVJSRU5UIHdpdGggdGhlIGRlZmF1bHQgb3B0aW9ucyBpdCB3aWxs IGhhdmUgYSBidW5jaCBvZiBkZWJ1ZyBlbmFibGVkIGluY2x1ZGluZyB3aXRuZXNzLiBBcmUgeW91 IHNwZW5kaW5nIGEgbG9uZyB0aW1lIGluIHN5c2NhbGxzPwoKT24gVGh1LCBKdWwgMTgsIDIwMTkg YXQgMDQ6NDgsIGJvYiBwcm9oYXNrYSA8ZmJzZEB3d3cuemVmb3gubmV0PiB3cm90ZToKCj4gSSdt IHBsYXlpbmcgd2l0aCBhbiBSUEkzIHJ1bm5pbmcgLWN1cnJlbnQgYXQgcjM0OTk4OSBhbmQgdHJ5 aW5nIHRvIGJ1aWxkCj4gYSBwb3J0IChmaXJlZm94KSB3aXRoIHRoZSBwb3J0cyB0cmVlIGF0ICgu Li4ubG9uZyBkZWxheSB0byBzdm5saXRlIGluZm8KPiBjb21tYW5kLi4uLi4pIDUwNjgyNSB1c2lu ZyBwb3J0bWFzdGVyIHVuZGVyIHRoZSBwb3J0bWFzdGVyLWRldmVsIHNjcmlwdC4KPgo+IFRoZSBz eXN0ZW0gaXMgc3RpbGwgcnVubmluZyBhbmQgbW9zdGx5IGlkbGUsIGFzIHJlcG9ydGVkIGJ5IHRv cDoKPgo+IGxhc3QgcGlkOiA4NzM5OyBsb2FkIGF2ZXJhZ2VzOiAwLjAwLCAwLjAyLCAwLjAwIHVw IDErMTI6MDM6MjkgMjA6Mjk6MjAKPiAzNiBwcm9jZXNzZXM6IDEgcnVubmluZywgMzUgc2xlZXBp bmcKPiBDUFU6IDAuMCUgdXNlciwgMC4wJSBuaWNlLCAwLjElIHN5c3RlbSwgMC4xJSBpbnRlcnJ1 cHQsIDk5LjglIGlkbGUKPiBNZW06IDIyTSBBY3RpdmUsIDcyME0gSW5hY3QsIDIzMjRLIExhdW5k cnksIDEzN00gV2lyZWQsIDU3TSBCdWYsIDI3TSBGcmVlCj4gU3dhcDogNjM0OU0gVG90YWwsIDIz TSBVc2VkLCA2MzI2TSBGcmVlCj4KPiBQSUQgVVNFUk5BTUUgVEhSIFBSSSBOSUNFIFNJWkUgUkVT IFNUQVRFIEMgVElNRSBXQ1BVIENPTU1BTgo+IDgzNzQgcm9vdCAxIDI2IDAgMjdNIDkxNjBLIGJp b3JkIDEgMToyMSAwLjAwJSBic2R0YXIKPiA4NzM5IHJvb3QgMSAyMSAwIDIxTSA4MTA4SyBzYndh aXQgMyAwOjAwIDAuMDAlIHNzaGQKPiAyMTMxNCBib2IgMSAyMCAwIDE0TSAxMTIwSyBDUFUyIDIg Mzo0NCAwLjIwJSB0b3AKPiAyMTUxMiBib2IgMSAyMSAwIDEzTSAxMTA4SyB0dHlpbiAxIDA6MDAg MC4wMCUgdGNzaAo+IDk3MCByb290IDEgMjAgMCAxNk0gODQ4SyBzZWxlY3QgMCAwOjA5IDAuMDIl IHNlbmRtYQo+IDk1NyByb290IDEgMjEgMCAyME0gNjg4SyBzZWxlY3QgMCAwOjA1IDAuMDAlIHNz aGQKPiAzODAxMiByb290IDEgNTIgMCAxNU0gNjU2SyB3YWl0IDIgMDo1OCAwLjAwJSBiYXNoCj4g OTczIHNtbXNwIDEgMjAgMCAxNk0gNTQ4SyBwYXVzZSAzIDA6MDAgMC4wMCUgc2VuZG1hCj4gMjAz NiBib2IgMSAyMCAwIDIyTSA1NDRLIHNlbGVjdCAxIDA6MjIgMC4wMiUgc3NoZAo+IDk3NyByb290 IDEgMjAgMCAxMk0gNDEySyBuYW5zbHAgMCAwOjAzIDAuMDAlIGNyb24KPiAyMTUxMSBib2IgMSAy MCAwIDIyTSA0MDhLIHNlbGVjdCAwIDA6MDAgMC4wMCUgc3NoZAo+IDgyNiByb290IDEgMjAgMCAx MU0gNDA0SyBzZWxlY3QgMyAwOjAzIDAuMDAlIHN5c2xvZwo+IDIwMDEgYm9iIDEgMjAgMCAyMk0g MjQ0SyBzZWxlY3QgMSAwOjA0IDAuMDAlIHNzaGQKPiAyMDA3IHJvb3QgMSAyMCAwIDE0TSAxNDBL IHBhdXNlIDIgMDowMCAwLjAwJSBjc2gKPgo+IEV2ZXJ5IG9uY2UgaW4gYSB3aGlsZSBic2R0YXIg d2lsbCB1c2UgYSBmcmFjdGlvbiBvZiBhIHBlcmNlbnQgb2YgY3B1LCBidXQKPiB0aGF0IHNlZW1z IHRvIGJlIGFsbCB0aGF0J3MgaGFwcGVuaW5nLiBUaGUgdGltZXN0YW1wIHVwZGF0ZXMgZXZlcnkg b3RoZXIKPiBzZWNvbmQsIHR5cGluZyBlY2hvZXMgYXMgZXhwZWN0ZWQgYnV0IHNvbWV0aGluZyBs aWtlIHB3ZCB0YWtlcyB0d2VudHkKPiBzZWNvbmRzIHRvIGFuc3dlci4gVGhlIGNvbnRyb2xsaW5n IHRlcm1pbmFsIGZvciBwb3J0bWFzdGVyLWRldmVsIGhhcyBiZWVuCj4gc2l0dGluZyBhdAo+Cj4g PT4gU0hBMjU2IENoZWNrc3VtIE9LIGZvciBydXN0LzIwMTktMDUtMjMvY2FyZ28tMC4zNi4wLWFh cmNoNjQtdW5rbm93bi1mcmVlYnNkLnRhci5nei4KPiBmb3IgYWJvdXQgdHdvIGhvdXJzLgo+Cj4g VGhlcmUgYXJlIHNwb3JhZGljIHJlcG9ydHMgb2YKPiBzd2FwX3BhZ2VyOiBpbmRlZmluaXRlIHdh aXQgYnVmZmVyOiBidWZvYmo6IDAsIGJsa25vOiA1MTYsIHNpemU6IDQwOTYKPiBvbiB0aGUgY29u c29sZSwgYnV0IHRoZXkncmUgc3BhcnNlLiBBdCBsZWFzdCBhY2NvcmRpbmcgdG8gdG9wIHRoZXJl J3MKPiBubyBzaWduaWZpY2FudCBzd2FwIHVzYWdlLgo+Cj4gVGhpcyBiZWhhdmlvciBpc24ndCBl bnRpcmVseSBuZXcsIGJ1dCB0aGlzIGlzIHRoZSBmaXJzdCB0aW1lIGl0J3MgYmVlbgo+IGJhZCBl bm91Z2ggdG8gc2VlbSB3b3J0aCByZXBvcnRpbmcuIFRoZSBmaWxlc3lzdGVtIGlzIDc0JSBmdWxs LCBzbyBpdCdzCj4gbm90IG91dCBvZiBzdG9yYWdlOgo+IEZpbGVzeXN0ZW0gMUstYmxvY2tzIFVz ZWQgQXZhaWwgQ2FwYWNpdHkgTW91bnRlZCBvbgo+IC9kZXYvdWZzL3Jvb3RmcyAxMTY3NjY2ODQg Nzg5ODk4MDAgMjg0MzU1NTIgNzQlIC8KPiBkZXZmcyAxIDEgMCAxMDAlIC9kZXYKPiAvZGV2L21z ZG9zZnMvTVNET1NCT09UIDUxMDk2IDEzNTUyIDM3NTQ0IDI3JSAvYm9vdC9tc2Rvcwo+Cj4gTWVh bndoaWxlIGFuIFJQSTIgcnVubmluZyAxMS4zLUJFVEExICMwIHIzNDg0NDEgaXMgaGFwcGlseSBn cmluZGluZyBhd2F5Cj4gb24gdGhlIHNhbWUgcHJvYmxlbSB3aXRoIHBvcnRzIGF0IDUwNjc4Ni4g SXQgYW5zd2VyZWQgc3ZubGl0ZSBpbmZvIC91c3IvcG9ydHMKPiBpbiBsZXNzIHRoYW4gYSBzZWNv bmQuCj4KPiBUaGFua3MgZm9yIHJlYWRpbmcsIGFuZCBhbnkgdGhvdWdodHMuCj4KPiBib2IgcHJv aGFza2EKPgo+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f Cj4gZnJlZWJzZC1hcm1AZnJlZWJzZC5vcmcgbWFpbGluZyBsaXN0Cj4gaHR0cHM6Ly9saXN0cy5m cmVlYnNkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2ZyZWVic2QtYXJtCj4gVG8gdW5zdWJzY3JpYmUs IHNlbmQgYW55IG1haWwgdG8gImZyZWVic2QtYXJtLXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg== From owner-freebsd-arm@freebsd.org Thu Jul 18 07:17:16 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 CE8CFA164A for ; Thu, 18 Jul 2019 07:17:16 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD99B7622F for ; Thu, 18 Jul 2019 07:17:15 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Thu, 18 Jul 2019 09:12:05 +0200 id 00F40698.5D301BC5.000139B0 Date: Thu, 18 Jul 2019 09:12:04 +0200 From: Milan Obuch To: freebsd-arm@freebsd.org Subject: Pine64 (LTS) HDMI trouble with UHD display Message-ID: <20190718091204.410aaedd@zeta.dino.sk> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i386-portbld-freebsd11.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: CD99B7622F X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsd-arm@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-arm@dino.sk X-Spamd-Result: default: False [-5.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[mail.dino.sk]; NEURAL_HAM_SHORT(-0.68)[-0.683,0]; RCVD_IN_DNSWL_NONE(0.00)[72.65.245.84.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.47)[ip: (-7.44), ipnet: 84.245.64.0/18(-3.72), asn: 16160(-1.27), country: SK(0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16160, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 18 Jul 2019 07:17:16 -0000 Hi, as I have now basically working FreeBSD-CURRENT on Pine64-LTS, I decided to try a 4K monitor via HDMI. This does not work with strange output, to me. This is what I captured from serial console, trying verbose boot after escaping to loader prompt: --- captured begin --- Type '?' for a list of commands, 'help' for more detailed help. OK boot -vs Using DTB provided by EFI at 0x47ef5000. Loading DTB overlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-timer,sun50i-a64-opp,sun50i-a64-uart2' /boot/dtb/overlays/sun50i-a64-sid.dtbo size=0x1fd /boot/dtb/overlays/sun50i-a64-ths.dtbo size=0x3e8 /boot/dtb/overlays/sun50i-a64-timer.dtbo size=0x175 /boot/dtb/overlays/sun50i-a64-opp.dtbo size=0x74f /boot/dtb/overlays/sun50i-a64-uart2.dtbo size=0x123 applying DTB overlay '/boot/dtb/overlays/sun50i-a64-sid.dtbo' applying DTB overlay '/boot/dtb/overlays/sun50i-a64-ths.dtbo' applying DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' applying DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo' applying DTB overlay '/boot/dtb/overlays/sun50i-a64-uart2.dtbo' EFI framebuffer information: addr, size 0xbe000000, 0x1fa4000 dimensions 3840 x 2160 stride 3840 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 EHCI failed to shut down host controller. panic: Too many early devmap mappings 2 cpuid = 0 time = 1 KDB: stack backtrace: #0 0xffff0000004382b4 at ??+0 #1 0xffff0000003f3620 at ??+0 #2 0xffff0000003f33d0 at ??+0 #3 0xffff00000074ecdc at ??+0 #4 0xffff0000002bb0bc at ??+0 #5 0xffff0000002bd580 at ??+0 #6 0xffff000000395f40 at ??+0 #7 0xffff00000070dc14 at ??+0 Uptime: 1s --- captured end --- (ignore uart2 overlay, this is locally made addition to test this possibility, no real usage right now) When I pull HDMI cable out, following happens: --- captured begin --- Type '?' for a list of commands, 'help' for more detailed help. OK boot -vs Using DTB provided by EFI at 0x47ef5000. Loading DTB overlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-timer,sun50i-a64-opp,sun50i-a64-uart2' /boot/dtb/overlays/sun50i-a64-sid.dtbo size=0x1fd /boot/dtb/overlays/sun50i-a64-ths.dtbo size=0x3e8 /boot/dtb/overlays/sun50i-a64-timer.dtbo size=0x175 /boot/dtb/overlays/sun50i-a64-opp.dtbo size=0x74f /boot/dtb/overlays/sun50i-a64-uart2.dtbo size=0x123 applying DTB overlay '/boot/dtb/overlays/sun50i-a64-sid.dtbo' applying DTB overlay '/boot/dtb/overlays/sun50i-a64-ths.dtbo' applying DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' applying DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo' applying DTB overlay '/boot/dtb/overlays/sun50i-a64-uart2.dtbo' EHCI failed to shut down host controller. ---<>--- KDB: debugger backends: ddb KDB: current backend: ddb Type Physical Virtual #Pages Attr ConventionalMemory 000040000000 40000000 00007ef5 WB RuntimeServicesData 000047ef5000 47ef5000 00000016 WB RUNTIME ConventionalMemory 000047f0b000 47f0b000 00068f82 WB LoaderData 0000b0e8d000 b0e8d000 00004001 WB BootServicesData 0000b4e8e000 b4e8e000 00000005 WB LoaderData 0000b4e93000 b4e93000 00004000 WB LoaderCode 0000b8e93000 b8e93000 0000009c WB RuntimeServicesData 0000b8f2f000 b8f2f000 00000001 WB RUNTIME Reserved 0000b8f30000 b8f22000 00000008 WB RuntimeServicesData 0000b8f38000 b8f38000 00000001 WB RUNTIME Reserved 0000b8f39000 b8f39000 00000002 WB LoaderData 0000b8f3b000 b8f3b000 00005025 WB RuntimeServicesCode 0000bdf60000 bdf60000 00000010 WB RUNTIME LoaderData 0000bdf70000 b8f3b000 00002090 WB Physical memory chunk(s): 0x40000000 - 0xb8f2ffff, 1935 MB ( 495408 pages) 0xb8f38000 - 0xb8f38fff, 0 MB ( 1 pages) 0xb8f3b000 - 0xbdf5ffff, 80 MB ( 20517 pages) 0xbdf70000 - 0xbfffffff, 32 MB ( 8336 pages) Excluded memory regions: 0x47ef5000 - 0x47f0afff, 0 MB ( 22 pages) NoAlloc 0xb1000000 - 0xb27e3fff, 23 MB ( 6116 pages) NoAlloc 0xb8f2f000 - 0xb8f3afff, 0 MB ( 12 pages) NoAlloc 0xbdf60000 - 0xbdf6ffff, 0 MB ( 16 pages) NoAlloc Found 4 CPUs in the device tree --- captured end --- Finally, with standard HD (1920x1080) monitor connected: --- captured begin --- Type '?' for a list of commands, 'help' for more detailed help. OK boot -vs Using DTB provided by EFI at 0x47ef5000. Loading DTB overlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-timer,sun50i-a64-opp,sun50i-a64-uart2' /boot/dtb/overlays/sun50i-a64-sid.dtbo size=0x1fd /boot/dtb/overlays/sun50i-a64-ths.dtbo size=0x3e8 /boot/dtb/overlays/sun50i-a64-timer.dtbo size=0x175 /boot/dtb/overlays/sun50i-a64-opp.dtbo size=0x74f /boot/dtb/overlays/sun50i-a64-uart2.dtbo size=0x123 applying DTB overlay '/boot/dtb/overlays/sun50i-a64-sid.dtbo' applying DTB overlay '/boot/dtb/overlays/sun50i-a64-ths.dtbo' applying DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' applying DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo' applying DTB overlay '/boot/dtb/overlays/sun50i-a64-uart2.dtbo' EFI framebuffer information: addr, size 0xbe000000, 0x7e9000 dimensions 1920 x 1080 stride 1920 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 EHCI failed to shut down host controller. ---<>--- KDB: debugger backends: ddb KDB: current backend: ddb Type Physical Virtual #Pages Attr ConventionalMemory 000040000000 40000000 00007ef5 WB RuntimeServicesData 000047ef5000 47ef5000 00000016 WB RUNTIME ConventionalMemory 000047f0b000 47f0b000 00068f82 WB LoaderData 0000b0e8d000 b0e8d000 00004001 WB BootServicesData 0000b4e8e000 b4e8e000 00000005 WB LoaderData 0000b4e93000 b4e93000 00004000 WB LoaderCode 0000b8e93000 b8e93000 0000009c WB RuntimeServicesData 0000b8f2f000 b8f2f000 00000001 WB RUNTIME Reserved 0000b8f30000 b8f22000 00000008 WB RuntimeServicesData 0000b8f38000 b8f38000 00000001 WB RUNTIME Reserved 0000b8f39000 b8f39000 00000002 WB LoaderData 0000b8f3b000 b8f3b000 00005025 WB RuntimeServicesCode 0000bdf60000 bdf60000 00000010 WB RUNTIME LoaderData 0000bdf70000 b8f3b000 00000090 WB Reserved 0000be000000 be000000 000007e9 WB LoaderData 0000be7e9000 b8f3b000 00001817 WB Physical memory chunk(s): 0x40000000 - 0xb8f2ffff, 1935 MB ( 495408 pages) 0xb8f38000 - 0xb8f38fff, 0 MB ( 1 pages) 0xb8f3b000 - 0xbdf5ffff, 80 MB ( 20517 pages) 0xbdf70000 - 0xbdffffff, 0 MB ( 144 pages) 0xbe7e9000 - 0xbfffffff, 24 MB ( 6167 pages) Excluded memory regions: 0x47ef5000 - 0x47f0afff, 0 MB ( 22 pages) NoAlloc 0xb1000000 - 0xb27e3fff, 23 MB ( 6116 pages) NoAlloc 0xb8f2f000 - 0xb8f3afff, 0 MB ( 12 pages) NoAlloc 0xbdf60000 - 0xbdf6ffff, 0 MB ( 16 pages) NoAlloc 0xbe000000 - 0xbe7e8fff, 7 MB ( 2025 pages) NoAlloc 0xbe000000 - 0xbe7e8fff, 7 MB ( 2025 pages) NoAlloc Found 4 CPUs in the device tree --- captured end --- Comparing these, first part is identical (up to last 'applying DTB overlay'), then comes EFI framebuffer info (missing when no monitor is present), line about EHCI controller failure, common for all three cases. Up to this point, I think, everything comes from loader, rest is from kernel. Unfortunatelly, in the failing UHD case, there is no memory map given, so we can only guess what's going on there... I would expect last excluded memory region to be 0xbe000000 - 0xbffa3fff, and last physical memory chunk 0xbffa4000 - 0xbfffffff, no other differences, but something else happened. Any idea on debugging this situation? It is not show stopper for me, other things could be checked/tested/verified, but it would be nice to have working 4K/UHD video output... Regards, Milan From owner-freebsd-arm@freebsd.org Thu Jul 18 07:44:42 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 8D3A7A22A5 for ; Thu, 18 Jul 2019 07:44:42 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E6192772BF for ; Thu, 18 Jul 2019 07:44:40 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 30a71bfd; Thu, 18 Jul 2019 09:44:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=8tFOVDcyNl3gxL6W9x3oS/YxI9g=; b=ivjm99AJCmjAde+TlcEWcFk/86ec eZdDhfR+BAKpSkI/tgh9Xu+Ud6nFXQ2cN+Oxhszch+jytkA761KppixlIl1lgqxf tZpsraVlzQEj9SO3wZ4EYEId+/7i7Hnw/ZK3Qy0x7j+iOAHHVAVLwygU44l1cOy5 aIzFPj/5u8Sj4H4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=KjoJA0U7FlwX/UqidK+J1k72bHXrmIN/WF862YnVs/FQrCm4W5PYd3Xv eA5NpdcHVlOEUokxwE0rpDcPpRR9VEksKydaZkKT8yqOfN+A09lFigYuL0ef3dQv b97mPCct2PIKir9ZWoVBA+w55d5BWZ1UIeNbjH2rGcu0fFeUcho= Received: from knuckles.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 0bfa9001 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 18 Jul 2019 09:44:32 +0200 (CEST) Date: Thu, 18 Jul 2019 09:44:32 +0200 From: Emmanuel Vadot To: Milan Obuch Cc: freebsd-arm@freebsd.org Subject: Re: Pine64 (LTS) HDMI trouble with UHD display Message-Id: <20190718094432.6c868b59ace49b078ce07c16@bidouilliste.com> In-Reply-To: <20190718091204.410aaedd@zeta.dino.sk> References: <20190718091204.410aaedd@zeta.dino.sk> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: E6192772BF X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=ivjm99AJ; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [0.50 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.96)[-0.958,0]; NEURAL_SPAM_MEDIUM(0.50)[0.501,0]; NEURAL_SPAM_SHORT(0.64)[0.636,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx-backup.blih.net,mail.blih.net]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.23)[ip: (-1.21), ipnet: 212.83.160.0/19(2.65), asn: 12876(-0.29), country: FR(-0.01)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 18 Jul 2019 07:44:42 -0000 On Thu, 18 Jul 2019 09:12:04 +0200 Milan Obuch wrote: > Hi, > > as I have now basically working FreeBSD-CURRENT on Pine64-LTS, I > decided to try a 4K monitor via HDMI. This does not work with strange > output, to me. This is what I captured from serial console, trying > verbose boot after escaping to loader prompt: > > --- captured begin --- > > Type '?' for a list of commands, 'help' for more detailed help. > OK boot -vs > Using DTB provided by EFI at 0x47ef5000. > Loading DTB overlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-timer,sun50i-a64-opp,sun50i-a64-uart2' > /boot/dtb/overlays/sun50i-a64-sid.dtbo size=0x1fd > /boot/dtb/overlays/sun50i-a64-ths.dtbo size=0x3e8 > /boot/dtb/overlays/sun50i-a64-timer.dtbo size=0x175 > /boot/dtb/overlays/sun50i-a64-opp.dtbo size=0x74f > /boot/dtb/overlays/sun50i-a64-uart2.dtbo size=0x123 > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-sid.dtbo' > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-ths.dtbo' > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo' > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-uart2.dtbo' > EFI framebuffer information: > addr, size 0xbe000000, 0x1fa4000 > dimensions 3840 x 2160 > stride 3840 > masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 > EHCI failed to shut down host controller. > panic: Too many early devmap mappings 2 > cpuid = 0 > time = 1 > KDB: stack backtrace: > #0 0xffff0000004382b4 at ??+0 > #1 0xffff0000003f3620 at ??+0 > #2 0xffff0000003f33d0 at ??+0 > #3 0xffff00000074ecdc at ??+0 > #4 0xffff0000002bb0bc at ??+0 > #5 0xffff0000002bd580 at ??+0 > #6 0xffff000000395f40 at ??+0 > #7 0xffff00000070dc14 at ??+0 > Uptime: 1s > > --- captured end --- > > (ignore uart2 overlay, this is locally made addition to test this > possibility, no real usage right now) > > When I pull HDMI cable out, following happens: > > --- captured begin --- > > Type '?' for a list of commands, 'help' for more detailed help. > OK boot -vs > Using DTB provided by EFI at 0x47ef5000. > Loading DTB overlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-timer,sun50i-a64-opp,sun50i-a64-uart2' > /boot/dtb/overlays/sun50i-a64-sid.dtbo size=0x1fd > /boot/dtb/overlays/sun50i-a64-ths.dtbo size=0x3e8 > /boot/dtb/overlays/sun50i-a64-timer.dtbo size=0x175 > /boot/dtb/overlays/sun50i-a64-opp.dtbo size=0x74f > /boot/dtb/overlays/sun50i-a64-uart2.dtbo size=0x123 > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-sid.dtbo' > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-ths.dtbo' > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo' > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-uart2.dtbo' > EHCI failed to shut down host controller. > ---<>--- > KDB: debugger backends: ddb > KDB: current backend: ddb > Type Physical Virtual #Pages Attr > ConventionalMemory 000040000000 40000000 00007ef5 WB > RuntimeServicesData 000047ef5000 47ef5000 00000016 WB RUNTIME > ConventionalMemory 000047f0b000 47f0b000 00068f82 WB > LoaderData 0000b0e8d000 b0e8d000 00004001 WB > BootServicesData 0000b4e8e000 b4e8e000 00000005 WB > LoaderData 0000b4e93000 b4e93000 00004000 WB > LoaderCode 0000b8e93000 b8e93000 0000009c WB > RuntimeServicesData 0000b8f2f000 b8f2f000 00000001 WB RUNTIME > Reserved 0000b8f30000 b8f22000 00000008 WB > RuntimeServicesData 0000b8f38000 b8f38000 00000001 WB RUNTIME > Reserved 0000b8f39000 b8f39000 00000002 WB > LoaderData 0000b8f3b000 b8f3b000 00005025 WB > RuntimeServicesCode 0000bdf60000 bdf60000 00000010 WB RUNTIME > LoaderData 0000bdf70000 b8f3b000 00002090 WB > Physical memory chunk(s): > 0x40000000 - 0xb8f2ffff, 1935 MB ( 495408 pages) > 0xb8f38000 - 0xb8f38fff, 0 MB ( 1 pages) > 0xb8f3b000 - 0xbdf5ffff, 80 MB ( 20517 pages) > 0xbdf70000 - 0xbfffffff, 32 MB ( 8336 pages) > Excluded memory regions: > 0x47ef5000 - 0x47f0afff, 0 MB ( 22 pages) NoAlloc > 0xb1000000 - 0xb27e3fff, 23 MB ( 6116 pages) NoAlloc > 0xb8f2f000 - 0xb8f3afff, 0 MB ( 12 pages) NoAlloc > 0xbdf60000 - 0xbdf6ffff, 0 MB ( 16 pages) NoAlloc > Found 4 CPUs in the device tree > > --- captured end --- > > Finally, with standard HD (1920x1080) monitor connected: > > --- captured begin --- > > Type '?' for a list of commands, 'help' for more detailed help. > OK boot -vs > Using DTB provided by EFI at 0x47ef5000. > Loading DTB overlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-timer,sun50i-a64-opp,sun50i-a64-uart2' > /boot/dtb/overlays/sun50i-a64-sid.dtbo size=0x1fd > /boot/dtb/overlays/sun50i-a64-ths.dtbo size=0x3e8 > /boot/dtb/overlays/sun50i-a64-timer.dtbo size=0x175 > /boot/dtb/overlays/sun50i-a64-opp.dtbo size=0x74f > /boot/dtb/overlays/sun50i-a64-uart2.dtbo size=0x123 > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-sid.dtbo' > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-ths.dtbo' > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo' > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-uart2.dtbo' > EFI framebuffer information: > addr, size 0xbe000000, 0x7e9000 > dimensions 1920 x 1080 > stride 1920 > masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 > EHCI failed to shut down host controller. > ---<>--- > KDB: debugger backends: ddb > KDB: current backend: ddb > Type Physical Virtual #Pages Attr > ConventionalMemory 000040000000 40000000 00007ef5 WB > RuntimeServicesData 000047ef5000 47ef5000 00000016 WB RUNTIME > ConventionalMemory 000047f0b000 47f0b000 00068f82 WB > LoaderData 0000b0e8d000 b0e8d000 00004001 WB > BootServicesData 0000b4e8e000 b4e8e000 00000005 WB > LoaderData 0000b4e93000 b4e93000 00004000 WB > LoaderCode 0000b8e93000 b8e93000 0000009c WB > RuntimeServicesData 0000b8f2f000 b8f2f000 00000001 WB RUNTIME > Reserved 0000b8f30000 b8f22000 00000008 WB > RuntimeServicesData 0000b8f38000 b8f38000 00000001 WB RUNTIME > Reserved 0000b8f39000 b8f39000 00000002 WB > LoaderData 0000b8f3b000 b8f3b000 00005025 WB > RuntimeServicesCode 0000bdf60000 bdf60000 00000010 WB RUNTIME > LoaderData 0000bdf70000 b8f3b000 00000090 WB > Reserved 0000be000000 be000000 000007e9 WB > LoaderData 0000be7e9000 b8f3b000 00001817 WB > Physical memory chunk(s): > 0x40000000 - 0xb8f2ffff, 1935 MB ( 495408 pages) > 0xb8f38000 - 0xb8f38fff, 0 MB ( 1 pages) > 0xb8f3b000 - 0xbdf5ffff, 80 MB ( 20517 pages) > 0xbdf70000 - 0xbdffffff, 0 MB ( 144 pages) > 0xbe7e9000 - 0xbfffffff, 24 MB ( 6167 pages) > Excluded memory regions: > 0x47ef5000 - 0x47f0afff, 0 MB ( 22 pages) NoAlloc > 0xb1000000 - 0xb27e3fff, 23 MB ( 6116 pages) NoAlloc > 0xb8f2f000 - 0xb8f3afff, 0 MB ( 12 pages) NoAlloc > 0xbdf60000 - 0xbdf6ffff, 0 MB ( 16 pages) NoAlloc > 0xbe000000 - 0xbe7e8fff, 7 MB ( 2025 pages) NoAlloc > 0xbe000000 - 0xbe7e8fff, 7 MB ( 2025 pages) NoAlloc > Found 4 CPUs in the device tree > > --- captured end --- > > Comparing these, first part is identical (up to last 'applying DTB > overlay'), then comes EFI framebuffer info (missing when no monitor is > present), line about EHCI controller failure, common for all three > cases. Up to this point, I think, everything comes from loader, rest is > from kernel. Unfortunatelly, in the failing UHD case, there is no > memory map given, so we can only guess what's going on there... > > I would expect last excluded memory region to be 0xbe000000 - > 0xbffa3fff, and last physical memory chunk 0xbffa4000 - 0xbfffffff, no > other differences, but something else happened. > > Any idea on debugging this situation? It is not show stopper for me, > other things could be checked/tested/verified, but it would be nice to > have working 4K/UHD video output... > > Regards, > Milan Could you try bumping PMAP_MAPDEV_EARLY_SIZE in sys/arm64/include/pte.h to say L2_SIZE * 12 ? -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Thu Jul 18 09:58:12 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 C4663A4823 for ; Thu, 18 Jul 2019 09:58:12 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:300:2185:123::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 70E5382943 for ; Thu, 18 Jul 2019 09:58:12 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [104.207.135.49]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id x6I9wBrK075275 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Jul 2019 10:58:11 +0100 (BST) (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id x6I9wBF8075274; Thu, 18 Jul 2019 10:58:11 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <201907180958.x6I9wBF8075274@donotpassgo.dyslexicfish.net> Date: Thu, 18 Jul 2019 10:58:11 +0100 Organization: Dyslexic Fish To: freebsd-arm@freebsd.org, fbsd@www.zefox.net Subject: Re: Lethargic rpi3, but seemingly still running References: <20190718034838.GA1921@www.zefox.net> In-Reply-To: <20190718034838.GA1921@www.zefox.net> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [104.207.135.49]); Thu, 18 Jul 2019 10:58:11 +0100 (BST) 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: Thu, 18 Jul 2019 09:58:12 -0000 bob prohaska wrote: > Every once in a while bsdtar will use a fraction of a percent of cpu, but > that seems to be all that's happening. The timestamp updates every other > second, typing echoes as expected but something like pwd takes twenty > seconds to answer. The controlling terminal for portmaster-devel has been > sitting at What's your I/O like? systat -v 1 From owner-freebsd-arm@freebsd.org Thu Jul 18 12:51:51 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 A7EE8A8508 for ; Thu, 18 Jul 2019 12:51:51 +0000 (UTC) (envelope-from dpolyg@gmail.com) Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADDFD88CC0 for ; Thu, 18 Jul 2019 12:51:50 +0000 (UTC) (envelope-from dpolyg@gmail.com) Received: by mail-pg1-x52b.google.com with SMTP id s1so6559451pgr.2 for ; Thu, 18 Jul 2019 05:51:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/vOKikfXo2zgjiwtG8/ealNMyHEekc5I6PEVGszCBiU=; b=bskfe8hLmD6M201TkZkxSS1n2h9EwOOcLW6w12f760EohJXTcoNVjF9omVUyfYOd69 bwV6ne7E6nR4q7+VKqwlcjq+5eI3nePoHAulyrDRcxx+iyGqeuaKAYf4XBBbN9NtD2kU xUcjHaFenDRv5ggoC0dlt2ZUyNWTx0X/Vqx5huoCH1/PX1kqR6W17O+Ah/ia8czg+sFW kqRRlCu0QFmVHpgWwuDb5PnSMdhA5IeyO3QfdfrWTkK4prkAGVuV187f4QtZBj5V70Tt wzyo9lJvQ+P0bUCOFIzOwJtDvsnmUgN5C2N9/uy4XWAweS9Ju5kMFLs1mDZAuvOIakuF OZvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/vOKikfXo2zgjiwtG8/ealNMyHEekc5I6PEVGszCBiU=; b=jYijoUl1m0PZDJbeQlBayC2fJ8j5nvqWCfVD8cngNf3AcLyPs5C8lb9sfcw+ylcLHO Z610VD95ygIiE13AThb+yeMbuaLq+odW0RorTz4a7pmBs59kMYlOgojZeBHTWuHr4Rui d+dEsIh1tDyD44p+xldrUsv9G/P564gE+0ZVLxLAV7CEWh4bSABDZMphBUxC+x3E27i3 mk+92RQr76UAGKD0w6atsiWU7XExTLmpBKbD49HjHGxYee0Hliz2TJrrYq7EP+u4aZVv d2Yf7T963YEoaXcQqcnH7v2SOnta0TGZNCH6XaGqewajt7SGO3H2KGYlJWrPNyB6WNhR PPSg== X-Gm-Message-State: APjAAAW5o72uL8azQ0q0Ah1BeRLehP2LepkhE3rdmBMyzs/obBiNVHEX wPPW4D3Gt0e9sk8yoanmXzxlsRAM X-Google-Smtp-Source: APXvYqwsF8fzbJ39LNNnNKdhXrTyE80IFIsrpO1osDEuyZ5ptqFnCAFwPN5cEiGAhkJ3JWpn9l1whQ== X-Received: by 2002:a63:8a43:: with SMTP id y64mr47078305pgd.104.1563454309518; Thu, 18 Jul 2019 05:51:49 -0700 (PDT) Received: from [192.168.1.100] (ngn8-ppp1551.tokyo.sannet.ne.jp. [157.192.118.27]) by smtp.googlemail.com with ESMTPSA id m20sm22045473pff.79.2019.07.18.05.51.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jul 2019 05:51:48 -0700 (PDT) Subject: Re: Booting FreeBSD on Rock64 To: Emmanuel Vadot Cc: freebsd-arm@freebsd.org References: <169de7cf-32f2-7b7b-c12e-a86a4b6a9e87@gmail.com> <20190715200127.4b649877d8baefeb5282df64@bidouilliste.com> From: Denis Polygalov Message-ID: <878b15d5-92a5-5137-121c-5a5038323857@gmail.com> Date: Thu, 18 Jul 2019 21:51:43 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190715200127.4b649877d8baefeb5282df64@bidouilliste.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: ADDFD88CC0 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=bskfe8hL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dpolyg@gmail.com designates 2607:f8b0:4864:20::52b as permitted sender) smtp.mailfrom=dpolyg@gmail.com X-Spamd-Result: default: False [-6.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[b.2.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.80)[ip: (-8.38), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.44), country: US(-0.05)] 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: Thu, 18 Jul 2019 12:51:51 -0000 > On 16/07/2019 3:01 am, Emmanuel Vadot wrote: > How did you setup the boot ? download u-boot-flash-spi-rock64.img.xz from here: https://github.com/ayufan-rock64/linux-u-boot/releases and flash it. Remove the microSD card. Setup tftp server and nfs servers. Reset the board, interrupt u-boot and switch to manual mode. Then type in terminal: dhcp tftpboot ${kernel_addr_r} boot/loader.efi tftpboot ${fdt_addr_r} boot/dtb/rockchip/rk3399-rockpro64.dtb bootefi ${kernel_addr_r} ${fdt_addr_r} > Do you have tftpd running so u-boot can download the loader and the > dtb ? yes, I do and I can see in the tftp server logs that both boot/loader.efi and boot/dtb/rockchip/rk3399-rockpro64.dtb are downloaded successfully. > If you don't have the dtb in $TFTPDIR/dtb/rockchip/ that might be the > problem, I recall the dtb included in u-boot being incomplete. I'm using dtb that is included into the FreeBSD-13.0-CURRENT-arm64-aarch64-20190711-r349909-memstick.img > I've just booted mine after updating to r350003+c99cb2e79ed6 > without a problem. > Well, I don't see image of this release on the FreeBSD.org server. I guess you mean you compile it from source by yourself? > On 16/07/2019 4:49 am, Peter Jeremy wrote: >> I'm running a Rock64 with >> U-Boot SPL 2017.09-rockchip-ayufan-1035-gd646df03ac (Oct 26 2018 - 08:35:43) >> and booting FreeBSD diskless. I tried this old 1035 u-boot. No luck, same problem. Regards, Denis. From owner-freebsd-arm@freebsd.org Thu Jul 18 12:58:44 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 B85FBA86F1 for ; Thu, 18 Jul 2019 12:58:44 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A57E188ED3 for ; Thu, 18 Jul 2019 12:58:43 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 0fdea701; Thu, 18 Jul 2019 14:58:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=lGorLiRlH5VQ2NbzCZtZJAd1sIY=; b=JCiyRuvsppXVgNwY5Qv12eq0ATKn 9iNCeXyr+ofk/DK5fWKO01Xlh6lZ0LOKUq00MtUaCSioAzIP1fHCDMZPaxg5GAPD BW8urFacAcqA/FLRcSZpaG9e5krUlxoeZYtjkK2EQTLe+uKVd25m0r1nNI+urWB1 HFddHILSRclYBe8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=tob+V6J/020etiIn4aE/eznLKGhJZrDmljMpk96WwGKO2cwz1hklFEmT AE0A+Nk+OJq/tB5tgSeM8Oem/vjg2ozQv6pvmyHC3mqrd+YWMDzP4cqHDnq7EJS4 iaiErmhufEQ/7OVb+mI/FyRtUTFvBZmqUXRfk8Cc0/JtGyr3r+0= Received: from knuckles.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 2347b746 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 18 Jul 2019 14:58:41 +0200 (CEST) Date: Thu, 18 Jul 2019 14:58:40 +0200 From: Emmanuel Vadot To: Denis Polygalov Cc: freebsd-arm@freebsd.org Subject: Re: Booting FreeBSD on Rock64 Message-Id: <20190718145840.c4487d2174930374300a0d7d@bidouilliste.com> In-Reply-To: <878b15d5-92a5-5137-121c-5a5038323857@gmail.com> References: <169de7cf-32f2-7b7b-c12e-a86a4b6a9e87@gmail.com> <20190715200127.4b649877d8baefeb5282df64@bidouilliste.com> <878b15d5-92a5-5137-121c-5a5038323857@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: A57E188ED3 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=JCiyRuvs; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.13)[-0.134,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.97)[-0.968,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx-backup.blih.net]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.62)[-0.615,0]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.23)[ip: (-1.20), ipnet: 212.83.160.0/19(2.65), asn: 12876(-0.29), country: FR(-0.01)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 18 Jul 2019 12:58:44 -0000 On Thu, 18 Jul 2019 21:51:43 +0900 Denis Polygalov wrote: > > On 16/07/2019 3:01 am, Emmanuel Vadot wrote: > > How did you setup the boot ? > > download u-boot-flash-spi-rock64.img.xz from here: > https://github.com/ayufan-rock64/linux-u-boot/releases > and flash it. Remove the microSD card. > Setup tftp server and nfs servers. > Reset the board, interrupt u-boot and switch to manual mode. > Then type in terminal: > dhcp > tftpboot ${kernel_addr_r} boot/loader.efi > tftpboot ${fdt_addr_r} boot/dtb/rockchip/rk3399-rockpro64.dtb You need to 'fdt addr ${fdt_addr_r}' here iirc > bootefi ${kernel_addr_r} ${fdt_addr_r} > > > > Do you have tftpd running so u-boot can download the loader and the > > dtb ? > > yes, I do and I can see in the tftp server logs that both > boot/loader.efi > and boot/dtb/rockchip/rk3399-rockpro64.dtb > are downloaded successfully. > > > If you don't have the dtb in $TFTPDIR/dtb/rockchip/ that might be the > > problem, I recall the dtb included in u-boot being incomplete. > > I'm using dtb that is included into the > FreeBSD-13.0-CURRENT-arm64-aarch64-20190711-r349909-memstick.img > > > > I've just booted mine after updating to r350003+c99cb2e79ed6 > > without a problem. > > > > Well, I don't see image of this release on the FreeBSD.org server. > I guess you mean you compile it from source by yourself? > > > On 16/07/2019 4:49 am, Peter Jeremy wrote: > >> I'm running a Rock64 with > >> U-Boot SPL 2017.09-rockchip-ayufan-1035-gd646df03ac (Oct 26 2018 - 08:35:43) > >> and booting FreeBSD diskless. > > I tried this old 1035 u-boot. No luck, same problem. > > Regards, > Denis. -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Thu Jul 18 13:17:21 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 D1706A8BA4 for ; Thu, 18 Jul 2019 13:17:21 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA0CD895F5 for ; Thu, 18 Jul 2019 13:17:20 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id x6IDFPUc035100 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 18 Jul 2019 06:15:25 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id x6IDFPS5035098; Thu, 18 Jul 2019 06:15:25 -0700 (PDT) (envelope-from jmg) Date: Thu, 18 Jul 2019 06:15:25 -0700 From: John-Mark Gurney To: Sergey Manucharian Cc: Oleksandr Tymoshenko , freebsd-arm@freebsd.org Subject: Re: Writing to /dev/fb0 Message-ID: <20190718131525.GJ2342@funkthat.com> Mail-Followup-To: Sergey Manucharian , Oleksandr Tymoshenko , freebsd-arm@freebsd.org References: <20190621170845.GD2903@eldorado> <20190621171343.GE2903@eldorado> <20190621190502.GA35692@bluezbox.com> <20190621193419.GG2903@eldorado> <20190624213339.GM2903@eldorado> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190624213339.GM2903@eldorado> X-Operating-System: FreeBSD 11.0-RELEASE-p7 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Thu, 18 Jul 2019 06:15:26 -0700 (PDT) X-Rspamd-Queue-Id: AA0CD895F5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of jmg@gold.funkthat.com designates 208.87.223.18 as permitted sender) smtp.mailfrom=jmg@gold.funkthat.com X-Spamd-Result: default: False [-0.05 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.929,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[funkthat.com]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[gold.funkthat.com]; MX_MISSING(3.50)[requested record is not found]; NEURAL_HAM_SHORT(-0.89)[-0.885,0]; IP_SCORE(-0.73)[ip: (-1.89), ipnet: 208.87.216.0/21(-0.94), asn: 32354(-0.76), country: US(-0.05)]; FORGED_SENDER(0.30)[jmg@funkthat.com,jmg@gold.funkthat.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:32354, ipnet:208.87.216.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[jmg@funkthat.com,jmg@gold.funkthat.com]; MID_RHS_MATCH_FROM(0.00)[] 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: Thu, 18 Jul 2019 13:17:21 -0000 Sergey Manucharian wrote this message on Mon, Jun 24, 2019 at 15:33 -0600: > Excerpts from Sergey Manucharian's message from Fri 21-Jun-19 13:34: > > Excerpts from Oleksandr Tymoshenko's message from Fri 21-Jun-19 12:05: > > > You probably can convert this source file from my tslib branch to > > > standalone app: > > > > > > https://github.com/gonzoua/tslib/blob/freebsd/tests/fbutils-bsd.c > > > > > I added "main" and it draws a red rectangle! > > > > int main (int argc, char** argv) > > { > > > > open_framebuffer(); > > setcolor (4, 0xff0000); > > rect(100, 200, 200, 300, 4); > > close_framebuffer(); > > } > > As I already mentioned, these messages > > WARNING: Device driver fb has set "memattr" inconsistently (drv 0 pmap 3). > > flood console. So, the actual performance is very poor because of that, > thus the framebuffer is practically unusable. > > The message comes from: > > sys/vm/device_pager.c > > I tried to understand the purpose of the corresponding commit: > > https://lists.freebsd.org/pipermail/svn-src-head/2016-May/085608.html > https://reviews.freebsd.org/D6149 > > However, I don't understand how to eliminate that, how to deal with the > "memattr". Disabling the message itself in "sys/vm/device_pager.c" > significantly improves the performance. > > Would anybody advise please? Looks like those messages need to be rate limited... There's counter_ratecheck and ratecheck functions that can be used to easily fix this.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-arm@freebsd.org Thu Jul 18 13:50:25 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 3E1ACA92B4 for ; Thu, 18 Jul 2019 13:50:25 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail.myserver.ws (mail.myserver.ws [144.217.111.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.myserver.ws", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 967998A114 for ; Thu, 18 Jul 2019 13:50:24 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from eldorado (50-243-135-133-static.hfc.comcastbusiness.net [50.243.135.133]) (Authenticated sender: sm@ara-ler.com) by mail.myserver.ws (Postfix) with ESMTPSA id DCF7AA3EDA; Thu, 18 Jul 2019 13:50:12 +0000 (UTC) Date: Thu, 18 Jul 2019 07:50:09 -0600 From: Sergey Manucharian To: Oleksandr Tymoshenko , freebsd-arm@freebsd.org Subject: Re: Writing to /dev/fb0 Message-ID: <20190718135009.GX2903@eldorado> References: <20190621170845.GD2903@eldorado> <20190621171343.GE2903@eldorado> <20190621190502.GA35692@bluezbox.com> <20190621193419.GG2903@eldorado> <20190624213339.GM2903@eldorado> <20190718131525.GJ2342@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190718131525.GJ2342@funkthat.com> User-Agent: Mutt/1.12.0 (2019-05-25) X-Rspamd-Queue-Id: 967998A114 X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sm@ara-ler.com designates 144.217.111.45 as permitted sender) smtp.mailfrom=sm@ara-ler.com X-Spamd-Result: default: False [6.13 / 15.00]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(3.00)[133.135.243.50.zen.spamhaus.org : 127.0.0.4]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+a:mail.myserver.ws]; NEURAL_SPAM_SHORT(0.63)[0.626,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ara-ler.com]; NEURAL_SPAM_MEDIUM(0.95)[0.954,0]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.myserver.ws]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[1.000,0]; IP_SCORE(0.06)[ipnet: 144.217.0.0/16(-0.85), asn: 16276(1.17), country: FR(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16276, ipnet:144.217.0.0/16, country:FR]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes 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: Thu, 18 Jul 2019 13:50:25 -0000 Excerpts from John-Mark Gurney's message from Thu 18-Jul-19 06:15: > > As I already mentioned, these messages > > > > WARNING: Device driver fb has set "memattr" inconsistently (drv 0 pmap 3). > > > > flood console. So, the actual performance is very poor because of that, > > Looks like those messages need to be rate limited... There's > counter_ratecheck and ratecheck functions that can be used to easily > fix this.. That sounds good, but shouldn't this be fixed in the fb driver to "set memattr consistently"? -- Thanks, Ϟϻ From owner-freebsd-arm@freebsd.org Thu Jul 18 15:04:22 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 9FC49AA8BB for ; Thu, 18 Jul 2019 15:04:22 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 69E838C5DA for ; Thu, 18 Jul 2019 15:04:20 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x6IF4LKs004437 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 18 Jul 2019 08:04:21 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x6IF4KTe004436; Thu, 18 Jul 2019 08:04:20 -0700 (PDT) (envelope-from fbsd) Date: Thu, 18 Jul 2019 08:04:20 -0700 From: bob prohaska To: Robert Crowston Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: Lethargic rpi3, but seemingly still running Message-ID: <20190718150420.GA4325@www.zefox.net> References: <20190718034838.GA1921@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 69E838C5DA X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.21 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(0.09)[ip: (0.37), ipnet: 50.1.16.0/20(0.19), asn: 7065(-0.04), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.55)[0.548,0]; NEURAL_HAM_LONG(-0.10)[-0.098,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.78)[0.781,0]; MX_GOOD(-0.01)[cached: www.zefox.net]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[protonmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[] 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: Thu, 18 Jul 2019 15:04:22 -0000 On Thu, Jul 18, 2019 at 06:29:37AM +0000, Robert Crowston wrote: > If you compiled -CURRENT with the default options it will have a bunch of debug enabled including witness. Are you spending a long time in syscalls? > Not according to top, it's 99.8% idle. Is there a better way to measure? The system _is_ default, but that isn't new. Firefox has built before and didn't display behavior like this. Buildworld has been taking about 25% longer than usual in the past month or so, but but it hasn't behaved so badly as this. Buildworld also doesn't invoke bsdtar; I wonder if it's the culprit. Allowed to run overnight it came unstuck and is now running at near full tilt compiling LLVM. Thanks for writing! bob prohaska > On Thu, Jul 18, 2019 at 04:48, bob prohaska wrote: > > > I'm playing with an RPI3 running -current at r349989 and trying to build > > a port (firefox) with the ports tree at (....long delay to svnlite info > > command.....) 506825 using portmaster under the portmaster-devel script. > > > > The system is still running and mostly idle, as reported by top: > > > > last pid: 8739; load averages: 0.00, 0.02, 0.00 up 1+12:03:29 20:29:20 > > 36 processes: 1 running, 35 sleeping > > CPU: 0.0% user, 0.0% nice, 0.1% system, 0.1% interrupt, 99.8% idle > > Mem: 22M Active, 720M Inact, 2324K Laundry, 137M Wired, 57M Buf, 27M Free > > Swap: 6349M Total, 23M Used, 6326M Free > > > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAN > > 8374 root 1 26 0 27M 9160K biord 1 1:21 0.00% bsdtar > > 8739 root 1 21 0 21M 8108K sbwait 3 0:00 0.00% sshd > > 21314 bob 1 20 0 14M 1120K CPU2 2 3:44 0.20% top > > 21512 bob 1 21 0 13M 1108K ttyin 1 0:00 0.00% tcsh > > 970 root 1 20 0 16M 848K select 0 0:09 0.02% sendma > > 957 root 1 21 0 20M 688K select 0 0:05 0.00% sshd > > 38012 root 1 52 0 15M 656K wait 2 0:58 0.00% bash > > 973 smmsp 1 20 0 16M 548K pause 3 0:00 0.00% sendma > > 2036 bob 1 20 0 22M 544K select 1 0:22 0.02% sshd > > 977 root 1 20 0 12M 412K nanslp 0 0:03 0.00% cron > > 21511 bob 1 20 0 22M 408K select 0 0:00 0.00% sshd > > 826 root 1 20 0 11M 404K select 3 0:03 0.00% syslog > > 2001 bob 1 20 0 22M 244K select 1 0:04 0.00% sshd > > 2007 root 1 20 0 14M 140K pause 2 0:00 0.00% csh > > > > Every once in a while bsdtar will use a fraction of a percent of cpu, but > > that seems to be all that's happening. The timestamp updates every other > > second, typing echoes as expected but something like pwd takes twenty > > seconds to answer. The controlling terminal for portmaster-devel has been > > sitting at > > > > => SHA256 Checksum OK for rust/2019-05-23/cargo-0.36.0-aarch64-unknown-freebsd.tar.gz. > > for about two hours. > > > > There are sporadic reports of > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 516, size: 4096 > > on the console, but they're sparse. At least according to top there's > > no significant swap usage. > > > > This behavior isn't entirely new, but this is the first time it's been > > bad enough to seem worth reporting. The filesystem is 74% full, so it's > > not out of storage: > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/ufs/rootfs 116766684 78989800 28435552 74% / > > devfs 1 1 0 100% /dev > > /dev/msdosfs/MSDOSBOOT 51096 13552 37544 27% /boot/msdos > > > > Meanwhile an RPI2 running 11.3-BETA1 #0 r348441 is happily grinding away > > on the same problem with ports at 506786. It answered svnlite info /usr/ports > > in less than a second. > > > > Thanks for reading, and any thoughts. > > > > bob prohaska > > > > _______________________________________________ > > 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" From owner-freebsd-arm@freebsd.org Thu Jul 18 15:19:04 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 48284AAB7C for ; Thu, 18 Jul 2019 15:19:04 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EF2C28CBD6 for ; Thu, 18 Jul 2019 15:19:03 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x6IFIxiI004503 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 18 Jul 2019 08:18:59 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x6IFIwR8004502; Thu, 18 Jul 2019 08:18:58 -0700 (PDT) (envelope-from fbsd) Date: Thu, 18 Jul 2019 08:18:58 -0700 From: bob prohaska To: Jamie Landeg-Jones Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: Lethargic rpi3, but seemingly still running Message-ID: <20190718151858.GB4325@www.zefox.net> References: <20190718034838.GA1921@www.zefox.net> <201907180958.x6I9wBF8075274@donotpassgo.dyslexicfish.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201907180958.x6I9wBF8075274@donotpassgo.dyslexicfish.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: EF2C28CBD6 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Thu, 18 Jul 2019 15:19:04 -0000 On Thu, Jul 18, 2019 at 10:58:11AM +0100, Jamie Landeg-Jones wrote: > bob prohaska wrote: > > > Every once in a while bsdtar will use a fraction of a percent of cpu, but > > that seems to be all that's happening. The timestamp updates every other > > second, typing echoes as expected but something like pwd takes twenty > > seconds to answer. The controlling terminal for portmaster-devel has been > > sitting at > > What's your I/O like? > > systat -v 1 > The machine got past the bottleneck and is running normally now, but I'll try it the next time the machine bogs down. Does systat use a different measurement method than top? Thank you! bob prohaska From owner-freebsd-arm@freebsd.org Thu Jul 18 16:38:29 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 6D819AC6AF for ; Thu, 18 Jul 2019 16:38:29 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F5E78F6C1 for ; Thu, 18 Jul 2019 16:38:23 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6IGcFg5040140 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jul 2019 16:38:16 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Thu, 18 Jul 2019 19:38:09 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 7F5E78F6C1 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [2.76 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.88)[0.876,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[mail.kronometrix.org]; NEURAL_SPAM_LONG(0.48)[0.481,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.69)[0.687,0]; IP_SCORE(0.53)[ip: (0.42), ipnet: 95.85.0.0/18(1.19), asn: 14061(1.08), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 18 Jul 2019 16:38:29 -0000 It seems the battery is a real pain in this model. I cant figure out any = vendor.=20 Tried already 3 models. All do not keep the time.=20 root@k1:~ # dmesg | grep nxp nxprtc0: at addr 0xa2 on iicbus0 nxprtc0: WARNING: RTC battery failed; time is invalid nxprtc0: registered as a time-of-day clock, resolution 0.015625s nxprtc0: RTC clock not running It seems the battery must be 36mAh. But even so some new model I got does not work. Damn.=20 Stefan Parvu sparvu@kronometrix.org > On 18 Jul 2019, at 4.52, Stefan Parvu wrote: >=20 >>=20 >> Why does it claim to have found a PCF2129 when the rpi i2c overlay = only >> has an entry for 2127? The driver will believe whatever is in the = dts >> compatible string, it has no way to ask the chip at runtime what = model >> it is. >=20 > If I understood right, Im using an updated version of the = i2c-rtc.dtbo, which does include > things for 2129. I think. Take a look: > https://github.com/raspberrypi/firmware/issues/1190 = =20 >=20 > So Im using the latest dtbo file which might know the 2129.=20 >=20 > Stefan > _______________________________________________ > 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" From owner-freebsd-arm@freebsd.org Thu Jul 18 17:07:43 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 3A534AD138 for ; Thu, 18 Jul 2019 17:07:43 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (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 5AB4769E0D for ; Thu, 18 Jul 2019 17:07:42 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563469654; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=XOeSMsqKMPRphWnJV4eK7ysqbG+s5q8irgzghHfeCStMeei42IGj6gEwMjOxcC7FZaYiS3Bw6CFXR w/Gpra/9eJvXmB3o+/DxcfmiGRzRGOUcA6mpy6tG7gdBh4J8Bxs4JGvVcjbilkkbrAUHJtRK/exVyW +qixOexJsfucbcanQXG3CjSIEyiyj0cbJ1QRSJwLYx7T6SdmP4XcitD4Za1i7D69IbXVin6cHaLUQQ kISu7K56Dc1XTS9lltZhtPEvqVHHu0jKmuN21GPT5XXvgikNAkexHpAVwZJNsD26ljRtjcSzgLv4Tn 6HcbgRUg9+OFI04I4CTAlC/jipk11Yg== 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=rxckfzX0CKzesGQE5vWJwofMmAQBQcFDMZe6sUUDsN0=; b=A9uFU+QHH/dzNP4NMHZIwirsbo45/60QjFz20CmjXRpV1Aap2e3QBRdcVlUcnQQeuN0kt+ccQ0y+C AW1f73hKUe4p87+zdTcx01SCKfcu/Yk5OEcxwZ40cfhMnLDx79SkXzGPuMUUHyg2ZPxZ3ge9HUIXro f36NIr/3yceZAMYdHaqlkN5RDIPNHWDXnOxqRSGYDZs/mvSRUVBeOopwSnxVPzNjAXH7HZEG0Cgqdv wpiK9F7224dnnGZZo0vIsYmvMFWf7M/4K5TPBiIZalIPd0rJRaoUgUZe+gKj74D2XQVA2TG3UpLcPX E/y09iV5w/5+w/6skhNw6uQm7OtkCRw== 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=rxckfzX0CKzesGQE5vWJwofMmAQBQcFDMZe6sUUDsN0=; b=J6i2bqoI2gVQmJJvY/0/Lp9hH7AtQ1c26oGzUxP80Bxy2+edfBtx4zobM4lFLIM3R6t9zozD0G6fl u0uNgUtdnGtLs1lfCVVpht+pGIMxVbVBCdNw4zNJ8ByndEmMSHdYHzvzcfK0i4uXF2sPlCB/9UHJZW YGmMHcvstKoQrYTqQNl6O/Lx7csCZ0+C54RpgC7d8E83KUoLpwN7w69Sqfwpum0XJn7YVS/rbbXpNB wDfAyEQwoRiAkLWbmJliCzhAtxlCkQ1MywXRTNiqhWgud2lNn2sbK2kD9WU/f0PVE9HlXXaISrCb5D 9EjafQNjAf0Gz7TYXe28s9DrSHzn+fg== X-MHO-RoutePath: aGlwcGll X-MHO-User: 880bdd5f-a97e-11e9-8490-9363c60c4e70 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 880bdd5f-a97e-11e9-8490-9363c60c4e70; Thu, 18 Jul 2019 17:07:33 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6IH7Wtq045242; Thu, 18 Jul 2019 11:07:32 -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: Thu, 18 Jul 2019 11:07:32 -0600 In-Reply-To: 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@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: 5AB4769E0D 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)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; ASN(0.00)[asn:16509, ipnet:54.148.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: Thu, 18 Jul 2019 17:07:43 -0000 On Thu, 2019-07-18 at 19:38 +0300, Stefan Parvu wrote: > It seems the battery is a real pain in this model. I cant figure out > any vendor. > Tried already 3 models. All do not keep the time. > > root@k1:~ # dmesg | grep nxp > nxprtc0: at addr 0xa2 on iicbus0 > nxprtc0: WARNING: RTC battery failed; time is invalid > nxprtc0: registered as a time-of-day clock, resolution 0.015625s > nxprtc0: RTC clock not running > > It seems the battery must be 36mAh. But even so some new model I got > does not work. Damn. > > There is something not-right about that. My battery had gone dead because the rpi sat unpowered for a couple years. I replaced it with a generic panasonic 35mAh cr1220 (not even a fresh new one, it's been in its package on the shelf for several years), and now everything is fine. I did an overnight power-off test last night, and this morning it came back up and time was correct to within .025 sec. According to the datasheet, the battery will keep the clock running until it falls below 1.2v. I can't believe that a new cr1220, even a cheap one that's been sitting around for years, is that dead. I think the nxprtc driver is leaving the clock-output pin enabled on the chip even when running on battery. That makes the chip use 2500nA instead of 750nA. I'll look into that in more detail later today, after $work is done. But even so, that's the kind of problem that would drain a new battery in a couple years (instead of the 7-8 years it should last). -- Ian From owner-freebsd-arm@freebsd.org Thu Jul 18 18:19:58 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 CE3AEAE42E for ; Thu, 18 Jul 2019 18:19:58 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 06B096C41C for ; Thu, 18 Jul 2019 18:19:57 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id x6IIJGbk040057 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 18 Jul 2019 11:19:16 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id x6IIJGed040056; Thu, 18 Jul 2019 11:19:16 -0700 (PDT) (envelope-from jmg) Date: Thu, 18 Jul 2019 11:19:16 -0700 From: John-Mark Gurney To: Sergey Manucharian Cc: Oleksandr Tymoshenko , freebsd-arm@freebsd.org Subject: Re: Writing to /dev/fb0 Message-ID: <20190718181916.GK2342@funkthat.com> Mail-Followup-To: Sergey Manucharian , Oleksandr Tymoshenko , freebsd-arm@freebsd.org References: <20190621170845.GD2903@eldorado> <20190621171343.GE2903@eldorado> <20190621190502.GA35692@bluezbox.com> <20190621193419.GG2903@eldorado> <20190624213339.GM2903@eldorado> <20190718131525.GJ2342@funkthat.com> <20190718135009.GX2903@eldorado> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190718135009.GX2903@eldorado> X-Operating-System: FreeBSD 11.0-RELEASE-p7 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Thu, 18 Jul 2019 11:19:16 -0700 (PDT) X-Rspamd-Queue-Id: 06B096C41C X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of jmg@gold.funkthat.com designates 208.87.223.18 as permitted sender) smtp.mailfrom=jmg@gold.funkthat.com X-Spamd-Result: default: False [-3.53 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[funkthat.com]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: gold.funkthat.com]; NEURAL_HAM_SHORT(-0.83)[-0.830,0]; IP_SCORE(-0.70)[ip: (-1.82), ipnet: 208.87.216.0/21(-0.91), asn: 32354(-0.73), country: US(-0.05)]; FORGED_SENDER(0.30)[jmg@funkthat.com,jmg@gold.funkthat.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:32354, ipnet:208.87.216.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[jmg@funkthat.com,jmg@gold.funkthat.com]; MID_RHS_MATCH_FROM(0.00)[] 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: Thu, 18 Jul 2019 18:19:58 -0000 Sergey Manucharian wrote this message on Thu, Jul 18, 2019 at 07:50 -0600: > Excerpts from John-Mark Gurney's message from Thu 18-Jul-19 06:15: > > > As I already mentioned, these messages > > > > > > WARNING: Device driver fb has set "memattr" inconsistently (drv 0 pmap 3). > > > > > > flood console. So, the actual performance is very poor because of that, > > > > Looks like those messages need to be rate limited... There's > > counter_ratecheck and ratecheck functions that can be used to easily > > fix this.. > > That sounds good, but shouldn't this be fixed in the fb driver to > "set memattr consistently"? I don't know enough to say... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-arm@freebsd.org Thu Jul 18 18:21:01 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 69619AE49D for ; Thu, 18 Jul 2019 18:21:01 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F39416C4FE for ; Thu, 18 Jul 2019 18:21:00 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id x6IIKpdA040118 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 18 Jul 2019 11:20:51 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id x6IIKpbD040117; Thu, 18 Jul 2019 11:20:51 -0700 (PDT) (envelope-from jmg) Date: Thu, 18 Jul 2019 11:20:51 -0700 From: John-Mark Gurney To: bob prohaska Cc: Jamie Landeg-Jones , freebsd-arm@freebsd.org Subject: Re: Lethargic rpi3, but seemingly still running Message-ID: <20190718182050.GL2342@funkthat.com> Mail-Followup-To: bob prohaska , Jamie Landeg-Jones , freebsd-arm@freebsd.org References: <20190718034838.GA1921@www.zefox.net> <201907180958.x6I9wBF8075274@donotpassgo.dyslexicfish.net> <20190718151858.GB4325@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190718151858.GB4325@www.zefox.net> X-Operating-System: FreeBSD 11.0-RELEASE-p7 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Thu, 18 Jul 2019 11:20:51 -0700 (PDT) X-Rspamd-Queue-Id: F39416C4FE X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of jmg@gold.funkthat.com designates 208.87.223.18 as permitted sender) smtp.mailfrom=jmg@gold.funkthat.com X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[funkthat.com]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: gold.funkthat.com]; NEURAL_HAM_SHORT(-0.82)[-0.819,0]; IP_SCORE(-0.68)[ip: (-1.75), ipnet: 208.87.216.0/21(-0.88), asn: 32354(-0.70), country: US(-0.05)]; FORGED_SENDER(0.30)[jmg@funkthat.com,jmg@gold.funkthat.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:32354, ipnet:208.87.216.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[jmg@funkthat.com,jmg@gold.funkthat.com]; MID_RHS_MATCH_FROM(0.00)[] 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: Thu, 18 Jul 2019 18:21:01 -0000 bob prohaska wrote this message on Thu, Jul 18, 2019 at 08:18 -0700: > On Thu, Jul 18, 2019 at 10:58:11AM +0100, Jamie Landeg-Jones wrote: > > bob prohaska wrote: > > > > > Every once in a while bsdtar will use a fraction of a percent of cpu, but > > > that seems to be all that's happening. The timestamp updates every other > > > second, typing echoes as expected but something like pwd takes twenty > > > seconds to answer. The controlling terminal for portmaster-devel has been > > > sitting at > > > > What's your I/O like? > > > > systat -v 1 > > > > The machine got past the bottleneck and is running normally now, but > I'll try it the next time the machine bogs down. Does systat use a > different measurement method than top? top doesn't like block device io... iostat or systat -v 1 will do that. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-arm@freebsd.org Thu Jul 18 19:16:56 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 F106DAF0C2 for ; Thu, 18 Jul 2019 19:16:56 +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 6DCBC6DEED for ; Thu, 18 Jul 2019 19:16:56 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563477414; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=eiCBZEaf7/k6Lhab95Zgl0HmApc67hglt65VQ/w5NCPladU/Vo0fPV7N/QIjAkXJDgcsoM/AA3XQO A19f/DugjHfTI/PTflCutqb9IP5cknvI1CC0mh29v/6odQao2iufbuyz/QniNA2FKVhZ2pybPIldst TPDgbWcC6VyNsQG2wMYU3elCxHjryj+HdHNCLNXKcxtX5V80Ontf9PlEReeM/fidpQLAw1fJVwEFdG nJ6HKSSIteksGwVWdSUMmM4usCS9HH16H0kXskzZUdi9Rp0DMGIss6LpUqOzQh/BYqZuAtPekXetxm vMpO/9TnoC+MaeKG8AsLLzh81hP6/OQ== 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=GaoxSVc0V18AKm4o86IUAwszHchuxATZny923vq8vFg=; b=kklnEmNVIiaAeFLof77Ocd6Gzta9zZylYnfUxliogS+Z7d8qI5bC5POPHLSV+zCOeF7GeDuEvYf4Q pRJfddsTXtAIH4YTj2Pa5/VStHyXZ1Rh+7n/gNf+kV+WFt89L98vlLEnCEB2v73WVZXu4Ng/0wpbHu O8IDKdCtRA57MzVSAkGnCy1/BRBnbHVhYt8Mx09edioh1SM7q75b6u3ST9ZKSmayAfTv9cuvLqDMIi cWOtZ/q0lln/3yw1Ki7qKsUgURe6h2gbIqCw+2FpToz4ZOub3HtoRzct5QCSncsIsbRp9LPU5HM4lX 28PN3kNbxS3wbIRJCGacFfFO+sNmJog== 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=GaoxSVc0V18AKm4o86IUAwszHchuxATZny923vq8vFg=; b=ao/O2UDTyKVyBI38wMP27YtZlN7Xx61SkGKrunzG7WItQKfq4m8D5d8RD3azuLWJkxcDGjG7GBWaa wLKWRbh83Mr/aVcrj6sX+MrF/yXp9csjzC9dBBXmJnypk2ByH1HbtQ1nzosyIy04xNnhEB5EM4m1nh WW01JrSxLByB/folpU35zbK/r3z0cMoe4omAVaT+y7S9LiGMctv5vCXPttAcGybubxAUTfUUtjTfBH SpR9hdCcfcBRCyH8DgOx1+zZTUd61ZnuS+KT9CXmKiinhkYP3NMVlP5Hd0poPJpaLqJCEPQjVYSmmF BHbdLyKPaTH0mIHsfm23lFD/ECMUs6Q== X-MHO-RoutePath: aGlwcGll X-MHO-User: 9827a85f-a990-11e9-9a90-0794651146a4 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 9827a85f-a990-11e9-9a90-0794651146a4; Thu, 18 Jul 2019 19:16:52 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6IJGo5T045595; Thu, 18 Jul 2019 13:16:50 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 From: Ian Lepore To: Stefan Parvu , freebsd-arm@freebsd.org Date: Thu, 18 Jul 2019 13:16:49 -0600 In-Reply-To: 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@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: 6DCBC6DEED X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; ASN(0.00)[asn:16509, ipnet:52.58.0.0/15, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Thu, 18 Jul 2019 19:16:57 -0000 On Thu, 2019-07-18 at 19:38 +0300, Stefan Parvu wrote: > It seems the battery is a real pain in this model. I cant figure out > any vendor. > Tried already 3 models. All do not keep the time. > > root@k1:~ # dmesg | grep nxp > nxprtc0: at addr 0xa2 on iicbus0 > nxprtc0: WARNING: RTC battery failed; time is invalid > nxprtc0: registered as a time-of-day clock, resolution 0.015625s > nxprtc0: RTC clock not running > > It seems the battery must be 36mAh. But even so some new model I got > does not work. Damn. > > It occurred to me: are you sure you're using the fixed driver? One of the problems before the fix was that a read would succeed, but return the wrong values. So the status register reads might be getting a wrong value and interpretting that as the "battery failed bit is set". One thing that comes to mind: you're using this as a module, but is the nxprtc driver already built in to the kernel? I think if it is and you added nxprtc_load=YES to loader.conf, it'll load the module but then still use the driver already in the kernel. -- Ian From owner-freebsd-arm@freebsd.org Thu Jul 18 20:02:04 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 9AF7FAFED6 for ; Thu, 18 Jul 2019 20:02:04 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BB2F6F775 for ; Thu, 18 Jul 2019 20:02:03 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6IK2041041507 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jul 2019 20:02:01 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Thu, 18 Jul 2019 23:01:55 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> To: freebsd-arm@freebsd.org In-Reply-To: <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 0BB2F6F775 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [3.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.95)[0.946,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.58)[0.577,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.86)[0.857,0]; IP_SCORE(0.52)[ip: (0.41), ipnet: 95.85.0.0/18(1.17), asn: 14061(1.08), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 18 Jul 2019 20:02:04 -0000 Sone differences between our systems * Im using Rasclock 4.0, you are in 4.2=20 * Im using RBPI3B+, you are in RBPI2 Not sure if these really matter but just in case Im mentioning. >=20 > It occurred to me: are you sure you're using the fixed driver? One of > the problems before the fix was that a read would succeed, but return > the wrong values. So the status register reads might be getting a > wrong value and interpretting that as the "battery failed bit is = set=E2=80=9D. > One thing that comes to mind: you're using this as a module, but is > the nxprtc driver already built in to the kernel? I think if it is = and > you added nxprtc_load=3DYES to loader.conf, it'll load the module but > then still use the driver already in the kernel. huh. Are you saying the nxprtc driver is already built-in the kernel ?=20= Why ? Shouldn=E2=80=99t that be just a driver what you can load on = demand, if users need ? Yes, I do have under loader.conf nxprtc_load=3D=E2=80=9CYES=E2=80=9D. = But still some questions=20 here: * if I do not load the driver under loader.conf, nothing works, I cannot = see the clock or use it anyhow=20 * how can I make sure there is NO nxprtc within kernel ? Can I see the = routines function calls somehow, if i kldunlod the nxprtc driver ? I do believe Im using the right thing after your commit. I can again = double check that Stefan= From owner-freebsd-arm@freebsd.org Thu Jul 18 20:16:44 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 89113B058B for ; Thu, 18 Jul 2019 20:16:44 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E62577013B for ; Thu, 18 Jul 2019 20:16:43 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6IKGf2S041630 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jul 2019 20:16:42 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Thu, 18 Jul 2019 23:16:35 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: E62577013B X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [1.11 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.71)[0.709,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.39)[0.388,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_HAM_SHORT(-0.69)[-0.687,0]; IP_SCORE(0.51)[ip: (0.40), ipnet: 95.85.0.0/18(1.15), asn: 14061(1.08), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 18 Jul 2019 20:16:44 -0000 I think after your latest commit I see a function from nxprtc module = which does not=20 exist in the original module. Take a look: root@k1:/var/tmp # nm -A -a /boot/kernel/nxprtc.ko | grep readfrom /boot/kernel/nxprtc.ko:0000000000010ab8 t nxprtc_readfrom which I do not see under original nxprtc module such thing.=20 root@k1:/var/tmp # nm -A -a /var/tmp/nxprtc.original.ko | grep readfrom /var/tmp/nxprtc.original.ko: U iicdev_readfrom Is this right ? Is this something you have fixed on the latest and the = greatest nxprtc version ? Stefan Parvu sparvu@kronometrix.org > On 18 Jul 2019, at 23.01, Stefan Parvu wrote: >=20 > Sone differences between our systems >=20 > * Im using Rasclock 4.0, you are in 4.2=20 >=20 > * Im using RBPI3B+, you are in RBPI2 >=20 > Not sure if these really matter but just in case Im mentioning. >=20 >>=20 >> It occurred to me: are you sure you're using the fixed driver? One = of >> the problems before the fix was that a read would succeed, but return >> the wrong values. So the status register reads might be getting a >> wrong value and interpretting that as the "battery failed bit is = set=E2=80=9D. >> One thing that comes to mind: you're using this as a module, but is >> the nxprtc driver already built in to the kernel? I think if it is = and >> you added nxprtc_load=3DYES to loader.conf, it'll load the module but >> then still use the driver already in the kernel. >=20 > huh. Are you saying the nxprtc driver is already built-in the kernel ?=20= > Why ? Shouldn=E2=80=99t that be just a driver what you can load on = demand, > if users need ? >=20 > Yes, I do have under loader.conf nxprtc_load=3D=E2=80=9CYES=E2=80=9D. = But still some questions=20 > here: >=20 > * if I do not load the driver under loader.conf, nothing works, I = cannot see the > clock or use it anyhow=20 >=20 > * how can I make sure there is NO nxprtc within kernel ? Can I see the = routines > function calls somehow, if i kldunlod the nxprtc driver ? >=20 > I do believe Im using the right thing after your commit. I can again = double check that >=20 > Stefan > _______________________________________________ > 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" >=20 From owner-freebsd-arm@freebsd.org Thu Jul 18 20:16:59 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 CC5DBB05BF for ; Thu, 18 Jul 2019 20:16:59 +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 50F25701A5 for ; Thu, 18 Jul 2019 20:16:59 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563481016; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=uZjsGdga+e7RWuA9oKTy8PFuMe+v0NdXTEvO1BzgyrlI6Mocausuv2NgeEC3oxqrqvawn8KIf82Sj LIQy3LX3fbPhbZH6E/nBD8xVSn7J0Z7D9djMb2as2U5q95jk8y5tLGTFAHf00SRxrIXtybHZ+O7fym hSDKGJE9Mit0OOu74F4Sn+RR7HjZtc6g5lbK8O0JKEwM8aSUpO/RhapjpIXuyAiLRmMB4DAgxgaP5Z Yv7CS2ILpTgvLNhnmxG4AJMH+HrJcRCl9OzDDlffXSobZ9ToI9h/lpEDZTSa0wvFsQUHEuQsxsPCiC 4FIfXbJDc4q0M3nWLXQRTSqWqjQcGaA== 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=4BgCVrMeEq7LpJ4NHdpLaT/AJAjGHgBddqRbCPDtgkQ=; b=D9+3wI8KhdLLbuDDUx9CF4weLZ9N77qbwtgV80pYosm5ixphoHwvcJCjb9Pvn1Vj0J4tzLss8wSLw fsjQ47BUk0AyKo2HvYGUg+mceSIyb5nlERCg6K08MAw9IIaO0v2n0H54ySC5ettlQlPKoo+dpqtEC1 RepqW7lobDyqCeuEmrrncfN0sW8jxpvnMTpXDdXoKscAwqLU1wAEvK7bXq87vU9iHQqhPhQ5f6iCih PVryHHRtQOQY2SEODLOOS0lt43/pQ/4vK4wICrdE8CnhRnQPf+g+OfI+iEPj6qbWN6H5ETxQLF/O6O Q+wkTkEBv94WlXhi2fRmYyr717i/pzw== 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=4BgCVrMeEq7LpJ4NHdpLaT/AJAjGHgBddqRbCPDtgkQ=; b=ZPaeT5JozqFPllCiejx7qjxOhZ0easVfzCvERRHAFUUaVC1Mls6/HwFZ5b9gwdTlE6sloV1xxnFH0 VLFGJ1IdIv6oGyweefTCMBaMQD/0OEd606eCS9ggKquZi/k6/GWU2AHbE1AThDmOCNS1tysuqYeCyB Va/brGuzL6Hyov/Ei8+P6XnKKFekAk/1yj4bKa0apSd10f9KDAf+DWid9LiSppRIbF2ODSw7ivwbV+ vDfmfPP6glc3+O9jHh77zXjnAZ9o6HsrkVMyWUC2Sitnm7Tl/Iqj82VC5Efz5yetpU1xQ2BdEl0adW 7L7k9cLfv23o7BpocGjDcBHNyLZj6EQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: fb66fcad-a998-11e9-9a90-0794651146a4 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 fb66fcad-a998-11e9-9a90-0794651146a4; Thu, 18 Jul 2019 20:16:54 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6IKGq5P045771; Thu, 18 Jul 2019 14:16:52 -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: Thu, 18 Jul 2019 14:16:52 -0600 In-Reply-To: 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 50F25701A5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.985,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: Thu, 18 Jul 2019 20:16:59 -0000 On Thu, 2019-07-18 at 23:01 +0300, Stefan Parvu wrote: > Sone differences between our systems > > * Im using Rasclock 4.0, you are in 4.2 > I wouldn't expect that to make any difference, it's a PCF2129[A]T chip in both cases (the difference between the AT and T chips is temperature range). > * Im using RBPI3B+, you are in RBPI2 > > Not sure if these really matter but just in case Im mentioning. > > > > > It occurred to me: are you sure you're using the fixed driver? One of > > the problems before the fix was that a read would succeed, but return > > the wrong values. So the status register reads might be getting a > > wrong value and interpretting that as the "battery failed bit is set”. > > One thing that comes to mind: you're using this as a module, but is > > the nxprtc driver already built in to the kernel? I think if it is and > > you added nxprtc_load=YES to loader.conf, it'll load the module but > > then still use the driver already in the kernel. > > huh. Are you saying the nxprtc driver is already built-in the kernel ? > Why ? Shouldn’t that be just a driver what you can load on demand, > if users need ? > I guess not, on arm64. On armv7 it is in the generic kernel. > Yes, I do have under loader.conf nxprtc_load=“YES”. But still some questions > here: > > * if I do not load the driver under loader.conf, nothing works, I cannot see the > clock or use it anyhow > > * how can I make sure there is NO nxprtc within kernel ? Can I see the routines > function calls somehow, if i kldunlod the nxprtc driver ? > > I do believe Im using the right thing after your commit. I can again double check that > I guess if it only works when you load the driver, that's a good sign it's not in the kernel. You can also do 'kldstat' and if it's in the output, it was loaded and is being used. -- Ian From owner-freebsd-arm@freebsd.org Thu Jul 18 20:20:59 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 22AEBB0813 for ; Thu, 18 Jul 2019 20:20:59 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C0BA57047A for ; Thu, 18 Jul 2019 20:20:58 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6IKKtDR041666 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jul 2019 20:20:56 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Thu, 18 Jul 2019 23:20:50 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: C0BA57047A X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [1.38 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.94)[0.938,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.47)[0.473,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_HAM_SHORT(-0.73)[-0.732,0]; IP_SCORE(0.51)[ip: (0.39), ipnet: 95.85.0.0/18(1.13), asn: 14061(1.08), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 18 Jul 2019 20:20:59 -0000 > > I guess if it only works when you load the driver, that's a good sign > it's not in the kernel. You can also do 'kldstat' and if it's in the > output, it was loaded and is being used. of course the thing is loaded. I forgot to mention. The kernel module is active and loaded even if the RTC clock failed to keep the time. Something is odd. root@k1:/var/tmp # kldstat Id Refs Address Size Name 1 9 0xffff000000000000 13d1480 kernel 3 1 0xffff000001415000 40ea8 nxprtc.ko 4 1 0xffff000053600000 41000 tmpfs.ko 5 1 0xffff000053641000 31000 mac_ntpd.ko And bsed on my nm function symbols I do really believe im using your latest version. Something else is problematic here. Stefan From owner-freebsd-arm@freebsd.org Thu Jul 18 20:22:32 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 C3BE2B0A0B for ; Thu, 18 Jul 2019 20:22:32 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (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 3D15470785 for ; Thu, 18 Jul 2019 20:22:32 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563481344; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=FV0CliqD5PIA84A7+pwWF3hvN31yv8zmtIf5MeS/cKsVFqrxEU2a6J65YNa3C0P5k5ZtUOGoAVLHG jSRX/cinvgqee6CmGxSecG/NJkJQtQYekAOZEkfrubnW0576rpfkpL5Km6qyWsZsg0MBxF4O9yJ5vb etJ4VYdZLy9Hh2Y0VWJz/KLL6dhkJkCaIUsba+IurShV2yGi0ruzyavsdiC+u79/2ZTHbAZ7+zRDAT v7bNZNJRGOVtG1ajS84KJbxyvLbM0oZdlzu/cP9h6QrFm6OKbVy5Q21ni4GY/5RIDcnn+g9PxzXb21 uvq0FcrVjAm3481W0FehKOPgXQUKqUQ== 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=AWUh8qt3DFMgy1Lj60KfipI9kNY8ZUxgkLXW3PPX5Qc=; b=GwpR+g7PownwveeKS9jXilbzBftWYk9nfsENZnYvsgm5FxvJUrTYVXdoU8E6zP5a8OKow8InbAmz1 IEq+6geisxV+19hrCUnyOVu84PKZfw5UjaNg4whr6loRPFJeEl+X2coRTRuGcbZFEIYUY55WeeJ8QJ LGMxHcGZWoOQ0a0Uxmbbj4deZuWUhoch5kfIaZmJuW/ZRDVf+ikc5G3zkChsHkUzxgPEL2oK2iysnE OoeSroHWyfdedL46R7qQc0sHcv18h23Da9E85kCTOnNCeVMG2UNcKn3Of79GmyyhXo5hQ7zH5HZhIr 2luligcwU4Aj2I4J/zVYuiehxYFcuYw== ARC-Authentication-Results: i=1; outbound3.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=AWUh8qt3DFMgy1Lj60KfipI9kNY8ZUxgkLXW3PPX5Qc=; b=DyU/0tFjHvVtkYXg7iDvoUmQR6pBFiuz83Of9J3YozO38ePc89gJKzOiKt8mk8FIl09/LpGfM3C3s Ox0QqK+cHfkhkHOOQy3khJ/RabYTTMxzeAKLE5WExVVWJS4wi3KmHYhtYPfg8Lzb5P8+AsYvQ18AGS 8FVNCbMM/qk1Se9og4SbfUzJBRx6yBu89ZVGx76dgvFb8P2fptOzNG8vbIbc3+61Mo3P9qiqOb5V+v 8VMw3b3tXEnMtbSnCgJ2drgSbQXJ/mq/006sWI05k99+li3kVhSt/FyjXN5oGQXZPKqGF57BghucER JqFoDl+NMpEs6lVoJchlTCPI3rk+jFA== X-MHO-RoutePath: aGlwcGll X-MHO-User: bf9ea3a0-a999-11e9-9d30-d9f4e14f47a7 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 outbound3.ore.mailhop.org (Halon) with ESMTPSA id bf9ea3a0-a999-11e9-9d30-d9f4e14f47a7; Thu, 18 Jul 2019 20:22:23 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6IKMLgA045806; Thu, 18 Jul 2019 14:22:21 -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: Thu, 18 Jul 2019 14:22:21 -0600 In-Reply-To: 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.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: 3D15470785 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.985,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Thu, 18 Jul 2019 20:22:32 -0000 On Thu, 2019-07-18 at 23:16 +0300, Stefan Parvu wrote: > I think after your latest commit I see a function from nxprtc module > which does not > exist in the original module. Take a look: > > root@k1:/var/tmp # nm -A -a /boot/kernel/nxprtc.ko | grep readfrom > /boot/kernel/nxprtc.ko:0000000000010ab8 t nxprtc_readfrom > > which I do not see under original nxprtc module such thing. > > root@k1:/var/tmp # nm -A -a /var/tmp/nxprtc.original.ko | grep > readfrom > /var/tmp/nxprtc.original.ko: U iicdev_readfrom > > Is this right ? Is this something you have fixed on the latest and > the greatest > nxprtc version ? > > Yep, that is good confirmation that the fix is in that module. I almost hesitate to say it, but... the symptoms you're seeing are exactly what would happen if the battery was installed upside-down. :) -- Ian From owner-freebsd-arm@freebsd.org Thu Jul 18 20:25:12 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 E394CB0B04 for ; Thu, 18 Jul 2019 20:25:12 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 81390708DE for ; Thu, 18 Jul 2019 20:25:12 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6IKP9j6041715 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jul 2019 20:25:10 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Thu, 18 Jul 2019 23:25:04 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: <77885EA9-6AA4-4106-B447-3A83FB6033BA@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 81390708DE X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [1.37 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.94)[0.936,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.49)[0.494,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_HAM_SHORT(-0.75)[-0.753,0]; IP_SCORE(0.50)[ip: (0.38), ipnet: 95.85.0.0/18(1.11), asn: 14061(1.08), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 18 Jul 2019 20:25:12 -0000 LOL . Well u never know that. Let me check. With 2 kids around everything is possible. Stefan Parvu sparvu@kronometrix.org > On 18 Jul 2019, at 23.22, Ian Lepore wrote: > > On Thu, 2019-07-18 at 23:16 +0300, Stefan Parvu wrote: >> I think after your latest commit I see a function from nxprtc module >> which does not >> exist in the original module. Take a look: >> >> root@k1:/var/tmp # nm -A -a /boot/kernel/nxprtc.ko | grep readfrom >> /boot/kernel/nxprtc.ko:0000000000010ab8 t nxprtc_readfrom >> >> which I do not see under original nxprtc module such thing. >> >> root@k1:/var/tmp # nm -A -a /var/tmp/nxprtc.original.ko | grep >> readfrom >> /var/tmp/nxprtc.original.ko: U iicdev_readfrom >> >> Is this right ? Is this something you have fixed on the latest and >> the greatest >> nxprtc version ? >> >> > > Yep, that is good confirmation that the fix is in that module. > > I almost hesitate to say it, but... the symptoms you're seeing are > exactly what would happen if the battery was installed upside-down. :) > > -- Ian From owner-freebsd-arm@freebsd.org Thu Jul 18 20:29:22 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 54F6FB0CAE for ; Thu, 18 Jul 2019 20:29:22 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D1A6870A21 for ; Thu, 18 Jul 2019 20:29:21 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6IKTJOk041741 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jul 2019 20:29:20 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Thu, 18 Jul 2019 23:29:14 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> <77885EA9-6AA4-4106-B447-3A83FB6033BA@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: <77885EA9-6AA4-4106-B447-3A83FB6033BA@kronometrix.org> Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: D1A6870A21 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [2.74 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.86)[0.864,0]; URI_COUNT_ODD(1.00)[1]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.94)[0.940,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_HAM_SHORT(-0.75)[-0.750,0]; IP_SCORE(0.50)[ip: (0.38), ipnet: 95.85.0.0/18(1.10), asn: 14061(1.08), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 18 Jul 2019 20:29:22 -0000 check. all good. battery installation is all good. In fact the clock functions but for very short periods of time. thats = what I have seen. Its like=20 keeping the time for 5-10 minutes or so. If I stop the system for 1hr+ = time is lost. I can check again Stefan Parvu sparvu@kronometrix.org > On 18 Jul 2019, at 23.25, Stefan Parvu wrote: >=20 > LOL . Well u never know that. Let me check. With 2 kids around = everything is=20 > possible.=20 >=20 > Stefan Parvu > sparvu@kronometrix.org >=20 >=20 >=20 >> On 18 Jul 2019, at 23.22, Ian Lepore wrote: >>=20 >> On Thu, 2019-07-18 at 23:16 +0300, Stefan Parvu wrote: >>> I think after your latest commit I see a function from nxprtc module >>> which does not=20 >>> exist in the original module. Take a look: >>>=20 >>> root@k1:/var/tmp # nm -A -a /boot/kernel/nxprtc.ko | grep readfrom >>> /boot/kernel/nxprtc.ko:0000000000010ab8 t nxprtc_readfrom >>>=20 >>> which I do not see under original nxprtc module such thing.=20 >>>=20 >>> root@k1:/var/tmp # nm -A -a /var/tmp/nxprtc.original.ko | grep >>> readfrom >>> /var/tmp/nxprtc.original.ko: U iicdev_readfrom >>>=20 >>> Is this right ? Is this something you have fixed on the latest and >>> the greatest >>> nxprtc version ? >>>=20 >>>=20 >>=20 >> Yep, that is good confirmation that the fix is in that module. >>=20 >> I almost hesitate to say it, but... the symptoms you're seeing are >> exactly what would happen if the battery was installed upside-down. = :) >>=20 >> -- Ian >=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" From owner-freebsd-arm@freebsd.org Thu Jul 18 20:33:53 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 E9AA6B0EFD for ; Thu, 18 Jul 2019 20:33:53 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5204870D5A for ; Thu, 18 Jul 2019 20:33:53 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6IKXoQL041786 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jul 2019 20:33:51 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Thu, 18 Jul 2019 23:33:45 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> <77885EA9-6AA4-4106-B447-3A83FB6033BA@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 5204870D5A X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [0.93 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.67)[0.666,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.28)[0.280,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_HAM_SHORT(-0.70)[-0.696,0]; IP_SCORE(0.49)[ip: (0.37), ipnet: 95.85.0.0/18(1.08), asn: 14061(1.08), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 18 Jul 2019 20:33:54 -0000 hang on. something is odd. Take a look: after copying the new nxprtc.ko = do I need to=20 regenrate the linker.hints file ? root@k1:~ # dmesg | grep nxp nxprtc0: at addr 0xa2 on iicbus0 nxprtc0: WARNING: RTC battery failed; time is invalid nxprtc0: registered as a time-of-day clock, resolution 0.015625s nxprtc0: RTC clock not running nxprtc0: detached warning: KLD '/boot/kernel/nxprtc.ko' is newer than the linker.hints = file nxprtc0: at addr 0xa2 on iicbus0 nxprtc0: registered as a time-of-day clock, resolution 0.015625s What I did was: 1. Boot system, which had wrong time. RTC present. 2. Fixed the time using date command, Started NTPD 3. kldunload and kldload again nxprtc driver which dumped this warning: Stefan Parvu sparvu@kronometrix.org > On 18 Jul 2019, at 23.29, Stefan Parvu wrote: >=20 > check. all good. battery installation is all good. >=20 > In fact the clock functions but for very short periods of time. thats = what I have seen. Its like=20 > keeping the time for 5-10 minutes or so. If I stop the system for 1hr+ = time is lost. I can check > again >=20 >=20 > Stefan Parvu > sparvu@kronometrix.org >=20 >=20 >=20 >> On 18 Jul 2019, at 23.25, Stefan Parvu = wrote: >>=20 >> LOL . Well u never know that. Let me check. With 2 kids around = everything is=20 >> possible.=20 >>=20 >> Stefan Parvu >> sparvu@kronometrix.org >>=20 >>=20 >>=20 >>> On 18 Jul 2019, at 23.22, Ian Lepore wrote: >>>=20 >>> On Thu, 2019-07-18 at 23:16 +0300, Stefan Parvu wrote: >>>> I think after your latest commit I see a function from nxprtc = module >>>> which does not=20 >>>> exist in the original module. Take a look: >>>>=20 >>>> root@k1:/var/tmp # nm -A -a /boot/kernel/nxprtc.ko | grep readfrom >>>> /boot/kernel/nxprtc.ko:0000000000010ab8 t nxprtc_readfrom >>>>=20 >>>> which I do not see under original nxprtc module such thing.=20 >>>>=20 >>>> root@k1:/var/tmp # nm -A -a /var/tmp/nxprtc.original.ko | grep >>>> readfrom >>>> /var/tmp/nxprtc.original.ko: U iicdev_readfrom >>>>=20 >>>> Is this right ? Is this something you have fixed on the latest and >>>> the greatest >>>> nxprtc version ? >>>>=20 >>>>=20 >>>=20 >>> Yep, that is good confirmation that the fix is in that module. >>>=20 >>> I almost hesitate to say it, but... the symptoms you're seeing are >>> exactly what would happen if the battery was installed upside-down. = :) >>>=20 >>> -- Ian >>=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" >=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" From owner-freebsd-arm@freebsd.org Thu Jul 18 20:48:29 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 CDC36B13AF for ; Thu, 18 Jul 2019 20:48:29 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1.eu.mailhop.org (outbound1.eu.mailhop.org [52.28.251.132]) (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 4565571401 for ; Thu, 18 Jul 2019 20:48:29 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563482907; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=BsYaZV81TAppE7t9Jwe92N2fHhacYL+Y/Qr0d3ieE+Lg71ipMxsRIY8ZtpnSo3XfWYyrt73nRz+Jb X2kW7W8ljwmT8wiX8ei3qAxCcG7NavRB3fX3aVpRcP6JuKEjjnBhNMTo8cEPl72KwNd9T4C0xmXYUI NiOxPcQG2Rqzgms/LFpOnCa5xAv5f4y9jdUjvfKVDdSZ3SNGto3wHKYd2I5rIBY31uTreON6jhwLxq DM3CRdBeLuqeImgQzAyJwvXnpO6y4xYy5iICe9+Itoa6kASG2X6vokg7ZRuV+sPpRwnB2VtOiokHWX R/rEiIbZdERxHu33/B8P25Ft1crPkTQ== 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=Y8FcClenyXOWjEFmMlFOmnUIP42vtHMDN5Q2b8iisx8=; b=oVHZ0DquUJwPYbb43+rWd2leNNlW52VkIRePkFyAQGCX06zo0yAiy0VWaXUTXmEN9VnGXGgMq+Eob rwoqj8XyM4HZpk863/Yu6RJ59KO2dgfRlf7E4BdtGWulaWQZsy9/WxwasyZZQvyyR/pDWKOg3rYr+r e2uzVM0y4QV3j8Qc76XVzhiEk+SToCWayDFAhVFEXR3l3wT89ORlZ4/cdPrI/83ziLqBHfmaZHRZo8 pNki9auGW8Mu9hoO8CZvfnP3DCx/aqkjN/N3FfZtQ9S46moUEsaTuJkJPHWay6yNuYTVWgBdO0JDUu /rtOfDIs/0LDgR/4fLkWdP9cXCPNEqw== ARC-Authentication-Results: i=1; outbound3.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=Y8FcClenyXOWjEFmMlFOmnUIP42vtHMDN5Q2b8iisx8=; b=PCmwY/LUk5inOy0hU6wQG8Jxmexw73j25sv1DCvqIOxagGnrlEB1oRsHZd9lUBB+skaOVwbMwR6Gc Tf88gpLcBmJA7xfPU7HCAjLBZ9PW60YuTSTWiIWYKKO49xUhwIMF6LLS/kaAhZn3E0R4/ZZml3mHZ3 H66lFUo6zcIDV2fMwY6x7JGtJyz/j5A3i0q9lpI+hyHgzOHuY3MP2/444FpCIkkNK3Bh+eB9i1vRfj heN+noCKFWYk3m7dOlftVCH4BUsxRBZ7G/hNOkCoZebmUHKV7G3NajUOVh/GgXJYPne/64KBZfWXQc YUZ8k5XiXbIVbkBzZlNUC5zCkbV5mbw== X-MHO-RoutePath: aGlwcGll X-MHO-User: 616559e9-a99d-11e9-852e-270a483ae530 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 outbound3.eu.mailhop.org (Halon) with ESMTPSA id 616559e9-a99d-11e9-852e-270a483ae530; Thu, 18 Jul 2019 20:48:23 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6IKmLjL045903; Thu, 18 Jul 2019 14:48:21 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <56794a9091d145c7f537c33e147f9984266f5320.camel@freebsd.org> Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 From: Ian Lepore To: Stefan Parvu , freebsd-arm@freebsd.org Date: Thu, 18 Jul 2019 14:48:21 -0600 In-Reply-To: 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> <77885EA9-6AA4-4106-B447-3A83FB6033BA@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: 4565571401 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)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; ASN(0.00)[asn:16509, ipnet:52.28.0.0/16, 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: Thu, 18 Jul 2019 20:48:29 -0000 On Thu, 2019-07-18 at 23:33 +0300, Stefan Parvu wrote: > hang on. something is odd. Take a look: after copying the new > nxprtc.ko do I need to > regenrate the linker.hints file ? > > root@k1:~ # dmesg | grep nxp > nxprtc0: at addr 0xa2 on iicbus0 > nxprtc0: WARNING: RTC battery failed; time is invalid > nxprtc0: registered as a time-of-day clock, resolution 0.015625s > nxprtc0: RTC clock not running > nxprtc0: detached > warning: KLD '/boot/kernel/nxprtc.ko' is newer than the linker.hints > file > nxprtc0: at addr 0xa2 on iicbus0 > nxprtc0: registered as a time-of-day clock, resolution 0.015625s > > What I did was: > > > 1. Boot system, which had wrong time. RTC present. > > 2. Fixed the time using date command, Started NTPD > > 3. kldunload and kldload again nxprtc driver which dumped this > warning: > I don't think it's important in this case that you rebuild the hints file, because the module doesn't export any new symbols or have a changed version or anything else that would affect the hints. -- Ian > > > Stefan Parvu > sparvu@kronometrix.org > > > > > On 18 Jul 2019, at 23.29, Stefan Parvu > > wrote: > > > > check. all good. battery installation is all good. > > > > In fact the clock functions but for very short periods of time. > > thats what I have seen. Its like > > keeping the time for 5-10 minutes or so. If I stop the system for > > 1hr+ time is lost. I can check > > again > > > > > > Stefan Parvu > > sparvu@kronometrix.org > > > > > > > > > On 18 Jul 2019, at 23.25, Stefan Parvu > > > wrote: > > > > > > LOL . Well u never know that. Let me check. With 2 kids around > > > everything is > > > possible. > > > > > > Stefan Parvu > > > sparvu@kronometrix.org > > > > > > > > > > > > > On 18 Jul 2019, at 23.22, Ian Lepore wrote: > > > > > > > > On Thu, 2019-07-18 at 23:16 +0300, Stefan Parvu wrote: > > > > > I think after your latest commit I see a function from nxprtc > > > > > module > > > > > which does not > > > > > exist in the original module. Take a look: > > > > > > > > > > root@k1:/var/tmp # nm -A -a /boot/kernel/nxprtc.ko | grep > > > > > readfrom > > > > > /boot/kernel/nxprtc.ko:0000000000010ab8 t nxprtc_readfrom > > > > > > > > > > which I do not see under original nxprtc module such thing. > > > > > > > > > > root@k1:/var/tmp # nm -A -a /var/tmp/nxprtc.original.ko | > > > > > grep > > > > > readfrom > > > > > /var/tmp/nxprtc.original.ko: U > > > > > iicdev_readfrom > > > > > > > > > > Is this right ? Is this something you have fixed on the > > > > > latest and > > > > > the greatest > > > > > nxprtc version ? > > > > > > > > > > > > > > > > > > Yep, that is good confirmation that the fix is in that module. > > > > > > > > I almost hesitate to say it, but... the symptoms you're seeing > > > > are > > > > exactly what would happen if the battery was installed upside- > > > > down. :) > > > > > > > > -- Ian > > > > > > _______________________________________________ > > > 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" > > _______________________________________________ > 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 > " From owner-freebsd-arm@freebsd.org Thu Jul 18 20:49:54 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 4FD18B1456 for ; Thu, 18 Jul 2019 20:49:54 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A0885714AA for ; Thu, 18 Jul 2019 20:49:53 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6IKnpmW041889 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jul 2019 20:49:51 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Thu, 18 Jul 2019 23:49:45 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> <77885EA9-6AA4-4106-B447-3A83FB6033BA@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: A0885714AA X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [1.28 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.93)[0.926,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.33)[0.327,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_HAM_SHORT(-0.65)[-0.653,0]; IP_SCORE(0.49)[ip: (0.36), ipnet: 95.85.0.0/18(1.06), asn: 14061(1.08), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 18 Jul 2019 20:49:54 -0000 > warning: KLD '/boot/kernel/nxprtc.ko' is newer than the linker.hints = file > nxprtc0: at addr 0xa2 on iicbus0 > nxprtc0: registered as a time-of-day clock, resolution 0.015625s ok. that was just an warning. I re-created anyway the linker.hints and now that warning is gone. anyway, here the main issue: If I keep my RBPI 10 minutes down, no power, all good, time is correctly = kept and displayed. $ date Thu Jul 18 20:46:21 UTC 2019 $ kldstat Id Refs Address Size Name 1 9 0xffff000000000000 13d1480 kernel 3 1 0xffff000001415000 40ea8 nxprtc.ko 4 1 0xffff000053600000 41000 tmpfs.ko 5 1 0xffff000053641000 31000 mac_ntpd.ko $ dmesg | grep nxp nxprtc0: at addr 0xa2 on iicbus0 nxprtc0: registered as a time-of-day clock, resolution 0.015625s I will try to keep it off now for +1hr - and then I bet the problems = start to show. Stefan=20 From owner-freebsd-arm@freebsd.org Thu Jul 18 22:31:15 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 45067B31E5 for ; Thu, 18 Jul 2019 22:31:15 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 86FF774BC1 for ; Thu, 18 Jul 2019 22:31:14 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6IMVAtk042534 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jul 2019 22:31:11 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Fri, 19 Jul 2019 01:31:05 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> <77885EA9-6AA4-4106-B447-3A83FB6033BA@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 86FF774BC1 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [1.61 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.64)[0.636,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_SPAM_LONG(0.20)[0.202,0]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.10)[0.095,0]; IP_SCORE(0.48)[ip: (0.36), ipnet: 95.85.0.0/18(1.04), asn: 14061(1.07), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 18 Jul 2019 22:31:15 -0000 2hrs test: * time was correct=20 * but system log showed: nxprtc0: at addr 0xa2 on iicbus0 nxprtc0: WARNING: RTC battery failed; time is invalid nxprtc0: registered as a time-of-day clock, resolution 0.015625s nxprtc0: RTC clock not running * after I did kldunload / load I got: nxprtc0: detached iicbus0: at addr 0xa2 nxprtc0: at addr 0xa2 on iicbus0 nxprtc0: registered as a time-of-day clock, resolution 0.015625s I will run a longer test (6-8hrs) and as well test Raspbian on this hdw = to really rule out hardware probalems Stefan Parvu sparvu@kronometrix.org > On 18 Jul 2019, at 23.49, Stefan Parvu wrote: >=20 >> warning: KLD '/boot/kernel/nxprtc.ko' is newer than the linker.hints = file >> nxprtc0: at addr 0xa2 on iicbus0 >> nxprtc0: registered as a time-of-day clock, resolution 0.015625s >=20 > ok. that was just an warning. I re-created anyway the linker.hints and > now that warning is gone. >=20 > anyway, here the main issue: >=20 > If I keep my RBPI 10 minutes down, no power, all good, time is = correctly kept > and displayed. >=20 > $ date > Thu Jul 18 20:46:21 UTC 2019 >=20 > $ kldstat > Id Refs Address Size Name > 1 9 0xffff000000000000 13d1480 kernel > 3 1 0xffff000001415000 40ea8 nxprtc.ko > 4 1 0xffff000053600000 41000 tmpfs.ko > 5 1 0xffff000053641000 31000 mac_ntpd.ko >=20 > $ dmesg | grep nxp > nxprtc0: at addr 0xa2 on iicbus0 > nxprtc0: registered as a time-of-day clock, resolution 0.015625s >=20 > I will try to keep it off now for +1hr - and then I bet the problems = start to show. >=20 > Stefan=20 >=20 >=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" From owner-freebsd-arm@freebsd.org Thu Jul 18 22:36:24 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 0E5E1B32CA for ; Thu, 18 Jul 2019 22:36:24 +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 830FB74DAB for ; Thu, 18 Jul 2019 22:36:23 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563489381; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=pc3qKorqdQd6XtrKSHLoJEB3k5RIX/hWevRjTfn67ZN8iMEGIMsuw1FpAF/dJW853om8v9C7ei1Hd o2LejtqnmrZ0uFJkKB1Bqbi7LJOS3xBIModCnTgHWwI8knjR7Pl0lK7ldcwM8MXno30t/9F3/oS/P0 VTnsyJdQLjZt1sIee/dsBPEEZHqiHRKSlKgVn2IN0UEuBT8PGnyDnC0wQSDe/b+V06zTk//u6I6kiF zFAB9hrnD6bMqT18Lb//WAXFcDGxTq1t5Bmd0mz+ejQSuiz/ZuISGt8mQgxW0xI3ma6+mDGsTXSkW7 IXZU22BSLISHwQCZQQ5MVZJdO5dqoqg== 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=eI/WeLIjpY/0fFRPTuO9Z51LYWrUIuA919RL/XFxLMQ=; b=uqH72NKj2Ov/LiYI/r7UN+Slo88p8KZOdQU9583Pw79vrSgx3eX+LDNZ+A2xT8sZQHzxi2ZtHy4a+ k3+ytagaMQRP3YzdVg3qNoyp1stjvlXQ25P4atTYf1pL1RcEBzM3pDWlBHRsa+lv0aezoSu4cu2XgW 6fo/EK83lk87E7QenqIHHvAisvbmQ4P2WXi6yQWH4A6D0d9UFcLOl9MrwMNZR57mIeSgEmITNHLsX1 z2q0OjxhzRIhCclSakC5Xq4+i9MrTkJKNzaTQ3Rbrxrnfh7oN3+o5IQFOjq5P9AEjEZMTCHh/jTxUl K2hFLmfnnwJz0bC50zONEvbyXAwuCVQ== 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=eI/WeLIjpY/0fFRPTuO9Z51LYWrUIuA919RL/XFxLMQ=; b=mCfBGYC70XYw7QBqgzA4u4Q/jN78Ql1bV/SqOIeIOgH/0YHnZLikoUejQVfD6cW2IDwDFbcXnUavX 2GkGDHIw2BdqPRPIXN+UhZgIKVzkiSwaCky03xekdJ/qRymGJo8jxh8AwBafVcSjDvDwC/4aURD27+ DCuG3wngs7yN/wiBvRNIgaO36dpN68GOZ6iAGbl6Sz2Da+rZQ6FpKg2cX7Ut4UWkWNNijc8Lo5rl1o nq+QLcw0lpRG4r1jakT1NOfia+GX4YFjskiH+zJCx/GZDsEYbzk+YHN0AM5J1x33XuYROWElqw9G0q DVzB9BsQgdsuL2JnzvnQi2sPL2nAjdw== X-MHO-RoutePath: aGlwcGll X-MHO-User: 74a8123d-a9ac-11e9-9a90-0794651146a4 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 74a8123d-a9ac-11e9-9a90-0794651146a4; Thu, 18 Jul 2019 22:36:18 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6IMaG9Q046282; Thu, 18 Jul 2019 16:36:16 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <7aafd9f1f1cc072081a14c41a0253e72cd449811.camel@freebsd.org> Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 From: Ian Lepore To: Stefan Parvu , freebsd-arm@freebsd.org Date: Thu, 18 Jul 2019 16:36:16 -0600 In-Reply-To: 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> <77885EA9-6AA4-4106-B447-3A83FB6033BA@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: 830FB74DAB 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)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.988,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: Thu, 18 Jul 2019 22:36:24 -0000 On Fri, 2019-07-19 at 01:31 +0300, Stefan Parvu wrote: > 2hrs test: > > * time was correct > > * but system log showed: > > nxprtc0: at addr 0xa2 on iicbus0 > nxprtc0: WARNING: RTC battery failed; time is invalid > nxprtc0: registered as a time-of-day clock, resolution 0.015625s > nxprtc0: RTC clock not running > > The time couldn't have been correct from the RTC if it said the clock was not running -- the driver says that instead of returning a time to the kernel. Ntpd must have already set the time before you checked it. > * after I did kldunload / load I got: > > nxprtc0: detached > iicbus0: at addr 0xa2 > nxprtc0: at addr 0xa2 on iicbus0 > nxprtc0: registered as a time-of-day clock, resolution 0.015625s > It's odd that you're getting battery failures, but never a battery-low warning when the driver attaches. -- Ian > I will run a longer test (6-8hrs) and as well test Raspbian on this > hdw to really rule out > hardware probalems > > Stefan Parvu > sparvu@kronometrix.org > > > > > On 18 Jul 2019, at 23.49, Stefan Parvu > > wrote: > > > > > warning: KLD '/boot/kernel/nxprtc.ko' is newer than the > > > linker.hints file > > > nxprtc0: at addr 0xa2 on iicbus0 > > > nxprtc0: registered as a time-of-day clock, resolution 0.015625s > > > > ok. that was just an warning. I re-created anyway the linker.hints > > and > > now that warning is gone. > > > > anyway, here the main issue: > > > > If I keep my RBPI 10 minutes down, no power, all good, time is > > correctly kept > > and displayed. > > > > $ date > > Thu Jul 18 20:46:21 UTC 2019 > > > > $ kldstat > > Id Refs Address Size Name > > 1 9 0xffff000000000000 13d1480 kernel > > 3 1 0xffff000001415000 40ea8 nxprtc.ko > > 4 1 0xffff000053600000 41000 tmpfs.ko > > 5 1 0xffff000053641000 31000 mac_ntpd.ko > > > > $ dmesg | grep nxp > > nxprtc0: at addr 0xa2 on iicbus0 > > nxprtc0: registered as a time-of-day clock, resolution 0.015625s > > > > I will try to keep it off now for +1hr - and then I bet the > > problems start to show. > > > > Stefan > > > > > > _______________________________________________ > > 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 > " From owner-freebsd-arm@freebsd.org Fri Jul 19 05:05:05 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 683E7B9221 for ; Fri, 19 Jul 2019 05:05:05 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E084E86F1C for ; Fri, 19 Jul 2019 05:05:03 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Fri, 19 Jul 2019 07:05:01 +0200 id 00F40657.5D314F7D.0000715E Date: Fri, 19 Jul 2019 07:05:00 +0200 From: Milan Obuch To: Emmanuel Vadot Cc: freebsd-arm@freebsd.org Subject: Re: Pine64 (LTS) HDMI trouble with UHD display Message-ID: <20190719070500.14313620@zeta.dino.sk> In-Reply-To: <20190718094432.6c868b59ace49b078ce07c16@bidouilliste.com> References: <20190718091204.410aaedd@zeta.dino.sk> <20190718094432.6c868b59ace49b078ce07c16@bidouilliste.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i386-portbld-freebsd11.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: E084E86F1C X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsd-arm@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-arm@dino.sk X-Spamd-Result: default: False [-5.77 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dino.sk]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.dino.sk]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[72.65.245.84.list.dnswl.org : 127.0.10.0]; NEURAL_HAM_SHORT(-0.94)[-0.938,0]; IP_SCORE(-2.53)[ip: (-7.54), ipnet: 84.245.64.0/18(-3.77), asn: 16160(-1.38), country: SK(0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16160, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2] 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: Fri, 19 Jul 2019 05:05:05 -0000 On Thu, 18 Jul 2019 09:44:32 +0200 Emmanuel Vadot wrote: > On Thu, 18 Jul 2019 09:12:04 +0200 > Milan Obuch wrote: > > > Hi, > > > > as I have now basically working FreeBSD-CURRENT on Pine64-LTS, I > > decided to try a 4K monitor via HDMI. This does not work with > > strange output, to me. This is what I captured from serial console, > > trying verbose boot after escaping to loader prompt: > > > > --- captured begin --- > > > > Type '?' for a list of commands, 'help' for more detailed help. > > OK boot -vs > > Using DTB provided by EFI at 0x47ef5000. > > Loading DTB overlays: > > 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-timer,sun50i-a64-opp,sun50i-a64-uart2' /boot/dtb/overlays/sun50i-a64-sid.dtbo > > size=0x1fd /boot/dtb/overlays/sun50i-a64-ths.dtbo size=0x3e8 > > /boot/dtb/overlays/sun50i-a64-timer.dtbo size=0x175 > > /boot/dtb/overlays/sun50i-a64-opp.dtbo size=0x74f > > /boot/dtb/overlays/sun50i-a64-uart2.dtbo size=0x123 > > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-sid.dtbo' > > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-ths.dtbo' > > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' > > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo' > > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-uart2.dtbo' > > EFI framebuffer information: > > addr, size 0xbe000000, 0x1fa4000 > > dimensions 3840 x 2160 > > stride 3840 > > masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 > > EHCI failed to shut down host controller. > > panic: Too many early devmap mappings 2 > > cpuid = 0 > > time = 1 > > KDB: stack backtrace: > > #0 0xffff0000004382b4 at ??+0 > > #1 0xffff0000003f3620 at ??+0 > > #2 0xffff0000003f33d0 at ??+0 > > #3 0xffff00000074ecdc at ??+0 > > #4 0xffff0000002bb0bc at ??+0 > > #5 0xffff0000002bd580 at ??+0 > > #6 0xffff000000395f40 at ??+0 > > #7 0xffff00000070dc14 at ??+0 > > Uptime: 1s > > > > --- captured end --- [ snip ] > > Any idea on debugging this situation? It is not show stopper for me, > > other things could be checked/tested/verified, but it would be nice > > to have working 4K/UHD video output... > > > > Regards, > > Milan > > Could you try bumping PMAP_MAPDEV_EARLY_SIZE in > sys/arm64/include/pte.h to say L2_SIZE * 12 ? > I am doing full system rebuild just now, with recommended modification. It takes some time (I am doing it natively on Pine as an another test) and report will follow... Regards, Milan From owner-freebsd-arm@freebsd.org Fri Jul 19 08:00:28 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 78DACBC22F for ; Fri, 19 Jul 2019 08:00:28 +0000 (UTC) (envelope-from vijaykumar9597@gmail.com) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D602A8B481 for ; Fri, 19 Jul 2019 08:00:27 +0000 (UTC) (envelope-from vijaykumar9597@gmail.com) Received: by mail-io1-xd2d.google.com with SMTP id g20so56565944ioc.12 for ; Fri, 19 Jul 2019 01:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tfpRnAUG4YpdJOAVYTTKivYjppoKggoOC6FFoIl7hRw=; b=KaIxKbbsTJYZwWyOf8hFBp7/iDeRx9yY9jshai6DIOG5jQft8Gq1xdZ4FMmDBIteP2 +pD95D/9FiRGxnYVn9YABALT2kf24FDTz4pqQ+IFgYTx4i5eRed7dPqbUGfzhOlrD+I5 leIRVUAGjSV9pLB2GIFKxeD2HzDNpTtDIQQzLHip9qXAJILROjSqkHbN1ZseL7TxboEP fwKAJB202h6BwyjuiEAKhm0TkrmaicKRKiouItDumjKmYA4U9U8EQT3ozUevOBVRTyD/ 3fybV0Glj80l0cz6b/+aKrw8JZMDBcfEiLrzk5JzT9IJfnzNap3LgdJ24uZMuPDfh2Xy jpzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tfpRnAUG4YpdJOAVYTTKivYjppoKggoOC6FFoIl7hRw=; b=mtTBdGo1LjADbTlRlxF1hHyydum4DxBGDuvPgy1eVenJq8tuNmYxiqbRyAFVgEH8nJ cIqp8MVfsrX9aQEFxNJWpmDPOlEWLdswv34TjZKV5tLwun9XPh/6ESS6wN/dW8Qd3tgx lVTBKWqD0VwpWMDWUe1EnCDcTvEuXE+iNb5HJFDRII3ZwKTXwEomxt3k93QyNRrYbQjW ubKnY8JtfZjMYATFIJqHnww93eGrjYWGQ2ZJrOaRh/FUgtb+qVS2r90cc8lXzllr/6fW ThCENeWI8mp+5zoheg7lzVZjgSNO7+D0+f+7f5XyanTax2Jl02vgnjTArdOIBtDqnFjX lI5g== X-Gm-Message-State: APjAAAVHfa3TZF9jGJYINe+1n/PABlAI2ENvKxGN1h/jHbM3dmV3DHiO MtfR7Q0/ZNyMcXu5PTpzXEzrvBRm34yd8iqKyUaDAkpF3zo= X-Google-Smtp-Source: APXvYqzMe4N2+jaud33feURar2VqdUkFH0qdylO6WjC2XijQmC9qorppySwLRAyZ6ekIN63zawwglHQ6Lf3KgCaFzsU= X-Received: by 2002:a6b:790a:: with SMTP id i10mr45223417iop.150.1563523226877; Fri, 19 Jul 2019 01:00:26 -0700 (PDT) MIME-Version: 1.0 From: Vijay Kumar Banerjee Date: Fri, 19 Jul 2019 13:30:15 +0530 Message-ID: Subject: Question regarding framebuffer driver. To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: D602A8B481 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=KaIxKbbs; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vijaykumar9597@gmail.com designates 2607:f8b0:4864:20::d2d as permitted sender) smtp.mailfrom=vijaykumar9597@gmail.com X-Spamd-Result: default: False [-6.92 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[d.2.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.98)[ip: (-9.29), ipnet: 2607:f8b0::/32(-3.13), asn: 15169(-2.43), country: US(-0.05)]; NEURAL_HAM_SHORT(-0.93)[-0.931,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 19 Jul 2019 08:00:28 -0000 Hello everyone, I'm working on porting the framebuffer driver to RTEMS with Beaglebone Black as the target device. I have have already ported the am335x_lcd, tda19988, fbd and VT drivers, but the screen doesn't seem to "power up". >From the FreeBSD bootlog (12-RELEASE), I see that the screen is turning on after the VT initialization message, so I guess it's something that happens after the vt initialization that turns the screen on. So far I have ported the vt_fb and vt_core and it boots up well with the message : VT: initialize with new VT driver "fb". But the screen doesn't seem to turn on. Can someone please tell me or point me to the right place in the code that is responsible for turning the screen on after VT initialization? Thank you, Vijay P.S: Sorry for reposting on this list. I posted in freebsd-hackers first and didn't get any response there. From owner-freebsd-arm@freebsd.org Fri Jul 19 09:20:14 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 0A29EBD6DD for ; Fri, 19 Jul 2019 09:20:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-8.consmr.mail.gq1.yahoo.com (sonic316-8.consmr.mail.gq1.yahoo.com [98.137.69.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 745D08D6F4 for ; Fri, 19 Jul 2019 09:20:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Q9LWJ50VM1lXe8P16ejriHn2_KWwAH0yQT9_Pg04Cbq0A0_0fz1wAxnD7y1q8u4 RmXB5ES15l4MdO6_LgePOD3at4a2PAi8.nNPe5N32LJ4WhopeVOd3gx9TrN4fQo4AxPQV1xyVgpd Q_hHR.ruk.DpgbGPMVpf6z_8Xt9_yMUnL_D1TtHc5TSEDkWappcgwlCA692Dt6BVOz8TdImAFcTO ky8qeUU2Bjx1DBrfhF2TprOZ8P4M9O5ZGBOZIx9rLropgycZIslSf6y5fgS6ovWRnpTQ_ZVxMrDv k.VwMvDMxEYoCzcVLcRvfqQlrY23ZCpwFiTCFl3EDVIlVKhoxCY.P.0TlQydx3snR8E6T76FxWgZ Smr.WFABdzNLLialZB5hINIF7sHTJjUhB0Emr63RzYkUWzKt7urBghxVlW25P34Q6NjL6YZiorT6 1nROyY3QMe50bYDVUJmojFuPbcdrn20Kt4HyXOjqEgp3DCNwIyakdZ6KqCkz3Oz5eGMqRGjgFrfT H28LlqTITG7yDwS7nq3o.tzrNCh8unViskU2.H1JzjR39_81QcHoyoR_y7QxZGwXGmah37rF8DI_ XrIF1HTDwXQb.pd4r3LAW2cwoyhsWpTD06muM9w_nyOrXf2xRzb2EO8AycuX6T9hWzL6FBG6vFP1 3y527rQAnBPtRDa0s652Tol6fi_2GnVDpr8Lv.j6xeekoSYfc6rR04eM3ELRSzL0Ncn52tX1K4z6 dcrOi64cEyth28_ROxcxQ_Htv9vvcrcr9UiolCveTLJJp_ViBu9hADec88nmbekNQJt7Ydp8am_L DuQlD5qcSPlajWtZuQYbuBd05R2JWwC8plSMQ7eBSVFTZhQ3siRwJdFlQJ4G16pJ97lEB5NF58EZ moTSWFA_r6RTWtCm7NYThhXw.4BusFUl4pNMmaZozWMKlCKEcHgUdhBLZSrQciAUHikHEvv.9X3B s8TC1wSJ2ROFbJ3L0VKD12nXp38WFY15UiDKiEmR9L_xIQbA7kKYXv.T_REwd581Rwq81o4aXv4t EnU.JvB4c54tmB.914sS8eBzQWyLtM9CTbIoQHMrLicPNdb_1bLG0g1MOwgqEZYt4ft8b3KP1GDV ur9c.vPoew14P05TG5GD4SAjDtSolEk01e5Un8Fup7PVxjNxylIuPBJYBX.o8kwJsvC4_ZwYGy.Y X7e2Ew._JNg4E9poMWvpgIRTdBoSEnH6hWRO7__uIvwAZyieWAkbv_3kNHGyDLHppIg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Fri, 19 Jul 2019 09:20:04 +0000 Received: by smtp422.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 8a4544a9742017026002a5576d412fa6; Fri, 19 Jul 2019 08:59:49 +0000 (UTC) From: Mark Millard Message-Id: <69263DD2-7A53-4874-A9C6-05D6702653DF@yahoo.com> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Booting FreeBSD on Rock64 Date: Fri, 19 Jul 2019 01:59:48 -0700 In-Reply-To: <20190718145840.c4487d2174930374300a0d7d@bidouilliste.com> Cc: freebsd-arm@freebsd.org To: Denis Polygalov References: <169de7cf-32f2-7b7b-c12e-a86a4b6a9e87@gmail.com> <20190715200127.4b649877d8baefeb5282df64@bidouilliste.com> <878b15d5-92a5-5137-121c-5a5038323857@gmail.com> <20190718145840.c4487d2174930374300a0d7d@bidouilliste.com> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 745D08D6F4 X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.75 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.49)[0.493,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(1.43)[ip: (5.55), ipnet: 98.137.64.0/21(0.91), asn: 36647(0.72), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.72)[0.717,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.62)[0.621,0]; RCVD_IN_DNSWL_NONE(0.00)[32.69.137.98.list.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 19 Jul 2019 09:20:14 -0000 On Thu, 18 Jul 2019 21:51:43 +0900 Denis Polygalov wrote: >> On 16/07/2019 3:01 am, Emmanuel Vadot wrote: >> . . . >=20 >> I've just booted mine after updating to r350003+c99cb2e79ed6 >> without a problem. >>=20 >=20 > Well, I don't see image of this release on the FreeBSD.org server. I do not know if you have ever established a bootable context from a set of the .txz files but there is the likes of: https://artifact.ci.freebsd.org/snapshot/head/r350003/arm64/aarch64/ = (for whatever r*/ that happens to have arm64/aarch64/ present). It has the compressed tar archives: kernel.txz and base.txz kernel-dbg.txz and base-dbg.txz tests.txz along with: MANIFEST revision.txt (Sometimes the resulting uname -apKU will report a svn revsion r?????? that was just after the latest from the branch in use at the time of the = build: from another branch. The revision.txt content and the r*/ part of the = path should be correct.) (I do not claim that these notes cover the "+c99cb2e79ed6" part of the reference.) The content is for a debug build, witness and more in use. > . . . >=20 >> . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Fri Jul 19 09:41:00 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 C0988BDC27 for ; Fri, 19 Jul 2019 09:41:00 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 31B768E201 for ; Fri, 19 Jul 2019 09:40:59 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-143-70.bb.dnainternet.fi [82.203.143.70]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6J9evPq047167 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 19 Jul 2019 09:40:57 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-143-70.bb.dnainternet.fi [82.203.143.70] claimed to be [192.168.1.164] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Fri, 19 Jul 2019 12:40:51 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> <77885EA9-6AA4-4106-B447-3A83FB6033BA@kronometrix.org> <7aafd9f1f1cc072081a14c41a0253e72cd449811.camel@freebsd.org> To: freebsd-arm@freebsd.org In-Reply-To: <7aafd9f1f1cc072081a14c41a0253e72cd449811.camel@freebsd.org> Message-Id: <89879D9D-9432-44FA-B4E0-A6D3EE969E7A@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 31B768E201 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [0.58 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.25)[0.249,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.20)[-0.198,0]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; NEURAL_HAM_SHORT(-0.14)[-0.144,0]; DMARC_NA(0.00)[kronometrix.org]; IP_SCORE(0.48)[ip: (0.35), ipnet: 95.85.0.0/18(1.03), asn: 14061(1.07), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Fri, 19 Jul 2019 09:41:00 -0000 > The time couldn't have been correct from the RTC if it said the clock > was not running -- the driver says that instead of returning a time to > the kernel. Ntpd must have already set the time before you checked = it. Thats correct. Tests were done incorrectly. The power cable was not = removed the board still had power.=20 I have repected fresh all tests. Now, very strange everything is fine. I = cant explain what has happened except: * kldunload / load nxprtc=20 =20 * creating a new hints file=20 * removing and re-inserting the battery=20 I have powered off the board for 2hrs and the time functions correctly. = I will soon setup another RBPI board and re-test all over with the new ko module.=20 Stefan= From owner-freebsd-arm@freebsd.org Fri Jul 19 11:25:03 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 6F4DDBF4FB for ; Fri, 19 Jul 2019 11:25:03 +0000 (UTC) (envelope-from sig6247@gmail.com) Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8CF3C69E55 for ; Fri, 19 Jul 2019 11:25:02 +0000 (UTC) (envelope-from sig6247@gmail.com) Received: by mail-ot1-x333.google.com with SMTP id q20so32348645otl.0 for ; Fri, 19 Jul 2019 04:25:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=5XT1rVDluK0xHm4SOUt16MRu+nd5MZyRMDW6//uQ590=; b=fC/z4erGIJnt7KzMcX6PF7AUemWl8cBqNU7LxMZurY17/vp0CX3Pq1+MUfoBWzGByl ZoYgk0FBYbKNtV3CyGIXgHokqesOUJoDuNhz4NpzRtzMEnN7ONe7FTxZDa3Mt9hqeAJo kFR+yVKb1hHaRyRc+gf5mJrIhOiz7RA0Br4+iAVYV1dcBOoGG5Mt1l+vrKlWFYBRBUf+ adRCg0hYNqNh80AQTd3qzUW2HDGwVBx739p0efl4NZw/LgbpE9dVid/u5h2AFrzCUt8c ymAhNnLdhRpxxtDuFw8CkBfnd9j2tSdJc2QXcjrXQ+G28sfJXg+shXhtIXP6xA+ODc5/ buoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=5XT1rVDluK0xHm4SOUt16MRu+nd5MZyRMDW6//uQ590=; b=Y/qp0tk9ftTgr4U07sHHEL72IxPncMCOFuOsZd3m0SHx0E6Id6i3UEg2N7gO56/3fM soWnO3b0fYHQZgziKaWLTTbVHHrp0BKmvTKTkkqttiH+TS9StUzvUoFR8qPrBg0HcyHJ F5KSMoKF/xYdDOLsXtV+wAXv4ftstXn2/wUUKHzIDAvuNGD4nQy/9XmqGZYOYMVvAB++ +NqEqb5MJnPWpi1nXCYO2TDll3hoZyfR+Cw9AKaZTsuEu+IbWwTSQGFEafiujiwaAjLf Hl2YOXuQyNdnLScuXfYDjTonoBljjjBJVpfVQDFDMm0lEs+xmkDnp2dYRXK/6GxB/Tw9 NlyA== X-Gm-Message-State: APjAAAWoUA7/sxbiipu0Ii2S7QXX1kMub2MG9izv6SUojNeZpjoUNrkM jkCLfwvqznXETo1wshBTmAqhLYxwm4BuqAuPJe1ZBjS8ZcLEBw== X-Google-Smtp-Source: APXvYqzbdfVzlRcfMwRxWFKo2qz8CnGW55YqrFJ6hXzFTD8V1TGnCB56PJ7qv9Va0OuQlAfBXDTrZreQgQsWLgsMBnE= X-Received: by 2002:a9d:7d82:: with SMTP id j2mr27837803otn.171.1563535501614; Fri, 19 Jul 2019 04:25:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: sig term Date: Fri, 19 Jul 2019 11:24:48 +0000 Message-ID: Subject: Re: BeagleBone Black hangs after importing Linux 5.0 DTS To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 8CF3C69E55 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=fC/z4erG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sig6247@gmail.com designates 2607:f8b0:4864:20::333 as permitted sender) smtp.mailfrom=sig6247@gmail.com X-Spamd-Result: default: False [-6.86 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-2.88)[ip: (-8.78), ipnet: 2607:f8b0::/32(-3.13), asn: 15169(-2.43), country: US(-0.05)]; NEURAL_HAM_SHORT(-0.98)[-0.975,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 19 Jul 2019 11:25:03 -0000 I just test my BeagleBone Black board with the latest image FreeBSD-13.0-CURRENT-arm-armv7-BEAGLEBONE-20190718-r350103.img.xz it still freezes at the same place. I also tested it with the old am335x-boneblack.dtb from r346087, the board boots without any problem. From owner-freebsd-arm@freebsd.org Fri Jul 19 19:52:09 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 9BFDEAA549 for ; Fri, 19 Jul 2019 19:52:09 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E52EC83D81 for ; Fri, 19 Jul 2019 19:52:03 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-140-69.bb.dnainternet.fi [82.203.140.69]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6JJptIw051314 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 19 Jul 2019 19:51:56 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-140-69.bb.dnainternet.fi [82.203.140.69] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Fri, 19 Jul 2019 22:51:49 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> <77885EA9-6AA4-4106-B447-3A83FB6033BA@kronometrix.org> <7aafd9f1f1cc072081a14c41a0253e72cd449811.camel@freebsd.org> <89879D9D-9432-44FA-B4E0-A6D3EE969E7A@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: <89879D9D-9432-44FA-B4E0-A6D3EE969E7A@kronometrix.org> Message-Id: <5F7CD5C3-5107-48BE-B301-3193B4E7A4A2@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: E52EC83D81 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [1.98 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.50)[0.500,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.01)[-0.010,0]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[mail.kronometrix.org]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.83)[0.827,0]; IP_SCORE(0.48)[ip: (0.35), ipnet: 95.85.0.0/18(1.01), asn: 14061(1.07), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 19 Jul 2019 19:52:09 -0000 Testing the new clock for 5hrs downtime. No go. This is driving me nuts. Something is very odd here, but not sure what. It works fine for short=20= periods of time, but then somehow for longer periods of time nope = (>1-2hrs) $ kldstat Id Refs Address Size Name 1 9 0xffff000000000000 13d1480 kernel 3 1 0xffff000001415000 40ea8 nxprtc.ko 4 1 0xffff000053600000 41000 tmpfs.ko 5 1 0xffff000053641000 31000 mac_ntpd.ko $ dmesg | grep nxp nxprtc0: at addr 0xa2 on iicbus0 nxprtc0: WARNING: RTC battery failed; time is invalid nxprtc0: registered as a time-of-day clock, resolution 0.015625s nxprtc0: RTC clock not running Stefan Parvu sparvu@kronometrix.org > On 19 Jul 2019, at 12.40, Stefan Parvu wrote: >=20 >> The time couldn't have been correct from the RTC if it said the clock >> was not running -- the driver says that instead of returning a time = to >> the kernel. Ntpd must have already set the time before you checked = it. >=20 > Thats correct. Tests were done incorrectly. The power cable was not = removed > the board still had power.=20 >=20 > I have repected fresh all tests. Now, very strange everything is fine. = I cant explain > what has happened except: >=20 > * kldunload / load nxprtc=20 >=20 > * creating a new hints file=20 >=20 > * removing and re-inserting the battery=20 >=20 > I have powered off the board for 2hrs and the time functions = correctly. I will soon > setup another RBPI board and re-test all over with the new ko module.=20= >=20 > Stefan > _______________________________________________ > 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" From owner-freebsd-arm@freebsd.org Fri Jul 19 20:07:23 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 B6512AAD1D for ; Fri, 19 Jul 2019 20:07:23 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1.eu.mailhop.org (outbound1.eu.mailhop.org [52.28.251.132]) (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 2856084B5C for ; Fri, 19 Jul 2019 20:07:23 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1563566835; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=qBcs6BQ6jY4vllfS4s9W6kjuLdE3ASupSHnQJxDijMIaui9BJGgIpdQ+Soev1oWi8wcOn31Q9Gan4 hp41hvXcsCpdWornrM6CH1E2aEWMjmC+vQJt+NEMahJdMkN0OFlJTiFc3IeKf53P3JDkXoLq31gvE4 kiaFBr/ffqEs6HQ2hH6sHlgwT5zHZWfecO7TNmEJyJae7tyLy7zCedYisabMB383HDyupq7CcewU/U XKstdQA4s5YF5QYZhzzLvSgQU0r4BVYl603G/eLRlXlXaen6xs6KgwxcBnFTD/VXnCC+vXNH/58Zkn yxh4PNTtMJN7feiMLT+qCDNEGy0aXvw== 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=t+1s5DJWaUkxNkXfp1aq0Y2HouogYqdVOZAvFHDr2zM=; b=nzV6e3K8WIhxdPPYFBmSwJ+ts6IuplKleSA81cyZKyD1XzD6IZ5IZLIcydsq7Z9zDjmz2fzPo7aYD 6oqBCxeq2xvhlXhpZjXOxl9VVpXPN+AO/aST35B9dWEenj2swwPrG76RgB5t/O8352aK1pFcrh4k7d xSnO5GuL3X/KkJTjzVzN0unJDc5AEHdj4incUZw+9USdR8T2Hdq1pyC1bhMNu2cgu98embxjYsAEps o8QUJGmUEUVzO3FAl81bkFQDaexFY2/hK3LC4z7RkNs0CQ6rJjlEW4qcORvnQROjRZpIBquLuXL+n1 Deptr7Xy2bQ39AxcMqEpiBM0sdK23nw== ARC-Authentication-Results: i=1; outbound3.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=t+1s5DJWaUkxNkXfp1aq0Y2HouogYqdVOZAvFHDr2zM=; b=N7GoUloB5lma7aVcEG7+MVV/IFT8Gu2oDmKlwKHo9A6e0GGolVKR+Kyy3ZMS60H4aSV3DPJfu0WNN SjbHQVkeYo8x/GoPwIRF5rEq2qWu8N/tiHkCLPGUpdBNJ75zqWjnUcsIS+/VHuKfVOdB5g4PDg+Bsl dlwb2X8djfq+Ie8szOmKlwroOk09gWY+th5SNriQF0Jps7MNZWUJiK1mIECrPeAbPmxMCch8u6Q+4B /8hbHxTkqCZW5kcpi3vvlVtW+nBUTZmKvaZrU9gkCw+rMgoHftAGvFILtOfQ/GKHMSvgIKyZNips7B Z4W0r0u/z8AfNZbk3S4qaGDwVIioptg== X-MHO-RoutePath: aGlwcGll X-MHO-User: cb23664c-aa60-11e9-9ec3-cb046d117d09 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 outbound3.eu.mailhop.org (Halon) with ESMTPSA id cb23664c-aa60-11e9-9ec3-cb046d117d09; Fri, 19 Jul 2019 20:07:13 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x6JK7AhP050406; Fri, 19 Jul 2019 14:07:10 -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: Fri, 19 Jul 2019 14:07:10 -0600 In-Reply-To: <5F7CD5C3-5107-48BE-B301-3193B4E7A4A2@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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> <77885EA9-6AA4-4106-B447-3A83FB6033BA@kronometrix.org> <7aafd9f1f1cc072081a14c41a0253e72cd449811.camel@freebsd.org> <89879D9D-9432-44FA-B4E0-A6D3EE969E7A@kronometrix.org> <5F7CD5C3-5107-48BE-B301-3193B4E7A4A2@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: 2856084B5C 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)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.989,0]; ASN(0.00)[asn:16509, ipnet:52.28.0.0/16, 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: Fri, 19 Jul 2019 20:07:23 -0000 On Fri, 2019-07-19 at 22:51 +0300, Stefan Parvu wrote: > Testing the new clock for 5hrs downtime. No go. This is driving me > nuts. > Something is very odd here, but not sure what. It works fine for > short > periods of time, but then somehow for longer periods of time nope > (>1-2hrs) > > $ kldstat > Id Refs Address Size Name > 1 9 0xffff000000000000 13d1480 kernel > 3 1 0xffff000001415000 40ea8 nxprtc.ko > 4 1 0xffff000053600000 41000 tmpfs.ko > 5 1 0xffff000053641000 31000 mac_ntpd.ko > > $ dmesg | grep nxp > nxprtc0: at addr 0xa2 on iicbus0 > nxprtc0: WARNING: RTC battery failed; time is invalid > nxprtc0: registered as a time-of-day clock, resolution 0.015625s > nxprtc0: RTC clock not running > It's a bit frustrating that the Afterthough site has no info on what's different between various revs of the rasclock. My v4.2 has a row of through-holes on the edge of the card where you can add pins and get at various signals. One of the signals is VBAT, any chance you could get a scope or meter on that and see if the voltage really is low, and whether it drops over time, like something really is draining the battery? Also, I wonder if there's any difference between its behavior when it's mounted on the rpi versus if you take it off and set it aside for a few hours. Like maybe on an rpi3 there is current somehow leaking back into the rpi circuitry. -- Ian From owner-freebsd-arm@freebsd.org Fri Jul 19 21:18:30 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 09075ABF31 for ; Fri, 19 Jul 2019 21:18:30 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DA6986A98 for ; Fri, 19 Jul 2019 21:18:28 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-140-69.bb.dnainternet.fi [82.203.140.69]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6JLIPRU051899 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 19 Jul 2019 21:18:26 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-140-69.bb.dnainternet.fi [82.203.140.69] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Sat, 20 Jul 2019 00:18:20 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> <77885EA9-6AA4-4106-B447-3A83FB6033BA@kronometrix.org> <7aafd9f1f1cc072081a14c41a0253e72cd449811.camel@freebsd.org> <89879D9D-9432-44FA-B4E0-A6D3EE969E7A@kronometrix.org> <5F7CD5C3-5107-48BE-B301-3193B4E7A4A2@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: Message-Id: <3C0049D3-5998-49F1-9B1E-A877A85A9268@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 1DA6986A98 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [1.68 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.25)[0.253,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.15)[-0.148,0]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.92)[0.920,0]; IP_SCORE(0.47)[ip: (0.34), ipnet: 95.85.0.0/18(1.00), asn: 14061(1.07), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 19 Jul 2019 21:18:30 -0000 > It's a bit frustrating that the Afterthough site has no info on what's > different between various revs of the rasclock. My v4.2 has a row of > through-holes on the edge of the card where you can add pins and get = at > various signals. One of the signals is VBAT, any chance you could get > a scope or meter on that and see if the voltage really is low, and > whether it drops over time, like something really is draining the > battery? =20 right. looks like that. Of course I could try another rasclock 4.0 - I = have 3 around. I can test with another clock and then I could test with = raspbian to see if this is OS related or hdw.=20 Then I will gget soon rasclock 4.2 - so then I could try exactly the = version you have. Except the board would be different. Not sure if thats important = but something might be different between RBPI2 and RBPI3B+=20 > Also, I wonder if there's any difference between its behavior > when it's mounted on the rpi versus if you take it off and set it = aside > for a few hours. Like maybe on an rpi3 there is current somehow > leaking back into the rpi circuitry. Hmm. I could test first this one. I could set and fix the time. The = power off the thing for coupld of hours or until morning and then plug it back to = my board and check if there is any difference. thats a good point. Stefan= From owner-freebsd-arm@freebsd.org Sat Jul 20 02:24:13 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 CB783B1E2C for ; Sat, 20 Jul 2019 02:24:13 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8648168088 for ; Sat, 20 Jul 2019 02:24:12 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-140-69.bb.dnainternet.fi [82.203.140.69]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6K2O9c6053906 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 20 Jul 2019 02:24:10 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-140-69.bb.dnainternet.fi [82.203.140.69] claimed to be [192.168.1.164] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Sat, 20 Jul 2019 05:24:04 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> <77885EA9-6AA4-4106-B447-3A83FB6033BA@kronometrix.org> <7aafd9f1f1cc072081a14c41a0253e72cd449811.camel@freebsd.org> <89879D9D-9432-44FA-B4E0-A6D3EE969E7A@kronometrix.org> <5F7CD5C3-5107-48BE-B301-3193B4E7A4A2@kronometrix.org> <3C0049D3-5998-49F1-9B1E-A877A85A9268@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: <3C0049D3-5998-49F1-9B1E-A877A85A9268@kronometrix.org> Message-Id: <218CD5DF-9484-4FD7-9F7E-ADDB297185BE@kronometrix.org> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 8648168088 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [1.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.28)[0.277,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.25)[-0.250,0]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.42)[0.421,0]; IP_SCORE(0.47)[ip: (0.33), ipnet: 95.85.0.0/18(0.98), asn: 14061(1.07), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sat, 20 Jul 2019 02:24:13 -0000 >=20 > Hmm. I could test first this one. I could set and fix the time. The = power off > the thing for coupld of hours or until morning and then plug it back = to my > board and check if there is any difference. thats a good point. >=20 RTC disconnect / re-connect after 5hrs - the RTC has been unplugged from = the board for 5hrs+. After I reconnect the RTC to the board, power on the system I = can see that the time is correctly retrieved from the RTC.=20 $ dmesg | grep nxp nxprtc0: at addr 0xa2 on iicbus0 nxprtc0: registered as a time-of-day clock, resolution 0.015625s So, I can repeat this test to real make sure this is consistent. But = something is making the RTC device to lose time when is installed on the board. Stefan= From owner-freebsd-arm@freebsd.org Sat Jul 20 02:42:23 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 EA518B25A5 for ; Sat, 20 Jul 2019 02:42:23 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (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 F281169C4B for ; Sat, 20 Jul 2019 02:42:22 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from localhost ([127.0.0.1] helo=id.bluezbox.com) by id.bluezbox.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92 (FreeBSD)) (envelope-from ) id 1hofKA-000Eox-Om; Fri, 19 Jul 2019 19:42:16 -0700 Received: (from gonzo@localhost) by id.bluezbox.com (8.15.2/8.15.2/Submit) id x6K2gEC7056974; Fri, 19 Jul 2019 19:42:14 -0700 (PDT) (envelope-from gonzo@bluezbox.com) X-Authentication-Warning: id.bluezbox.com: gonzo set sender to gonzo@bluezbox.com using -f Date: Fri, 19 Jul 2019 19:42:14 -0700 From: Oleksandr Tymoshenko To: Vijay Kumar Banerjee Cc: freebsd-arm@freebsd.org Subject: Re: Question regarding framebuffer driver. Message-ID: <20190720024214.GA56812@bluezbox.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD/11.2-RELEASE-p10 (amd64) User-Agent: Mutt/1.11.4 (2019-03-13) X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Vijay Kumar Banerjee (vijaykumar9597@gmail.com) wrote: > Hello everyone, > > I'm working on porting the framebuffer driver to RTEMS with Beaglebone > Black as the target device. I have have already po [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Rspamd-Queue-Id: F281169C4B X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of gonzo@bluezbox.com designates 45.55.20.155 as permitted sender) smtp.mailfrom=gonzo@bluezbox.com X-Spamd-Result: default: False [-5.59 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[bluezbox.com]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx.bluezbox.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.0.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.30)[ip: (-8.34), ipnet: 45.55.0.0/19(-4.17), asn: 14061(1.07), country: US(-0.05)] 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: Sat, 20 Jul 2019 02:42:24 -0000 Vijay Kumar Banerjee (vijaykumar9597@gmail.com) wrote: > Hello everyone, > > I'm working on porting the framebuffer driver to RTEMS with Beaglebone > Black as the target device. I have have already ported the am335x_lcd, > tda19988, fbd and VT drivers, but the screen doesn't seem to "power up". > >From the FreeBSD bootlog (12-RELEASE), I see that the screen is > turning on after the VT initialization message, so I guess it's something > that happens after the vt initialization that turns the screen on. > > So far I have ported the vt_fb and vt_core and it boots up well with the > message : > VT: initialize with new VT driver "fb". > > But the screen doesn't seem to turn on. Can someone please tell me > or point me to the right place in the code that is responsible for turning > the > screen on after VT initialization? Hi Vijay, Because the code is ported to another OS there are too many ways things can go wrong. The problem can be in VT, in am335x_lcd or in TDA driver so it's hard to pinpoint exact location. If I was to debug such problem I'd try to isolate each driver and make sure it works on its own. I think the easiest way is to get LCD screen that connects directly to AM335x, without HDMI framer and try to initialize framebuffer in am335x_lcd driver with certain pattern to make sure it works. FreeBSD driver worked with 4DCAPE [1] at some point, so it might be a good start. Once you make sure am335x_lcd driver works, you can verify TDA driver with some hardcoded logic that doesn't require VT layer and once both are known to work - it's only VT layer to debug. [1] https://4dsystems.com.au/gen4-4dcape-43t -- gonzo From owner-freebsd-arm@freebsd.org Sat Jul 20 05:54:40 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 9E94EB5836 for ; Sat, 20 Jul 2019 05:54:40 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail.myserver.ws (mail.myserver.ws [144.217.111.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.myserver.ws", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC2846E677 for ; Sat, 20 Jul 2019 05:54:39 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from dendrobates (c-73-153-76-61.hsd1.co.comcast.net [73.153.76.61]) (Authenticated sender: sm@ara-ler.com) by mail.myserver.ws (Postfix) with ESMTPSA id 2C168AAC6E; Sat, 20 Jul 2019 05:54:30 +0000 (UTC) Date: Fri, 19 Jul 2019 23:54:21 -0600 From: Sergey Manucharian To: Oleksandr Tymoshenko Cc: Vijay Kumar Banerjee , freebsd-arm@freebsd.org Subject: Re: Question regarding framebuffer driver. Message-ID: <20190720055421.GB41013@dendrobates> References: <20190720024214.GA56812@bluezbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190720024214.GA56812@bluezbox.com> User-Agent: Mutt/1.11.4 (2019-03-13) X-Rspamd-Queue-Id: AC2846E677 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sm@ara-ler.com designates 144.217.111.45 as permitted sender) smtp.mailfrom=sm@ara-ler.com X-Spamd-Result: default: False [-1.06 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.myserver.ws]; MX_GOOD(-0.01)[mail.myserver.ws]; RECEIVED_SPAMHAUS_PBL(0.00)[61.76.153.73.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:144.217.0.0/16, country:FR]; IP_SCORE(0.06)[ipnet: 144.217.0.0/16(-0.85), asn: 16276(1.17), country: FR(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.76)[-0.764,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.41)[0.415,0]; NEURAL_HAM_LONG(-0.97)[-0.966,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ara-ler.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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: Sat, 20 Jul 2019 05:54:40 -0000 Vijay Kumar Banerjee (vijaykumar9597@gmail.com) wrote: > > >From the FreeBSD bootlog (12-RELEASE), I see that the screen is > > turning on after the VT initialization message, so I guess it's something > > that happens after the vt initialization that turns the screen on. What kind of screen? If it's not HDMI, but directly connected LCD, "turn on" has two different meaning: one is the screen's backlight, another is the actual text/image drawn on the screen. So, even if your screen is black, do you see the backlight? Usually the backlight is controlled by PWM signal, if the backlight is off, the corresponding pin is not configured properly. Instead of PWM you can configure it just as output with high value to check. Excerpts from Oleksandr Tymoshenko's message from Fri 19-Jul-19 19:42: > without HDMI framer and try to initialize framebuffer in am335x_lcd > driver with certain pattern to make sure it works. FreeBSD driver worked > with 4DCAPE [1] at some point, so it might be a good start. I confirm it works with Newhaven 7" LCD cape as well. (Except touchpanel, which is completely different story). -S. From owner-freebsd-arm@freebsd.org Sat Jul 20 10:43:15 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 201C5BB07A for ; Sat, 20 Jul 2019 10:43:15 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2DBB675FEA for ; Sat, 20 Jul 2019 10:43:14 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.164] (82-203-140-69.bb.dnainternet.fi [82.203.140.69]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id x6KAhB4r057569 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 20 Jul 2019 10:43:12 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-140-69.bb.dnainternet.fi [82.203.140.69] claimed to be [192.168.1.164] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Rasclock (PCF2127 ) Hardware Clock FreeBSD 12.0 Date: Sat, 20 Jul 2019 13:43:05 +0300 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> <86CC4711-47AC-45C6-B6D3-71C9FFDD4A91@kronometrix.org> <2ec7d7f63de31065b9cab396c662fe24f0107078.camel@freebsd.org> <2AC05799-7D11-4200-8D16-38E3718470BB@kronometrix.org> <91E26684-07A0-4F03-92BC-8D49359B1358@kronometrix.org> <5F33E59B-7EA5-4B8B-A95A-CD1FB569ACDC@kronometrix.org> <6a39f74088d2984b5426e8585b5f7e864a6766f8.camel@freebsd.org> <571EABD9-364C-4D91-9177-CC25CB382D76@kronometrix.org> <2dd107308cb7fc21bab793218d8e37039dbc108e.camel@freebsd.org> <77885EA9-6AA4-4106-B447-3A83FB6033BA@kronometrix.org> <7aafd9f1f1cc072081a14c41a0253e72cd449811.camel@freebsd.org> <89879D9D-9432-44FA-B4E0-A6D3EE969E7A@kronometrix.org> <5F7CD5C3-5107-48BE-B301-3193B4E7A4A2@kronometrix.org> <3C0049D3-5998-49F1-9B1E-A877A85A9268@kronometrix.org> <218CD5DF-9484-4FD7-9F7E-ADDB297185BE@kronometrix.org> To: freebsd-arm@freebsd.org In-Reply-To: <218CD5DF-9484-4FD7-9F7E-ADDB297185BE@kronometrix.org> Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 2DBB675FEA X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 95.85.46.90 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [1.73 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.19)[0.189,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.07)[-0.074,0]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.kronometrix.org]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_SPAM_SHORT(0.96)[0.962,0]; IP_SCORE(0.46)[ip: (0.33), ipnet: 95.85.0.0/18(0.97), asn: 14061(1.07), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sat, 20 Jul 2019 10:43:15 -0000 Now I have tested with and without RTC installed. The problem is clear = related with=20 the rasclock 4.0 which is installed on the RBPI. It simple not keeping = up the time.=20 If I remove the RTC and keep on the table and re-insert it then the time = shows up=20 correctly even for longer periods of time. Something is making the rasclock 4.0 waste energy and not keeping up the = time correctly when it is installed on the RBPI. Next: I will pick up today from postal office the rasclocks 4.2 and will = repeat the tests using the new clocks.=20 Stefan Parvu sparvu@kronometrix.org > On 20 Jul 2019, at 5.24, Stefan Parvu wrote: >=20 >>=20 >> Hmm. I could test first this one. I could set and fix the time. The = power off >> the thing for coupld of hours or until morning and then plug it back = to my >> board and check if there is any difference. thats a good point. >>=20 >=20 > RTC disconnect / re-connect after 5hrs - the RTC has been unplugged = from the board > for 5hrs+. After I reconnect the RTC to the board, power on the system = I can see that > the time is correctly retrieved from the RTC.=20 >=20 > $ dmesg | grep nxp > nxprtc0: at addr 0xa2 on iicbus0 > nxprtc0: registered as a time-of-day clock, resolution 0.015625s >=20 > So, I can repeat this test to real make sure this is consistent. But = something is making the > RTC device to lose time when is installed on the board. >=20 > Stefan > _______________________________________________ > 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" From owner-freebsd-arm@freebsd.org Sat Jul 20 11:33:38 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 6AE5FBBA97 for ; Sat, 20 Jul 2019 11:33:38 +0000 (UTC) (envelope-from vijaykumar9597@gmail.com) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A15E176FE6 for ; Sat, 20 Jul 2019 11:33:37 +0000 (UTC) (envelope-from vijaykumar9597@gmail.com) Received: by mail-io1-xd30.google.com with SMTP id j5so59759964ioj.8 for ; Sat, 20 Jul 2019 04:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kfL1dz/ZQYUPTprrnCnuMNvjxgPkXLtenpzm++Mekwg=; b=Y5Xx2kXm/jXqM6OZsl6+56/QyDrDAvarcLju42lcoBwLyU0dLf/hF4YW1c4FgtRB8a ItttXCIA6BCHu61rMp9/bLqGuzk+HrhvNQQsj5SUb6P1bNOay86IUtHWfEYv+YcgJs6W dfZhYmM5U4KZjdrD0y0gaVlU91CfM8KCrMvHgfLE1/xcQBvjxeq0CnCJIR3R8Z1T7JEi 20RjOQpYVR5TMNNpyXedQEPusBywYTFzIakMCMXK2Ml4ToExCL0I8D+oVdjqiiDs0jlE h/9lSkNO/lMhq3gA3vAjOQ+NyixOBBiz7fQ+4I3sSO9A6LBM/yhVEUjrZanL0WlVVQoa XQ4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kfL1dz/ZQYUPTprrnCnuMNvjxgPkXLtenpzm++Mekwg=; b=mNi9E9PiRrsgv8/rInCBCPGQZ98uKax0IqY0EMrod8hAsKdGvVtBP7UK5GmXytttrq jijeVXR1YqRjjfkDIvjRBZOciHYkwtVrdx4UVjd9UGs/Gy+oz7KnqE9dJaT/yThxGyWX REByZjLfXWwnqXwaN2s59GOf/K7uBJ7OqayR5cJScTnc1pZkJIEj6EBmJoQBZ5T+tVVI 2BbiYGARC3GCqrvmYnwF/sP2anb/RTJtYSr4BDNzDH9+ENX5EFuAupvOHtBX1h3VYO2K pNh4kqH89LTn/pWDfowHFm9X+IoQ/Ny1K+y+RhmAPBZSjGB6bf+9rnmJhzeqEsssfECX tXiA== X-Gm-Message-State: APjAAAW0CriFCHEBxoOMIAMSPV0tDybUxUBHizbZbv06FxpPweQxVKfy d/RROiwaJdtThUkBbqp92dmH7CtLb9RP6Bk/UHw= X-Google-Smtp-Source: APXvYqyMvG9tyHhYRTTpYUaOl4xeqQuVZ876YkUBt5K0l6oxCQ6O+y/cEFkOjNqLPMzd3p9qq9aJ2G2T7QLGoWEKUzc= X-Received: by 2002:a6b:641a:: with SMTP id t26mr8347787iog.3.1563622416830; Sat, 20 Jul 2019 04:33:36 -0700 (PDT) MIME-Version: 1.0 References: <20190720024214.GA56812@bluezbox.com> <20190720055421.GB41013@dendrobates> In-Reply-To: <20190720055421.GB41013@dendrobates> From: Vijay Kumar Banerjee Date: Sat, 20 Jul 2019 17:03:25 +0530 Message-ID: Subject: Re: Question regarding framebuffer driver. To: Sergey Manucharian Cc: Oleksandr Tymoshenko , freebsd-arm@freebsd.org X-Rspamd-Queue-Id: A15E176FE6 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Y5Xx2kXm; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vijaykumar9597@gmail.com designates 2607:f8b0:4864:20::d30 as permitted sender) smtp.mailfrom=vijaykumar9597@gmail.com X-Spamd-Result: default: False [-6.90 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[0.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-0.94)[-0.941,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.95)[ip: (-9.15), ipnet: 2607:f8b0::/32(-3.13), asn: 15169(-2.43), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sat, 20 Jul 2019 11:33:38 -0000 On Sat, Jul 20, 2019 at 11:24 AM Sergey Manucharian wrote: > Vijay Kumar Banerjee (vijaykumar9597@gmail.com) wrote: > > > >From the FreeBSD bootlog (12-RELEASE), I see that the screen is > > > turning on after the VT initialization message, so I guess it's > something > > > that happens after the vt initialization that turns the screen on. > > What kind of screen? If it's not HDMI, but directly connected LCD, > "turn on" has two different meaning: one is the screen's backlight, > another is the actual text/image drawn on the screen. So, even if your > screen is black, do you see the backlight? Usually the backlight is > controlled by PWM signal, if the backlight is off, the corresponding pin > is not configured properly. Instead of PWM you can configure it just as > output with high value to check. > > Hi, I'm using an HDMI screen and by turn on I mean that there's no backlight. In case of HDMI what is responsible for turning on the backlight? I can see the EDID reading working and the values match the ones I get from the FBSD image, which means the TDA driver is working I suppose (?) Regarding PWM : From the device tree obtained form the FreeBSD tree, I see that the PWM entries are "disabled" and during the startup I can see that they're not attaching because the ofw_bus_status_okay fails. Is it supposed to be manually set to "okay" with an overlay or something is going wrong in the pwm driver? > Excerpts from Oleksandr Tymoshenko's message from Fri 19-Jul-19 19:42: > > without HDMI framer and try to initialize framebuffer in am335x_lcd > > driver with certain pattern to make sure it works. FreeBSD driver worked > > with 4DCAPE [1] at some point, so it might be a good start. > > I confirm it works with Newhaven 7" LCD cape as well. > (Except touchpanel, which is completely different story). > > If there's no other clue I can follow this way of stepwise checking each drivers. Can you please elaborate "hardcoding logic in TDA so it doesn't require VT"? I'm new to the FreeBSD source so any hint is much appreciated. Thanks for the quick reply and for the helpful tips. Best Regards, Viay > -S. > > > From owner-freebsd-arm@freebsd.org Sat Jul 20 18:44:55 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 427D6C4604 for ; Sat, 20 Jul 2019 18:44:55 +0000 (UTC) (envelope-from hrabanek@gmail.com) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEA9D8B81C for ; Sat, 20 Jul 2019 18:44:53 +0000 (UTC) (envelope-from hrabanek@gmail.com) Received: by mail-lf1-x132.google.com with SMTP id q26so23917637lfc.3 for ; Sat, 20 Jul 2019 11:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=hnMi9V8cyEOkh7A0Yygk4oZpsPrX+Cojtsh1O/2TvVE=; b=VirJuTGW3WUPk8BwGih75Gzx768tpmB1K+XPKNwwwLpKA7i3ytMjlgCb6g/QVVALgG WrHKz0QV1dW+M6uGHantbgHWA64B2k8O4BJulPcC2t6o+4BYBosthzDEU+n0QmGtLR0q /NRlTseNcW7I54xyGN+tcxBDabcBMLPfueHNiBCkrW0fSky050lnUh3fGEjCGpEAcKNs LrIvI43x5Us4AXIE0Gm/I8T70l1W5pxImI9L/FZH6JYW7xUa6E8Xt793MO0SAMbW1lsa YduB/d2ChMY8hfD6OXB80SW9TuI5O3P6hKUJ16Z5efOx3On33UrWRcdAOcza/CNTgi9M G21Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=hnMi9V8cyEOkh7A0Yygk4oZpsPrX+Cojtsh1O/2TvVE=; b=Rf10rrd2lXbwPA9J8SPWICtb7/HE1eHfCq46MPqSrmdZb0DORB/mvTwfMy6lD4PWkn 7VC5S+kCpz583IpjQykQAKlWTP6Hgx1ZrF6uUxHT1Rnnf0UmPRQeXJfjkvFpE5vQyVFV A9mdtx1+xmIc/wX/w1wW43nPYQeNnwjuNUpwk1tEoueVLKllbFF9TH1aTt6X+lhm60/i 0eSWaWxzsWFj4McoJqiPMSxSjYsfJdrSGuWp2GecUwSs+P+CkIzDtPg6k8/YCLEPsGSN /IGB6hx8YRtWHdjhaLJgFYBn1i2K4/CqSLlLCxwP3uBxRp0HNpKAgeMTEKb2vBAJOGfW bouw== X-Gm-Message-State: APjAAAU0j3ux8JjSWxoBdmaOH8XgBf75bRc1FPR2dO2TcBuP55IKNs8J nMucJQYKoQ7Zhe7pMS8kGbLrGXoRTsScyNYg/kHokpGqX5A= X-Google-Smtp-Source: APXvYqyd7aFyUpiDB3ctJcml8y6wAW/coEvq+QIIjwwvHa5VcoY06A+KEMn8jngxVIPvn0y2Vri7IzdKC5yu0IAQMSE= X-Received: by 2002:ac2:51ab:: with SMTP id f11mr14069467lfk.55.1563648291376; Sat, 20 Jul 2019 11:44:51 -0700 (PDT) MIME-Version: 1.0 From: Michael Hrabanek Date: Sat, 20 Jul 2019 20:44:41 +0200 Message-ID: Subject: Re: Pine64 (LTS) HDMI trouble with UHD display To: freebsd-arm@dino.sk Cc: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: DEA9D8B81C X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=VirJuTGW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of hrabanek@gmail.com designates 2a00:1450:4864:20::132 as permitted sender) smtp.mailfrom=hrabanek@gmail.com X-Spamd-Result: default: False [-5.96 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.959,0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.99)[ip: (-9.53), ipnet: 2a00:1450::/32(-2.94), asn: 15169(-2.43), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sat, 20 Jul 2019 18:44:55 -0000 > I am doing full system rebuild just now, with recommended modification. > It takes some time (I am doing it natively on Pine as an another test) and report will follow... > > Regards, > Milan Hi! You've got HDMI on Pine64-LTS working? Could you please share the process / patches? I've tried CURRENT, STABLE and building my own image from latest src and in the end it's always the same - HDMI stops working right after EFI loader boots the kernel. Did you change dts in any way or used some overlay? Thanks in advance Tried on two different LCDs with 800x480 and 2560x1440 native resolutions btw. From owner-freebsd-arm@freebsd.org Sat Jul 20 19:14:24 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 67F30C4F39 for ; Sat, 20 Jul 2019 19:14:24 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1213F8C873 for ; Sat, 20 Jul 2019 19:14:21 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Sat, 20 Jul 2019 21:14:13 +0200 id 00F4068D.5D336805.0001853A Date: Sat, 20 Jul 2019 21:14:13 +0200 From: Milan Obuch To: Michael Hrabanek Cc: freebsd-arm@freebsd.org Subject: Re: Pine64 (LTS) HDMI trouble with UHD display Message-ID: <20190720211413.475eba07@zeta.dino.sk> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i386-portbld-freebsd11.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 1213F8C873 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsd-arm@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-arm@dino.sk X-Spamd-Result: default: False [-5.86 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dino.sk]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.dino.sk]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[72.65.245.84.list.dnswl.org : 127.0.10.0]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; IP_SCORE(-2.58)[ip: (-7.64), ipnet: 84.245.64.0/18(-3.82), asn: 16160(-1.49), country: SK(0.07)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16160, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2] 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: Sat, 20 Jul 2019 19:14:24 -0000 On Sat, 20 Jul 2019 20:44:41 +0200 Michael Hrabanek wrote: > > I am doing full system rebuild just now, with recommended > > modification. It takes some time (I am doing it natively on Pine as > > an another test) > and report will follow... > > > > Regards, > > Milan > Hi! You've got HDMI on Pine64-LTS working? Could you please share the > process / patches? I've tried CURRENT, STABLE and building my own > image from latest src and in the end it's always the same - HDMI > stops working right after EFI loader boots the kernel. Did you change > dts in any way or used some overlay? Thanks in advance > Tried on two different LCDs with 800x480 and 2560x1440 native > resolutions btw. Hi, look in archive of this mailing list, there is a message from me with subject 'Pine64+ HDMI output note' sent at Sun, 16 Jun 2019 09:34:39 +0200. Basically, I used some snapshot, then recompiled newer system from sources, and added line hw.regulator.disable_unused=0 into /boot/loader.conf file. I verified it with fresh CURRENT stable, just this one modification was all needed to get HDMI output working. It was actually working, just line driving circuit was switched off without this line. See message mentioned above for full details. Hope this helps. Milan From owner-freebsd-arm@freebsd.org Sat Jul 20 19:43:57 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 E5044C569C for ; Sat, 20 Jul 2019 19:43:57 +0000 (UTC) (envelope-from hrabanek@gmail.com) Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E4FF8D63F for ; Sat, 20 Jul 2019 19:43:56 +0000 (UTC) (envelope-from hrabanek@gmail.com) Received: by mail-lf1-x134.google.com with SMTP id s19so23952905lfb.9 for ; Sat, 20 Jul 2019 12:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TzImbbZqy14T7raXvBWXXNA7FUlPgaCbu707YXx6Eag=; b=ozb1ZXbGaxmXLlpZ9aII/t6PNvD7JRHfmc8HDs9pPJFFhcwxpU4HcXky+nWcDa4vWE 1BF94MUIxkiufwXJJUWeqReIcFlprVg9pcHU9t2xu875E4+IhUuI9o/1+zdkGwIxTvKu 7ttT0nwR3YPC4pm6yhmvGWjq691bjGmke+t+1RQbKwyIBPxAh+60N1BChLOU2Li15Tys +2cphX7KkprAXW9yGcaV8mUI3TmFr1JVtpyIh0NOzYWS6LxyUCLDaBdl5H8l7LiEK17h aAji1/hhG/Nv3UCWAl+SEBjU4muqyIR0VQOnRd1T1fOgPx2AINYN2QAlscpx/O7vXQfj 7CRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TzImbbZqy14T7raXvBWXXNA7FUlPgaCbu707YXx6Eag=; b=ZkekKnmjo3cyReB4wvRfadOZQkcdBGxtDBC1eoLJHLKPw2Y2jmcvJsN5MRJFnR6n2c GNv+p+j2bO1sXMKUpdEIGJDthRVaI1tbEPFDZeO9TNtdcD00vmUPpIroovGzH14Bzvg6 sVWScYgEslAwS9UmiQ1RtYIYmU2ktvG7R2jw5yriwVsmxMqZqc9bnV9aNBtJXbC2Yit0 anvD5YZcnqllC8SEVpcC9b44A1/yGm8o+1cHrLcM1bdfcmSsqvmAWrwiGhki1IPbx7gr Y5nStr/yHH/4oA99KgJgEAbZgAJvSkgcKJn/2RKY1fa1rNxPkfQLfycqvFNk0fzNqb1j TGHg== X-Gm-Message-State: APjAAAWoF900cCP/BBtQ3lVF6Xh97V+kqkOYW6tp/vhLHjxmfN4UP/S1 T4Y33ZrgjO5d07QZzOxLf2iS02T8DUX3FF3g4J0gvvNXIHU= X-Google-Smtp-Source: APXvYqyMYvW6wA8/EkkwE8cSofRy9frNMN6eU2otyKBEGZXZ3w+tdmEEUqjKCxQH6zTtpBex8WHyoLyxizGPkkdOtxA= X-Received: by 2002:ac2:5b49:: with SMTP id i9mr26934575lfp.116.1563651834545; Sat, 20 Jul 2019 12:43:54 -0700 (PDT) MIME-Version: 1.0 References: <20190720211413.475eba07@zeta.dino.sk> In-Reply-To: <20190720211413.475eba07@zeta.dino.sk> From: Michael Hrabanek Date: Sat, 20 Jul 2019 21:43:44 +0200 Message-ID: Subject: Re: Pine64 (LTS) HDMI trouble with UHD display To: Milan Obuch Cc: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 1E4FF8D63F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ozb1ZXbG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of hrabanek@gmail.com designates 2a00:1450:4864:20::134 as permitted sender) smtp.mailfrom=hrabanek@gmail.com X-Spamd-Result: default: False [-6.92 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.95)[ip: (-9.31), ipnet: 2a00:1450::/32(-2.94), asn: 15169(-2.43), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sat, 20 Jul 2019 19:43:58 -0000 Great, this really solves the problem, but the font is really fuzzy, will try X to see if this is efifb problem or just font problem... Thank you very much! On Sat, Jul 20, 2019 at 9:14 PM Milan Obuch wrote: > On Sat, 20 Jul 2019 20:44:41 +0200 > Michael Hrabanek wrote: > > > > I am doing full system rebuild just now, with recommended > > > modification. It takes some time (I am doing it natively on Pine as > > > an another test) > > and report will follow... > > > > > > Regards, > > > Milan > > Hi! You've got HDMI on Pine64-LTS working? Could you please share the > > process / patches? I've tried CURRENT, STABLE and building my own > > image from latest src and in the end it's always the same - HDMI > > stops working right after EFI loader boots the kernel. Did you change > > dts in any way or used some overlay? Thanks in advance > > Tried on two different LCDs with 800x480 and 2560x1440 native > > resolutions btw. > > Hi, > > look in archive of this mailing list, there is a message from me with > subject 'Pine64+ HDMI output note' sent at Sun, 16 Jun 2019 09:34:39 > +0200. Basically, I used some snapshot, then recompiled newer system > from sources, and added line > > hw.regulator.disable_unused=0 > > into /boot/loader.conf file. I verified it with fresh CURRENT stable, > just this one modification was all needed to get HDMI output working. > It was actually working, just line driving circuit was switched off > without this line. See message mentioned above for full details. > > Hope this helps. > Milan > From owner-freebsd-arm@freebsd.org Sat Jul 20 19:53:39 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 0448EC58EA for ; Sat, 20 Jul 2019 19:53:39 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1A6F8D9AF for ; Sat, 20 Jul 2019 19:53:37 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Sat, 20 Jul 2019 21:53:35 +0200 id 00F4069C.5D33713F.00000207 Date: Sat, 20 Jul 2019 21:53:26 +0200 From: Milan Obuch To: Michael Hrabanek Cc: freebsd-arm@freebsd.org Subject: Re: Pine64 (LTS) HDMI trouble with UHD display Message-ID: <20190720215326.397e8f7b@zeta.dino.sk> In-Reply-To: References: <20190720211413.475eba07@zeta.dino.sk> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i386-portbld-freebsd11.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: A1A6F8D9AF X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsd-arm@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-arm@dino.sk X-Spamd-Result: default: False [-5.91 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MX_GOOD(-0.01)[cached: mail.dino.sk]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16160, ipnet:84.245.64.0/18, country:SK]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dino.sk]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[72.65.245.84.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.62)[ip: (-7.73), ipnet: 84.245.64.0/18(-3.86), asn: 16160(-1.59), country: SK(0.07)]; RCVD_COUNT_TWO(0.00)[2] 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: Sat, 20 Jul 2019 19:53:39 -0000 On Sat, 20 Jul 2019 21:43:44 +0200 Michael Hrabanek wrote: > Great, this really solves the problem, but the font is really fuzzy, > will try X to see if this is efifb problem or just font problem... > Thank you very much! > Maybe it depends on monitor you use... for me output from text console is good. Also, X works well as well, with scfb video driver. Regards, Milan