From owner-freebsd-arm@freebsd.org Sun Aug 30 19:26:53 2020 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 EAA913C67BB for ; Sun, 30 Aug 2020 19:26:53 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from frog.mh.net.ru (mh.balakovo.san.ru [88.147.158.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bfjy40Y3jz4N2Q for ; Sun, 30 Aug 2020 19:26:50 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from webmail.mh.net.ru (mouse.home [192.168.5.6]) by frog.mh.net.ru (Postfix) with ESMTPSA id 9EEC08797 for ; Sun, 30 Aug 2020 23:26:41 +0400 (+04) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sun, 30 Aug 2020 23:26:41 +0400 From: Alexander Mishin To: freebsd-arm@freebsd.org Subject: Re: Re: Boot issue with orange pi pc In-Reply-To: <322599255ad284372e6dbab8253c2634@mh.net.ru> References: <52ea831ec34ebc0dc00292ac5e1c3894@mh.net.ru> <20200825201527.66c8385ca691657038e425a9@bidouilliste.com> <322599255ad284372e6dbab8253c2634@mh.net.ru> User-Agent: Roundcube Webmail/1.4.2 Message-ID: X-Sender: mishin@mh.net.ru X-Rspamd-Queue-Id: 4Bfjy40Y3jz4N2Q X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=mh.net.ru (policy=none); spf=fail (mx1.freebsd.org: domain of mishin@mh.net.ru does not designate 88.147.158.22 as permitted sender) smtp.mailfrom=mishin@mh.net.ru X-Spamd-Result: default: False [2.41 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_FAIL(1.00)[-all]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.87)[0.871]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.02)[0.021]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.52)[0.519]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12389, ipnet:88.147.128.0/17, country:RU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; DMARC_POLICY_SOFTFAIL(0.10)[mh.net.ru : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2020 19:26:54 -0000 Alexander Mishin писал 2020-08-27 20:10: > I just tried a new image from Aug 27 2020, but the result is still the > same: > > Copyright (c) 1992-2020 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 13.0-CURRENT #0 r364846: Thu Aug 27 05:20:47 UTC 2020 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm.armv7/sys/GENERIC > arm > FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git > llvmorg-11.0.0-rc2-0-g414f32a9e86) > WARNING: WITNESS option enabled, expect reduced performance. > > ---- skipped ---- > > Trying to mount root from ufs:/dev/ufs/rootfs [rw]... > ugen6.1: at usbus6 > uhub4ugen5.1: at usbus5 > on usbus3 > uhub4: on > usbus3 > uhub5 on usbus7 > uhub6 on usbus5 > uhub5: on > usbus7 > uhub6: on > usbus5 > uhub7 on usbus6 > uhub7: on > usbus6 > Root mount waiting for: usbus0 usbus1 usbus2 usbus3 usbus4 usbus5 > usbus6 usbus7 > uhub3: 1 port with 1 removable, self powered > uhub4: 1 port with 1 removable, self powered > uhub6: 1 port with 1 removable, self powered > uhub5: 1 port with 1 removable, self powered > mmc0: on aw_mmc0 > Cannot set frequency for clk: mmc0, error: 34 > aw_mmc0: failed to set frequency to 50000000 Hz: 34 > uhub1: 1 port with 1 removable, self powered > uhub0: 1 port with 1 removable, self powered > uhub2: 1 port with 1 removable, self powered > uhub7: 1 port with 1 removable, self powered > mountroot: waiting for device /dev/ufs/rootfs... > Mounting from ufs:/dev/ufs/rootfs failed with error 19. > > Loader variables: > vfs.root.mountfrom=ufs:/dev/ufs/rootfs > vfs.root.mountfrom.options=rw > > Manual root filesystem specification: > : [options] > Mount using filesystem > and with the specified (optional) option list. > > eg. ufs:/dev/da0s1a > zfs:zroot/ROOT/default > cd9660:/dev/cd0 ro > (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) > > ? List valid disk boot devices > . Yield 1 second (for background tasks) > Abort manual input > > mountroot> aw_mmc0: controller timeout > aw_mmc0: timeout resetting DMA/FIFO > aw_mmc0: timeout updating clock > random: unblocking device. > aw_mmc0: controller timeout > aw_mmc0: timeout resetting DMA/FIFO FreeBSD 13.0-CURRENT r364973 now boots normally. Many thanks. From owner-freebsd-arm@freebsd.org Mon Aug 31 11:32:23 2020 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 B281C3BDEC8 for ; Mon, 31 Aug 2020 11:32:23 +0000 (UTC) (envelope-from qroxana@mail.ru) Received: from smtp53.i.mail.ru (smtp53.i.mail.ru [94.100.177.113]) (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 4Bg7N61Xhtz4P3h for ; Mon, 31 Aug 2020 11:32:21 +0000 (UTC) (envelope-from qroxana@mail.ru) Received: by smtp53.i.mail.ru with esmtpa (envelope-from ) id 1kCi2p-000681-Oa for freebsd-arm@freebsd.org; Mon, 31 Aug 2020 14:32:18 +0300 Date: Mon, 31 Aug 2020 11:31:45 +0000 From: qroxana To: freebsd-arm@freebsd.org Subject: GENERIC-NODEBUG fails to boot since r363887 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-Id: X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD91257DD5FEC048BDB532F77832DEE26CC6565B46920CEC937182A05F538085040CB492503D2261407FA9F8ECC11A49B75C867A380A77BD51783672615FAA15EA5 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7CA8E915ACC910FBDEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006376A27C8034CCD05E58638F802B75D45FF5571747095F342E8C7A0BC55FA0FE5FCB98E83B9A52E51A539A24F25260FED21B928535E5F768294389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C078FCF50C7EAF9C588941B15DA834481FCF19DD082D7633A0E7DDDDC251EA7DABA471835C12D1D977725E5C173C3A84C34964A708C60C975A117882F4460429728AD0CFFFB425014E38874BB89490CB1476E601842F6C81A19E625A9149C048EE1FA9D085D87C6D94040F9FF01DFDA4A84AD6D5ED66289B5218080C068C56568E6136E347CC761E07725E5C173C3A84C3BE64324AE970EE0676E601842F6C81A1F004C90652538430FAAB00FBE355B82D93EC92FD9297F6718AA50765F7900637849FA6DCD30848F6A7F4EDE966BC389F395957E7521B51C24C7702A67D5C33162DBA43225CD8A89F8ABAACA2CEC5014E42539A7722CA490CB5C8C57E37DE458B4C7702A67D5C3316FA3894348FB808DB3310E5FF85207CBEE5BFE6E7EFDEDCD789D4C264860C145E X-C8649E89: F03B3EAA1818620C1E6EEC3372D2B7659D38AB01391CA92DD4589CE9A7C33BF6C4BF2A2ACDBC5ABC X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioju16wv3WnXRX8o13ztD2LlA== X-Mailru-Sender: A57E221FBC416AB676ED1CA983AF5AFED5CF28BAA0B625C22CD79CD949AA798D94D938EB43ACFE1E9BBFFF7D229A147FFDD1F2F6C9B53D730D187FEF3E0D57C1D08349341B303650BDF7E317B72FD726EC982BF62A43B37A04568DD965327F405FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok X-Rspamd-Queue-Id: 4Bg7N61Xhtz4P3h X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.40 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.012]; R_DKIM_ALLOW(-0.20)[mail.ru:s=mail3]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[mail.ru:dkim]; FREEMAIL_FROM(0.00)[mail.ru]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998]; RCPT_COUNT_ONE(0.00)[1]; R_SPF_ALLOW(-0.20)[+ip4:94.100.176.0/20]; DKIM_TRACE(0.00)[mail.ru:+]; DMARC_POLICY_ALLOW(-0.50)[mail.ru,reject]; NEURAL_HAM_SHORT(-0.29)[-0.290]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[mail.ru]; ASN(0.00)[asn:47764, ipnet:94.100.176.0/20, country:RU]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_IN_DNSWL_LOW(-0.10)[94.100.177.113:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2020 11:32:23 -0000 Tested on my A20 and H3 boards: r363886 GENERIC works r363886 GENERIC-NODEBUG works r363887 GENERIC works r363887 GENERIC-NODEBUG fails to boot Any ideas? From owner-freebsd-arm@freebsd.org Mon Aug 31 18:29:02 2020 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 525AF3C9D9C for ; Mon, 31 Aug 2020 18:29:02 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound5a.ore.mailhop.org (outbound5a.ore.mailhop.org [44.233.67.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BgJcs6Dhgz3dv9 for ; Mon, 31 Aug 2020 18:29:01 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1598898534; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=X8OPwt76rPpWRgg54zR8OmNUTQZkTr49xpoqdoRAI7oFMpE7yVR06z9y1GJ+R9zjFwJ8WzIQ23fZs OXE6zcv4QR/eKo3Ke31sClwnHZsl0pEWuQA7yIa3/tk76nhlATdsX6hKwKl0m/74nVOfOWlHykRVYz jSo6yiHDXgdJpl51w0tTKHehIqujk2rc5akGONG24P4aztbe/aqE5iNg4PI53RMQfAtLVTLCxgZmeC 5rQW63YVxRlfp5z0POn1kc/sMa2zj1XvUG6plI3S4A4piTTG6LwwGJBrswfXqGhoTDdwQjtcdhGijy 3SZpEJ5kTWSZtUNkY2CkSdpNLGXfqGQ== 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=HqXDwzrU5AR9yEXeqaoaW10DMPb9UUEcfihr66CByeg=; b=CNLXdwUGV3+RaA+MRWNjgl6tal8J5oP7Pz5sufMiT3PiTbr5r0WSaw8x82qTgkoUqZTu/T0HByttB EIoI3RDlLFhv5z90/xa2efix670O+yZk2piMTMU+J47YSDMdSpnW1ssQqrlcpo/mC9aVGV5mV/Qwo7 JDih2sTv/5ZIXRo2X22EUeIax9bIh9jJto5Z0YYvScDf/zEoYgqn4PoQWJuA1kc9W9l8W84BmOiZY3 BgBRG1UuRdHHKooY07xSnA/63zuKt4JK4t3CX6kwbyy+SsdAu3bLKt04cM18DaC38feu/OWonJNPK4 dbU+dy/reQlUeEhY0eeaQ5ZvVbaCLBg== 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:cc:to:from:subject:message-id:from; bh=HqXDwzrU5AR9yEXeqaoaW10DMPb9UUEcfihr66CByeg=; b=OSL4rHmZ/u4EDvV20fDKi2fci3wAIh22nZyDeMxSfpnQ2fBnv2Yv6mBQaLjLwjS7HSlhY83n2VqlG svyVMe6MjzF9lXUJkLyWRyYMirAZCersg5l41/dNi5gSj2T+obSQY4HyPdWe9I1grsOLICGVrAMV70 Hh114JSP0HKe7ktqLQeUyS+JLEH6PZN+U6td1Ejt1ghFv1ZPiAn/P/HfUu14gGZ0c1xlGSCVckH6F8 m99PPEXqaoh/1rA6c76WItkRdxyRHgX+lZxyu30fogmF/E5c208GXcIAnQ/hdh65RMSThctntQeoEX GVed9UihBuR0K3BGTu+eLvHBqMeDCRA== X-MHO-RoutePath: aGlwcGll X-MHO-User: d1843d0b-ebb7-11ea-8b38-614106969e8d 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 (c-67-177-211-60.hsd1.co.comcast.net [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id d1843d0b-ebb7-11ea-8b38-614106969e8d; Mon, 31 Aug 2020 18:28:52 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 07VISpAs038037; Mon, 31 Aug 2020 12:28:51 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <6787ee1201046d0198cd6304feef0aa59f8085c8.camel@freebsd.org> Subject: Re: INTR_FAST From: Ian Lepore To: kamalp@acm.org Cc: freebsd-arm@freebsd.org Date: Mon, 31 Aug 2020 12:28:51 -0600 In-Reply-To: References: <7e463a00ef89d7df0455656f51fe14f72c088a70.camel@freebsd.org> Content-Type: text/plain; charset="iso-8859-13" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BgJcs6Dhgz3dv9 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:16509, ipnet:44.224.0.0/11, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2020 18:29:02 -0000 On Thu, 2020-08-27 at 21:13 +0530, Kamal R. Prasad wrote: > because i hsve 3 spi slave devices attached to the pl022 controller and the > drain of rx queue after i initiare spi transfer is showing some > inconsistency. > I finally had a chance to do a quick test today... it looks like a filter handler will get control 6-8 microseconds sooner on average than a threaded handler would, on a 1ghz imx6 (32-bit cortex-a9) cpu. That's a bit longer than I expected (I was expecting a difference in the 1-3us range). -- Ian > > On Thu, Aug 27, 2020 at 9:02 PM Ian Lepore wrote: > > > On Thu, 2020-08-27 at 19:20 +0530, Kamal R. Prasad wrote: > > > Hello, > > > > > > This page > > > > > > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/smp-design.html > > > > > > says that > > > "These interrupt handlers are currently misnamed fast interrupt > > > > handlers > > > since the INTR_FAST flag used in earlier versions of the kernel > > > is used > > > > to > > > mark these handlers. The only interrupts which currently use > > > these types > > > > of > > > interrupt handlers are clock interrupts and serial I/O device > > > > interrupts." > > > > > > I want to use INTR_FAST for my spi controller, but i find that it > > > is not > > > defined on freebsd stable11. Is INTR_EXCL related in any way to > > > > INTR_FAST? > > > if not, how do I setup a fast interrupt handler? > > > > > > thanks > > > -kamal > > > > > > > An important question here is: Why do you want to use a filter > > handler > > (formerly called INTR_FAST) instead of a normal threaded > > handler? For > > something as slow as a SPI bus, I can't imagine you're going to see > > any > > noticible performance difference. > > > > -- 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" > > From owner-freebsd-arm@freebsd.org Tue Sep 1 00:26:45 2020 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 5B7F43D24DD for ; Tue, 1 Sep 2020 00:26:45 +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 4BgSYc3tDTz4KrF; Tue, 1 Sep 2020 00:26:44 +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 0810QgLi043076 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 31 Aug 2020 17:26:42 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id 0810QgXa043075; Mon, 31 Aug 2020 17:26:42 -0700 (PDT) (envelope-from jmg) Date: Mon, 31 Aug 2020 17:26:42 -0700 From: John-Mark Gurney To: Andriy Gapon Cc: freebsd-arm@freebsd.org Subject: Re: Kmod driver at iicbus. attach() and config_intrhook(9) Message-ID: <20200901002642.GV4213@funkthat.com> Mail-Followup-To: Andriy Gapon , freebsd-arm@freebsd.org References: <20200820223918.GC4213@funkthat.com> <496ed13afb2327d6416664b4dacfc346@mh.net.ru> <20200824204708.GH4213@funkthat.com> <6be8abd0-185c-dbbb-5964-1e2ad92ad213@FreeBSD.org> <20200825203313.GJ4213@funkthat.com> <41220fa2-0af3-22c2-0057-c7578f14d52b@FreeBSD.org> <20200826213343.GR4213@funkthat.com> <2cd30277-0628-9a4c-56c0-4ab7d4debaf8@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2cd30277-0628-9a4c-56c0-4ab7d4debaf8@FreeBSD.org> X-Operating-System: FreeBSD 11.3-STABLE 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]); Mon, 31 Aug 2020 17:26:43 -0700 (PDT) X-Rspamd-Queue-Id: 4BgSYc3tDTz4KrF X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of jmg@gold.funkthat.com has no SPF policy when checking 208.87.223.18) smtp.mailfrom=jmg@gold.funkthat.com X-Spamd-Result: default: False [1.09 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[jmg]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[funkthat.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.03)[0.027]; NEURAL_HAM_LONG(-0.05)[-0.051]; NEURAL_HAM_MEDIUM(-0.09)[-0.087]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; 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]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 00:26:45 -0000 Andriy Gapon wrote this message on Thu, Aug 27, 2020 at 08:35 +0300: > On 27/08/2020 00:33, John-Mark Gurney wrote: > > Andriy Gapon wrote this message on Wed, Aug 26, 2020 at 23:55 +0300: > >> On 25/08/2020 23:33, John-Mark Gurney wrote: > >>> Andriy Gapon wrote this message on Tue, Aug 25, 2020 at 10:21 +0300: > >>>> On 24/08/2020 23:47, John-Mark Gurney wrote: > >>>>> What driver is used for i2c on the Orange? I've tried to firgure it > >>>>> out from dts + source, but it isn't clear. > >>>> > >>>> a10_twsi > >>> > >>> Thanks. And this explains why I couldn't find it in arm/allwinner.. :) > >>> > >>> Yeah, this is using bus_generic_attach... > >>> > >>> But it looks like it supports interruptless operation. Is there a flag > >>> for when interrupts are enabled? > >>> > >>> Because the check in sys/dev/iicbus/twsi/twsi.c:twsi_transfer could be > >>> changed from: > >>> if (sc->have_intr == false) > >>> > >>> to: > >>> if (sc->have_intr == false || interrupts_not_enabled) > >>> > >>> And that could fix things. > >>> > >> > >> sc->have_intr is already enabled from the interrupt enable hook. > > > > But that only detects if the interrupt are used, NOT that they are > > currently active and working which the "|| cold" would provide... > > The interrupt hook is called after interrupts are enabled and usable. > Specifically, I mean config_intrhook_oneshot(). Ok, then the OP shouldn't be having a problem then, maybe you can help then figure it out then? -- 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 Tue Sep 1 05:51:15 2020 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 F0C0D3B9191 for ; Tue, 1 Sep 2020 05:51:15 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4Bgbm26n26z3ybX for ; Tue, 1 Sep 2020 05:51:14 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lj1-f179.google.com with SMTP id v12so12319ljc.10 for ; Mon, 31 Aug 2020 22:51:14 -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 :content-language:content-transfer-encoding; bh=+wnGakp4FTzCyZxAmStIeLc48wrK42yVUQkl13dMy44=; b=NZok57GeIcPnZzIxdkyFmedVUuXJChDJNpBfeeZ5KS7nz2sXqffJTfhPwKivhu8y7v CCXg8Uw8lIIqboUe80AVr3cq+78We37VuePHP039Mv1hAIcB12fBGGXNkXGm7l7/85PQ x1C/ulNIL0gFQdjOUSwS/06kUgIiSa12hIIlrrhbOBIj5l9LABnpgrLX2SUgMPi+KgCX OJ6JeEwMrflQkWqlqxOsiGdfM666xMxPgiehCiT2VWhIfkzhWJ0EGZvb31d8q+ZxT4ee olMuia589DyJ0nkQw1QvSKIsbP3U32cwSO3FI7v1xMCVjGcTv8RxiMasAgCmp0Xf7oq/ vlBA== X-Gm-Message-State: AOAM532DihZX39KqCAkyHyBtvd1ZsOy15hPRUkumIFlYEDxWI4g7R1Oq tfTup4cfBQu12nLbsVyipvordR/ziRI= X-Google-Smtp-Source: ABdhPJwHU33W+MbJdDIp6uuKTbxdNK3nVlUCPjTHOnYGDVnSWL7vv8Q1w3OucO6D5zoWtsAdFKeaPw== X-Received: by 2002:a2e:9a0b:: with SMTP id o11mr108643lji.352.1598939473031; Mon, 31 Aug 2020 22:51:13 -0700 (PDT) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id d21sm10865lfi.41.2020.08.31.22.51.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Aug 2020 22:51:12 -0700 (PDT) Subject: Re: Kmod driver at iicbus. attach() and config_intrhook(9) To: freebsd-arm@freebsd.org References: <20200820223918.GC4213@funkthat.com> <496ed13afb2327d6416664b4dacfc346@mh.net.ru> <20200824204708.GH4213@funkthat.com> <6be8abd0-185c-dbbb-5964-1e2ad92ad213@FreeBSD.org> <20200825203313.GJ4213@funkthat.com> <41220fa2-0af3-22c2-0057-c7578f14d52b@FreeBSD.org> <20200826213343.GR4213@funkthat.com> <2cd30277-0628-9a4c-56c0-4ab7d4debaf8@FreeBSD.org> <20200901002642.GV4213@funkthat.com> From: Andriy Gapon Openpgp: preference=signencrypt Autocrypt: addr=avg@FreeBSD.org; prefer-encrypt=mutual; keydata= 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 Message-ID: Date: Tue, 1 Sep 2020 08:51:11 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200901002642.GV4213@funkthat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bgbm26n26z3ybX X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.208.179 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-0.82 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[93.72.151.96:received]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.66)[-0.657]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.23)[-0.234]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.07)[0.070]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.179:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.179:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 05:51:16 -0000 On 01/09/2020 03:26, John-Mark Gurney wrote: > Ok, then the OP shouldn't be having a problem then, maybe you can help > then figure it out then? Was there actually any problem? I thought that OP was just inquiring about the pattern commonly seen in the code. Alexander Mishin wrote: > But I see that some other devices (from /usr/src/sys/dev) uses CONFIG_INTRHOOK(9) > on attach() for initialize themselfs. > I wonder if I need this too? ...or maybe... when I might need it? -- Andriy Gapon From owner-freebsd-arm@freebsd.org Tue Sep 1 15:21:23 2020 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 760743CBBC7 for ; Tue, 1 Sep 2020 15:21:23 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from frog.mh.net.ru (mh.balakovo.san.ru [88.147.158.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BgrPs6bkfz3S60 for ; Tue, 1 Sep 2020 15:21:20 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from webmail.mh.net.ru (mouse.home [192.168.5.6]) by frog.mh.net.ru (Postfix) with ESMTPSA id 10ECE95BA for ; Tue, 1 Sep 2020 19:21:10 +0400 (+04) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 01 Sep 2020 19:21:09 +0400 From: Alexander Mishin To: freebsd-arm@freebsd.org Subject: Re: Re: Kmod driver at iicbus. attach() and config_intrhook(9) In-Reply-To: References: <20200820223918.GC4213@funkthat.com> <496ed13afb2327d6416664b4dacfc346@mh.net.ru> <20200824204708.GH4213@funkthat.com> <6be8abd0-185c-dbbb-5964-1e2ad92ad213@FreeBSD.org> <20200825203313.GJ4213@funkthat.com> <41220fa2-0af3-22c2-0057-c7578f14d52b@FreeBSD.org> <20200826213343.GR4213@funkthat.com> <2cd30277-0628-9a4c-56c0-4ab7d4debaf8@FreeBSD.org> <20200901002642.GV4213@funkthat.com> User-Agent: Roundcube Webmail/1.4.2 Message-ID: <0496ebc5628a015c005c150549e1e70a@mh.net.ru> X-Sender: mishin@mh.net.ru X-Rspamd-Queue-Id: 4BgrPs6bkfz3S60 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=mh.net.ru (policy=none); spf=fail (mx1.freebsd.org: domain of mishin@mh.net.ru does not designate 88.147.158.22 as permitted sender) smtp.mailfrom=mishin@mh.net.ru X-Spamd-Result: default: False [3.18 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_FAIL(1.00)[-all]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.55)[0.546]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.84)[0.839]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.79)[0.793]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12389, ipnet:88.147.128.0/17, country:RU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; DMARC_POLICY_SOFTFAIL(0.10)[mh.net.ru : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 15:21:23 -0000 Andriy Gapon писал 2020-09-01 09:51: > On 01/09/2020 03:26, John-Mark Gurney wrote: >> Ok, then the OP shouldn't be having a problem then, maybe you can help >> then figure it out then? > > Was there actually any problem? > I thought that OP was just inquiring about the pattern commonly seen > in the code. > > Alexander Mishin wrote: >> But I see that some other devices (from /usr/src/sys/dev) uses >> CONFIG_INTRHOOK(9) >> on attach() for initialize themselfs. >> I wonder if I need this too? ...or maybe... when I might need it? Yes, exactly. And I quite understood about using config_intrhook(9), thank you all! ...but still interesting to read if the need for this would be removed for the twsi controller. From owner-freebsd-arm@freebsd.org Tue Sep 1 22:18:43 2020 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 CE0A537F998 for ; Tue, 1 Sep 2020 22:18:43 +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 4Bh1gR0Zpbz3VPJ for ; Tue, 1 Sep 2020 22:18:42 +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 081MIeJS032308 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 1 Sep 2020 15:18:40 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id 081MIdYx032307; Tue, 1 Sep 2020 15:18:39 -0700 (PDT) (envelope-from jmg) Date: Tue, 1 Sep 2020 15:18:39 -0700 From: John-Mark Gurney To: Alexander Mishin Cc: freebsd-arm@freebsd.org Subject: Re: Kmod driver at iicbus. attach() and config_intrhook(9) Message-ID: <20200901221839.GY4213@funkthat.com> Mail-Followup-To: Alexander Mishin , freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0496ebc5628a015c005c150549e1e70a@mh.net.ru> <496ed13afb2327d6416664b4dacfc346@mh.net.ru> X-Operating-System: FreeBSD 11.3-STABLE 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]); Tue, 01 Sep 2020 15:18:40 -0700 (PDT) X-Rspamd-Queue-Id: 4Bh1gR0Zpbz3VPJ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of jmg@gold.funkthat.com has no SPF policy when checking 208.87.223.18) smtp.mailfrom=jmg@gold.funkthat.com X-Spamd-Result: default: False [0.07 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[jmg]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.60)[-0.595]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[funkthat.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.43)[0.429]; NEURAL_HAM_LONG(-0.97)[-0.968]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[jmg@funkthat.com,jmg@gold.funkthat.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; 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]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 22:18:43 -0000 Alexander Mishin wrote this message on Sat, Aug 22, 2020 at 00:59 +0400: > Ian Lepore ?????????? 2020-08-21 02:51: > > On Thu, 2020-08-20 at 15:39 -0700, John-Mark Gurney wrote: > >> Alexander Mishin wrote this message on Thu, Aug 20, 2020 at 10:07 > >> +0400: > >> > Ian Lepore ?????????? 2020-08-19 19:39: > >> > > On Wed, 2020-08-19 at 00:24 -0700, Oleksandr Tymoshenko wrote: > >> > > > Andriy Gapon (avg@FreeBSD.org) wrote: > >> > > > > On 18/08/2020 22:05, Alexander Mishin wrote: > >> > > > > > Hi > >> > > > > > ... > >> > > > > > But I see that some other devices (from /usr/src/sys/dev) > >> > > > > > uses > >> > > > > > CONFIG_INTRHOOK(9) > >> > > > > > on attach() for initialize themselfs. > >> > > > > > I wonder if I need this too? ... > >> > > > > > >> > > > > This is usually needed when a driver needs to talk to its > >> > > > > device > >> > > > > while > >> > > > > attaching. E.g., to set some initial configuration or to > >> > > > > confirm > >> > > > > device's > >> > > > > identity, etc. > >> > > > > >> > > > To extend Andriy's explanation a bit: all these operations may > >> > > > perform > >> > > > I2C transfers and most I2C controllers use interrupts to get > >> > > > notified > >> > > > about tranfer status change (finished, error, etc...). There is > >> > > > no > >> > > > guarantee that when driver's attach method is called interrupts > >> > > > are > >> > > > globally enabled. What would happen in this case is: I2C > >> > > > controller > >> > > > is going to initiate I2C operation and wait for an interrupt > >> > > > that's > >> > > > never going to be delivered. CONFIG_INTRHOOK is a solution for > >> > > > this > >> > > > problem, if your attach method requires interrupts - just split > >> > > > it > >> > > > in two parts and postpone running interrupt-dependent part > >> > > > until > >> > > > after > >> > > > interrupts are globally enabled. > >> > > > >> > > A note about all this: It should never be necessary for an i2c > >> > > slave > >> > > device driver to do this. The reason it's needed is because many > >> > > i2c > >> > > controller drivers attach the iicbus from their attach() routine > >> > > even > >> > > though they can't actually do i2c IO until interrupts are > >> > > available. > >> > > It is these controller drivers that should have the intrhook > >> > > logic to > >> > > not call bus_generic_attach() until interrupts are available if > >> > > they > >> > > can't do IO until interrupts are available. > >> > > > >> > > It has long been my goal to fix all our i2c controller drivers to > >> > > behave correctly, so that i2c slave device drivers don't all need > >> > > the > >> > > intrhook logic. But somehow I never get around to it. > >> > > >> > I think, it would be helpful, as it would be possible to return an > >> > error > >> > on early stage, from attach(), if there is no connection with the > >> > configured device. > >> > >> Looks like there's a function bus_delayed_attach_children designed > >> exactly for this: > >> * Many buses can't run transactions on the bus which children need > >> to probe and > >> * attach until after interrupts and/or timers are running. This > >> function > >> * delays their attach until interrupts and timers are enabled. > >> > >> and it looks like a couple controllers are already using it, imx_i2c > >> and ti_i2c... > >> > >> It looks like maybe a simple replace of bus_generic_attach w/ > >> bus_delayed_attach_children should be enough on those w/ > >> interrupts... > >> > >> Is there any argument for doing it for ALL controllers instead of > >> just > >> some? > >> > >> Poking around some, and it looks like some (one) drivers "pretend" to > >> use interrupts, but just busy wait instead, e.g. exynos5... > >> > > > > Hmm, yeah, it looks like more has been done along these lines than I > > remembered. In fact, the work may be done. > > > > Some i2c controllers have to work properly before interrupts are > > available, to control things like PMIC chips that are required very > > early in device configuration. Typically they have some sort of > > polling mechanism that's used early, and revert to using interrupts > > once they're available. The allwinner and rockchip drivers work that > > way. > > > Just to dot the i's, my SoC is allwinner (Orange PI PC). And the issue > at boot time really showed itself up until config_intrhook was used. > FreeBSD myhost.mh.net.ru 13.0-CURRENT FreeBSD 13.0-CURRENT #3 r364004 Maybe I misread this thread, but this implied to me that the device had to do the config_intrhook work in order to work on the twsi i2c bus driver, is this not the case? Alexander Mishin wrote this message on Tue, Sep 01, 2020 at 19:21 +0400: > Andriy Gapon ?????????? 2020-09-01 09:51: > > On 01/09/2020 03:26, John-Mark Gurney wrote: > >> Ok, then the OP shouldn't be having a problem then, maybe you can help > >> then figure it out then? > > > > Was there actually any problem? > > I thought that OP was just inquiring about the pattern commonly seen > > in the code. > > > > Alexander Mishin wrote: > >> But I see that some other devices (from /usr/src/sys/dev) uses > >> CONFIG_INTRHOOK(9) > >> on attach() for initialize themselfs. > >> I wonder if I need this too? ...or maybe... when I might need it? > > Yes, exactly. And I quite understood about using config_intrhook(9), > thank you all! > ...but still interesting to read if the need for this would be removed > for the twsi controller. So my reading of the twsi driver is that it handles things correctly allowing devices pre-interrupts to attach, and using interrupts for transfers post-cold. So, your driver does not need to do any config_intrhook magic to make it work. If you run across any other i2c bus controllers than need it, then that controller should be fixed. -- 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 Wed Sep 2 17:26:27 2020 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 67FD03DD7A2 for ; Wed, 2 Sep 2020 17:26:27 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from frog.mh.net.ru (mh.balakovo.san.ru [88.147.158.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BhW7j6jS9z3YKt for ; Wed, 2 Sep 2020 17:26:23 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from webmail.mh.net.ru (mouse.home [192.168.5.6]) by frog.mh.net.ru (Postfix) with ESMTPSA id AF9EC9AAC for ; Wed, 2 Sep 2020 21:26:13 +0400 (+04) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 02 Sep 2020 21:26:13 +0400 From: Alexander Mishin To: freebsd-arm@freebsd.org Subject: Re: Re: Re: Re: Kmod driver at iicbus. attach() and config_intrhook(9) In-Reply-To: <20200901221839.GY4213@funkthat.com> References: <20200901221839.GY4213@funkthat.com> User-Agent: Roundcube Webmail/1.4.2 Message-ID: <9d8f10750ab66598400c7c71e9815dff@mh.net.ru> X-Sender: mishin@mh.net.ru X-Rspamd-Queue-Id: 4BhW7j6jS9z3YKt X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=mh.net.ru (policy=none); spf=fail (mx1.freebsd.org: domain of mishin@mh.net.ru does not designate 88.147.158.22 as permitted sender) smtp.mailfrom=mishin@mh.net.ru X-Spamd-Result: default: False [1.99 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_FAIL(1.00)[-all]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.44)[0.440]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; NEURAL_HAM_SHORT(-0.00)[-0.004]; NEURAL_SPAM_LONG(0.55)[0.553]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12389, ipnet:88.147.128.0/17, country:RU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; DMARC_POLICY_SOFTFAIL(0.10)[mh.net.ru : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2020 17:26:27 -0000 John-Mark Gurney писал 2020-09-02 02:18: > Alexander Mishin wrote this message on Sat, Aug 22, 2020 at 00:59 > +0400: >> Ian Lepore ?????????? 2020-08-21 02:51: >> > On Thu, 2020-08-20 at 15:39 -0700, John-Mark Gurney wrote: >> > ........... >> Just to dot the i's, my SoC is allwinner (Orange PI PC). And the issue >> at boot time really showed itself up until config_intrhook was used. >> FreeBSD myhost.mh.net.ru 13.0-CURRENT FreeBSD 13.0-CURRENT #3 r364004 > > Maybe I misread this thread, but this implied to me that the device had > to do the config_intrhook work in order to work on the twsi i2c bus > driver, is this not the case? No. Not the twsi i2c bus driver but my driver for i2c capable device (bh1750fvi ic). When I load my driver from /boot/loader.conf it is impossible to write or to read from the ic at attach(). I do not checked if my driver loaded this manner can to exchange the data with the ic after the boot process is over (I belive it does) > > Alexander Mishin wrote this message on Tue, Sep 01, 2020 at 19:21 > +0400: >> Andriy Gapon ?????????? 2020-09-01 09:51: >> > On 01/09/2020 03:26, John-Mark Gurney wrote: >> >> Ok, then the OP shouldn't be having a problem then, maybe you can help >> >> then figure it out then? >> > >> > Was there actually any problem? >> > I thought that OP was just inquiring about the pattern commonly seen >> > in the code. >> > >> > Alexander Mishin wrote: >> >> But I see that some other devices (from /usr/src/sys/dev) uses >> >> CONFIG_INTRHOOK(9) >> >> on attach() for initialize themselfs. >> >> I wonder if I need this too? ...or maybe... when I might need it? >> >> Yes, exactly. And I quite understood about using config_intrhook(9), >> thank you all! >> ...but still interesting to read if the need for this would be removed >> for the twsi controller. > > So my reading of the twsi driver is that it handles things correctly > allowing devices pre-interrupts to attach, and using interrupts for > transfers post-cold. > > So, your driver does not need to do any config_intrhook magic to make > it work. When the driver is loading at boottime I need to use config_intrhook() to check if my ic is connected by sending data to it. Then I decide continue (or stop) further initialization. I just had no idea before that there is any difference when and how I load the kernel driver. > > If you run across any other i2c bus controllers than need it, then that > controller should be fixed. I got an answer to my question. Thanks. From owner-freebsd-arm@freebsd.org Wed Sep 2 23:33:11 2020 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 B7E803CD1EB; Wed, 2 Sep 2020 23:33:11 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BhgGt2JN4z4RSV; Wed, 2 Sep 2020 23:33:10 +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 082NXKbB067387 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 2 Sep 2020 16:33:20 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id 082NXJtL067386; Wed, 2 Sep 2020 16:33:19 -0700 (PDT) (envelope-from fbsd) Date: Wed, 2 Sep 2020 16:33:19 -0700 From: bob prohaska To: Hans Petter Selasky Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: Strange USB loop Message-ID: <20200902233319.GA67239@www.zefox.net> References: <20200824163736.GA9845@www.zefox.net> <42038cfd-425c-c5cd-d3de-d3cace1ecd89@selasky.org> <20200825050304.GA11333@www.zefox.net> <8be06d6f-9837-cde6-1878-a25e84656d84@selasky.org> <20200825182916.GA14015@www.zefox.net> <20200827170221.GA24247@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200827170221.GA24247@www.zefox.net> X-Rspamd-Queue-Id: 4BhgGt2JN4z4RSV X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [0.43 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.72)[-0.724]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.12)[-0.118]; NEURAL_HAM_MEDIUM(-0.63)[-0.631]; R_SPF_NA(0.00)[no SPF record]; 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]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm,freebsd-current]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2020 23:33:11 -0000 On Thu, Aug 27, 2020 at 10:02:21AM -0700, bob prohaska wrote: > On Tue, Aug 25, 2020 at 11:29:16AM -0700, bob prohaska wrote: > > > With a _different_ FT232 plugged in it also came up normally. > > > > Both are thought to be genuine, but they are of different age > > and produce different recognition messages: > > > > The FT232 that causes trouble reports > > ugen1.4: at usbus1 > > uftdi0 on uhub1 > > uftdi0: on usbus1 > > > > The one that seems to work is newer and reports > > ugen1.4: at usbus1 > > uftdi0 on uhub1 > > uftdi0: on usbus1 > > With the system updated to r364900 both FT232 devices seem to be working. The machine boots from a USB disk successfully with mouse, keyboard and FT232 connected at powerup. Thanks for your help, bob prohaska From owner-freebsd-arm@freebsd.org Thu Sep 3 06:48:17 2020 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 505043DD071; Thu, 3 Sep 2020 06:48:17 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4Bhrww3sp1z400J; Thu, 3 Sep 2020 06:48:16 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lj1-f180.google.com with SMTP id w3so2255559ljo.5; Wed, 02 Sep 2020 23:48:16 -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:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=F2qlvZScg2uz9urrqZSRixN463NsfuxlgzLkOoWiRQ0=; b=DDdD6cNH0JrN8DrmFhHRwRchiM5wbR6NZxCfczrHqluj5Mh1uCVHOreOjSwo2sUobe AYJrOPJBXAdrMTyUvsIWiL8btX0ShWiYm4FmjVTUKXce7yvNe/uuNU34PWfu7ajBbxPw c7KuoLz8TvqkhJ4Q534SJSTWdnXqfTZO9oOR92bUa8fiM13iX0F9tqSNu+zy0vE6Aiur qsG/P/10XrGeKDkaXk3nsHCJe+Bs8Acx/TPINOywUUXjkpogQIarX7xNEuTyZ5nTAOs7 Hz3yCazgZyFifnwT6ryGfRiWYCvp4dRCaNLfZCgWrQtB3vUmYu/K1dfXmSImsQ8gidM5 TswQ== X-Gm-Message-State: AOAM530pbFoKbI03x8Md+uBpEAFW7lw2xlgYqRzXwWPN5e7cgGl/ToSP VrT7EkUhVla0NTZLi7sp4Er/VWXkaHWhSw== X-Google-Smtp-Source: ABdhPJxHyXR/PCMcpAJ/CnKJWWVVpVrAu5V0joG/RYzo67x6Rcnb5TTs2d7a0IC5m4Ly0yHMI8L+CA== X-Received: by 2002:a2e:6a16:: with SMTP id f22mr414633ljc.15.1599115694251; Wed, 02 Sep 2020 23:48:14 -0700 (PDT) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id z7sm369015lfc.59.2020.09.02.23.48.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Sep 2020 23:48:13 -0700 (PDT) Subject: Re: [openzfs] r365058 arm64 uefi boot fails with "unknown filesystem" after launching kernel To: Navdeep Parhar , Dave Cottlehuber , Ryan Moeller , Matthew Macy Cc: freebsd-current@freebsd.org, freebsd-arm References: From: Andriy Gapon Openpgp: preference=signencrypt Autocrypt: addr=avg@FreeBSD.org; prefer-encrypt=mutual; keydata= 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 Message-ID: Date: Thu, 3 Sep 2020 09:48:12 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bhrww3sp1z400J X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.208.180 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-1.87 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.06)[-0.064]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[93.72.151.96:received]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.76)[-0.761]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.05)[-1.048]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.180:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.180:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm,freebsd-current] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 06:48:17 -0000 On 03/09/2020 00:01, Navdeep Parhar wrote: > Load cryptodev manually from the loader to boot and then add > cryptodev_load="YES" to your loader.conf. I think that this shouldn't be needed *if* zfs module has a dependency on cryptodev module (MODULE_DEPEND in the code). The loader knows how to load dependencies. -- Andriy Gapon From owner-freebsd-arm@freebsd.org Thu Sep 3 07:10:31 2020 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 9DF2E3DDC12; Thu, 3 Sep 2020 07:10:31 +0000 (UTC) (envelope-from iz-rpi03@hs-karlsruhe.de) Received: from smtp.hs-karlsruhe.de (smtp.HS-Karlsruhe.DE [193.196.64.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BhsQb1wWbz41Kw; Thu, 3 Sep 2020 07:10:31 +0000 (UTC) (envelope-from iz-rpi03@hs-karlsruhe.de) Received: from iz-wera-new.hs-karlsruhe.de ([193.196.65.47]) by smtp.hs-karlsruhe.de with esmtp (Exim 4.80.1) (envelope-from ) id 1kDjO9-007DZm-8g; Thu, 03 Sep 2020 09:10:29 +0200 X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.6 From: Ralf Wenk To: Andriy Gapon cc: Navdeep Parhar , Dave Cottlehuber , Ryan Moeller , Matthew Macy , freebsd-current@freebsd.org, freebsd-arm Subject: Re: [openzfs] r365058 arm64 uefi boot fails with "unknown filesystem" after launching kernel In-reply-to: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 03 Sep 2020 09:10:29 +0200 Message-Id: X-Rspamd-Queue-Id: 4BhsQb1wWbz41Kw X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:553, ipnet:193.196.64.0/18, country:EU] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 07:10:31 -0000 On 2020-09-03 at 9:48 +0300 Andriy Gapon wrote: > On 03/09/2020 00:01, Navdeep Parhar wrote: > > Load cryptodev manually from the loader to boot and then add > > cryptodev_load="YES" to your loader.conf. > > I think that this shouldn't be needed *if* zfs module has a dependency on > cryptodev module (MODULE_DEPEND in the code). > The loader knows how to load dependencies. For unknown reasons loading dependencies by the loader does not work on arm64. There exists a bug report as a reminder. With the former ZFS implementation you had to add opensolaris_load="YES" to loader.conf on arm64. Ralf From owner-freebsd-arm@freebsd.org Thu Sep 3 07:16:32 2020 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 BE8693DDEBD; Thu, 3 Sep 2020 07:16:32 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BhsYV5ZCDz41sB; Thu, 3 Sep 2020 07:16:30 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lj1-f196.google.com with SMTP id w3so2343922ljo.5; Thu, 03 Sep 2020 00:16:30 -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:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=JcoBoDrGInXnI9nTBw8VNXJJU22coItt1VMCENOfbuk=; b=OtRqkQRIhg/pJ6XXQXop30VFzM7wqNtdkScI47AZStxahMskZTBX6XMpg1WLctP1Wc /30CoWrBjBKDq8Hu1H2HBS5aJ7/at9kHInMuAXq9XQPfrRyUA9q0aW2iUi6o8cw50e1o WIMfZqr/SdpjhLjTbvhuFT9yijdMdbKPScQnzJBdSNmdvVb7UK72Tn0Ea2SZw/hPTO/E aZembyGjPcEy+M3Fi4necBRhiRmrTT4ny95fLOYcmkn/xg4jby9A1yAlhIvOChHwwMqa iMiojEvhQh4S34i5LHiXX2vzcVdPp+LNiNCb6VnD9IKjg2NUIF22h0VqEO4d0uzar2IQ 078w== X-Gm-Message-State: AOAM530LLQvYcJN1yxJA68QdTSIXXkunr9xMLUqYqTTeTIy2IHplX8JI jZcVc79ZxiflbcieLUyy1EgLFvXDiZc= X-Google-Smtp-Source: ABdhPJyTVd1Lia+4mSfPkvAqx7DyTW8zGYHav3vUvKxukegIlPyXmVBilxC42fKVyo6ttal7IszTZQ== X-Received: by 2002:a2e:898a:: with SMTP id c10mr529373lji.175.1599117387973; Thu, 03 Sep 2020 00:16:27 -0700 (PDT) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id f26sm414295ljo.57.2020.09.03.00.16.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Sep 2020 00:16:27 -0700 (PDT) Subject: Re: [openzfs] r365058 arm64 uefi boot fails with "unknown filesystem" after launching kernel To: Dave Cottlehuber Cc: freebsd-current@freebsd.org, freebsd-arm References: From: Andriy Gapon Openpgp: preference=signencrypt Autocrypt: addr=avg@FreeBSD.org; prefer-encrypt=mutual; keydata= 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 Message-ID: Date: Thu, 3 Sep 2020 10:16:26 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BhsYV5ZCDz41sB X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.208.196 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-1.85 / 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)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_HAM_LONG(-1.02)[-1.022]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-0.65)[-0.654]; NEURAL_HAM_SHORT(-0.18)[-0.175]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.196:from]; RECEIVED_SPAMHAUS_PBL(0.00)[93.72.151.96:received]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.196:from]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; MAILMAN_DEST(0.00)[freebsd-arm,freebsd-current] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 07:16:32 -0000 On 03/09/2020 10:01, Dave Cottlehuber wrote: > On Thu, 3 Sep 2020, at 06:48, Andriy Gapon wrote: >> On 03/09/2020 00:01, Navdeep Parhar wrote: >>> Load cryptodev manually from the loader to boot and then add >>> cryptodev_load="YES" to your loader.conf. >> >> I think that this shouldn't be needed *if* zfs module has a dependency on >> cryptodev module (MODULE_DEPEND in the code). >> The loader knows how to load dependencies. > > emaste mentioned that this dependency walking doesn't work on aarch64 yet, > until after loader stage is complete. Sorry for the noise then! I didn't know about that bug. -- Andriy Gapon From owner-freebsd-arm@freebsd.org Thu Sep 3 07:30:04 2020 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 5DB253DDE7E for ; Thu, 3 Sep 2020 07:30:04 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4Bhss7464Rz42Jn for ; Thu, 3 Sep 2020 07:30:03 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf1-f44.google.com with SMTP id y11so1306026lfl.5 for ; Thu, 03 Sep 2020 00:30:03 -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 :content-language:content-transfer-encoding; bh=trTqHEjRAe/9ZIfEOXjMYSNnG2m9hvq43D2T0mkH978=; b=pApFcNmPOEpsM8Q/8D98bPAyji9DBL4uV9aT91CWpvFqX676ouOZZ8fmm57PnAAglX nz4LrfduVCrW43KeSFTok+1PAmiJU6JoKku3flmgUqLE+KCDlb9vTTvMAxa7Get0sS/L YxOnH0/fpMZg6+n1f7W7HBA4aBXcmn7O9u1QCRrKVwTP9B1vQqJFG2oC6yzAyy7rLuFm VRrcRp2tL7IZwPOtgIUif3/CstRUzEOcd+fxs2CK9kJ8XHPGai7m+auBB4hEWRITccgz qMrRzIhaOGuhprvMHzxcCjwQ6RGhJoditUmOssRh/6dqk1m1KnoQkfp/Jhs3Ap3R0egp b6bg== X-Gm-Message-State: AOAM530GExoAtDuPvfjQqX40nlWoPKk4Q/WAQFzSjUT8HLb67mwld7mF dmP/fQ00EaGGqn3z0H1ebfDorTGu75A= X-Google-Smtp-Source: ABdhPJwfdAMF3TT7eEPMfUoVV/xm4Ov+PC5YFdF7OwZlUUcZ4M34f2zmMe5NB1efl2EzImH1Q4/kPg== X-Received: by 2002:ac2:5452:: with SMTP id d18mr556081lfn.150.1599118201500; Thu, 03 Sep 2020 00:30:01 -0700 (PDT) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id h8sm416313ljk.138.2020.09.03.00.30.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Sep 2020 00:30:00 -0700 (PDT) Subject: Re: Kmod driver at iicbus. attach() and config_intrhook(9) To: freebsd-arm@freebsd.org References: <0496ebc5628a015c005c150549e1e70a@mh.net.ru> <20200901221839.GY4213@funkthat.com> From: Andriy Gapon Openpgp: preference=signencrypt Autocrypt: addr=avg@FreeBSD.org; prefer-encrypt=mutual; keydata= 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 Message-ID: <7498213a-28d8-f20c-35ae-97aaf2796c1e@FreeBSD.org> Date: Thu, 3 Sep 2020 10:29:59 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200901221839.GY4213@funkthat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bhss7464Rz42Jn X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of agapon@gmail.com designates 209.85.167.44 as permitted sender) smtp.mailfrom=agapon@gmail.com X-Spamd-Result: default: False [-0.86 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FORGED_SENDER(0.30)[avg@FreeBSD.org,agapon@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[93.72.151.96:received]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[avg@FreeBSD.org,agapon@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.30)[-0.301]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.88)[-0.878]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.32)[0.321]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.44:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.44:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 07:30:04 -0000 On 02/09/2020 01:18, John-Mark Gurney wrote: > So my reading of the twsi driver is that it handles things correctly > allowing devices pre-interrupts to attach, and using interrupts for > transfers post-cold. I just want to note that twsi uses _completely_ different code for polled and interrupt modes. So, while either mode should be active at correct times, I cannot certify that the polled mode works correctly for all transfer types. I haven't reviewed the polled mode code. -- Andriy Gapon From owner-freebsd-arm@freebsd.org Thu Sep 3 11:02:38 2020 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 472063E1F75 for ; Thu, 3 Sep 2020 11:02:38 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from frog.mh.net.ru (mh.balakovo.san.ru [88.147.158.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BhyZN2v41z4GXh for ; Thu, 3 Sep 2020 11:02:34 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from webmail.mh.net.ru (mouse.home [192.168.5.6]) by frog.mh.net.ru (Postfix) with ESMTPSA id 20E2619406 for ; Thu, 3 Sep 2020 15:02:28 +0400 (+04) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 03 Sep 2020 15:02:27 +0400 From: Alexander Mishin To: freebsd-arm@freebsd.org Subject: Re: Re: Re: Re: Re: Kmod driver at iicbus. attach() and config_intrhook(9) In-Reply-To: <7498213a-28d8-f20c-35ae-97aaf2796c1e@FreeBSD.org> References: <0496ebc5628a015c005c150549e1e70a@mh.net.ru> <20200901221839.GY4213@funkthat.com> <7498213a-28d8-f20c-35ae-97aaf2796c1e@FreeBSD.org> User-Agent: Roundcube Webmail/1.4.2 Message-ID: <8c4593191cccecfe6927c6628e62c742@mh.net.ru> X-Sender: mishin@mh.net.ru X-Rspamd-Queue-Id: 4BhyZN2v41z4GXh X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=mh.net.ru (policy=none); spf=fail (mx1.freebsd.org: domain of mishin@mh.net.ru does not designate 88.147.158.22 as permitted sender) smtp.mailfrom=mishin@mh.net.ru X-Spamd-Result: default: False [1.09 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_FAIL(1.00)[-all]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.54)[0.545]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.06)[0.058]; NEURAL_HAM_MEDIUM(-0.51)[-0.509]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12389, ipnet:88.147.128.0/17, country:RU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; DMARC_POLICY_SOFTFAIL(0.10)[mh.net.ru : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 11:02:38 -0000 Andriy Gapon писал 2020-09-03 11:29: > On 02/09/2020 01:18, John-Mark Gurney wrote: >> So my reading of the twsi driver is that it handles things correctly >> allowing devices pre-interrupts to attach, and using interrupts for >> transfers post-cold. > > I just want to note that twsi uses _completely_ different code for > polled and > interrupt modes. So, while either mode should be active at correct > times, I > cannot certify that the polled mode works correctly for all transfer > types. > I haven't reviewed the polled mode code. This adds some more light on my question. As a result: For twsi I use iicbb_transfer() (as Emmanuel Vadot recommended to someone on the mailing list). It is definitely not works for my driver, until interrupts went enabled. But it works perfectly well with the config_intrhook(). I have never tried iicbus_write() at boot time yet, but I think I'll try, just to know for the future. Thanks From owner-freebsd-arm@freebsd.org Thu Sep 3 14:48:27 2020 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 483233C0562 for ; Thu, 3 Sep 2020 14:48:27 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2k.ore.mailhop.org (outbound2k.ore.mailhop.org [54.148.219.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bj3Zy4pcMz4X6L for ; Thu, 3 Sep 2020 14:48:26 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1599144505; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=QnMHuovpyCnhDEsbpnnk6zHH7fQFyIlhSrCw9WpyQCGvPoehu2e9thQz/hWcdUjT19gnRNfGXNF53 N/wS2RyaSvyK57oD1bjEeXchT/L63hrbK8rd346kPLJvmmZnidwRRjzTNwjfp0fKP9yoYX3ChI6umH 8GKFRy8c+6DZqmknvLkltcPP8whiskiprZP+0rnl6sIwhoyrPrFvYchjrBOF/aC8Kocq/0lh0W4/Q3 qVg0x1+uUwVUQE5oJtU7rlazsXII0vNLZR9ZgtGP6qvFL2OmFkrcWFw1U9y6ow0G7DxHJzaVtnUfk8 jS22Q0iODV6tmELtYVS3yZcYVQwz7eA== 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=9/WseZpBJ7ktk6LXGxTiPIxCG5BQo289MWOLgAV/fsc=; b=HtHhz/la5lvr5MNhFTjULl4rX/xfYiErj0q5sfYP2teUGmHupv5VDohseAl33ZKfhdcDNfK6JbiMj h4m09YHpnVK+O4E7Rr3moXN+APMYUW+eg89xWMDRESyKmxCA8c/xLqOjKXjztRQBBC4Y4fZdq8/Lpl lF/WLfQFazXzZuDHNk/ZNYe3IZpzqN3+tyiXc72x/A+PdxFfbz0E0/QsWFfD/u6PDbld1aTW8zxFOP 4PuWoC8Hb5y+J0d02FpBPhM0Ve9tEwmRq76z9jV2/ie6nko8Sf8OMlVYtApsiM5VguL/FY0MqYMkxU q6r2eOfJnSjtVt6dJ0KherplSxmNt2w== 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=9/WseZpBJ7ktk6LXGxTiPIxCG5BQo289MWOLgAV/fsc=; b=IyJpMGA0j0ZJMJ0KCaolfMm4UlbCilbQxYG/TYyedf6R9s4nYh2mF7u6CE7LQql9prU1VTrfkwaqp gMD8bJWyuSVBhv0YC9zuYzC9gmv9GIMwgSNYEI31nuZ8UrdA+EGdNvcwQe7fT3Q2LsazLxq05Fsuyc Atf+KxhBmC80KcYxdLdhBl31/5O4+PmlD11miHBDT2m9MA5m9AclAWVFq72WFQJFXoiqOrP+dx840q FwQrDFicBgduhusUcFiw9xsEX4ODDy2L6VW20qMIAGg0ZKKlri0N3DnCAmZR9P+MMaO7GYab5r416R PBzcNsklL0RvP2NeQVwlchKEZjZhE1w== X-MHO-RoutePath: aGlwcGll X-MHO-User: 81bc82da-edf4-11ea-9e11-df46ed8f892f 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 (c-67-177-211-60.hsd1.co.comcast.net [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 81bc82da-edf4-11ea-9e11-df46ed8f892f; Thu, 03 Sep 2020 14:48:23 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 083EmIT6050101; Thu, 3 Sep 2020 08:48:19 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <739e424429ecde302e11df4c183d4e62c263a6d6.camel@freebsd.org> Subject: Re: Re: Re: Re: Re: Kmod driver at iicbus. attach() and config_intrhook(9) From: Ian Lepore To: Alexander Mishin , freebsd-arm@freebsd.org Date: Thu, 03 Sep 2020 08:48:18 -0600 In-Reply-To: <8c4593191cccecfe6927c6628e62c742@mh.net.ru> References: <0496ebc5628a015c005c150549e1e70a@mh.net.ru> <20200901221839.GY4213@funkthat.com> <7498213a-28d8-f20c-35ae-97aaf2796c1e@FreeBSD.org> <8c4593191cccecfe6927c6628e62c742@mh.net.ru> Content-Type: text/plain; charset="koi8-r" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Bj3Zy4pcMz4X6L X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 14:48:27 -0000 On Thu, 2020-09-03 at 15:02 +0400, Alexander Mishin wrote: > Andriy Gapon 2020-09-03 11:29: > > On 02/09/2020 01:18, John-Mark Gurney wrote: > > > So my reading of the twsi driver is that it handles things correctly > > > allowing devices pre-interrupts to attach, and using interrupts for > > > transfers post-cold. > > > > I just want to note that twsi uses _completely_ different code for > > polled and > > interrupt modes. So, while either mode should be active at correct > > times, I > > cannot certify that the polled mode works correctly for all transfer > > types. > > I haven't reviewed the polled mode code. > > This adds some more light on my question. > > As a result: > For twsi I use iicbb_transfer() (as Emmanuel Vadot recommended to > someone on the mailing list). > It is definitely not works for my driver, until interrupts went enabled. > But it works perfectly well with the config_intrhook(). > > I have never tried iicbus_write() at boot time yet, but I think I'll > try, just to know for the future. > > Thanks > iicbb_transfer() is for bit-bang i2c; hopefully that was a typo. All i2c slave drivers should be using iicbus_transfer_excl() or the iicdev_readfrom()/iicdev_writeto() helper functions. The only time to use iicbus_transfer() directly is when you need to conduct a dialog with one or more slaves using multiple transactions and it's important to keep the bus locked across the entire series of transactions for some reason (meaning you must handle the acquire/release bus stuff yourself). There is virtually never a reason to call the low-level start/stop/read/write functions directly. It's a pity that this stuff is so horribly documented. It has evolved extensively over the years, not always in good ways, and documentation and examples either don't exist or haven't kept up. Bottom line: if the twsi driver has the config_intrhook logic in it then your driver shouldn't need it. If you do need it, something is broken, either in your driver or in the twsi driver, and we should figure out what the real problem is. -- Ian From owner-freebsd-arm@freebsd.org Fri Sep 4 06:00:37 2020 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 AEDF73D7780 for ; Fri, 4 Sep 2020 06:00:37 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from frog.mh.net.ru (mh.balakovo.san.ru [88.147.158.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BjRqR2W4hz4YtQ for ; Fri, 4 Sep 2020 06:00:34 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from webmail.mh.net.ru (mouse.home [192.168.5.6]) by frog.mh.net.ru (Postfix) with ESMTPSA id D78991972E for ; Fri, 4 Sep 2020 10:00:24 +0400 (+04) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 04 Sep 2020 10:00:24 +0400 From: Alexander Mishin To: freebsd-arm@freebsd.org Subject: Re: Kmod driver at iicbus. attach() and config_intrhook(9) In-Reply-To: <739e424429ecde302e11df4c183d4e62c263a6d6.camel@freebsd.org> References: <0496ebc5628a015c005c150549e1e70a@mh.net.ru> <20200901221839.GY4213@funkthat.com> <7498213a-28d8-f20c-35ae-97aaf2796c1e@FreeBSD.org> <8c4593191cccecfe6927c6628e62c742@mh.net.ru> <739e424429ecde302e11df4c183d4e62c263a6d6.camel@freebsd.org> User-Agent: Roundcube Webmail/1.4.2 Message-ID: <28253dc7881eff6ae315d33f5156e335@mh.net.ru> X-Sender: mishin@mh.net.ru X-Rspamd-Queue-Id: 4BjRqR2W4hz4YtQ X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=mh.net.ru (policy=none); spf=fail (mx1.freebsd.org: domain of mishin@mh.net.ru does not designate 88.147.158.22 as permitted sender) smtp.mailfrom=mishin@mh.net.ru X-Spamd-Result: default: False [2.07 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_FAIL(1.00)[-all]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.75)[0.750]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.27)[0.270]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.05)[0.050]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12389, ipnet:88.147.128.0/17, country:RU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; DMARC_POLICY_SOFTFAIL(0.10)[mh.net.ru : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 06:00:37 -0000 Ian Lepore писал 2020-09-03 18:48: > On Thu, 2020-09-03 at 15:02 +0400, Alexander Mishin wrote: >> Andriy Gapon писал 2020-09-03 11:29: >> > On 02/09/2020 01:18, John-Mark Gurney wrote: >> > > So my reading of the twsi driver is that it handles things correctly >> > > allowing devices pre-interrupts to attach, and using interrupts for >> > > transfers post-cold. >> > >> > I just want to note that twsi uses _completely_ different code for >> > polled and >> > interrupt modes. So, while either mode should be active at correct >> > times, I >> > cannot certify that the polled mode works correctly for all transfer >> > types. >> > I haven't reviewed the polled mode code. >> >> This adds some more light on my question. >> >> As a result: >> For twsi I use iicbb_transfer() (as Emmanuel Vadot recommended to >> someone on the mailing list). >> It is definitely not works for my driver, until interrupts went >> enabled. >> But it works perfectly well with the config_intrhook(). >> >> I have never tried iicbus_write() at boot time yet, but I think I'll >> try, just to know for the future. >> >> Thanks >> > > iicbb_transfer() is for bit-bang i2c; hopefully that was a typo. > > All i2c slave drivers should be using iicbus_transfer_excl() or the > iicdev_readfrom()/iicdev_writeto() helper functions. The only time to > use iicbus_transfer() directly is when you need to conduct a dialog > with one or more slaves using multiple transactions and it's important > to keep the bus locked across the entire series of transactions for > some reason (meaning you must handle the acquire/release bus stuff > yourself). There is virtually never a reason to call the low-level > start/stop/read/write functions directly. > > It's a pity that this stuff is so horribly documented. It has evolved > extensively over the years, not always in good ways, and documentation > and examples either don't exist or haven't kept up. > > Bottom line: if the twsi driver has the config_intrhook logic in it > then your driver shouldn't need it. If you do need it, something is > broken, either in your driver or in the twsi driver, and we should > figure out what the real problem is. > > -- Ian Not a typo :-( Many, many thanks for such a portion of valuable information. Went to look for examples in the kernel sources. From owner-freebsd-arm@freebsd.org Fri Sep 4 07:45:14 2020 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 0FC973D9E0F for ; Fri, 4 Sep 2020 07:45:14 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from frog.mh.net.ru (mh.balakovo.san.ru [88.147.158.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BjV883t6bz4f7n for ; Fri, 4 Sep 2020 07:45:11 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from webmail.mh.net.ru (mouse.home [192.168.5.6]) by frog.mh.net.ru (Postfix) with ESMTPSA id 246B419643 for ; Fri, 4 Sep 2020 11:45:07 +0400 (+04) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 04 Sep 2020 11:45:06 +0400 From: Alexander Mishin To: freebsd-arm@freebsd.org Subject: Re: Kmod driver at iicbus. attach() and config_intrhook(9) In-Reply-To: <739e424429ecde302e11df4c183d4e62c263a6d6.camel@freebsd.org> References: <0496ebc5628a015c005c150549e1e70a@mh.net.ru> <20200901221839.GY4213@funkthat.com> <7498213a-28d8-f20c-35ae-97aaf2796c1e@FreeBSD.org> <8c4593191cccecfe6927c6628e62c742@mh.net.ru> <739e424429ecde302e11df4c183d4e62c263a6d6.camel@freebsd.org> User-Agent: Roundcube Webmail/1.4.2 Message-ID: <9a2b66d4d8b8528b2656b629a5813999@mh.net.ru> X-Sender: mishin@mh.net.ru X-Rspamd-Queue-Id: 4BjV883t6bz4f7n X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=mh.net.ru (policy=none); spf=fail (mx1.freebsd.org: domain of mishin@mh.net.ru does not designate 88.147.158.22 as permitted sender) smtp.mailfrom=mishin@mh.net.ru X-Spamd-Result: default: False [1.82 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_FAIL(1.00)[-all]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.50)[0.503]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.27)[0.270]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.05)[0.051]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12389, ipnet:88.147.128.0/17, country:RU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; DMARC_POLICY_SOFTFAIL(0.10)[mh.net.ru : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 07:45:14 -0000 Ian Lepore писал 2020-09-03 18:48: > On Thu, 2020-09-03 at 15:02 +0400, Alexander Mishin wrote: >> Andriy Gapon писал 2020-09-03 11:29: >> > On 02/09/2020 01:18, John-Mark Gurney wrote: >> > > So my reading of the twsi driver is that it handles things correctly >> > > allowing devices pre-interrupts to attach, and using interrupts for >> > > transfers post-cold. >> > >> > I just want to note that twsi uses _completely_ different code for >> > polled and >> > interrupt modes. So, while either mode should be active at correct >> > times, I >> > cannot certify that the polled mode works correctly for all transfer >> > types. >> > I haven't reviewed the polled mode code. >> >> This adds some more light on my question. >> >> As a result: >> For twsi I use iicbb_transfer() (as Emmanuel Vadot recommended to >> someone on the mailing list). >> It is definitely not works for my driver, until interrupts went >> enabled. >> But it works perfectly well with the config_intrhook(). >> >> I have never tried iicbus_write() at boot time yet, but I think I'll >> try, just to know for the future. >> >> Thanks >> > > iicbb_transfer() is for bit-bang i2c; hopefully that was a typo. > > All i2c slave drivers should be using iicbus_transfer_excl() or the > iicdev_readfrom()/iicdev_writeto() helper functions. The only time to > use iicbus_transfer() directly is when you need to conduct a dialog > with one or more slaves using multiple transactions and it's important > to keep the bus locked across the entire series of transactions for > some reason (meaning you must handle the acquire/release bus stuff > yourself). There is virtually never a reason to call the low-level > start/stop/read/write functions directly. > > It's a pity that this stuff is so horribly documented. It has evolved > extensively over the years, not always in good ways, and documentation > and examples either don't exist or haven't kept up. > > Bottom line: if the twsi driver has the config_intrhook logic in it > then your driver shouldn't need it. If you do need it, something is > broken, either in your driver or in the twsi driver, and we should > figure out what the real problem is. > > -- Ian Yes, it was a typo. Of course I meant iicbus_transfer() (not iicbb_transfer), sorry for misleading. From owner-freebsd-arm@freebsd.org Fri Sep 4 10:44:12 2020 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 4FB0C3DD4DD for ; Fri, 4 Sep 2020 10:44:12 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from frog.mh.net.ru (mh.balakovo.san.ru [88.147.158.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BjZ6d2G5Bz3Zg4 for ; Fri, 4 Sep 2020 10:44:07 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from webmail.mh.net.ru (mouse.home [192.168.5.6]) by frog.mh.net.ru (Postfix) with ESMTPSA id D402319808 for ; Fri, 4 Sep 2020 14:44:04 +0400 (+04) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 04 Sep 2020 14:44:04 +0400 From: Alexander Mishin To: freebsd-arm@freebsd.org Subject: Re: Kmod driver at iicbus. attach() and config_intrhook(9) In-Reply-To: <28253dc7881eff6ae315d33f5156e335@mh.net.ru> References: <0496ebc5628a015c005c150549e1e70a@mh.net.ru> <20200901221839.GY4213@funkthat.com> <7498213a-28d8-f20c-35ae-97aaf2796c1e@FreeBSD.org> <8c4593191cccecfe6927c6628e62c742@mh.net.ru> <739e424429ecde302e11df4c183d4e62c263a6d6.camel@freebsd.org> <28253dc7881eff6ae315d33f5156e335@mh.net.ru> User-Agent: Roundcube Webmail/1.4.2 Message-ID: <451b7285054c35b03c3d5427afaf7d65@mh.net.ru> X-Sender: mishin@mh.net.ru X-Rspamd-Queue-Id: 4BjZ6d2G5Bz3Zg4 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=mh.net.ru (policy=none); spf=fail (mx1.freebsd.org: domain of mishin@mh.net.ru does not designate 88.147.158.22 as permitted sender) smtp.mailfrom=mishin@mh.net.ru X-Spamd-Result: default: False [1.03 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_FAIL(1.00)[-all]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.27)[0.270]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; NEURAL_HAM_SHORT(-0.29)[-0.294]; NEURAL_SPAM_LONG(0.05)[0.050]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12389, ipnet:88.147.128.0/17, country:RU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; DMARC_POLICY_SOFTFAIL(0.10)[mh.net.ru : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 10:44:13 -0000 Alexander Mishin писал 2020-09-04 10:00: > Ian Lepore писал 2020-09-03 18:48: >> On Thu, 2020-09-03 at 15:02 +0400, Alexander Mishin wrote: >>> Andriy Gapon писал 2020-09-03 11:29: >>> > On 02/09/2020 01:18, John-Mark Gurney wrote: >>> > > So my reading of the twsi driver is that it handles things correctly >>> > > allowing devices pre-interrupts to attach, and using interrupts for >>> > > transfers post-cold. >>> > >>> > I just want to note that twsi uses _completely_ different code for >>> > polled and >>> > interrupt modes. So, while either mode should be active at correct >>> > times, I >>> > cannot certify that the polled mode works correctly for all transfer >>> > types. >>> > I haven't reviewed the polled mode code. >>> >>> This adds some more light on my question. >>> >>> As a result: >>> For twsi I use iicbb_transfer() (as Emmanuel Vadot recommended to >>> someone on the mailing list). >>> It is definitely not works for my driver, until interrupts went >>> enabled. >>> But it works perfectly well with the config_intrhook(). >>> >>> I have never tried iicbus_write() at boot time yet, but I think I'll >>> try, just to know for the future. >>> >>> Thanks >>> >> All i2c slave drivers should be using iicbus_transfer_excl() or the >> iicdev_readfrom()/iicdev_writeto() helper functions. The only time to >> use iicbus_transfer() directly is when you need to conduct a dialog >> with one or more slaves using multiple transactions and it's important >> to keep the bus locked across the entire series of transactions for >> some reason (meaning you must handle the acquire/release bus stuff >> yourself). There is virtually never a reason to call the low-level >> start/stop/read/write functions directly. >> >> It's a pity that this stuff is so horribly documented. It has evolved >> extensively over the years, not always in good ways, and documentation >> and examples either don't exist or haven't kept up. >> >> Bottom line: if the twsi driver has the config_intrhook logic in it >> then your driver shouldn't need it. If you do need it, something is >> broken, either in your driver or in the twsi driver, and we should >> figure out what the real problem is. >> >> -- Ian > > Many, many thanks for such a portion of valuable information. > Went to look for examples in the kernel sources. > Yes! I found the iiconf.c with iicdev_(readto|writeto) and iicbus_transfer_excl definitions. "Well, now all ducks are ours!" Thanks once more From owner-freebsd-arm@freebsd.org Fri Sep 4 13:46:53 2020 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 D24193C3215 for ; Fri, 4 Sep 2020 13:46:53 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (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 4Bjf9S3PGSz44Kb for ; Fri, 4 Sep 2020 13:46:52 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id A6120A21 for ; Fri, 4 Sep 2020 09:46:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 04 Sep 2020 09:46:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:mime-version:content-type; s= fm3; bh=hmja9pGHG1pSFs6EaLPpKNSAnX+pmmUNbdG2yAG17hY=; b=KsN7Fuu2 0LCrCrC+yRfOkRdH70bXhs8WhdrHHBmuEGJudZ0ve+B8S6pX/jZUiXp3OelcNkbb hMRC2sEq9wE+aA0YMliwgJrytJ0E9xXBs/J88cN83IzlJaUaG6y7NCySME3FmrWq hfrQwA/M6V0IiTqJar9ER7kXK1j9LV8b0z5LWXhNXYe4qQXxBHHOtx+/BiBmcdOE 7szGKzEXg7OSgG2j0QzQk+TrVmO6zvImqg/XW8hUNG/XbRvFOfOCZRXPHOpftpxC JgboLUECyPPexMnJmUPudg/KNeFs7cdbFb2jxeYcX8c5XbJ6luCBy8MbVH30Fae8 n/YKBy0O6khrXA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=hmja9pGHG1pSFs6EaLPpKNSAnX+pm mUNbdG2yAG17hY=; b=tyRrsiF+rW/9bHg6o3H2m5tNbaw2Gs8EMy0UhCawzOK1M RmNcpmZpYOI+aYAWTvtaofVJt+5hRLuokkYjyh947DZ2rAI6cKQE3Tw5Pq6UNMy8 5muGdxBwQjh1iIVbcG4Q7f+/9verhNQOe3xLrg+SyCK7wZgauHZz2eS5CKX2iqDv Fvsj2tbxuABFE6i/PLQW6hoyfxzMtevRCWm47mb1AEyoRfi6r/FSmXTLdekyWCrq wO2fOzW7diiXqhF6jWcwtH0ATDnpQKdt8uVDzkqkqfz5g1hYNYRuLkpzSEzrsD1V /7JFxb8/H1gNcfQqItTmFbBUmeCbDtPwMKdlsBVmA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudegfedgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesghdtreertd dtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseiihiig shhtrdhnvghtqeenucggtffrrghtthgvrhhnpeevgffhffdtfeekleelhedtjeelvdfhvd egieejveffgfduvdfhteegjeeujeeuieenucfkphepkedvrdejtddrledurdelleenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthhdqlh hishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 9C5F2306005B for ; Fri, 4 Sep 2020 09:46:48 -0400 (EDT) Date: Fri, 4 Sep 2020 14:46:19 +0100 From: tech-lists To: freebsd-arm@freebsd.org Subject: onboard wireless on rpi4 Message-ID: <20200904134619.GB80905@bastion.zyxst.net> Mail-Followup-To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qcHopEYAB45HaUaB" Content-Disposition: inline X-Rspamd-Queue-Id: 4Bjf9S3PGSz44Kb X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=KsN7Fuu2; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=tyRrsiF+; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.21 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.37 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.21:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.996]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.69)[-0.689]; NEURAL_HAM_MEDIUM(-0.98)[-0.981]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 13:46:53 -0000 --qcHopEYAB45HaUaB Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Is the onboard wifi on the rpi4 working in -current? thanks, --=20 J. --qcHopEYAB45HaUaB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9SRTsACgkQs8o7QhFz NAVLVw//ZS69d5HE5IS64INcJvq499m1rbYfAzosBIw1U1SYRA24JFI6rRlN+w8O N7B/S5mMgcr8uhzKR3Wgf2q+61cGndZgGDXRUSYU9CULtLeSni+crSB5ark4dB8Z QxxLsVACG6lzJAcGH3m9poYfSPGU96DYKlr8f373t7SDGOb6q+wxBry1dmpD8OIn l4/2uZOYasiFXDxV6/qO+6XLFr/1bpWJ97O0amQhPLu41aNNGLjkKlGa/slLiX3Y kaqyfCLcMUzbmuFIysBr5TJmxsJvHiaPl3MWCb6IE3xyFMJ+R7jqDda3ENh+Z0Pe NzceElrVGIobJFbUhwJOyzKKQ5xqA/mioEH8a0zea76KocOnR9PWHkwfCiFiJGO4 RbtB+ketY4JjZ378jIuuEt8mQ8MG3LpjWZ1lCcAdgateCyXHzhvB9u+feA24ARv4 r/g4bAPp3oxoxaQd2akYmWM0ygqBTMf05n1FlD/HIMbGMEWGwIxA2cQabOdVBW70 YXm16G5iAu4rfS5XM9ei3teZZ870NMuQajFi1MTpKF/SYsjmIdPuZORcavd/GnVa zdsjB7O2L27Wvw/dsdysIIGp0MegA9lxzK8vhp19ABruY69eVQdmACuyDaVg8qX3 hK2rf8gosvmd3WV1yBa40TCXupVdr+aK3PAIDsMigwPyiXfV7sY= =pU/S -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB-- From owner-freebsd-arm@freebsd.org Fri Sep 4 14:08:39 2020 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 7E5E53C2F79 for ; Fri, 4 Sep 2020 14:08:39 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BjffY4NLmz452N for ; Fri, 4 Sep 2020 14:08:37 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.138] (213-216-249-21.bb.dnainternet.fi [213.216.249.21]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id 084E8RnS084108 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 4 Sep 2020 14:08:28 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 213-216-249-21.bb.dnainternet.fi [213.216.249.21] claimed to be [192.168.1.138] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: onboard wireless on rpi4 Date: Fri, 4 Sep 2020 17:08:17 +0300 References: <20200904134619.GB80905@bastion.zyxst.net> To: freebsd-arm@freebsd.org In-Reply-To: <20200904134619.GB80905@bastion.zyxst.net> Message-Id: <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BjffY4NLmz452N X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; 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]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.95)[-0.949]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_SHORT(-0.08)[-0.076]; DMARC_NA(0.00)[kronometrix.org]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.78)[-0.782]; 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]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; RECEIVED_SPAMHAUS_PBL(0.00)[213.216.249.21:received] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 14:08:39 -0000 > Is the onboard wifi on the rpi4 working in -current? Nope. Does not even work on RBPI3/3B+. It is work in progress. We are = waiting too. Stefan= From owner-freebsd-arm@freebsd.org Fri Sep 4 14:23:28 2020 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 6BCA73C3EA3 for ; Fri, 4 Sep 2020 14:23:28 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (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 4Bjfzg44XFz46CX for ; Fri, 4 Sep 2020 14:23:27 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id DB0A2AB0 for ; Fri, 4 Sep 2020 10:23:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 04 Sep 2020 10:23:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=SQhLPIZjLKPr9dF5DUMiFsyBGBl kqG6O5dvWYFQ6WPY=; b=hp3vQJt019bfKneX26zGcTjOkr5p8MVGJFr4ccNWYG9 9MqPHflRW1cgUjS0mYnnXHcsAeriBCiPzv6eqDRmuqFzqAi/NVgRJ2h1USVHYeAi MU0hiirC4nzNBtfcMEvlFsMxLqDgd6ckYsk8IOEYMhZekUZHPYj+7R7Kxg7BLEnv xWzGC0trF9n1db0LQ3MvAV9U2IrOjRHzrbXWyiLD0oTha1+AQLu9uxdQt93wYsdL W5XrqqfcI4ewU2Kd8x93WQXPQZuaUNUQEXS+a0Xe6y594ejTKS/wlIz2xPiNasqF irsgOrA2rK/wha2ipXyy3us+8RCVb9FG5gbSRW4jP2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=SQhLPI ZjLKPr9dF5DUMiFsyBGBlkqG6O5dvWYFQ6WPY=; b=nRgXu4Kf+dRMQ0Zmw1T3aj SV2Kpz9teCsVgeiP+gKpgFEO6PEvoIFbNIGCSsaCcKqv3/Cnj65pX1bjZE1rFbbd aeLNFYzKMEYFhS5wdlcokJF3HS80wIhy0i1B4QQ2tWd2tHE4H0da2xnKydPheiQ3 bgQi2kuvA9jUclplDux5yQUuhqclVJHVIKC/lL9v19r6F3ouHvaFccHqEaAGuhVn rHln3QhCDB7ADBWTjVASLwNIRRWkN8SlvPNmy3BeL56j2dG8qguUbSRFhQwT7aoN D4lKC8125CcELBGthI+YcmcSmBklAdW3a8EsGe5jLbQwwHxu2qQTNW+DhuTdrXcw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudegfedgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeettddtudeugfeggefhkeekteekje elfeffleehjeffgffftdeffedtjeegueeiffenucffohhmrghinhepfhhrvggvsghsugdr ohhrghenucfkphepkedvrdejtddrledurdelleenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthhdqlhhishhtshesiiihgihsthdrnhgv th X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 9FF2D3060061 for ; Fri, 4 Sep 2020 10:23:24 -0400 (EDT) Date: Fri, 4 Sep 2020 15:22:55 +0100 From: tech-lists To: freebsd-arm@freebsd.org Subject: Re: onboard wireless on rpi4 Message-ID: <20200904142255.GC80905@bastion.zyxst.net> Mail-Followup-To: freebsd-arm@freebsd.org References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i7F3eY7HS/tUJxUd" Content-Disposition: inline In-Reply-To: <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> X-Rspamd-Queue-Id: 4Bjfzg44XFz46CX X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=hp3vQJt0; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=nRgXu4Kf; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.21 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.27 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.21:from]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.986]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.61)[-0.607]; NEURAL_HAM_MEDIUM(-0.98)[-0.981]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 14:23:28 -0000 --i7F3eY7HS/tUJxUd Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 04, 2020 at 05:07:50PM +0300, Stefan Parvu wrote: >> Is the onboard wifi on the rpi4 working in -current? > >Nope. Does not even work on RBPI3/3B+. It is work in progress. We are wait= ing too. ok, thanks for clarifying. Is there anything more up-to-date on status of FreeBSD on rpi4 (apart from https://wiki.freebsd.org/arm/Raspberry%20Pi whi= ch was last updated on 2020-06-16).=20 I'm happy to test patches to help with work-in-progress. The rpi4 is the 8GB version. --=20 J. --i7F3eY7HS/tUJxUd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9STc8ACgkQs8o7QhFz NAXjwQ/7BZZwPIFgyY62+JdVlzHSDDxS2qOtevM2YXxF6qaoXafceJmqIaNarU8Y AycGNKOuVzPhSBBjOLy//oaRNoF2J4ENQNrTJK30taS38Lp9QzXfzDOn5W2RClp4 CWw6fydfGoth0kDshc31vyriUaoHrO2O3MeGM9tA8Xx1pbK5c59u+9Cub3MyzU2r XrD89Us0r30ME/UpDbPgDcAm056p6qJjl26YrLxRRKxE7AXFScztK0B4Oxrna1no hqlORrVzPcjfkTdyS/NLio59Q0SzdMbtQAFHmVsSew4hdzpqL124HvOdSlY/J/is 1dRdqwcn05Zp2IUMSM2g0mgQqLguNQWx6AMZKsAT4vKIVglco2Wi6mdsKn3qzFJ2 sU1pXoShrnPMi3EpyxQUceO8mK3C6SgcJDxcp3u4wAOxsHYS3tewtsxfUK6eNtoM w/NKITGUTu7yB+J0un+g5Y7c1AXAa5JxKAm4CpTzKDaovY1pQB1mtTBm5Kgwjl+J bB8BbRC4fh6ey7oLRZmqYWG1fOgiYB4KDgp9UxrkqxHkC0nppyR0905ptq8i5LKS /wii+kGtepJR+XRarnoL2h1JmHFN87Xoujct3A+b7HjqbKPhtOT3tnBa5+Lznvac 2kxjg81QSomDimOxSiOHQJtjYtYzqPDM4qfPJrVtG9XpujAJ6AM= =iJtB -----END PGP SIGNATURE----- --i7F3eY7HS/tUJxUd-- From owner-freebsd-arm@freebsd.org Fri Sep 4 14:29:12 2020 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 27B3B3C412E for ; Fri, 4 Sep 2020 14:29:12 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bjg6J0Hzhz46Fv for ; Fri, 4 Sep 2020 14:29:12 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id DBE6419EC1 for ; Fri, 4 Sep 2020 14:29:11 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f170.google.com with SMTP id p65so4750186qtd.2 for ; Fri, 04 Sep 2020 07:29:11 -0700 (PDT) X-Gm-Message-State: AOAM533HHW7/5AutiGLTkGROMliA1Zn14avFMAxi5A+1MFQBz1zOFsgv yz5J9YER2nMKgbYvwLG0pB6barVaK3eLblu1W8g= X-Google-Smtp-Source: ABdhPJwCElNO1+qgZ+ou8ud48at7ZypXjOUZGyTppgnrDuCso9OsqND17owh9vRfpEd7/2Tgcn4ni58VdwGr1spwkz4= X-Received: by 2002:ac8:424a:: with SMTP id r10mr8481255qtm.211.1599229751416; Fri, 04 Sep 2020 07:29:11 -0700 (PDT) MIME-Version: 1.0 References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <20200904142255.GC80905@bastion.zyxst.net> In-Reply-To: <20200904142255.GC80905@bastion.zyxst.net> From: Kyle Evans Date: Fri, 4 Sep 2020 09:29:00 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: onboard wireless on rpi4 To: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 14:29:12 -0000 On Fri, Sep 4, 2020 at 9:23 AM tech-lists wrote: > > On Fri, Sep 04, 2020 at 05:07:50PM +0300, Stefan Parvu wrote: > >> Is the onboard wifi on the rpi4 working in -current? > > > >Nope. Does not even work on RBPI3/3B+. It is work in progress. We are waiting too. > > ok, thanks for clarifying. Is there anything more up-to-date on status of > FreeBSD on rpi4 (apart from https://wiki.freebsd.org/arm/Raspberry%20Pi which > was last updated on 2020-06-16). > Thanks to good work by Rob and others, we're likely at a point where it makes sense to deprecate sysutils/u-boot-rpi4 and patch sysutils/u-boot-rpi3 to work for both -- IIRC, that patch would just modify the fragment to increase DRAM_BANKS so that one can use the full RAM on newer models. sysutils/rpi-firmware could consolidate config_rpi4.txt and config_rpi3.txt into one using conditional directives to use the armstub on the RPi4. Thanks, Kyle Evans From owner-freebsd-arm@freebsd.org Fri Sep 4 15:08:52 2020 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 143C33C5582 for ; Fri, 4 Sep 2020 15:08:52 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bjh0236GSz49br for ; Fri, 4 Sep 2020 15:08:50 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Date: Fri, 4 Sep 2020 17:08:45 +0200 (CEST) From: Ronald Klop To: freebsd-arm@freebsd.org Message-ID: <1677459627.55.1599232125847@localhost> In-Reply-To: <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> Subject: Re: onboard wireless on rpi4 MIME-Version: 1.0 X-Mailer: Realworks (524.617.99a78052325) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4Bjh0236GSz49br X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; 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.88 / 15.00]; ARC_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[194.109.157.24:from]; NEURAL_HAM_MEDIUM(-0.89)[-0.885]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[klop.ws]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.01)[-1.010]; NEURAL_HAM_SHORT(-0.18)[-0.182]; HAS_X_PRIO_THREE(0.00)[3]; RCVD_IN_DNSWL_NONE(0.00)[194.109.157.24:from]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; MID_RHS_NOT_FQDN(0.50)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 15:08:52 -0000 Van: Stefan Parvu Datum: vrijdag, 4 september 2020 16:08 Aan: freebsd-arm@freebsd.org Onderwerp: Re: onboard wireless on rpi4 > > > Is the onboard wifi on the rpi4 working in -current? > > Nope. Does not even work on RBPI3/3B+. It is work in progress. We are waiting too. > > 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" > > > Is it really work in progress? SDIO has landed which is a prerequisite for WiFi. Which is pretty nice. But after that I haven't seen much. SDIO commit: https://svnweb.freebsd.org/base?view=revision&revision=348805 This page has a contact person: https://wiki.freebsd.org/SDIO. Last update of the page is a year ago. As anybody I would love to test something. Regards, Ronald. From owner-freebsd-arm@freebsd.org Fri Sep 4 17:00:15 2020 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 015D53C8BB4 for ; Fri, 4 Sep 2020 17:00:15 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BjkSZ1xq1z4K0p; Fri, 4 Sep 2020 17:00:14 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x344.google.com with SMTP id o21so6734778wmc.0; Fri, 04 Sep 2020 10:00:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=tCDOWIfKTMZuKWQ4MJJhcdfyZmgE5zdw5CbrhliOYNI=; b=avLOmMWV9DThSKcpiNBPSolM/OrcyTT3EP3okSRqPf8SggJWqUAw7sswmolmKNBMLh Vs6d93wbVqgpNL1df+l72HxrkWXSbTZXWiDuXM854n5LetPgSsx/biGuaLcA6nhSHrkJ g3HtO1ZUqfhv8Zka8duMldja3v7Pfolpn9EHSZr7hZycO1kpeKFowot9kAaOjSoZbkyk 8+8elT53erJAQ1eZ9/sGJn7GvjfnH5yj8xJaMFVuGJ/uCfvZVVdbG0Qh0F/VnwvS0j2Y j7ajytaOJIk/5EBGSHZVW/ekKi5Mua45hR9lxRTYgVnjuex3EnzkuNsP3Z6HxF4wNC4k cLsQ== X-Gm-Message-State: AOAM532lMKfn0/us//x+7Tz8xoDYNvzlkbLYSZeT18lt0Y9bKgQH96bC AD76EubOtXR9nNbPzawn/BvaRgMYzfs= X-Google-Smtp-Source: ABdhPJzJjfszoumvZRU/lg8MNV6uNy87p8ayayQwWrQ/oXtZI3mNt+kniVKSziYMCZvStugsh9UQ7g== X-Received: by 2002:a1c:92:: with SMTP id 140mr8935731wma.39.1599238812250; Fri, 04 Sep 2020 10:00:12 -0700 (PDT) Received: from localhost.localdomain ([46.114.111.198]) by smtp.googlemail.com with ESMTPSA id x24sm13371320wrd.53.2020.09.04.10.00.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2020 10:00:11 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3\)) Subject: Re: onboard wireless on rpi4 From: Klaus Cucinauomo X-Priority: 3 (Normal) In-Reply-To: <1677459627.55.1599232125847@localhost> Date: Fri, 4 Sep 2020 19:00:09 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <317C085C-E96B-4AFB-AF71-40746C4E4ECA@googlemail.com> References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <1677459627.55.1599232125847@localhost> To: Ronald Klop , Kyle Evans , tech-lists@zyxst.net, Stefan Parvu , freebsd-arm@freebsd.org, bzeeb-lists@lists.zabbadoz.net X-Mailer: Apple Mail (2.3654.0.3) X-Rspamd-Queue-Id: 4BjkSZ1xq1z4K0p X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.74 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.27)[-0.274]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.111.198:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.974]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; NEURAL_HAM_LONG(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::344:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 17:00:15 -0000 the SDIO-implementation is =E2=80=9Edisfunctional" and misses some = necessary requirements=E2=80=A6 brcm wifi-drivers have to use external source-files and to translate = nvram to detect=20 the different chipsets. It=E2=80=99s even possible that external sources = differ from version to version of the same board. All that is NOT implemented in the existing SDIO-=E2=80=9Eidea=E2=80=9C = which only tries to =E2=80=9Escan"=20 the hardware via the CAM-framework. A thing called SDIO-tool fails = because of that(does nothing). I cannot promise (because of many other things to do) but perhaps would = be willing to invest time to implement the drivers =E2=80=A6=20 (! but only if REALLY no one else is currently working on it. ! - to = prevent double work and waste of time.. ) . I guess(same as with the gnet-driver) the starting point is an existing = driver-framework, in this case OpenBSD(=20 in approximately I know how it works because I worked a little with the = devs in the past). Regards Klaus >=20 > Is it really work in progress? > SDIO has landed which is a prerequisite for WiFi. Which is pretty = nice. But after that I haven't seen much. > SDIO commit: = https://svnweb.freebsd.org/base?view=3Drevision&revision=3D348805 >=20 > This page has a contact person: https://wiki.freebsd.org/SDIO. Last = update of the page is a year ago. >=20 > As anybody I would love to test something. >=20 > Regards, > Ronald. > _______________________________________________ > 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 Sep 4 17:27:01 2020 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 32B0A3C96A2 for ; Fri, 4 Sep 2020 17:27:01 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4Bjl3S1SjLz4LPS for ; Fri, 4 Sep 2020 17:26:59 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.138] (213-216-249-21.bb.dnainternet.fi [213.216.249.21]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id 084HQsd5085460 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 4 Sep 2020 17:26:57 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 213-216-249-21.bb.dnainternet.fi [213.216.249.21] claimed to be [192.168.1.138] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) X-Priority: 3 (Normal) Subject: Re: onboard wireless on rpi4 Date: Fri, 4 Sep 2020 20:26:49 +0300 References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <1677459627.55.1599232125847@localhost> To: freebsd-arm@freebsd.org In-Reply-To: <1677459627.55.1599232125847@localhost> Message-Id: <75E08DC2-D229-45AA-85AE-CCF06FD0B490@kronometrix.org> X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4Bjl3S1SjLz4LPS X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; 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.45 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_SPAM_SHORT(0.24)[0.235]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.002]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; HAS_X_PRIO_THREE(0.00)[3]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.89)[-0.888]; DMARC_NA(0.00)[kronometrix.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:14061, ipnet:95.85.0.0/18, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; RECEIVED_SPAMHAUS_PBL(0.00)[213.216.249.21:received] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 17:27:01 -0000 >=20 > Is it really work in progress? AFAIK Bjoern promised to keep us informed about his progress. Yes, it is = work in progress and based on Bjoern=E2=80=99s schedule and workload we = should see some light on this part. Stefan From owner-freebsd-arm@freebsd.org Fri Sep 4 17:33:51 2020 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 0C2753C9958 for ; Fri, 4 Sep 2020 17:33:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.148]) (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 4BjlCK71HDz4LfY for ; Fri, 4 Sep 2020 17:33:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 4clNoSQVM1m4WbxCj0UNPf90XDQjR2akUJH9Av0WeyE2FTMXQoVPSnz8V2eFfST KZRfvlkxYfYDAiljE74a0t5iIUQzzfYAuc3oZgViqqXpksaCXbq9SFdoNpg324MLp6eNewVijBnd pA.6ZBwTUHNokIkK2SIyAt5sz1tRwj0jCQtOjX00JCoG6T_vWZmpw7HEU77LkeUvirRTSCqAaDaJ d9xemRko6NyFHudMtqLi_8xiuc.c699MJgxEWnhDu6YLsL5UbWR7uQ9qfGGv2j46_lnKcYtBMVSM T88Gq.NniaereBFcWOV8MRlBquMx2disw953_sVnzEbprbCXa4FaVRFlj1wiiwDzD0h59IrlXlQH 0LqI_LlU9BCsVYenHlaq1ucYJr46GVdHZB71e8X50iK5FgxV3xycZ5zn2KiNJrDLVDHzRaU_P4Tn OFUz7vBaxqAmSM1Sj7AGbUDBjTevHGmgcYjd6MGz6kmEzQQoIwAl6.WTzfrcAaqlKgY7phxWA4D1 knKe30TqIUqS31vIC6GBJKyw7ikNaWFReh_6sHaIVDTRPau7H.3vyayObM4UAOkLFCn3BXkNRL9G HtLX00u8Hz.kbRDMrH_UshxLiNebLaZKkAREqPuF1I3mKT2XcW_6Yq7xBeFzs7l8xlxkGbXYutcj 6ojKqvC05vd7IBPHWxMmCERwoY2FWCk3gyeJBlBPf2dVR0.tEI4jcTL8cVjKwUukLV1ABmCrdM_p TAa7DFo_YACGis96Vqt7XrLmBsj75Exm3zqFxDQO_2v_r7pthLHhGBvDCFlaB.INDTBaPo6T9bUN uEoMkECrCLsS1wmbyakGvvELP.rXaGaDTu4TNA0QOsfiAWmkDp43riRWfPoeiUXtqE1q7I0KZzqe OivvMkAavPWQ3EtNgf1d88SQzMrJwgbGTB8iTz3yrtLFXvI2XlZ2v2OkANrAlfeQ0lAkTc_kboYp A8JVAf9dYIuN3YIjWguKQgt6N.cXtl4yiUr0esDufGJBLJvabTYgrzkbnvIeiWTIxz.iZNXFBHCT 6CneelJ8tsQlzgEq9HHMUYnCGDyx4hNsLKWnI8biVJKWjWMfs9DAlp8T.8j_diy7V5KT.yYdnguA SbyXsUL1dEc_njmCfuE0lBy3JSRpCDDuufQvGXybRiSIilUgZ_B6FHh.evWd2S0ejCr5tnby9Kh2 R4eNOFOgi78LxumnUYbKoLUJ.7KdGkb.AXVz.ZBWj_GL0lsf.0WvaNIlo0eHBBMIOmJxmu0xAWnY s2Mc_wsyge2XWvrN0zhn2dREqWgT90GJln9HkY1pnN0krY1Szy6PoGTKAgIf.vky9xWdzN0.nX0m Bm7RDe_sCDJ8IKxC5.c5LSkyKNLZSeYoFzV5GnM9OVp8w4.Myd4oba..sKuTC4hbsJtt.YiB_9fu 40T08Ir3h4uNy_GZehhs7uIpN4rY43Gx_C2jSOonVvxEbyqKPRIX1ElP4dwQ_GmH4pUiLDvrDiH5 tkXxP6Wbu1QASZugJTMbrbK5eIySS2qUzzEMWphFmxUObwNtdB1i7ujU9xs5TFOksJ.C.jy_SJCI QUxwaPVUJHKxTrVdlDN6TRWfhITM- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Fri, 4 Sep 2020 17:33:48 +0000 Received: by smtp423.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c1592adda16e7c80de99ef8f1a6e73c3; Fri, 04 Sep 2020 17:33:44 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: onboard wireless on rpi4 From: Mark Millard In-Reply-To: Date: Fri, 4 Sep 2020 10:33:42 -0700 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <20200904142255.GC80905@bastion.zyxst.net> To: Kyle Evans X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BjlCK71HDz4LfY X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.03 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.57)[-0.573]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.970]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; NEURAL_HAM_LONG(-0.99)[-0.989]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.148:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.148:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 17:33:51 -0000 On 2020-Sep-4, at 07:29, Kyle Evans wrote: > On Fri, Sep 4, 2020 at 9:23 AM tech-lists = wrote: >>=20 >> On Fri, Sep 04, 2020 at 05:07:50PM +0300, Stefan Parvu wrote: >>>> Is the onboard wifi on the rpi4 working in -current? >>>=20 >>> Nope. Does not even work on RBPI3/3B+. It is work in progress. We = are waiting too. >>=20 >> ok, thanks for clarifying. Is there anything more up-to-date on = status of >> FreeBSD on rpi4 (apart from = https://wiki.freebsd.org/arm/Raspberry%20Pi which >> was last updated on 2020-06-16). >>=20 >=20 > Thanks to good work by Rob and others, we're likely at a point where > it makes sense to deprecate sysutils/u-boot-rpi4 and patch > sysutils/u-boot-rpi3 to work for both -- IIRC, that patch would just > modify the fragment to increase DRAM_BANKS so that one can use > the full RAM on newer models. Has the mishandling of the DMA been fixed? I'm still back at head -r363590 and it was not fixed as of then. I've had to use the 3072 MiB limit in the uefi/ACPI selections in order to have a reliable environment. > sysutils/rpi-firmware could consolidate config_rpi4.txt and > config_rpi3.txt into one using conditional directives to use the > armstub on the RPi4. =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 Sep 4 17:35:55 2020 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 65D103C9C18 for ; Fri, 4 Sep 2020 17:35:55 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BjlFk4gXfz4Ll3 for ; Fri, 4 Sep 2020 17:35:54 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x32a.google.com with SMTP id a65so6769453wme.5 for ; Fri, 04 Sep 2020 10:35:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=xg6XEcyugGz/C0jofWKkeK2buKZdm1G3Xt2QlyxDRUA=; b=CMwCXbPrtMIEE7LhSvbtNNUHURxMAxB10mbmX7mDoGdF57/BJtRCiZhJceOhKawxHm 9Ltyd52JeAd5ego9d5BpXZrzgHaCnhXq1DPMePRBDODqOf8W/aD5YhydqQbyE+FNvLFD zU/hS+p8FHHM7Ni5Y62qNkTlwVmQVyhedv13OWxNeIh/95qakReeZA+/gHF0RiSOZuCa eQF6kScjCRV100+UrtA9rsjRtTQK9unHpsIlfGT8tjoo4wrtO6uQ8Z00aA3zVliWBHwN hgptiJphJdHnAuERoP/eRYQqausIYq7fzpFZ9am2JOf1geASn0zhT7i3CdpWeHYvLLAK hbdg== X-Gm-Message-State: AOAM531qmBGr0SE80ELUdUr6hEO9wJLBQdumC/o0QiP/qGPblEo5K5rx OJIMHuFrThpkjCfgeHHN+POEaGu5c1k= X-Google-Smtp-Source: ABdhPJzZsuz4CskZQNwB5PJfweAjtPpVFCad922bKU8dJZQ8uf5e5isM4h6Wdv53HXD9x+z786wG9Q== X-Received: by 2002:a1c:5605:: with SMTP id k5mr3371094wmb.142.1599240952334; Fri, 04 Sep 2020 10:35:52 -0700 (PDT) Received: from localhost.localdomain ([46.114.111.198]) by smtp.googlemail.com with ESMTPSA id h186sm12724927wmf.24.2020.09.04.10.35.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2020 10:35:51 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3\)) Subject: Re: onboard wireless on rpi4 From: Klaus Cucinauomo X-Priority: 3 (Normal) In-Reply-To: <75E08DC2-D229-45AA-85AE-CCF06FD0B490@kronometrix.org> Date: Fri, 4 Sep 2020 19:35:50 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <1677459627.55.1599232125847@localhost> <75E08DC2-D229-45AA-85AE-CCF06FD0B490@kronometrix.org> To: Stefan Parvu , freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3654.0.3) X-Rspamd-Queue-Id: 4BjlFk4gXfz4Ll3 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.92 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.46)[-0.460]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.972]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.111.198:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.992]; 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)[2a00:1450:4864:20::32a:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 17:35:55 -0000 Yep, my question if really no one else is working on it, was directed to = Bj=C3=B6rn ;-), because I don=E2=80=99t want to work on a completely different = implementation, if Bj=C3=B6rn is perhaps a few steps further. Klaus > Am 04.09.2020 um 19:26 schrieb Stefan Parvu : >=20 >>=20 >> Is it really work in progress? >=20 > AFAIK Bjoern promised to keep us informed about his progress. Yes, it = is work in progress and based on Bjoern=E2=80=99s schedule and workload = we should see some light on this part. >=20 > Stefan >=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 Fri Sep 4 17:44:23 2020 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 BBB4E3C9D16 for ; Fri, 4 Sep 2020 17:44:23 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BjlRV5J8Jz4MJQ for ; Fri, 4 Sep 2020 17:44:22 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x32c.google.com with SMTP id o21so6870197wmc.0 for ; Fri, 04 Sep 2020 10:44:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=26ywmjf+4j5HuVN+9n0B57O0gTdSPEasKTkS6JNPZtY=; b=WmpPtNTiyDtBomW0BbkGO8/YCwZUIMby0nN5EW0jKXXtv2nVcl6HVI3zwkAyX25X5/ ZknXWUVMs87/CIF6EOCGfDHaD3BU9w1AlR5RFZQ//bGgBZ/KmKVjRYoiIUd5GtC8eO2P pJjXr72ZhUZIErPIQxQ54lQQR0Njwmsfd+rhJYkS0lT5MabGXjCm40C+7LDPgokXS8qq 21gl5YRlriI4YsSq4pnp3My+hMrzOqxy5551Stan4YMmOZo4aISsL9kKTDfJuRCRNOoa Suxq/9FHeSnXfv7p1vZRQMmEGepgVD1JKCmJPV0yP7ZSYew5CxdzcxQZvqsF4KCyH6lk qbJg== X-Gm-Message-State: AOAM530ngYYLGvahttbBeo3sGWYaUhYPo9ddYHDovQXbs0opQuODc5or jG5m+N0cTUkzDaS1FDLqJJ8iA+cKarY= X-Google-Smtp-Source: ABdhPJyVJgQUr+/DxGGCWKQ8QlEfSg/Pn3jaxfO3FK0+/oyqbioge07k/WF4OJVOzpN6Iipc2SWhKQ== X-Received: by 2002:a1c:39c4:: with SMTP id g187mr8445669wma.126.1599241461133; Fri, 04 Sep 2020 10:44:21 -0700 (PDT) Received: from localhost.localdomain ([46.114.111.198]) by smtp.googlemail.com with ESMTPSA id f1sm6011682wrx.75.2020.09.04.10.44.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2020 10:44:20 -0700 (PDT) From: Klaus Cucinauomo Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3\)) Subject: Re: onboard wireless on rpi4 Date: Fri, 4 Sep 2020 19:44:18 +0200 References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <20200904142255.GC80905@bastion.zyxst.net> To: Mark Millard , freebsd-arm@freebsd.org In-Reply-To: Message-Id: <5AF83D16-2432-4EA9-BC2F-373DA8BC3360@googlemail.com> X-Mailer: Apple Mail (2.3654.0.3) X-Rspamd-Queue-Id: 4BjlRV5J8Jz4MJQ X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.91 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.43)[-0.429]; FREEMAIL_TO(0.00)[yahoo.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.111.198:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994]; 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)[2a00:1450:4864:20::32c:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 17:44:23 -0000 Hi Mark, as far as I remember(didn=E2=80=99t work the last weeks on RPI-stuff) the dma-thing only failed on GENERIC-NODEBUG (unexpected controller = detection loops) =E2=80=A6 But it worked on GENERIC and afaik Greg_unrelenting`s dma-fix isn=E2=80=99= t yet merged to 13-current=20 because of that unfixed issue=E2=80=A6 (but you can apply his patch and test)..it should work under GENERIC = without the 3GB-limit(4GB & 8GB-models)=20 Klaus > Am 04.09.2020 um 19:33 schrieb Mark Millard via freebsd-arm = : >>=20 >=20 > Has the mishandling of the DMA been fixed? I'm still back > at head -r363590 and it was not fixed as of then. I've > had to use the 3072 MiB limit in the uefi/ACPI selections > in order to have a reliable environment. >=20 From owner-freebsd-arm@freebsd.org Fri Sep 4 18:42:46 2020 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 9881C3CC190 for ; Fri, 4 Sep 2020 18:42:46 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4Bjmkt22fKz4Rpd; Fri, 4 Sep 2020 18:42:46 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x444.google.com with SMTP id m6so7842077wrn.0; Fri, 04 Sep 2020 11:42:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=Gz0BJ4cVWV5mZpaubovtMTNqm5PhzZul8/qNR1x4LEM=; b=KnkYopj5Z6ToW0srOUrUERhbhEd4v/fJQfiV8w5DaeFgHRPpK7esNjeKV7Z1NQM3ku 4xlBL+R3ndvQo+o+O+JZHyTdH1Efi7PV1YAazW/Gum4qtze5L2KbDBtby7fi8uksOKM/ Js6dmAlEYMqbmfC+/gniq+Pzj8dKloqt1wEG2zJ2TZMmaHSv3FYmRuVzRspzg3mZWAtm TS2VutgV+ak4nI8CBr1qvrOiYuUrCIdDvKyGVa1IXkSN5cxNOzYa4o+uhKS/7Xi5oHw2 60LrPraShILiHaXX+dXmshD/vw5DxyloWdKPiFrvdaxkpq6a95RmKqCWs9LdrfmAn6OU HN5w== X-Gm-Message-State: AOAM530NwcSrGOXeiW7k+PAL9ne2oYl6S9G0LTOIGO3IdsEDEAqztILd /TkOVX42vY4IwSrHXYsoAEWNtzXNw9E= X-Google-Smtp-Source: ABdhPJyGKsmn4AmcyOhKzY7Jvke6Xm2PWQPMsNlf8IaxD1PcURbUfZbEANxMPgaBE6fomolxHKCR5w== X-Received: by 2002:a5d:67d0:: with SMTP id n16mr9628280wrw.198.1599244964209; Fri, 04 Sep 2020 11:42:44 -0700 (PDT) Received: from localhost.localdomain ([46.114.111.198]) by smtp.googlemail.com with ESMTPSA id o2sm14519319wrh.70.2020.09.04.11.42.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2020 11:42:43 -0700 (PDT) From: Klaus Cucinauomo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3\)) Subject: Re: onboard wireless on rpi4 Date: Fri, 4 Sep 2020 20:42:41 +0200 References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <20200904142255.GC80905@bastion.zyxst.net> To: Kyle Evans , Robert Crowston , freebsd-arm@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3654.0.3) X-Rspamd-Queue-Id: 4Bjmkt22fKz4Rpd X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 18:42:46 -0000 Some months ago I have often talked to ROBoCrow :-) e.g. about details = of u-boot and the other files involved=20 in msdos-patition. We could manage bugfixes in "1-day-fashion=E2=80=9C = thanks to his detail knowledge, also discussed with genet-hero :-) Mike Karels.. Although I=E2=80=99m only the rpi4-Wiki-author and have absolutely = nothing to do with fbsd-decisions : I would strongly give a recommendation to you as a coreTeam-member and = first RPI4-CPU-author: You can invite ROBERT to accept FBSD-COMMIT-BITS, so that he can = overwrite RPI-related src-things(e.g.=20 your mentioned sysutils-thing etc.)=E2=80=A6 Regards > Am 04.09.2020 um 16:29 schrieb Kyle Evans : >=20 > On Fri, Sep 4, 2020 at 9:23 AM tech-lists = wrote: >>=20 >> On Fri, Sep 04, 2020 at 05:07:50PM +0300, Stefan Parvu wrote: >>>> Is the onboard wifi on the rpi4 working in -current? >>>=20 >>> Nope. Does not even work on RBPI3/3B+. It is work in progress. We = are waiting too. >>=20 >> ok, thanks for clarifying. Is there anything more up-to-date on = status of >> FreeBSD on rpi4 (apart from = https://wiki.freebsd.org/arm/Raspberry%20Pi which >> was last updated on 2020-06-16). >>=20 >=20 > Thanks to good work by Rob and others, we're likely at a point where > it makes sense to deprecate sysutils/u-boot-rpi4 and patch > sysutils/u-boot-rpi3 to work for both -- IIRC, that patch would just > modify the fragment to increase DRAM_BANKS so that one can use > the full RAM on newer models. >=20 > sysutils/rpi-firmware could consolidate config_rpi4.txt and > config_rpi3.txt into one using conditional directives to use the > armstub on the RPi4. >=20 > Thanks, >=20 > Kyle Evans > _______________________________________________ > 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 Sep 4 19:19:17 2020 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 30E8A3CD188 for ; Fri, 4 Sep 2020 19:19:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.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 4BjnXz3K02z4V51 for ; Fri, 4 Sep 2020 19:19:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: TRbUKZYVM1nZjS.9ZHxWWypekId7D8G79LlUGil3.K0qq2ZW8lMOtQjI3f15X_7 ld4Zz4cUPdnZFv9bqqUKFBJLqlxikSO5YKsas0JtWxwyDBQK73So9wEf.1xD6pFf9L9kRjkeG3Iu MID0QlVAi08IaPRZ3JS8qsCJt.E4.wSUFXrtwchJzewmEDbqBm6zV_JjVrAIJXNfvnz4o.yZss8H ArwUyiywPXLRp7O73tV.7h8eXgqkvVcrzekhMH_3yOqfRr0Fad88qeIDKNbL3i9S6LPKvQxwISuW rwGppePRUO3gVMXcp7A9wY7SyuLv9.cG05ndIyFn6F74fYO39dPhFZqz7Ga2Rc7iFkorL46GJBQK npiSJwsIFO7r3po8v7iuF5._.VEzJUgtWcrpRCn4iQwLMFHxWK_VccdaJOvU1zrOL99fgpkTjAjq DUffbfDZ5Ucqfnj2nZY8xL9JxuKdHkyVtdPUkKyBQ6bHqORK_pHro674X.lQtghMSsAesThfFtar BJ.K7ZogsJfERoETqGWak2ZSSqwaI.rDYYosYoABWfjyqSCuNBFicd5Gjm3iDhQhYwECTKdU6pIf KIop2aHJqiV1x2dCrRKs.WDbRVox5C3uVCsrPAAZH6XskoMUCpF9dYlszptA0xdT_OnSe9j0Ix4c _i81dADa.k3XNhw68qhELH6H4p0USHi3A3PDGI9iJ5N7082JDSD8DGfp6vpKQTuJQep7os6hiu2p f6EgJbyZ705fPNQgopM4FItyNJTmJ98TkM_6quWqml0wkce8VYGR9TBwJV4QptQcnM7EJxONaEYF zcvb4sOewlcbPnRUe_qQqNiZUQmh_lHHboX18u9UIQUCyFEo3rpi2fCBljgkHfRd3.2zoWq7baqJ rd5swxuXs6sO4QEb7WsiFmYDoCxSxaedsJt370DO8eX6Bvq5cp_6nn3zWEIv9qQMUnq47DuaFy31 ZCI0WKh6BUhGSAltfCrDevA63Wz5uwD4ZczAP4Wm_V.pFTDt9zmckI6hhE.CRozOe1hBog_0EUXf C5wx6AS3VDo1krd6NPyvoQFb0p989qS4FJrxtexpWuEiCtI6pOIDio2jNJWaDDfqXNWI_t5h9JST Oc7dXVTMghdOkckjr30uDNb5.dtvWaq_CsSrEryxyLIdHm89lqAh79PtRxOGZLLXP51ObAbTI3jZ qbdN2AuOHpUMwzMiCHfQ0tuSWbKzUDSld277iWCMotR7lnUyE03OGmFQcFAOZ_3mkDPOCiwfwNaZ fTNmkirlLDwelw1TjpGO.Vv5mHVWxZC6lzRt61mYMadgTq_1fTm3in6fH7PirBcXjonWxquzkDcZ Kxp5ggR2xQjuwRzC1FNeallK8r9H7J7vtQ.sueA1lKrGDdVzUnx8E0CoIp6c1wx6VDpJUWrPC9D0 TVrxAonxB617Xq5N70TQXeCuMsqgFE0bZ_dV5nyobDhweLk8E58Hco2RLLgA9EwjO1LVogWRwa3y _Rr2SzqYX41.Wa3Ygv2U9__OYQt6nUfSHA9zxkthMgWTDFCYiEMnRt3X2Jl15z4qf.NvBd4klpkA - Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Fri, 4 Sep 2020 19:19:13 +0000 Received: by smtp424.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID f4841f636d8f46e4dc6723436cec655d; Fri, 04 Sep 2020 19:19:11 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: onboard wireless on rpi4 From: Mark Millard In-Reply-To: <5AF83D16-2432-4EA9-BC2F-373DA8BC3360@googlemail.com> Date: Fri, 4 Sep 2020 12:19:10 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <4306A90D-97B9-4DE9-A05A-A91B6F4A587F@yahoo.com> References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <20200904142255.GC80905@bastion.zyxst.net> <5AF83D16-2432-4EA9-BC2F-373DA8BC3360@googlemail.com> To: Klaus Cucinauomo X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BjnXz3K02z4V51 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.53 / 15.00]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.06)[-1.060]; FREEMAIL_TO(0.00)[googlemail.com]; 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:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.987]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.983]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.147:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.147:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 19:19:17 -0000 On 2020-Sep-4, at 10:44, Klaus Cucinauomo = wrote: >=20 > Hi Mark, Hello. > as far as I remember(didn=E2=80=99t work the last weeks on RPI-stuff) > the dma-thing only failed on GENERIC-NODEBUG (unexpected controller = detection loops) =E2=80=A6 Unless trying to help track down a problem at the time, I use NODBG kernels. So, for > 3072 MiB, I find that copying huge files and diffing/cmp'ing the copies reports mismatches. (I tend to use files larger than the RAM but that large has not been required.) Note: I boot from and use USB3 SSD without a microsd card being involved at any stage. It is not obvious what the actual file contents are where the differences show up. I've tended to create and use tar's of build trees, created under the 3072 MiB configuration to establish large files for such tests. Tests under the 3072 MiB configuration have not failed when I've tried such. I have not tried this kind of test under a DBG kernel. The last I heard about the PCIe DMA handling for > 3072 MiB was on 2020-Jul-19 from Robert Crowston: QUOTE You are right that we are not handling the 3 GB DMA limit in the pcie = driver. Unfortunately, it did not seem easy to thread the appropriate = bus tag through without rewriting half the inherited driver stack, and = in my testing the USB driver always allocated its DMA buffers in the = lower 3 GB without being told. But obviously it is the wrong to rely on = luck, so I=E2=80=99ll have a think about it. END QUOTE I've not noticed anything go by that suggested to me that this has been addressed. (But I could have just missed it.) > But it worked on GENERIC and afaik Greg_unrelenting`s dma-fix isn=E2=80=99= t yet merged to 13-current=20 > because of that unfixed issue=E2=80=A6 > (but you can apply his patch and test)..it should work under GENERIC = without the 3GB-limit(4GB & 8GB-models)=20 >=20 > Klaus >=20 >> Am 04.09.2020 um 19:33 schrieb Mark Millard via freebsd-arm = : >>>=20 >>=20 >> Has the mishandling of the DMA been fixed? I'm still back >> at head -r363590 and it was not fixed as of then. I've >> had to use the 3072 MiB limit in the uefi/ACPI selections >> in order to have a reliable environment. >>=20 >=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 Sep 4 19:48:04 2020 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 18B4B3CDD98 for ; Fri, 4 Sep 2020 19:48:04 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BjpBB5rf8z4X24 for ; Fri, 4 Sep 2020 19:48:02 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x344.google.com with SMTP id q9so7467393wmj.2 for ; Fri, 04 Sep 2020 12:48: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:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=p5zNZEJBPmflL8Kjfk80umJWDSXwjkM1dWT27XUJ9e4=; b=qBcQOwNpKxyTeVCzhq/nAeKFVjGchYVaoiQxQ/4H3kDwF4veIei64En35OcezLxXId P9Xe5UtZDu+LIcOmsw6zAsWP3k62T0x+N0yG/JsoPqVNVj2tCcPL5hE2OsbEcKqUf2rf toxwvqdxa/42golSoLIGcW+k5rpa7Z7PZ290dd4WDdB3XEc96Ym0m2vRCLkzvj3nP1XY bls7Ib304+Yff/VvxOfdMBDNdrt9vVp/63Tn+CCob8irMCkTuHPLSuIuO6ov2+LyNaY6 m3fFh4MHZk/3OHrLAnjZQQ0Vq9a/GVVga1qQKyyMAesIX2IligE53yEruZA3qetLAIoL Hhng== X-Gm-Message-State: AOAM531LqlL/1n5dlvELJFAimXaRS7FBSawK+8YP2s70nFcFP9NABEWq YqzNzAFOvL8Vg4GohUuufSc= X-Google-Smtp-Source: ABdhPJwxnOP8V8kVbxxTcWuRX+0TYqBFPV/tVK5tGqqy8iUr1bXlTMXjnQ3s4groYUc8O1ex/kriew== X-Received: by 2002:a7b:c7cd:: with SMTP id z13mr9145586wmk.160.1599248881241; Fri, 04 Sep 2020 12:48:01 -0700 (PDT) Received: from localhost.localdomain ([46.114.111.198]) by smtp.googlemail.com with ESMTPSA id 185sm5922156wma.18.2020.09.04.12.47.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2020 12:48:00 -0700 (PDT) From: Klaus Cucinauomo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3\)) Subject: Re: onboard wireless on rpi4 Date: Fri, 4 Sep 2020 21:47:58 +0200 References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <20200904142255.GC80905@bastion.zyxst.net> <5AF83D16-2432-4EA9-BC2F-373DA8BC3360@googlemail.com> <4306A90D-97B9-4DE9-A05A-A91B6F4A587F@yahoo.com> To: Mark Millard , freebsd-arm@freebsd.org, Hans Petter Selasky , Robert Crowston , myfreeweb In-Reply-To: <4306A90D-97B9-4DE9-A05A-A91B6F4A587F@yahoo.com> Message-Id: <1F513B3D-64F7-4391-8460-DBD5E68014FD@googlemail.com> X-Mailer: Apple Mail (2.3654.0.3) X-Rspamd-Queue-Id: 4BjpBB5rf8z4X24 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.61 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.13)[-1.129]; FREEMAIL_TO(0.00)[yahoo.com,freebsd.org,selasky.org,protonmail.com,unrelenting.technology]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.985]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.111.198:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; 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)[2a00:1450:4864:20::344:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 19:48:04 -0000 Ah, thanks for making all those extended tests and reporting details ! I thought you=E2=80=99re talking about ACPI but the DMA-thing also = affects DeviceTree,=20 at least in NODEBUG- kernel, as it seems after your report. > Am 04.09.2020 um 21:19 schrieb Mark Millard : > I have not tried this kind of test under a DBG kernel. If you find the time, perhaps you could try it, thanks in advance !=E2=80=A6= . Well, USB/pcie related dma-things(rewriting half the inherited driver = stack, mentioned by ROBoCrow) are the specialty of fbsd-icon HPS :-) , so I also forward this = issue/discussion to him for the first=E2=80=A6. And 'myfreeweb' perhaps is also interested in ;-) ... maybe after 3 months I will switch on the RPi4 again :-) Ha Ha=20 Regards > Am 04.09.2020 um 21:19 schrieb Mark Millard : >=20 >=20 >=20 > On 2020-Sep-4, at 10:44, Klaus Cucinauomo = wrote: >>=20 >> Hi Mark, >=20 > Hello. >=20 >> as far as I remember(didn=E2=80=99t work the last weeks on RPI-stuff) >> the dma-thing only failed on GENERIC-NODEBUG (unexpected controller = detection loops) =E2=80=A6 >=20 > Unless trying to help track down a problem at the time, I use NODBG > kernels. So, for > 3072 MiB, I find that copying huge files and > diffing/cmp'ing the copies reports mismatches. (I tend to use > files larger than the RAM but that large has not been required.) > Note: I boot from and use USB3 SSD without a microsd card being > involved at any stage. >=20 > It is not obvious what the actual file contents are where the > differences show up. >=20 > I've tended to create and use tar's of build trees, created under > the 3072 MiB configuration to establish large files for such > tests. Tests under the 3072 MiB configuration have not failed > when I've tried such. >=20 > I have not tried this kind of test under a DBG kernel. >=20 > The last I heard about the PCIe DMA handling for > 3072 MiB was > on 2020-Jul-19 from Robert Crowston: >=20 > QUOTE > You are right that we are not handling the 3 GB DMA limit in the pcie = driver. Unfortunately, it did not seem easy to thread the appropriate = bus tag through without rewriting half the inherited driver stack, and = in my testing the USB driver always allocated its DMA buffers in the = lower 3 GB without being told. But obviously it is the wrong to rely on = luck, so I=E2=80=99ll have a think about it. > END QUOTE >=20 > I've not noticed anything go by that suggested to me that this > has been addressed. (But I could have just missed it.) >=20 >> But it worked on GENERIC and afaik Greg_unrelenting`s dma-fix isn=E2=80= =99t yet merged to 13-current=20 >> because of that unfixed issue=E2=80=A6 >> (but you can apply his patch and test)..it should work under GENERIC = without the 3GB-limit(4GB & 8GB-models)=20 >>=20 >> Klaus >>=20 >>> Am 04.09.2020 um 19:33 schrieb Mark Millard via freebsd-arm = : >>>>=20 >>>=20 >>> Has the mishandling of the DMA been fixed? I'm still back >>> at head -r363590 and it was not fixed as of then. I've >>> had to use the 3072 MiB limit in the uefi/ACPI selections >>> in order to have a reliable environment. >>>=20 >>=20 >=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 Sep 4 20:52:29 2020 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 B976B3CF61B for ; Fri, 4 Sep 2020 20:52:29 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 4BjqcX6MQBz4bMR for ; Fri, 4 Sep 2020 20:52:28 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 880A65C00FD for ; Fri, 4 Sep 2020 16:52:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 04 Sep 2020 16:52:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=Id/yVxEmQ0pBMMUrqWxJ4chjjMn 3X9IW7abDBdGr174=; b=Asc6GE8hoX0dAyBzesmmi30D7jsH0fez7E5qi/9tU4k a+ylECsMCWMGyW+9EcxnP/oXjuDoQsbn+703rruE5HjTcpkXeCYjQBeXLmObMNmT liRh1dXGgK5CnAvmdwU3O1mSjOSTdDAjSdVcKiVUjhmkCluA6O4iGogOUpOZ1daF S2kjBsFZ36YWKg5Ce6YUkAv3aoFzLPAUU2icIKFn/kr4ejorR8SsHM3SrP5jo9Om tc+HXcSzyAVAhK6QSW0cwn0sfAxHIx/NBN2OUjlvDTXtB/AOPFSlw1X+pRWw23Hk Ppf3xC//cZEiqKSa9BCoXK1vg7z/9xZtthUoVWLhxUQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Id/yVx EmQ0pBMMUrqWxJ4chjjMn3X9IW7abDBdGr174=; b=ZXo2NpjLaSvlqQDrKbr3A0 lBrWeWiqpXA8OS3GJfztjgRPQyfv0uyCY9zd4QijKo5vR3DB/iOe9uJ5LmFeifjG VgUnaxJnTdPMHDWUhHZJmVvlAX4sYwN3xdXg6d7EMf9OrMVLVW3fWaLZZ3+Auojv D7i5u1Szj2m0RTPW9EWaYfgXpnSn4NRLQiKJ1eOMsSaEVJ5gmiGuWjGuweycFSkD LLYOOjS3YZHCfrRXfEmDW0ZPx0PuWinkPYE40FYRy0CcmCCrgIS6Ky7tgvZ/Kywe rvZDywqifUSvfmqhdZt7dv/5b3MJ6Vi7uae6ZQrh+7EO8lSwDWidLwPZbJOLms1A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudegfedgudehhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtd erredttdejnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshes iiihgihsthdrnhgvtheqnecuggftrfgrthhtvghrnheptdetleekueevtdfhueelieffie dvvdfftdeludetkeffveeuffeltdelvdevgeeunecukfhppeekvddrjedtrdeluddrleel necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthgvtg hhqdhlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id C5749328005D for ; Fri, 4 Sep 2020 16:52:27 -0400 (EDT) Date: Fri, 4 Sep 2020 21:51:57 +0100 From: tech-lists To: freebsd-arm@freebsd.org Subject: Re: onboard wireless on rpi4 Message-ID: <20200904205157.GD80905@bastion.zyxst.net> Mail-Followup-To: freebsd-arm@freebsd.org References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <1677459627.55.1599232125847@localhost> <75E08DC2-D229-45AA-85AE-CCF06FD0B490@kronometrix.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="C+ts3FVlLX8+P6JN" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4BjqcX6MQBz4bMR X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=Asc6GE8h; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=ZXo2NpjL; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.27 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.02 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-0.99)[-0.987]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.27:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.997]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.34)[-0.339]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 20:52:29 -0000 --C+ts3FVlLX8+P6JN Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 04, 2020 at 07:35:23PM +0200, Klaus Cucinauomo via freebsd-arm = wrote: >Yep, my question if really no one else is working on it, was directed to B= j=C3=B6rn ;-), >because I don=E2=80=99t want to work on a completely different implementat= ion, >if Bj=C3=B6rn is perhaps a few steps further. can't wait to test ;) Is zfs available for rpi4? --=20 J. --C+ts3FVlLX8+P6JN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9SqP4ACgkQs8o7QhFz NAVxkw//c6g147wlMH6c84TsMSqbYFyhahKuqjAwNnPoQ5nXNcvy0z1cr8Kdjgfx Tw1fCRvHDIKhQAOFXR7qYelrTJXbirhMV3njegVM+YW61X7dvtxPLw6KD5GVaowf JyasYsTfo+VtpBHmFTdRDwyFWRn8lMEo0drcWr9r1thAa5eSe9BMorNxuIRwzlM5 993L/W53UYcc91mi6YWklOV6Z1Jkna92sswfo+MZTiDMjYvQT3WZwvb7WwPdayja Dy8CTqXyqjVepVJlH9wLmS8jCKl3egqkpmlPJGj5rJEz8P9b4Ow/1rd30QPSlHoe /7pKq4xsIv6cNJL6BPzlC6fhc3VE+xHWtH94pFmnRTtKp64weWFd5ItoFPyXhr1p 7UOdGWs3n7fHnCkCh8yOhYyvi4BOx+fIbH02n4Uto58dw5N2Tgnn7xAoBHggDXIj 5RxBrOCHM0xSyEgnad7JUO6mHogkEhpmfr0kK8PGN+40yupaSKDbH44klIX+B+lT 6nFSxTfxQxzJ6jO5AOwn0UrkA3VUmJ7z6obrs2288c5+wgHLrZBlvdy8cQHEJXLW OavFMzHo/pH7jO2xy7qd9Lpg8kmGGSoTP+IlMJ3e3PQYE7L2MvPyYPIuaYmYY88a S+PD4myPYetUJnWfqZYAUTMfZPMZUqrF/irIdg9CB7mnoH39khQ= =WDv2 -----END PGP SIGNATURE----- --C+ts3FVlLX8+P6JN-- From owner-freebsd-arm@freebsd.org Fri Sep 4 22:00:59 2020 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 ABB973D1054 for ; Fri, 4 Sep 2020 22:00:59 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4Bjs7Z2YGkz4gJQ for ; Fri, 4 Sep 2020 22:00:57 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x42f.google.com with SMTP id c18so8735116wrm.9 for ; Fri, 04 Sep 2020 15:00:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=XxCOiMjoPNWG4LPxJFygGbO07kdcDBu+/QDVyusCqjU=; b=OkfRJUClJlGmW4CTh7KX+aSwczaKwBS4UpQ8iBpz+4cnrCm6sXjx6Q6kPyxYBBk/mJ g3XyOf7Nu5ZxuWOQfIAwURcy+AaneQv36y0YNeOCl0pW7vw+cvjD+ycITZg+E1iIULq+ wkoGfzGEIfH55XzY9Z9uDnETmmiljDdzQq0yXrykxHIH6TOZt/s1BpsIEGwtBe0in1Ul ykjjZVt21wISi3i4d1hHA/weWLKnKPBMCaHQX9JIR3G9VOVHdPq9adqIgQow5Z0numxE n1PCEVBRcc/14GQxwgiMcPLKYs26yR1i2jLpfHsG0WltY3KVYOzySBv72UvvWARfb+FV qzPg== X-Gm-Message-State: AOAM531xfrG6YPDJDrR++amIVly0aToV1uLNWUHEoH2qs5zoLEJFnzUi 7Vkv8TXPdlawqE0eVDcP5H+Yang99OA= X-Google-Smtp-Source: ABdhPJyWo5D0Vjh9ef9UpVJqqePTBVIqUyiC2ujqtkjA1nRtvnZAty4vSAKtYpmtdY1qlrj40QtvBA== X-Received: by 2002:a5d:4ccb:: with SMTP id c11mr9423722wrt.159.1599256856571; Fri, 04 Sep 2020 15:00:56 -0700 (PDT) Received: from localhost.localdomain ([46.114.111.198]) by smtp.googlemail.com with ESMTPSA id o4sm13355518wrv.86.2020.09.04.15.00.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2020 15:00:55 -0700 (PDT) From: Klaus Cucinauomo Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3.2.26\)) Subject: Re: onboard wireless on rpi4 Date: Sat, 5 Sep 2020 00:00:53 +0200 References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <1677459627.55.1599232125847@localhost> <75E08DC2-D229-45AA-85AE-CCF06FD0B490@kronometrix.org> <20200904205157.GD80905@bastion.zyxst.net> To: tech-lists , bzeeb-lists@lists.zabbadoz.net, freebsd-arm@freebsd.org In-Reply-To: <20200904205157.GD80905@bastion.zyxst.net> Message-Id: <0CA32901-8526-4D18-8AD6-7BA2AAB35190@googlemail.com> X-Mailer: Apple Mail (2.3654.0.3.2.26) X-Rspamd-Queue-Id: 4Bjs7Z2YGkz4gJQ X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.84)[-0.845]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.111.198:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.975]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.98)[-0.984]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42f:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 22:00:59 -0000 > Am 04.09.2020 um 22:51 schrieb tech-lists : >=20 > On Fri, Sep 04, 2020 at 07:35:23PM +0200, Klaus Cucinauomo via = freebsd-arm wrote: >> Yep, my question if really no one else is working on it, was directed = to Bj=C3=B6rn ;-), >> because I don=E2=80=99t want to work on a completely different = implementation, >> if Bj=C3=B6rn is perhaps a few steps further. >=20 > can't wait to test ;) Well, the decision is up to =E2=80=9Abz=E2=80=98 whether he wants to = continue his hard work on it and whether he can give free time for it=20 OR=20 whether he wants to give the implementation of brcm- wifi-drivers in=20 other hands(or whether he wants to add it to the =E2=80=9EtoDoList" so = that others should begin with that shi**y work, Ha Ha:-)=E2=80=A6 the last message = was : > Anfang der weitergeleiteten Nachricht: >=20 > Von: "Bjoern A. Zeeb" > Betreff: Aw: Does freebsd support wifi for rpi4b? > Datum: 29. Februar 2020 um 11:32:53 MEZ > An: ykla > Kopie: freebsd-arm@freebsd.org >=20 >> =E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6. >=20 > Not yet. Sorry. It=E2=80=99s being worked on. >=20 > See = https://lists.freebsd.org/pipermail/freebsd-wireless/2020-February/008985.= html = >=20 > Keep an eye on the wireless list during the next month hopefully for = more updates. >=20 >=20 > /bz > _______________________________________________ > 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 Sep 4 23:42:51 2020 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 42BD43D3287 for ; Fri, 4 Sep 2020 23:42:51 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 4BjvP6543zz4ljF for ; Fri, 4 Sep 2020 23:42:50 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id CF72B5C00CD for ; Fri, 4 Sep 2020 19:42:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 04 Sep 2020 19:42:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:mime-version:content-type; s= fm3; bh=frOJ2mkErVx4CBI4MWbNARHM8tDaNDo7raYkh6Cc+2U=; b=iyqhJs9c pH8pApR9tHKidxf893YXEdNG/rXbNA8qUBeinj2G6uTCj4H0Mrqko6Y/TEZC0/1+ 4eZgn0dT1lUTHQMAHugxOlurkAofPYbNsQk+pTm1+TNjqtL+E03WXQY0DxiY3rjR NpGVtNV47psfLbfSzTRwb7v8h6hZMMwER15dwGD5yo7rLGW2Lzw0bUKFczqt+QQP 35xYXNo5qbKVplFcqmCFx4I5NUlfVrSPhlQwurhc6FeM2v7sDEUR/2HYgcOj3s7C 5EeJ7Yaw7Po16XKUMgev5QDrM9wNpmQRfImQEmS/njz3Medwbft/bAoLUbLLnXf8 ZVnl6tLdPHCizw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=frOJ2mkErVx4CBI4MWbNARHM8tDaN Do7raYkh6Cc+2U=; b=vO8TqIs/MeEo9S+SVLwO9K8HbC90fDkqkkq/Tigsa2y/W 72zyXwgNdBSGK3HZB7EwrW7prhXzYM8d44pPonKpT0KhHzr/vga9+e+M7B/K3TGD JOVxIb7H/vpjS7TBOXC9KJP3/j4775pk+zW2HJtJgN9/CvJzGSEN6AfkhuwuiYN9 IHbmZfH1uCgGj/3sqYQfiNt2zrTcSj4JwvIX1V9g2Y0TFeZ4pSs840ACPtCQRaHv mPSITVYnHeOdCic2E87nrDT3R2Vp1UII+C5Jp3pPO07qJUWogAk5vlaXSPXT46Uk xzIq+I1eJ2UzMdSDzTG2EJ4HSixKRSg7Yaol3m7Mg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeggedgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesghdtreertd dtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseiihiig shhtrdhnvghtqeenucggtffrrghtthgvrhhnpeekleehfefgvdetgfeflefgvdekueevve ekgfdtgeevheeugfekveeijeelgfeggeenucffohhmrghinhepfhhrvggvsghsugdrohhr ghenucfkphepkedvrdejtddrledurdelleenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehtvggthhdqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id D46153060061 for ; Fri, 4 Sep 2020 19:42:48 -0400 (EDT) Date: Sat, 5 Sep 2020 00:42:19 +0100 From: tech-lists To: freebsd-arm@freebsd.org Subject: rpi4 / will zfs work? Message-ID: <20200904234219.GE80905@bastion.zyxst.net> Mail-Followup-To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xJK8B5Wah2CMJs8h" Content-Disposition: inline X-Rspamd-Queue-Id: 4BjvP6543zz4ljF X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=iyqhJs9c; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=vO8TqIs/; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.28 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-4.77 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-0.99)[-0.988]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.28:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.28]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.984]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.10)[-1.102]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.28:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 23:42:51 -0000 --xJK8B5Wah2CMJs8h Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Managed to get rpi4 booting with latest -current thanks to this helpful pos= t: https://lists.freebsd.org/pipermail/freebsd-arm/2020-August/022162.html It sees the full 8GB RAM The end objective is to have a low-cost internal nextcloud. I have attached= an external usb-powered disk, but have not formatted it to zfs as I would have liked because, although zfs.ko is there, it won't load up. Should it load? [...] root@rpi4:~ # locate zfs.ko /boot/kernel/zfs.ko /usr/lib/debug/boot/kernel/zfs.ko.debug root@rpi4:~ # kldload /boot/kernel/zfs.ko kldload: can't load /boot/kernel/zfs.ko: No such file or directory root@rpi4:~ # kldload /usr/lib/debug/boot/kernel/zfs.ko.debug kldload: an error occurred while loading module /usr/lib/debug/boot/kernel/zfs.ko.debug. Please check dmesg(8) for more details. root@rpi4:~ # [...] in dmesg: kldload: /usr/lib/debug/boot/kernel/zfs.ko.debug: Unreadable program headers kldload: /usr/lib/debug/boot/kernel/zfs.ko.debug: Object is not dynamically-linked uname stuff: FreeBSD 13.0-CURRENT #0 r364846: Thu Aug 27 09:55:50 UTC 2020 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC ar= m64 should it work?=20 next step is to make a nodebug kernel thanks, --=20 J. --xJK8B5Wah2CMJs8h Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9S0O0ACgkQs8o7QhFz NAVWOQ/9EkGhYb1uvWkmjKI4z/E9FFR5wcJh71sTscUCtiatVSf1JWvektcYeYrK 3A8pzbSF9FTfoN1Jm9mS/m5WTucEdlt6J/8nxZyY3QKw+DOK2ELT5+TZj/XdRuPW v5Ny397BcedVU9EswcNPRIiYdkyIaeXtlts0mQaj0TsYDHyX8Kdn9SHIClxxlDpd 3Eg20mctZX0F5EGZrtu1yJARs+qsnBO2iN2X0kis0ACx3gW8n90MmyQOjzhtkw29 9IvaMFlqxj7jB2Z/mMofLROF/j0tMev5DH2UR3pbJOW7zV/NLORQ30CCrQ/YKMbl ePBr3P4D6kecjJ1zD3r8+M9dDQxm4RmBq5Sy6GnSogIMa0Xbu5XgZzNfEXFgIwlY xV5OOHUSop4hyUNLTbSXTDPqHSJ1aGNyP4NjSSeeQ6m8JFxk1qVkXGGqXKA6yyYp Xds02yjOH4mVmybeM6dmKnuP48jNiVWKAfj/8Z/rTe6ZWWCPgPUci0tK3cHllAg8 BP/UOxk2RR9YPSyw/qzdtAN/usmVIH9I88BuVcKzYx6xBg56QcmqjdIsq6YXLevB FFoOM+f7ikf/QFd9wziDg3AioLzVfIBCawoBRVkzuiEPl3KE9fp8jR4AgYokHlvX 2W+nCUKhqTFjSOlFTmxUGMsvivy6bAgoCXq9OwlplBARQO+UqIU= =UbNS -----END PGP SIGNATURE----- --xJK8B5Wah2CMJs8h-- From owner-freebsd-arm@freebsd.org Sat Sep 5 04:48:50 2020 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 802E63DF58F for ; Sat, 5 Sep 2020 04:48:50 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bk2B66dTzz3dPw for ; Sat, 5 Sep 2020 04: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 0854mpFB076394 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 4 Sep 2020 21:48:51 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id 0854mo8L076393; Fri, 4 Sep 2020 21:48:50 -0700 (PDT) (envelope-from fbsd) Date: Fri, 4 Sep 2020 21:48:49 -0700 From: bob prohaska To: Goran Meki?? Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: Plans for git (was: Please check the current beta git conversions) Message-ID: <20200905044849.GA75829@www.zefox.net> References: <20200902045939.GA15897@eureka.lemis.com> <20200902060117.GG53210@home.opsec.eu> <20200902063136.GA47543@troutmask.apl.washington.edu> <20200902164706.GA49777@troutmask.apl.washington.edu> <20200902170812.rljhpkimyesaqn2x@tilda.center> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200902170812.rljhpkimyesaqn2x@tilda.center> X-Rspamd-Queue-Id: 4Bk2B66dTzz3dPw X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [-0.21 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.91)[-0.909]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.26)[-0.258]; NEURAL_HAM_MEDIUM(-0.94)[-0.938]; R_SPF_NA(0.00)[no SPF record]; 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]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 04:48:50 -0000 On Wed, Sep 02, 2020 at 07:08:12PM +0200, Goran Meki?? wrote: > On Wed, Sep 02, 2020 at 09:47:06AM -0700, Steve Kargl wrote: > > Checking out /usr/src as user@freebsd.org > > > > svn checkout svn+ssh://user@svn.freebsd.org/base/head /usr/src > git checkout ssh://user@git.freebsd.org/base/head /usr/src > > > Checking out /usr/src without freebsd.org account > > > > svn checkout https://svn.freebsd.org/base/head ${HOME}/freebsd/src > > git checkout https://git.freebsd.org/base/head ${HOME}/freebsd/src > > > Creating diff against updated head. > > > > svn update > > svn diff > patch.diff > > git pull > git diff >patch.diff > > > Adding a new file > > > > svn add /usr/src/libm/msun/src/_s_sinpi.c > > git add /usr/src/libm/msun/src/_s_sinpi.c > > > Committing a change to /usr/src > > > > svn update > > svn diff | more (everyone does one last check, right?) > > svn commit > > git pull > git add -A # add all files, even new ones > # alternative would be "git add " > git diff --cached > git commit > > > I "assumed" that user@git.freebsd.org is valid, but depending on > configuration of the server, git@git.freebsd.org might be the right one. > Someone with actual knowledge (and I'm looking at Ed) will fill in the > right details. > Alas, no. bob@www:/usr/src % ping git.freebsd.org ping: cannot resolve git.freebsd.org: Unknown host If anybody can offer an amateur's tutorial it would be most helpful. Simple examples of checking out /usr/src and /usr/ports, along with updating and reverting, make a good start. Oh, some sort of cleanup might be required..... Basically, just enough for testing. Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Sat Sep 5 04:59:32 2020 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 46B763DF774 for ; Sat, 5 Sep 2020 04:59:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4Bk2QW3l2Rz3dy9 for ; Sat, 5 Sep 2020 04:59:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x733.google.com with SMTP id w12so8475196qki.6 for ; Fri, 04 Sep 2020 21:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+z/8+575Dh09RZYFZmJQCQmLn8h1DeB/pNRE3mNKAi4=; b=XU/F+Uu6g3JL9sibgtpjYF1BferwVhRXrWOrtauI+WgbrX2rwzIUkL9oODqLW8dFNW Lt72sp2poHORQ7gGJ6C9lI6eUBp8TTt9bHO7gtKgsWIN8aNaTRu0P66RQEP64zbW7uXz WUDgEu14pN9NXvVX7dGJTSewkzeVtx0qWQseZ03W0lva9GOgJ/iIapBLteOwmnv89D07 XMXMcmAyh4Ib6mSKjZAr5Do25U3ar7gz59k9LRxcbsGBnyFTkNXDHX59gV1/An9pyxgp B6u6hbyqOLX487/6H3w+SfQIR0s8D+TLc9VVvFYZMieHS6qV8adYfhu9uPp4kZbP4MvN Kydw== 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=+z/8+575Dh09RZYFZmJQCQmLn8h1DeB/pNRE3mNKAi4=; b=fM0pSA+bSN7CO8N2AbLNCijdf8g9n1d5iQVF69xGVWC+5yk+YxASuSUoOjzLOjL07d 1Vh6AC1T1/lk+IUItuAlMnx2SGJeNdjSqZWamqRfHVkAIp0YCdDXPgVdzQ9qSIqMJAvo JApsUrOogZ8QSq6n8/SeFRtTx3JgnixnPDLzK6kruJQAaDH5siGMMTtg8EWHv+IPZ8WQ VKsZl/uwFlyc613Km+bdd79jFPxLqH+HwNWW85FFuVjB3xGXPOTyxCJwHIb6KImlb/Uu vH8PtsfH6d04csO3KEEcj2NyOEK2tq4e0Nmbs/JOSLG3spnDQCIQx91fTp+afFCIdnmb 26Nw== X-Gm-Message-State: AOAM530jwjeI7n4yHRbekf96tENfXCaQexj6DsoRy6PzXSYax6CvCn/Z UkM6viufJSkjxgYJ9HV2Q3E41jBAIc04Avikugooqq6r1lez2g== X-Google-Smtp-Source: ABdhPJxdWk66wxYLtsxC+6ZoJza3jsKb4BJ4rz8sQ1Jh9oaI7cB7RGO8s1EbC5JzqurVnp1IVYJwoK4VHSAUE0rzTeM= X-Received: by 2002:ae9:f70d:: with SMTP id s13mr4263134qkg.215.1599281970045; Fri, 04 Sep 2020 21:59:30 -0700 (PDT) MIME-Version: 1.0 References: <20200902045939.GA15897@eureka.lemis.com> <20200902060117.GG53210@home.opsec.eu> <20200902063136.GA47543@troutmask.apl.washington.edu> <20200902164706.GA49777@troutmask.apl.washington.edu> <20200902170812.rljhpkimyesaqn2x@tilda.center> <20200905044849.GA75829@www.zefox.net> In-Reply-To: <20200905044849.GA75829@www.zefox.net> From: Warner Losh Date: Fri, 4 Sep 2020 22:59:18 -0600 Message-ID: Subject: Re: Plans for git (was: Please check the current beta git conversions) To: bob prohaska Cc: "Goran Meki??" , freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 4Bk2QW3l2Rz3dy9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=XU/F+Uu6; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::733) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.98 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.06)[-1.058]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.92)[-0.921]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::733:from]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 04:59:32 -0000 On Fri, Sep 4, 2020, 10:48 PM bob prohaska wrote: > On Wed, Sep 02, 2020 at 07:08:12PM +0200, Goran Meki?? wrote: > > On Wed, Sep 02, 2020 at 09:47:06AM -0700, Steve Kargl wrote: > > > Checking out /usr/src as user@freebsd.org > > > > > > svn checkout svn+ssh://user@svn.freebsd.org/base/head /usr/src > > git checkout ssh://user@git.freebsd.org/base/head /usr/src > > > > > Checking out /usr/src without freebsd.org account > > > > > > svn checkout https://svn.freebsd.org/base/head ${HOME}/freebsd/src > > > > git checkout https://git.freebsd.org/base/head ${HOME}/freebsd/src > > > > > Creating diff against updated head. > > > > > > svn update > > > svn diff > patch.diff > > > > git pull > > git diff >patch.diff > > > > > Adding a new file > > > > > > svn add /usr/src/libm/msun/src/_s_sinpi.c > > > > git add /usr/src/libm/msun/src/_s_sinpi.c > > > > > Committing a change to /usr/src > > > > > > svn update > > > svn diff | more (everyone does one last check, > right?) > > > svn commit > > > > git pull > > git add -A # add all files, even new ones > > # alternative would be "git add " > > git diff --cached > > git commit > > > > > > I "assumed" that user@git.freebsd.org is valid, but depending on > > configuration of the server, git@git.freebsd.org might be the right one. > > Someone with actual knowledge (and I'm looking at Ed) will fill in the > > right details. > > > > Alas, no. > > bob@www:/usr/src % ping git.freebsd.org > ping: cannot resolve git.freebsd.org: Unknown host > > If anybody can offer an amateur's tutorial it would be > most helpful. Simple examples of checking out /usr/src > and /usr/ports, along with updating and reverting, make > a good start. Oh, some sort of cleanup might be required..... > Basically, just enough for testing. > I have this out for review. https://hackmd.io/hJgnfzd5TMK-VHgUzshA2g Warner Thanks for reading, > > 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 Sat Sep 5 05:07:26 2020 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 46B853DFFBC for ; Sat, 5 Sep 2020 05:07:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-22.consmr.mail.gq1.yahoo.com (sonic317-22.consmr.mail.gq1.yahoo.com [98.137.66.148]) (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 4Bk2bb2l7lz3fGM for ; Sat, 5 Sep 2020 05:07:22 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 7bmmyWQVM1lupDNWQzV9H7Avt.AlCzTq7kpO.ra9c6be1Ta4BempmPIhPz9veJF hkYNQjTHyhSTSAaC4_bX46EGN4kmioNnoh..Z90yPp.mKWunkHt1F74EBw_mZ3_lgLGYK89dqLUm PVvnzE1dPaqvQe0vHJzbH0j7MPvnZ3zmbCE7km7K5lxr..JXT1eDFoU21YNgLMMkCBU8hLPuFotA nbGQnMPh_1TcP0DI8U6QvFjX1GgEtsxpj9l_ZOCuc3sJeh1Fb.g2rjh04.uf1jBgE6NgH60fXRO_ LNe.aEdtGeTWZ1x1PvLfhDkEVNG5YRYpHjwY0HWsSo81qsHjDvm7GHEeueT26X7I4GwEHq2bPQzL 0xO6ZSUU8Q1KPj7o4aQdk7EyK6Mp6c4Mhrw2LkRPQGBzmIHoNWPlZyQLNPc0j8trlj.DCSxkzTd7 YOrSkQASgAomDuJQXTFiuhenO0WKgU8ftVTx1d0_vMTdI_hLB.X00Nm5vqh5AvjwYLtefJB9ERWo n0hV2g2y0a_0vXv.a2kg5FmLHtx804.Kxrnw8vAPV_MAKsZYTgvSr.UfXBj7Jlle1ZySjudvcx52 eHbQN.ZIjtLug8gUgHWri9IO4QLY1YhbIR8mTjAlgIlE6zy0bxV.4unu4yjtoDvXZ3XZ5B0ywWqp rEmR9TsqN7Zi8qDqnNXS7MhTo_ylDSky3x6DMfD8nCg05yMVNcqDC9hjhmKJ5A.3zUH3oXYEGjhf cqLncPdk3kJV2UIjmeFLiRoz3boklYs_iYp2aGhzahLbfugRB8MRaRKzDOgJe.C8s3bxmVYbx3bz 80qfFG_4NrH.NH4wyc5KJ0YBP35glKmv2n2cwWwykVh7RzBVB2le5.EqeJL4hvzky7mWGnRLa6ST ndEpobTaFr3ArOSU2Y3QHbcv..hFt0NTfZAR47WDFsFYbTNBaXlsFH9.WyTGlhcitOyXKF63ffL0 gVyj9FpqUChl7w4IAVJxjIUR64IxRoz3imdiyr3xXxqA2VmV_78DwBiURSps5TWbNCQdLlywY1hA IC7Ad73FtFsG80u1GS.8bJ40XIsf0g222SVPI03yfjue6mUwIvvL9EDor_FE_.RqnN2IfpcUdl8K 5pW7dfnwyRCR6ktgCyZNpxoBjNVSNnwBwJC9D8eud63HpIzDovn6Y93le8MN1_EQPDFzgx61e61h tM_Y2ZCPaH55j6V5pATKctMWL3XOxGT1Xsf5oruuyjHWaqsRdjKWguWDSEtxKUYA0c_SXvu0CLHU lOurvIQcTTf3.1GXFI9b7SOR7wgGmRN78hhbnmQbw11duh7VoG6T9ZyCVFcx48FlW9a.kbTCBW1O HvylduA4Tww_LuxtI6MqESk_zDFv0f0yIWTBoNank0k2pIRfjBsF.W4L4rlIOQEZJ_c4j5sBB4eE PorSv0SzHtBZp_NagxNeUqjdVV7Jy.87bhOGX3CdKWeaCEPu0RDim5C4vU7xXt90BWopKc4_wHFI Xg6NnliDyroHDb0qAb7wD8NMG78578lNRQ5z_YU2N08O1WCj1l4_9zEXKKmhQzBUf6dK5pvkh7ye Y Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Sat, 5 Sep 2020 05:07:20 +0000 Received: by smtp411.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c28916720f2d78b5b2506f136add2529; Sat, 05 Sep 2020 05:07:18 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: Plans for git (was: Please check the current beta git conversions) From: Mark Millard In-Reply-To: <20200905044849.GA75829@www.zefox.net> Date: Fri, 4 Sep 2020 22:07:16 -0700 Cc: Goran Meki?? , freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <20200902045939.GA15897@eureka.lemis.com> <20200902060117.GG53210@home.opsec.eu> <20200902063136.GA47543@troutmask.apl.washington.edu> <20200902164706.GA49777@troutmask.apl.washington.edu> <20200902170812.rljhpkimyesaqn2x@tilda.center> <20200905044849.GA75829@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4Bk2bb2l7lz3fGM X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.31 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.77)[-0.772]; 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:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.07)[-1.066]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.97)[-0.969]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.66.148:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.148:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 05:07:26 -0000 On 2020-Sep-4, at 21:48, bob prohaska wrote: > On Wed, Sep 02, 2020 at 07:08:12PM +0200, Goran Meki?? wrote: >> On Wed, Sep 02, 2020 at 09:47:06AM -0700, Steve Kargl wrote: >>> Checking out /usr/src as user@freebsd.org >>> >>> svn checkout svn+ssh://user@svn.freebsd.org/base/head /usr/src >> git checkout ssh://user@git.freebsd.org/base/head /usr/src >> >>> Checking out /usr/src without freebsd.org account >>> >>> svn checkout https://svn.freebsd.org/base/head ${HOME}/freebsd/src >> >> git checkout https://git.freebsd.org/base/head ${HOME}/freebsd/src >> >>> Creating diff against updated head. >>> >>> svn update >>> svn diff > patch.diff >> >> git pull >> git diff >patch.diff >> >>> Adding a new file >>> >>> svn add /usr/src/libm/msun/src/_s_sinpi.c >> >> git add /usr/src/libm/msun/src/_s_sinpi.c >> >>> Committing a change to /usr/src >>> >>> svn update >>> svn diff | more (everyone does one last check, right?) >>> svn commit >> >> git pull >> git add -A # add all files, even new ones >> # alternative would be "git add " >> git diff --cached >> git commit >> >> >> I "assumed" that user@git.freebsd.org is valid, but depending on >> configuration of the server, git@git.freebsd.org might be the right one. >> Someone with actual knowledge (and I'm looking at Ed) will fill in the >> right details. >> > > Alas, no. > > bob@www:/usr/src % ping git.freebsd.org > ping: cannot resolve git.freebsd.org: Unknown host Using macOS (that was handy) I tried where Ed M.'s list notice referenced: % nslookup cgit-beta.freebsd.org Server: . . . Address: . . . Non-authoritative answer: cgit-beta.freebsd.org canonical name = githome.nyi.freebsd.org. Name: githome.nyi.freebsd.org Address: 96.47.72.101 That seems to have provided an IPv4 address for the server. I hope that the above helps. > If anybody can offer an amateur's tutorial it would be > most helpful. Simple examples of checking out /usr/src > and /usr/ports, along with updating and reverting, make > a good start. Oh, some sort of cleanup might be required..... > Basically, just enough for testing. > === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sat Sep 5 08:59:36 2020 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 B11543E5CAF for ; Sat, 5 Sep 2020 08:59:36 +0000 (UTC) (envelope-from crowston@protonmail.com) Received: from mail1.protonmail.ch (mail1.protonmail.ch [185.70.40.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bk7lV611qz48Br for ; Sat, 5 Sep 2020 08:59:34 +0000 (UTC) (envelope-from crowston@protonmail.com) Date: Sat, 05 Sep 2020 08:59:22 +0000 To: Mark Millard , Klaus Cucinauomo From: Robert Crowston Cc: freebsd-arm@freebsd.org Reply-To: Robert Crowston Subject: Re: onboard wireless on rpi4 Message-ID: In-Reply-To: <4306A90D-97B9-4DE9-A05A-A91B6F4A587F@yahoo.com> References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <20200904142255.GC80905@bastion.zyxst.net> <5AF83D16-2432-4EA9-BC2F-373DA8BC3360@googlemail.com> <4306A90D-97B9-4DE9-A05A-A91B6F4A587F@yahoo.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4Bk7lV611qz48Br X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.26 / 15.00]; HAS_REPLYTO(0.00)[crowston@protonmail.com]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[protonmail.com]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; RWL_MAILSPIKE_GOOD(0.00)[185.70.40.18:from]; DKIM_TRACE(0.00)[protonmail.com:+]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; NEURAL_HAM_SHORT(-1.32)[-1.318]; FREEMAIL_TO(0.00)[yahoo.com,googlemail.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.07)[-1.071]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.98)[-0.975]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; HAS_PHPMAILER_SIG(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[185.70.40.18:from]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 08:59:36 -0000 UmVncmV0dGFibHkgdGhlIERNQSBwcm9ibGVtIGlzIG5vdCBmaXhlZC4gQWZ0ZXIgZml4aW5nIHRo ZSBidXMgdGFnIHRvIGNvcnJlY3RseSByZXByZXNlbnQgdGhlIERNQSBsaW1pdCBvZiB0aGUgZGV2 aWNlLCBpdCByZWR1Y2VkIHRoZSBwcm9ibGVtIGluY2lkZW5jZSBhIGxvdCBidXQgc29tZXRpbWVz IGl0IHN0aWxsIGhhcHBlbnMgd2hlbiB0aGUgY29udHJvbGxlciBpcyB1bmRlciBsb2FkLiBJIHRo aW5rIHRvIGRvIHdpdGggdGhlIGluYm91bmQvb3V0Ym91bmQgbWVtb3J5IHZpZXcgb24gdGhlIGNv bnRyb2xsZXIsIGkuZS4gbWF5YmUgdGhlcmUgaXMgY3Jvc3N0YWxrIGJldHdlZW4gaW5ib3VuZCBh bmQgb3V0Ym91bmQgRE1BPyBJIGNhbiBzdWJtaXQgdGhlIHBhdGNoIEkgaGF2ZSBidXQgaXTigJlz IG5vdCBhIDEwMCUgZml4LgoKRGlkIHNvbWVvbmUgdGVsbCBtZSB0aGlzIGlzICpub3QqIGEgcHJv YmxlbSBhdCBhbGwgb24gTmV0QlNEL09wZW5CU0Q/CgrigJQgUkhDLgoKT24gRnJpLCBTZXAgNCwg MjAyMCBhdCAyMDoxOSwgTWFyayBNaWxsYXJkIHZpYSBmcmVlYnNkLWFybSA8ZnJlZWJzZC1hcm1A ZnJlZWJzZC5vcmc+IHdyb3RlOgoKPiBPbiAyMDIwLVNlcC00LCBhdCAxMDo0NCwgS2xhdXMgQ3Vj aW5hdW9tbyA8bWFjaXBob25lMkBnb29nbGVtYWlsLmNvbT4gd3JvdGU6Cj4+Cj4+IEhpIE1hcmss Cj4KPiBIZWxsby4KPgo+PiBhcyBmYXIgYXMgSSByZW1lbWJlcihkaWRu4oCZdCB3b3JrIHRoZSBs YXN0IHdlZWtzIG9uIFJQSS1zdHVmZikKPj4gdGhlIGRtYS10aGluZyBvbmx5IGZhaWxlZCBvbiBH RU5FUklDLU5PREVCVUcgKHVuZXhwZWN0ZWQgY29udHJvbGxlciBkZXRlY3Rpb24gbG9vcHMpIOKA pgo+Cj4gVW5sZXNzIHRyeWluZyB0byBoZWxwIHRyYWNrIGRvd24gYSBwcm9ibGVtIGF0IHRoZSB0 aW1lLCBJIHVzZSBOT0RCRwo+IGtlcm5lbHMuIFNvLCBmb3IgPiAzMDcyIE1pQiwgSSBmaW5kIHRo YXQgY29weWluZyBodWdlIGZpbGVzIGFuZAo+IGRpZmZpbmcvY21wJ2luZyB0aGUgY29waWVzIHJl cG9ydHMgbWlzbWF0Y2hlcy4gKEkgdGVuZCB0byB1c2UKPiBmaWxlcyBsYXJnZXIgdGhhbiB0aGUg UkFNIGJ1dCB0aGF0IGxhcmdlIGhhcyBub3QgYmVlbiByZXF1aXJlZC4pCj4gTm90ZTogSSBib290 IGZyb20gYW5kIHVzZSBVU0IzIFNTRCB3aXRob3V0IGEgbWljcm9zZCBjYXJkIGJlaW5nCj4gaW52 b2x2ZWQgYXQgYW55IHN0YWdlLgo+Cj4gSXQgaXMgbm90IG9idmlvdXMgd2hhdCB0aGUgYWN0dWFs IGZpbGUgY29udGVudHMgYXJlIHdoZXJlIHRoZQo+IGRpZmZlcmVuY2VzIHNob3cgdXAuCj4KPiBJ J3ZlIHRlbmRlZCB0byBjcmVhdGUgYW5kIHVzZSB0YXIncyBvZiBidWlsZCB0cmVlcywgY3JlYXRl ZCB1bmRlcgo+IHRoZSAzMDcyIE1pQiBjb25maWd1cmF0aW9uIHRvIGVzdGFibGlzaCBsYXJnZSBm aWxlcyBmb3Igc3VjaAo+IHRlc3RzLiBUZXN0cyB1bmRlciB0aGUgMzA3MiBNaUIgY29uZmlndXJh dGlvbiBoYXZlIG5vdCBmYWlsZWQKPiB3aGVuIEkndmUgdHJpZWQgc3VjaC4KPgo+IEkgaGF2ZSBu b3QgdHJpZWQgdGhpcyBraW5kIG9mIHRlc3QgdW5kZXIgYSBEQkcga2VybmVsLgo+Cj4gVGhlIGxh c3QgSSBoZWFyZCBhYm91dCB0aGUgUENJZSBETUEgaGFuZGxpbmcgZm9yID4gMzA3MiBNaUIgd2Fz Cj4gb24gMjAyMC1KdWwtMTkgZnJvbSBSb2JlcnQgQ3Jvd3N0b246Cj4KPiBRVU9URQo+IFlvdSBh cmUgcmlnaHQgdGhhdCB3ZSBhcmUgbm90IGhhbmRsaW5nIHRoZSAzIEdCIERNQSBsaW1pdCBpbiB0 aGUgcGNpZSBkcml2ZXIuIFVuZm9ydHVuYXRlbHksIGl0IGRpZCBub3Qgc2VlbSBlYXN5IHRvIHRo cmVhZCB0aGUgYXBwcm9wcmlhdGUgYnVzIHRhZyB0aHJvdWdoIHdpdGhvdXQgcmV3cml0aW5nIGhh bGYgdGhlIGluaGVyaXRlZCBkcml2ZXIgc3RhY2ssIGFuZCBpbiBteSB0ZXN0aW5nIHRoZSBVU0Ig ZHJpdmVyIGFsd2F5cyBhbGxvY2F0ZWQgaXRzIERNQSBidWZmZXJzIGluIHRoZSBsb3dlciAzIEdC IHdpdGhvdXQgYmVpbmcgdG9sZC4gQnV0IG9idmlvdXNseSBpdCBpcyB0aGUgd3JvbmcgdG8gcmVs eSBvbiBsdWNrLCBzbyBJ4oCZbGwgaGF2ZSBhIHRoaW5rIGFib3V0IGl0Lgo+IEVORCBRVU9URQo+ Cj4gSSd2ZSBub3Qgbm90aWNlZCBhbnl0aGluZyBnbyBieSB0aGF0IHN1Z2dlc3RlZCB0byBtZSB0 aGF0IHRoaXMKPiBoYXMgYmVlbiBhZGRyZXNzZWQuIChCdXQgSSBjb3VsZCBoYXZlIGp1c3QgbWlz c2VkIGl0LikKPgo+PiBCdXQgaXQgd29ya2VkIG9uIEdFTkVSSUMgYW5kIGFmYWlrIEdyZWdfdW5y ZWxlbnRpbmdgcyBkbWEtZml4IGlzbuKAmXQgeWV0IG1lcmdlZCB0byAxMy1jdXJyZW50Cj4+IGJl Y2F1c2Ugb2YgdGhhdCB1bmZpeGVkIGlzc3Vl4oCmCj4+IChidXQgeW91IGNhbiBhcHBseSBoaXMg cGF0Y2ggYW5kIHRlc3QpLi5pdCBzaG91bGQgd29yayB1bmRlciBHRU5FUklDIHdpdGhvdXQgdGhl IDNHQi1saW1pdCg0R0IgJiA4R0ItbW9kZWxzKQo+Pgo+PiBLbGF1cwo+Pgo+Pj4gQW0gMDQuMDku MjAyMCB1bSAxOTozMyBzY2hyaWViIE1hcmsgTWlsbGFyZCB2aWEgZnJlZWJzZC1hcm0gPGZyZWVi c2QtYXJtQGZyZWVic2Qub3JnPjoKPj4+Pgo+Pj4KPj4+IEhhcyB0aGUgbWlzaGFuZGxpbmcgb2Yg dGhlIERNQSBiZWVuIGZpeGVkPyBJJ20gc3RpbGwgYmFjawo+Pj4gYXQgaGVhZCAtcjM2MzU5MCBh bmQgaXQgd2FzIG5vdCBmaXhlZCBhcyBvZiB0aGVuLiBJJ3ZlCj4+PiBoYWQgdG8gdXNlIHRoZSAz MDcyIE1pQiBsaW1pdCBpbiB0aGUgdWVmaS9BQ1BJIHNlbGVjdGlvbnMKPj4+IGluIG9yZGVyIHRv IGhhdmUgYSByZWxpYWJsZSBlbnZpcm9ubWVudC4KPj4+Cj4+Cj4KPiA9PT0KPiBNYXJrIE1pbGxh cmQKPiBtYXJrbG1pIGF0IHlhaG9vLmNvbQo+ICggZHNsLW9ubHkubmV0IHdlbnQKPiBhd2F5IGlu IGVhcmx5IDIwMTgtTWFyKQo+Cj4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX18KPiBmcmVlYnNkLWFybUBmcmVlYnNkLm9yZyBtYWlsaW5nIGxpc3QKPiBodHRw czovL2xpc3RzLmZyZWVic2Qub3JnL21haWxtYW4vbGlzdGluZm8vZnJlZWJzZC1hcm0KPiBUbyB1 bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1hcm0tdW5zdWJzY3JpYmVAZnJl ZWJzZC5vcmci From owner-freebsd-arm@freebsd.org Sat Sep 5 10:53:41 2020 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 DCD7F3C8545 for ; Sat, 5 Sep 2020 10:53:41 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 4BkBH90ShQz4LYG for ; Sat, 5 Sep 2020 10:53:40 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 67B6E5C00A8 for ; Sat, 5 Sep 2020 06:53:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 05 Sep 2020 06:53:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=YmO3S/8k1EidCinhUlybNUhwP8h rxb9MLp4OvwYD/D4=; b=cGWevxJUnW7Uv7PcgM2rCd/A8hcs0UEldPojtV//buD Saek7pTruK1p6UAJomuT36xW+WYBKl6VNEmCVVuoXLOqV87MqIS2AMAYc+pGm2qM nGogTWhcIcPHixMFEceWhCasNXTF0o0Vx+5F17228AXLamvdIfYWS4FyeOsJj5iD Ps5/PVh5Bvg/dI+SP8lioAANX6pZ721RrQDotAIWOLHkrumUTlXXSvXV5DN2VNai HGyJcCLLgWu7InZCBsQc9LFB4rvkQaxBpr17rCRY03nAZNecz5WcMdeDkODbLfKg xjxjhKDTDkOBZ9p1PBkdC61C9bwUzwi0Pl3eyOh6O3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=YmO3S/ 8k1EidCinhUlybNUhwP8hrxb9MLp4OvwYD/D4=; b=EpbFdib6nsfKQ5n8b/GncQ ogJGyxpWtQ8JmgjtJaodiWRMpN8Y/+9nY2xGXX7TQD5iLgsbPWFvBqbjIRQ8Z6W7 km8VHzhED7eJtbjai+XtNi1pZSZmcz/hPkAecYJfeUxi5JTJp4w/Z0Q2ldP/45o3 gxfyvYVLNRWyzQDUzrmOM6utHXBZ5SP3fRQgNdrMsyGDbTn1P+wu7zpAOueV8ya8 48w+tyMPvILcgMzghLuKLGY2RzdNzLEPFE7vCBS6jfR3bAs5rWCX+SMyFRj7OrK1 TYE0LnzPbkIPeFpujvkbDvaxO6We6P53Xfyk+QE053VO2aTKSLgzSACtKDKY7qWQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeghedgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpedtheeigfdvudefkeekvddtfedvte dttdekuddvgeevlefftdekffdujedvhfduteenucfkphepkedvrdejtddrledurdelleen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthh dqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 974973280059 for ; Sat, 5 Sep 2020 06:53:38 -0400 (EDT) Date: Sat, 5 Sep 2020 11:53:09 +0100 From: tech-lists To: freebsd-arm@freebsd.org Subject: Re: rpi4 / will zfs work? Message-ID: <20200905105309.GF80905@bastion.zyxst.net> Mail-Followup-To: freebsd-arm@freebsd.org References: <20200904234219.GE80905@bastion.zyxst.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0hHDr/TIsw4o3iPK" Content-Disposition: inline In-Reply-To: <20200904234219.GE80905@bastion.zyxst.net> X-Rspamd-Queue-Id: 4BkBH90ShQz4LYG X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=cGWevxJU; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=EpbFdib6; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.27 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-4.63 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-1.03)[-1.029]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.27:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.987]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.92)[-0.918]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 10:53:41 -0000 --0hHDr/TIsw4o3iPK Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 05, 2020 at 12:41:52AM +0100, tech-lists wrote: >should it work? it's there now, after building and booting GENERIC, just need to test: freebsd@rpi4:~ % kldstat Id Refs Address Size Name 1 27 0xffff000000000000 117d148 kernel 2 1 0xffff000070400000 40f000 zfs.ko 3 1 0xffff00007080f000 26000 cryptodev.ko 4 1 0xffff000070835000 24000 uhid.ko 5 1 0xffff000070859000 26000 ums.ko 6 1 0xffff00007087f000 22000 pflog.ko 7 1 0xffff0000708a1000 5a000 pf.ko 8 1 0xffff0000708fb000 22000 mac_ntpd.ko >next step is to make a nodebug kernel nodebug failed like this, at the buildkernel KERNCONF=3DGENERIC-NODEBUG: --- machine --- machine -> /ext/src/sys/arm64/include --- opt_inet.h --- ln -sf /ext/obj/ext/src/arm64.aarch64/sys/GENERIC-NODEBUG/opt_inet.h opt_inet.h --- opt_bwi.h --- ln -sf /ext/obj/ext/src/arm64.aarch64/sys/GENERIC-NODEBUG/opt_bwi.h opt_bwi= =2Eh --- kernel.bin --- ld: error: md_intel.o: section header table goes past the end of the file: e_shoff =3D 0x2be28 --- modules-all --- --- opt_wlan.h --- ln -sf /ext/obj/ext/src/arm64.aarch64/sys/GENERIC-NODEBUG/opt_wlan.h opt_wlan.h --- device_if.h --- awk -f /ext/src/sys/tools/makeobjops.awk /ext/src/sys/kern/device_if.m -h --- kernel.bin --- *** [kernel.bin] Error code 1 make[2]: stopped in /ext/obj/ext/src/arm64.aarch64/sys/GENERIC-NODEBUG --- modules-all --- --- all_subdir_bnxt --- ctfconvert -L VERSION -g bnxt_txrx.o --- all_subdir_bhnd --- *** [modules-all] Error code 2 make[2]: stopped in /ext/obj/ext/src/arm64.aarch64/sys/GENERIC-NODEBUG 2 errors make[2]: stopped in /ext/obj/ext/src/arm64.aarch64/sys/GENERIC-NODEBUG root@rpi4:/usr/src# /usr/src is at r365355 /ext is the attached usb3 hard drive /usr/src is symlinked to /ext/src --=20 J. --0hHDr/TIsw4o3iPK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9TbiYACgkQs8o7QhFz NAWGUg/8CpzqQG8+nlQlYjpzuSEVVHXJQ9Y4jHiW+/AjOS1BQcdvX2nPfhRHboZF Yj1zqm6gqBJCb719YE3QycQd/01GD5YLSQyGslWtY72LoviEeyBZrDjGHLvHp1Wl buSFskrEXW+Hqwt0+z6cnA9EGZFtj4kO4eFClxAQqzcnOJnGfpexReRzjLz14IZp vfCoOVhGLrQZkJ12bu0x8VRhlaIq8PtOAqVCCZJF1+w7a2kL9X1ZgWAcPYdhog5Y kzKVQKm6XXIZoTyu80z3NYSsWvowwQATjLAOqYdVSc8kut3IuCHeGIqrzyp/Xlcx 14t4oB0qI6zvpFxnI40MgEcQZONXYoyowVgHvzS9plWSgSw0NMPOPorM8NluoYGx JNYxLz9IgaWWfp3jU4y64bn8o7lnSLe6aFxgxRv2TVEY6bglj5qGmd6yGWHhxMgz sC5FRgYCU7aEqDo/8FY7i9PCsKRjyu6mUgKzdPnqOCXxwf3If86lOOXmdQrAesGR /L+P57q/B7+RTN0BohH8kC3FbBybZrakDJ2VIF0Go3ew+Ho98aF+HT40+gQgZ44A SkoR2P8kcSMHi+xcC2hhdI92C5buhDaDyWIshv6qR38OW6T6Xghx32VKB8wnY4lv +3OUZG0Q3wUfOb7cW6W0MbnqJOQhRcYnE6T2v8bzwF3JPuqdRcs= =leLT -----END PGP SIGNATURE----- --0hHDr/TIsw4o3iPK-- From owner-freebsd-arm@freebsd.org Sat Sep 5 12:15:45 2020 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 1E33C3CB08B for ; Sat, 5 Sep 2020 12:15:45 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BkD5r2QlGz4PwX for ; Sat, 5 Sep 2020 12:15:43 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 847A18D4A21A; Sat, 5 Sep 2020 12:15:36 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 0B49BE707B3; Sat, 5 Sep 2020 12:15:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id iMI_9TtcY5J1; Sat, 5 Sep 2020 12:15:34 +0000 (UTC) Received: from [127.0.0.1] (unknown [IPv6:fde9:577b:c1a9:4902:f0a0:4844:b815:25aa]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 7097FE707AF; Sat, 5 Sep 2020 12:15:34 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Klaus Cucinauomo" Cc: "Stefan Parvu" , freebsd-arm@freebsd.org Subject: Re: onboard wireless on rpi4 Date: Sat, 05 Sep 2020 12:15:33 +0000 X-Mailer: MailMate (2.0BETAr6151) Message-ID: <09959D86-E3E3-43E9-8134-C2FC73343DBA@lists.zabbadoz.net> In-Reply-To: References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <1677459627.55.1599232125847@localhost> <75E08DC2-D229-45AA-85AE-CCF06FD0B490@kronometrix.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BkD5r2QlGz4PwX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-3.16 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zabbadoz.net]; NEURAL_HAM_LONG(-0.97)[-0.972]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.85)[-0.846]; NEURAL_HAM_MEDIUM(-1.04)[-1.043]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 12:15:45 -0000 On 4 Sep 2020, at 17:35, Klaus Cucinauomo via freebsd-arm wrote: > Yep, my question if really no one else is working on it, was directed > to Björn ;-), > because I don’t want to work on a completely different > implementation, > if Björn is perhaps a few steps further. SDIO attach worked last year; WiFi (cfg80211) wasn’t finished. And I am not tired of hearing people ask for it. You have all the right to do so. I recently got a PCIe card (different bus attachment) but it should help to move forward on the WiFi parts as well. Yes, it is a free time project at the moment but it also benefits from other ongoing WiFi work. Two things which may help for the RPi/SDIO parts are: - please try and use MMCCAM kernels and help, test, debug, report, .. all the things you find so (other people) can jump in as well so we can switch that on as default. Without that, no SDIO. - in case you are not only into RPi, the nanopi/rk33xx platforms with onboard SDIO WiFi need tiny little glue bits to turn the bits on; would be great if someone could just do that. Bjoern From owner-freebsd-arm@freebsd.org Sat Sep 5 14:41:00 2020 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 B22BA3CDADC for ; Sat, 5 Sep 2020 14:41:00 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BkHKS0d4Wz4WR9 for ; Sat, 5 Sep 2020 14:40:59 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x342.google.com with SMTP id z9so9339942wmk.1 for ; Sat, 05 Sep 2020 07:40:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=dfLOwhZseqsKxnccnPy32qNugFbiceEXWR6zlW4Jn+I=; b=trInm69FsGAalDe9NMCjI9IZGsyZEo346tYBByqI3re6pbHTenRtrA1GnHSS1NuH2i Lt4l/+82E2Hx+oi2DJUdUomcaqcM8nOy0S9k6LRQIOzLNFiSQPmXBkNGSvM857ylSj2J V4gdhaloBnc+w5yVH3xHkQgMoS0NAleNV3dHbZ9bMsn/53i3oICXWP9Zcvuo8vKEScyN sqDygJPCiP5oRMx7TIRri2zHuSeqYWPhVLlXu+FPFxe2TUcE/PqP5hO2XyBdQxdE5wpy IVwYN/rmYBn4zy4mpxgcggf3SsDtrQZZn25go0LTa4PBxjd3lZRyIJCGQAdI7hVJIbb7 xFNQ== X-Gm-Message-State: AOAM530tXTfGwBkrtusltB9YgK3zdmLQXaNO+EnvTx5IlgtGAqbHNPNW jk2w3SuEvlJEhplX77ugLsA= X-Google-Smtp-Source: ABdhPJy/szuyeIQina+IXrAiGaaBkOewOh101DAQ3kgtnUsEmRZTUoXAiPhjLgZ2WRuSvqSSb2wpSw== X-Received: by 2002:a1c:f70a:: with SMTP id v10mr12430281wmh.39.1599316858649; Sat, 05 Sep 2020 07:40:58 -0700 (PDT) Received: from localhost.localdomain ([46.114.105.234]) by smtp.googlemail.com with ESMTPSA id c18sm19988774wrx.63.2020.09.05.07.40.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Sep 2020 07:40:58 -0700 (PDT) From: Klaus Cucinauomo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3.2.26\)) Subject: Re: onboard wireless on rpi4 Date: Sat, 5 Sep 2020 16:40:53 +0200 References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <20200904142255.GC80905@bastion.zyxst.net> <5AF83D16-2432-4EA9-BC2F-373DA8BC3360@googlemail.com> <4306A90D-97B9-4DE9-A05A-A91B6F4A587F@yahoo.com> To: Robert Crowston , myfreeweb , Hans Petter Selasky , Mark Millard , freebsd-arm@freebsd.org In-Reply-To: Message-Id: <3A935200-8545-4A86-80D5-3E0DEA156F56@googlemail.com> X-Mailer: Apple Mail (2.3654.0.3.2.26) X-Rspamd-Queue-Id: 4BkHKS0d4Wz4WR9 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.91 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.35)[-1.348]; FREEMAIL_TO(0.00)[protonmail.com,unrelenting.technology,selasky.org,yahoo.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.07)[-1.069]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.105.234:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.992]; 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)[2a00:1450:4864:20::342:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 14:41:00 -0000 > Did someone tell me this is *not* a problem at all on NetBSD/OpenBSD? while I have to update my knowledge of what happened the last weeks @ = fbsd/netbsd/openbsd src(I didn=E2=80=99t work on it for some weeks)=E2=80=A6= For OpenBSD that was probably me, for NetBSD must have been Mark... both NetBSD and OpenBSD do NOT have an exclusive pcie-driver for the = DeviceTree mode like Fbsd has , thanks to you. You remember the discussion with HPS and myfreeweb... : https://github.com/pftf/RPi4/issues?page=3D2&q=3Dis%3Aissue+is%3Aclosed so for PCIe/fdt it=E2=80=99s an exclusive thing for you (and in terms of = inheritance HPS, as far as I remember) > I can submit the patch I have but it=E2=80=99s not a 100% fix. Of course, please submit if you have something newer than already exists = in Phabricator : I=E2=80=99m sure that Mark(Millard) is already sharpening his knife to = give you test-feedback from his large-file tests;-)=20 And yes, your last dma-fix significantly reduced the problem of = unexpected controller resets, but according to Mark not the=20 large file-copy-handling(I didn=E2=80=99t test that issues). thank you, kls > Am 05.09.2020 um 10:59 schrieb Robert Crowston = : >=20 > Regrettably the DMA problem is not fixed. After fixing the bus tag to = correctly represent the DMA limit of the device, it reduced the problem = incidence a lot but sometimes it still happens when the controller is = under load. I think to do with the inbound/outbound memory view on the = controller, i.e. maybe there is crosstalk between inbound and outbound = DMA? I can submit the patch I have but it=E2=80=99s not a 100% fix. >=20 > Did someone tell me this is *not* a problem at all on NetBSD/OpenBSD? >=20 > =E2=80=94 RHC. >=20 From owner-freebsd-arm@freebsd.org Sat Sep 5 15:05:02 2020 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 E90873CE3A4 for ; Sat, 5 Sep 2020 15:05:02 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BkHs96zNGz4XD8 for ; Sat, 5 Sep 2020 15:05:01 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x42d.google.com with SMTP id k15so10259633wrn.10 for ; Sat, 05 Sep 2020 08:05:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=WvUPriOy+7wJBOgLNunjubTHrI4c2St5lInFoupT4S8=; b=G4jH/W2yWfazWtvFSJ6bR4Eo/7IZyy61kObcfpg0Sb3K3qGGNgZ+ynbg3Zf6mvjOwW AUMf7xzZaDZXZGu0MnPQbgXCSkXfZ7PDBwdr1hl/eH6YW1s92TP/GUeza53SXbVPxPnM /sFrUdwZ8fEMUYYm5uhGUPWQ6n9q+2HeKL2fHgZw5LucdBW37BILNAlZOd8G+6ZalAcL cy9h7RaqirRpVHMqkla56Mamo8KuheSgsmzsjE3ZcEZB/0fNqlcf1dnc7CrrYCSO+U7m u/sZPV37f+YCcguPchZdFIGRIIJ+HrwVu+7JD1M39mUl+yIX9ndv6e09Ou2cDJQzJ5cI Oi/A== X-Gm-Message-State: AOAM531cgy9RCZGgX5S9zORhriy3v8pnJ5VOZslpNNHHtsjk8qeTGyn5 LAM8m4APmSHucxlUWLqYwek32WKIirE= X-Google-Smtp-Source: ABdhPJwg4tNzuSDQ2jfZxzoz4bxSe/UoSlIYfk6GhZ7cEXZgj5ba4Jr+16vqxhXPNj50l+1u8hPkrQ== X-Received: by 2002:adf:cc8c:: with SMTP id p12mr13273409wrj.92.1599318299610; Sat, 05 Sep 2020 08:04:59 -0700 (PDT) Received: from localhost.localdomain ([46.114.105.234]) by smtp.googlemail.com with ESMTPSA id o6sm16935023wrm.76.2020.09.05.08.04.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Sep 2020 08:04:59 -0700 (PDT) From: Klaus Cucinauomo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3.2.26\)) Subject: Re: onboard wireless on rpi4 Date: Sat, 5 Sep 2020 17:04:56 +0200 References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <1677459627.55.1599232125847@localhost> <75E08DC2-D229-45AA-85AE-CCF06FD0B490@kronometrix.org> <09959D86-E3E3-43E9-8134-C2FC73343DBA@lists.zabbadoz.net> To: "Bjoern A. Zeeb" , freebsd-arm@freebsd.org In-Reply-To: <09959D86-E3E3-43E9-8134-C2FC73343DBA@lists.zabbadoz.net> Message-Id: X-Mailer: Apple Mail (2.3654.0.3.2.26) X-Rspamd-Queue-Id: 4BkHs96zNGz4XD8 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.42)[-1.424]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.105.234:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.07)[-1.075]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; NEURAL_HAM_LONG(-0.98)[-0.985]; 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)[2a00:1450:4864:20::42d:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 15:05:03 -0000 Hi Bj=C3=B6rn, thanks that you=E2=80=99re still willing to invest work in aarch64 wifi. > SDIO attach worked last year;=20 Ive tested that on RPI(4) extensively (of course with MMCCAM), but as you already know(I assume), a brcmfmac-driver needs a loader = mechanism for=20 the proprietary firmware -files and a mechanism to translate the = nvram-file. Nvram-translation can be done via an external program or can be built in = into the driver. So I really wonder how you got a brcmfmac- chip to work=20 without implementing those special drivers(and mechanisms) ???????? =E2=80=A6 I speak German like you :-) so maybe I understood you wrong = in the English language, sorry in advance .. > - in case you are not only into RPi, the nanopi/rk33xx platforms with = onboard SDIO WiFi need tiny little glue bits to turn the bits on; would = be great if someone could just do that. The list of platforms which will load the firmware/nvram could be much = longer than rpi/nanopi and as mentioned=20 in my earlier post it`s possible that 2 versions of the same board have = to load different firmware-files ( that was the case for nanopi , as far as I remember,(I didn=E2=80=99t = work much on aarch64 the last weeks)=E2=80=A6 So long Blabla of details :-) =E2=80=A6 what I really wanted to know/ask = you: ??? Are you working on the brcmfmac-driver AND the = firmware-loading-mechanism??? ??.. or are you doing things far more extended&advenced than my skills = and knowledge of this topic:-) ??? Thanks and best Regards Klaus =20 > Am 05.09.2020 um 14:15 schrieb Bjoern A. Zeeb = : >=20 > On 4 Sep 2020, at 17:35, Klaus Cucinauomo via freebsd-arm wrote: >=20 >> Yep, my question if really no one else is working on it, was directed = to Bj=C3=B6rn ;-), >> because I don=E2=80=99t want to work on a completely different = implementation, >> if Bj=C3=B6rn is perhaps a few steps further. >=20 > SDIO attach worked last year; WiFi (cfg80211) wasn=E2=80=99t = finished. And I am not tired of hearing people ask for it. You have = all the right to do so. >=20 > I recently got a PCIe card (different bus attachment) but it should = help to move forward on the WiFi parts as well. Yes, it is a free time = project at the moment but it also benefits from other ongoing WiFi work. >=20 >=20 > Two things which may help for the RPi/SDIO parts are: >=20 > - please try and use MMCCAM kernels and help, test, debug, report, .. = all the things you find so (other people) can jump in as well so we can = switch that on as default. Without that, no SDIO. >=20 > - in case you are not only into RPi, the nanopi/rk33xx platforms with = onboard SDIO WiFi need tiny little glue bits to turn the bits on; would = be great if someone could just do that. >=20 >=20 > Bjoern From owner-freebsd-arm@freebsd.org Sat Sep 5 16:21:28 2020 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 E63C33CFD4C for ; Sat, 5 Sep 2020 16:21:28 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BkKYL5bbCz4bS4 for ; Sat, 5 Sep 2020 16:21:26 +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 085GLWME079422 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 5 Sep 2020 09:21:33 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id 085GLWZE079421; Sat, 5 Sep 2020 09:21:32 -0700 (PDT) (envelope-from fbsd) Date: Sat, 5 Sep 2020 09:21:30 -0700 From: bob prohaska To: Warner Losh Cc: Goran Meki?? , freebsd-arm@freebsd.org Subject: Re: Plans for git (was: Please check the current beta git conversions) Message-ID: <20200905162130.GB75829@www.zefox.net> References: <20200902045939.GA15897@eureka.lemis.com> <20200902060117.GG53210@home.opsec.eu> <20200902063136.GA47543@troutmask.apl.washington.edu> <20200902164706.GA49777@troutmask.apl.washington.edu> <20200902170812.rljhpkimyesaqn2x@tilda.center> <20200905044849.GA75829@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4BkKYL5bbCz4bS4 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [0.08 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.91)[-0.912]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.03)[0.027]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.936]; R_SPF_NA(0.00)[no SPF record]; 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]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 16:21:29 -0000 On Fri, Sep 04, 2020 at 10:59:18PM -0600, Warner Losh wrote: > > I have this out for review. > > https://hackmd.io/hJgnfzd5TMK-VHgUzshA2g > Excellent. Clone is running now, into a private home directory. There was a little confusion about the "main" vs "master" branch naming. "Master" seems to work, I expected "main" to be the correct term. Sze estimates for deep and shallow clones might be helpful for small-system users, perhaps with a comparison to svnlite behavior. Has it become possible to build as a regular user, saving root for installation only? Thank you! bob prohaska From owner-freebsd-arm@freebsd.org Sat Sep 5 16:44:57 2020 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 DE90D3D08F2 for ; Sat, 5 Sep 2020 16:44:57 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BkL4S6w1vz4dG2 for ; Sat, 5 Sep 2020 16:44:56 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x430.google.com with SMTP id m6so10492306wrn.0 for ; Sat, 05 Sep 2020 09:44:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=6xb7YgJekhjtbAVwPhcmWaAyuidauWB1iEZFa5e+ztI=; b=OXRHnyJNY0eDWElQ60RVdX4Lr5/8P8BFNed/kWQPJPRMvLYbiYIlX390nXZFxJicMo I+H2n5iawg5+U2562fwpukf7Jh3Q/j6K8RFD5AljatfLTmimnucsNEn+PN8WCLrZ20+F k4NO8SEHKFxe/iwnfYX76ql3Ms51kiWq6QyOP8gTYbVEENmw4q3AHpn6iNmLu442bFJJ sEjgCUAD3fVP+mBINg9ObZP7pF7XH0RYwx0Nrq0aj7T1N2lkcaHbff8Njr2QkGLnOUL0 mXqdg56LbOvd+Y5R9shgv1Lo5lEr9YHu97ojL9cz8wODMzlKCkxPKGMa57NtLPMIM/Mf 3c+w== X-Gm-Message-State: AOAM531Efhnr8N0Kbja0NeXXcmhxGupYo326EP2uvZXEKnlx0ayiAPJB X4brnKQJU4/OEifEIZJrV7Q= X-Google-Smtp-Source: ABdhPJwr11RAIFlMNDLQKXAI96596+5XRh5149UMHdnCKHYYYnGiNribAiXyvu12e/uYT95Moo2Grw== X-Received: by 2002:adf:f70d:: with SMTP id r13mr13304047wrp.317.1599324294867; Sat, 05 Sep 2020 09:44:54 -0700 (PDT) Received: from localhost.localdomain ([46.114.105.234]) by smtp.googlemail.com with ESMTPSA id h5sm26693459wrc.45.2020.09.05.09.44.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Sep 2020 09:44:54 -0700 (PDT) From: Klaus Cucinauomo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3.2.26\)) Subject: Re: Plans for git (was: Please check the current beta git conversions) Date: Sat, 5 Sep 2020 18:44:52 +0200 References: <20200902045939.GA15897@eureka.lemis.com> <20200902060117.GG53210@home.opsec.eu> <20200902063136.GA47543@troutmask.apl.washington.edu> <20200902164706.GA49777@troutmask.apl.washington.edu> <20200902170812.rljhpkimyesaqn2x@tilda.center> <20200905044849.GA75829@www.zefox.net> To: bob prohaska , Mark Millard , Warner Losh , freebsd-arm@freebsd.org In-Reply-To: <20200905044849.GA75829@www.zefox.net> Message-Id: <3FF6F999-8797-4C39-B93F-B2ED7E4C004C@googlemail.com> X-Mailer: Apple Mail (2.3654.0.3.2.26) X-Rspamd-Queue-Id: 4BkL4S6w1vz4dG2 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.46 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.90)[-0.898]; FREEMAIL_TO(0.00)[www.zefox.net,yahoo.com,bsdimp.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.07)[-1.069]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.105.234:received]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-0.99)[-0.993]; 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)[2a00:1450:4864:20::430:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 16:44:57 -0000 >=20 > Am 05.09.2020 um 06:48 schrieb bob prohaska : >=20 > =E2=80=A6. > If anybody can offer an amateur=E2=80=99s tutorial it would be > most helpful. =E2=80=A6. .. > Thanks for reading, >=20 > bob prohaska Hi Bob, Here`s a starting point as an =E2=80=9Eamateur"-tutorial for you: Open a Web-Browser , Login into your git-account Search the freebsd-git mirror(it=E2=80=99s read only for the public) in = the search field in the upper left corner.(all GitHub) Click on it Than click FORK on the right side . Now you have your own copy where you can change the sources if needed=20 (e.g. directly in the Web-browser). That is the repo you will clone onto your target machines as mentioned = in Warner`s prepared tutorial : git clone -b (while b is the branch, let=E2=80=99s say normally it is : = master), without the -b flag you would=20 Copy all branches(you don=E2=80=99t need them all) If you make changes in the sources: git pull / git push For later(advanced): If you reach the "merge - conflict - area=E2=80=9C you can do a : git = reset hard (to commit number) You can set the original Fbsd-repo git repo as the remote , while your = local copy is mostly called : origin ...git remote add =E2=80=A6 (useful if you want to synchronize your = local copy with updated src) Writing patches which can go to Phabricator I guess is not your = intention for now. For Desktops there is a git desktop version, which I use sometimes to = revert single-patches and synchronize upgraded sources from local to = remote , otherwise I find that Desktop-tool quite useless :-) Unknown for me if Fbsd will accept PRs(PullRequests) from the public in = the near future=E2=80=A6 The =E2=80=9Eissues=E2=80=9C - tab is for discussing bugs.. So for the beginning: just click Fork and clone the master-brach of YOUR = Fbsd-copy onto your target machine.. This is written in 3 minutes out of my head, a bit chaotic :-) and = misses details( the web is full of tutorials, some good and some useless = ;-).. Regards Kls From owner-freebsd-arm@freebsd.org Sat Sep 5 16:55:23 2020 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 E4A3F3D1083 for ; Sat, 5 Sep 2020 16:55:23 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BkLJW1j6Sz4dgl for ; Sat, 5 Sep 2020 16:55:22 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x434.google.com with SMTP id o5so10429765wrn.13 for ; Sat, 05 Sep 2020 09:55:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=c1o2gNxbz7wzWMq9Zx4gtBX5qUVDv78WXV21CGvZg7Q=; b=GwstGNINqXEDQayVjbiDPMSWhtIhtxeCB+Ng8dM/dPMh98i5NWl/7siDP4SwAjeHG4 hMZUVLzSLSVdhh/EMF73cY+byRCPrqbq2/QfqAe8JdQE/vkMN2sa2xMCWEi7gPMOQvba peQrPnsJfxmj8UHVa+cnqg7eC/Lt6BK2AFBL6hpuo+fuYTsTuNkNbhYdFBMl4ga6KHmi mzwHqRQcZzZ381HVh2/JlAhSQz3fud+zTrz7Z4+/1z5cR2frNEd3g5rQY2uG48G4eUGn J6sZ0Y2SOyzEuvslTstOtawPEZGrqLsN4nIJxOKZpG2MdvpdZsGogz7JSfmtm2SEUAs4 k5Gw== X-Gm-Message-State: AOAM532U2W2eU/+Hmogm0F2URnzoXlL9RU7sMJaGCMzMPlLtD16dURNw bAzdpUKcMDdJGjzN1yqN7NE= X-Google-Smtp-Source: ABdhPJzLZU7EzkDeEKlzKYboU/bqohZjTjWj4641KBQ4L5ImZ1wR4torgL5pv4Pazvmgcq8Q8/l6Fw== X-Received: by 2002:adf:8342:: with SMTP id 60mr14318940wrd.158.1599324921488; Sat, 05 Sep 2020 09:55:21 -0700 (PDT) Received: from localhost.localdomain ([46.114.105.234]) by smtp.googlemail.com with ESMTPSA id s17sm19321134wrr.40.2020.09.05.09.55.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Sep 2020 09:55:21 -0700 (PDT) From: Klaus Cucinauomo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3.2.26\)) Subject: Re: Plans for git (was: Please check the current beta git conversions) Date: Sat, 5 Sep 2020 18:55:19 +0200 References: <20200902045939.GA15897@eureka.lemis.com> <20200902060117.GG53210@home.opsec.eu> <20200902063136.GA47543@troutmask.apl.washington.edu> <20200902164706.GA49777@troutmask.apl.washington.edu> <20200902170812.rljhpkimyesaqn2x@tilda.center> <20200905044849.GA75829@www.zefox.net> <20200905162130.GB75829@www.zefox.net> To: bob prohaska , freebsd-arm@freebsd.org In-Reply-To: <20200905162130.GB75829@www.zefox.net> Message-Id: <23372EF2-44BA-4845-A6BB-4E54DF0577B3@googlemail.com> X-Mailer: Apple Mail (2.3654.0.3.2.26) X-Rspamd-Queue-Id: 4BkLJW1j6Sz4dgl X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.38 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.81)[-0.814]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.105.234:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.07)[-1.074]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; NEURAL_HAM_LONG(-0.99)[-0.990]; 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)[2a00:1450:4864:20::434:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 16:55:24 -0000 Ah, I wrote the same moment as you :-) =E2=80=A6 You are always =E2=80=9Eroot=E2=80=9C on your own copy of the = Fbsd-master-branch =E2=80=9Emaster=E2=80=9C is a predefined term of GitHub, means that is = the branch=20 you see in svn as the current -branch.. other branches are mostly = =E2=80=9Etest branches=E2=80=9C, user- beta builds or something like = that. > Am 05.09.2020 um 18:21 schrieb bob prohaska : >=20 >=20 > Has it become possible to build as a regular user, saving root for > installation only? >=20 > Thank you! >=20 > bob prohaska >=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 Sat Sep 5 16:57:41 2020 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 75AE03D0BCC for ; Sat, 5 Sep 2020 16:57:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BkLM82mdCz4dwF for ; Sat, 5 Sep 2020 16:57:40 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qv1-xf35.google.com with SMTP id di5so4598817qvb.13 for ; Sat, 05 Sep 2020 09:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2dr+w0ZGtcPDH8QqHp1jkM7OSiD+d4GSLuNcKQJkKsU=; b=qi3rbOzVBItSPHQhs/9UbRUeyoZzuXHk+W+VIYHstA0oMtYM84/oiOH10VTR6AXqqv ID5r0D2rVdniXtcYZFtDG92Mg2Q35PYFXaZF90alIjpqT5fttCpg0EifPZzeKvdRiWwN vRzfTS1sQ1UwLzx05XkoKdutr9gfV8euxjxka5rF4M0VIdke+h1vIx1C5uE28Oweksnx E6t9+QPtdtmF8cCSv6m78Sm1QBDdfqz7okWVTIeOFQ2g3lqrgdrw+75ntWK2ePyGzPYC HiZZb5OqWAt5XyTmM0WjYTF4Or6PIiQ8p/3a0laxU9gymD6QzaefdnkvMq4c2WVEPWug nynw== 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=2dr+w0ZGtcPDH8QqHp1jkM7OSiD+d4GSLuNcKQJkKsU=; b=moyto8w9CjVbrmLGSkoK9IvAoLirNLiIKn2wvypcW3eCbeS8ie+8hrgkvRt2w7LJlv vvTo9MQe+1Bsg3GMHM0EGWT3ulL4MyhTjOab8aC8bgxjnQi16XxKP8xMlfJwHJMXetFj RdWBFftomJ/vPxhuIjkqXTO55u1EQm6KZB88eGFZWwqo039b3heFV7asLJtaFYDZF1xX Uhu+mItynDvBDT2GBiO93s09azzyVn1+oDoSIhO2T/0q7qW3pYXUSAFX61R31DosXzz4 EpiqlS+UnTcXCL+LbL6kLn+kH1aeW2we+DPstP3Gpl4Zuq6M7RnfepAMlpdLJCvgWQWa pX1g== X-Gm-Message-State: AOAM531/tl+vX9bQS7xzUhtCw0nkV8QXRwFxNop4ukpLfqhcNgambPl8 vULxbeJwk/7cTB/7iXr8JgOKrdAr9Sl2XJMdlr1XneVU5CU+SA== X-Google-Smtp-Source: ABdhPJyqMc1yACwujqOo5fuCGkufjUdrKTF2GFLRtv9mdzSib+u10VDN+Luw2nQRxJIybWppw98FV2AUnLOJ3T4UvWA= X-Received: by 2002:a05:6214:a4e:: with SMTP id ee14mr10923695qvb.175.1599325059069; Sat, 05 Sep 2020 09:57:39 -0700 (PDT) MIME-Version: 1.0 References: <20200902045939.GA15897@eureka.lemis.com> <20200902060117.GG53210@home.opsec.eu> <20200902063136.GA47543@troutmask.apl.washington.edu> <20200902164706.GA49777@troutmask.apl.washington.edu> <20200902170812.rljhpkimyesaqn2x@tilda.center> <20200905044849.GA75829@www.zefox.net> <20200905162130.GB75829@www.zefox.net> In-Reply-To: <20200905162130.GB75829@www.zefox.net> From: Warner Losh Date: Sat, 5 Sep 2020 10:57:28 -0600 Message-ID: Subject: Re: Plans for git (was: Please check the current beta git conversions) To: bob prohaska Cc: "Goran Meki??" , "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 4BkLM82mdCz4dwF X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=qi3rbOzV; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::f35) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-1.90 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.021]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; NEURAL_SPAM_SHORT(0.18)[0.181]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f35:from]; NEURAL_HAM_MEDIUM(-1.06)[-1.061]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 16:57:41 -0000 On Sat, Sep 5, 2020 at 10:21 AM bob prohaska wrote: > On Fri, Sep 04, 2020 at 10:59:18PM -0600, Warner Losh wrote: > > > > I have this out for review. > > > > https://hackmd.io/hJgnfzd5TMK-VHgUzshA2g > > > > Excellent. Clone is running now, into a private home directory. > There was a little confusion about the "main" vs "master" branch > naming. "Master" seems to work, I expected "main" to be the > correct term. > If you grabbed it from github, master is the right branch. The new cgit beta one is main. > Sze estimates for deep and shallow clones might be helpful for > small-system users, perhaps with a comparison to svnlite behavior. > IIRC, I saw 2.2GB for full and 1.6GB for shallow. Compared to 2G for svnlite. But that's my bad memory... > Has it become possible to build as a regular user, saving root for > installation only? > For quite some time now. Yes. Warner > Thank you! > > bob prohaska > > From owner-freebsd-arm@freebsd.org Sat Sep 5 18:12:53 2020 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 66E293D2509 for ; Sat, 5 Sep 2020 18:12:53 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 4BkN1v6fsQz3TgX for ; Sat, 5 Sep 2020 18:12:51 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D2FEA5C00DE for ; Sat, 5 Sep 2020 14:12:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 05 Sep 2020 14:12:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=UQLbcj6nft86+OYPXNO7ZQGxjU6 0xjoI2r/+86g1B5Y=; b=AuetVs/7A4L42lsEJc+KpUTXsEK40DfTok9ROYvBSMV 0I+0OJEmcQ72wPxNy6fXFHaW6wtzofqDYwKYjVj6wVx9LqdvPOfOTX7zNUepJra/ pt5lPYZhh7/8mSGw5Zro62aObOZPKy0SFXCNIXQINhr8OT9XLU/wlMRbscx9NlEI RpLO0QNgB6x2pWJcIWj4IH3HQz8PJPz28venKNELxQvRCjCs4uSwFJsKfQqyT/y6 MgLLD+dnCvlf4ZLRTt9wXRvRZDoq9LOhtcbmNq73SqthDnf9s3cI2J4/FFA7b/r8 6teG7jkQPtbw5QzNkUwQmyyJmbGJumaMy1MkYky9SPA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=UQLbcj 6nft86+OYPXNO7ZQGxjU60xjoI2r/+86g1B5Y=; b=S2Xn+0wLRJFY5/6kXjPD4q V5Dc1jg6d6N2ScVn1SrG39YV5qEkiW123tG7zb3HLzWynI8NrOvKUhBjgIlMU4Ml yex2P9r7K6HIvEXhYP2yQx/GhJu1iKRlnB+Uv68Mo3Fx+4lTq1CtL0p+ec6SqtXO +NaYlo1Ue5wup8r4wKonr2G7K1oZhmZoafkrgVCyYyZxPGexky8KiaKtiRZoLGXz zzk64h6AnBp9WLwqq9kmuZbF9X+9IvZ0voiO6jdADYRZJlYC9x19pSF95x0UpK6t oPo75jaL6W9PM2MxjlkoJ0bZgkx7Bsxy4UJUQtOL4AfvBcYelDx2qqlC/YyuV96Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeghedguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtd erredttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshes iiihgihsthdrnhgvtheqnecuggftrfgrthhtvghrnheptdehiefgvddufeekkedvtdefvd ettddtkeduvdegveelffdtkeffudejvdfhudetnecukfhppeekvddrjedtrdeluddrleel necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthgvtg hhqdhlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 36FBD3280059 for ; Sat, 5 Sep 2020 14:12:50 -0400 (EDT) Date: Sat, 5 Sep 2020 19:12:20 +0100 From: tech-lists To: freebsd-arm@freebsd.org Subject: Re: onboard wireless on rpi4 Message-ID: <20200905181220.GG80905@bastion.zyxst.net> Mail-Followup-To: freebsd-arm@freebsd.org References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <1677459627.55.1599232125847@localhost> <75E08DC2-D229-45AA-85AE-CCF06FD0B490@kronometrix.org> <09959D86-E3E3-43E9-8134-C2FC73343DBA@lists.zabbadoz.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0qt3EE9wi45a2ZFX" Content-Disposition: inline In-Reply-To: <09959D86-E3E3-43E9-8134-C2FC73343DBA@lists.zabbadoz.net> X-Rspamd-Queue-Id: 4BkN1v6fsQz3TgX X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=AuetVs/7; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=S2Xn+0wL; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.26 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.61 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-1.04)[-1.039]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.26:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.26]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.981]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.89)[-0.886]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.26:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 18:12:53 -0000 --0qt3EE9wi45a2ZFX Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 05, 2020 at 12:15:06PM +0000, Bjoern A. Zeeb wrote: > >Two things which may help for the RPi/SDIO parts are: > >- please try and use MMCCAM kernels and help, test, debug, report, .. >all the things you find so (other people) can jump in as well so we can >switch that on as default. Without that, no SDIO. Sure, it'll be the next thing i build on rpi4 after it's finished portmaste= r. Will you need a dmesg posted somewhere? Have to admit i've never built MMCCAM kernel before for rpi 1,2b+ or 3b+. What's significant about it? thanks, --=20 J. --0qt3EE9wi45a2ZFX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9T1RUACgkQs8o7QhFz NAWfLxAAgj0GsUJMbkHCOxyioFNGIdea4qrIm/FkerKIthNjwVzwzu7t0CI7Zevm y+3bVTShocSE9O63gsKRfMSPVYSfGDd37zyCq7lR97Vn5TLjbkqkUeh92KF2iDqp PKwU1Mf3GJT8b0HnYoxYLr4fFO6XZaMvk/xK5o2cGLr4MnZKQFJ7pvMKkPkVZDLS Ftmu+4gty3vmkP2y4BeXM7F1hip9keeJx/UjmgmWjj3Os5onDb62d+BXA2OlcG+X IzBrb1IleKgKOh2U8mkV5ZTRWka1S5JBOwTldKOyGizn3Lq+mQAO2LIy5O3NpmZ9 Ph4Iy6zaRNKFpnVLNMaSPykM9IG8tR/gcGi3oWxNBrocPA1ApU6V+l7MOu272ZoE SQL9coWtgkKEscqZAb34D4w03hEirC/Iei+efwWeMbj6aWqXKM8HI5b6UZ54rMY/ 8dgr/69YG9gDQk9c5Lceu/LX8H6aphK2XUT2qyGvtGuDfxSey1T4DujrGFEkGcSS 1QToVGULNjVa6t9p4tnykofg5IavVnzAzZhQbzY6mkHuCRXvQpuG4aq30EnOuiPd zYgAVJKV0KX2uwzrpYOijy9hBUZ/hi3r2Cc8d6haR2swed+NDN3nzqX5v7Yjh5Jd AKxxPwagGqQ1g6HG7EJAi/8NcQU4hMOTBs/z1WDGLS5jsgVp/6s= =Epat -----END PGP SIGNATURE----- --0qt3EE9wi45a2ZFX-- From owner-freebsd-arm@freebsd.org Sat Sep 5 19:17:48 2020 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 744AE3D3A34 for ; Sat, 5 Sep 2020 19:17:48 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BkPSq4HN3z3X4y for ; Sat, 5 Sep 2020 19:17:47 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x343.google.com with SMTP id l9so9690320wme.3 for ; Sat, 05 Sep 2020 12:17:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=tmBIB3Qp520XOaVt8egBri2yC+ibrmk/8muU5G2KU7Y=; b=AlNW0yXvQi0B0leA75IKepbunI+tVvykgm+9CdiHo4vzPAqeMwYHoYmDZgXj7lFn0w 07r7aQEyOv1KriecM2q2HIOB74QwDzWeNXqLQsF/ECRhktwXaeDdNLgLKiS/5cIlcmcR tTWee2UNQjAIJpcvfvx6nyxTEqIQxzhePc8zLH9XIrXyV+hu4VRBKszbwScclLXfeKuY uxjkT8C2UNV1AcDon48Wr2Y78kTk+asIEKyt38R/Brkb4H9Dh8b7xiG8vx3LX6IEzDgH FVtUanVoYkjhIFaeOd3s8JxcN5hoN/8a6ZobTcLypQXiZHWg2I3e+AYMDK16F8x4Pk/c s9DA== X-Gm-Message-State: AOAM530RprgQ7QFcO47w0MzylWUrGKem6KiAhbLXKCnscSfL+wEezRwZ TRw3CDaTU/3xUSxKr3BXoMks/mehohE= X-Google-Smtp-Source: ABdhPJxCivzPu4c0VI+RLjwomDseXpm0Du89l4YMicDJqvvj4aN6/C+2WvrFXJfosjKLjjB6jW7rOQ== X-Received: by 2002:a1c:2e17:: with SMTP id u23mr14025571wmu.73.1599333465645; Sat, 05 Sep 2020 12:17:45 -0700 (PDT) Received: from localhost.localdomain ([46.114.105.234]) by smtp.googlemail.com with ESMTPSA id q6sm17910447wmq.19.2020.09.05.12.17.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Sep 2020 12:17:44 -0700 (PDT) From: Klaus Cucinauomo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3.2.26\)) Subject: Re: onboard wireless on rpi4 Date: Sat, 5 Sep 2020 21:17:43 +0200 References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <1677459627.55.1599232125847@localhost> <75E08DC2-D229-45AA-85AE-CCF06FD0B490@kronometrix.org> <09959D86-E3E3-43E9-8134-C2FC73343DBA@lists.zabbadoz.net> <20200905181220.GG80905@bastion.zyxst.net> To: tech-lists , freebsd-arm@freebsd.org In-Reply-To: <20200905181220.GG80905@bastion.zyxst.net> Message-Id: <9C0C5FEB-2620-49C2-8501-190237644884@googlemail.com> X-Mailer: Apple Mail (2.3654.0.3.2.26) X-Rspamd-Queue-Id: 4BkPSq4HN3z3X4y X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.38 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.82)[-0.822]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.105.234:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.08)[-1.075]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; NEURAL_HAM_LONG(-0.98)[-0.985]; 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)[2a00:1450:4864:20::343:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 19:17:48 -0000 > Am 05.09.2020 um 20:12 schrieb tech-lists : >=20 > ...Sure, it'll be the next thing i build ... > Have to admit i've never built MMCCAM kernel before for rpi 1,2b+ or = 3b+. > What's significant about it? >=20 > thanks, > --=20 > J. Thanks that you=E2=80=99re willing to step into tests ( a very important = thing to save the devs some (testing) time=20 And give feedback on boards/machines that devs don=E2=80=99t own)! `ll try to describe mmccam in simplest human understandable words : mmccam enables the output of : 'camcontrol devlist`=E2=80=A6.=20 what will (currently)return an empty tag on the second SDIO-IC on RPI , what means that there is something available on the SDIO-bus(the = Wifi-chip), which can=E2=80=99t be initialized because of a missing driver/firmware. The brcm-wifi-chip on the RPI4 is detected over the SDIO-bus( SD means = SD-card, IO means in/out). MMC means : MultiMediaCard. CAM means: Common Access Method, which is a SCSI-subsystem in Fbsd. So Bj=C3=B6rn talks to the Wifi-chip via the SD-Card-bus which is = 'detected'=20 over the SCSI-bus in his CAM-implementation. GENERIC-MMCCAM,as Bj=C3=B6rn told,( to say in hard but friendly words = :-) Ha Ha ),=20 isn=E2=80=99t enabled by default in GENERIC(-nodebug) because it = currently doesn=E2=80=99t do anything final=20 for production-mode (e.g. on the RPI). So the best thing which could happen is that my description is totally = outdated and wrong- and you would see fully working WIFI on your RPI :-), but don=E2=80=99t = expect that for now... Good luck, Regards kls From owner-freebsd-arm@freebsd.org Sat Sep 5 23:44:00 2020 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 2856E3DA36C for ; Sat, 5 Sep 2020 23:44:00 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 4BkWMz1Y8nz4BsR for ; Sat, 5 Sep 2020 23:43:58 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id F3E825C013F for ; Sat, 5 Sep 2020 19:43:43 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 05 Sep 2020 19:43:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=AWZd7vnw4pUSBRhhO6vSjLfvBYq 3wf9q5EXvvHvIuTQ=; b=dRuId2gR8hScVas4fzCbIlgnOg9yNLD46oukJOW73KF HRDVF5DLiYvzECWSZTxnbMeJa9Av2fUB/SOmyijuN4Ea6croKvcNiU+RoqmC3d/K ipbKGJYES/rjGTpnKYu/vWbQoHOG1s5NbjVt2vecxSqwmmvL4UAs69udc/i64ABx zaXbzcOlcRvjuzvvJxo+Z8CNoD6ClQJz5rKvmNiNkQkfpHcK2nz27aue5Es+c0Ff m2S1+gAElfc/g9l9QIzYy5agZvfVu0p+KVBAVxpcfEntfoFapYE1NZnF50k/kbQS sGds2gD6KE6hTfwtMPkRDhO+CvM+lEgGCZjrYPJwkeg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=AWZd7v nw4pUSBRhhO6vSjLfvBYq3wf9q5EXvvHvIuTQ=; b=Snky2PJkf8zo+TrpPDqtMm TaTmVoDOIoQZvmSHh8m1e1qXAg0afESW0+lRJbo5B051ambkEGQN1LLstEZ8mgoX O4Kq7jW64gRX+eMDbHW09etFIUkas3HWPlki2UolHx4aSnQXsFfKzpfS3w509szt OguM9bk2k1hJv7v5ARPC/dTcqQ/tH57jNIuqj/eu2Az8xpXBzvpjGLLtL33VjN5W t5b1/DX//T942vXdyf0e/0kkpB6S/fP0GWx2smKAbTp09wsQZ6md8q2peQvxKW67 RrzoIpwY2Euok9m3rAP/O+fB/zT184WYN0aE++bchI/JNTTPFcHPZxYpCb6/LDow == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudegiedgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpedtheeigfdvudefkeekvddtfedvte dttdekuddvgeevlefftdekffdujedvhfduteenucfkphepkedvrdejtddrledurdelleen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthh dqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 57A663063BAA for ; Sat, 5 Sep 2020 19:43:43 -0400 (EDT) Date: Sun, 6 Sep 2020 00:43:13 +0100 From: tech-lists To: freebsd-arm@freebsd.org Subject: Re: onboard wireless on rpi4 Message-ID: <20200905234313.GH80905@bastion.zyxst.net> Mail-Followup-To: freebsd-arm@freebsd.org References: <20200904134619.GB80905@bastion.zyxst.net> <69934262-D9D3-4986-849D-9E8221D1E387@kronometrix.org> <1677459627.55.1599232125847@localhost> <75E08DC2-D229-45AA-85AE-CCF06FD0B490@kronometrix.org> <09959D86-E3E3-43E9-8134-C2FC73343DBA@lists.zabbadoz.net> <20200905181220.GG80905@bastion.zyxst.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2oox5VnwalALFvA7" Content-Disposition: inline In-Reply-To: <20200905181220.GG80905@bastion.zyxst.net> X-Rspamd-Queue-Id: 4BkWMz1Y8nz4BsR X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=dRuId2gR; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=Snky2PJk; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.25 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-1.04)[-1.039]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.25:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.25]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.981]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.68)[-0.683]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.25:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2020 23:44:00 -0000 --2oox5VnwalALFvA7 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 05, 2020 at 07:11:53PM +0100, tech-lists wrote: >On Sat, Sep 05, 2020 at 12:15:06PM +0000, Bjoern A. Zeeb wrote: >> >>Two things which may help for the RPi/SDIO parts are: >> >>- please try and use MMCCAM kernels and help, test, debug, report, .. >>all the things you find so (other people) can jump in as well so we can >>switch that on as default. Without that, no SDIO. > >Sure, it'll be the next thing i build on rpi4 after it's finished portmast= er. >Will you need a dmesg posted somewhere? > >Have to admit i've never built MMCCAM kernel before for rpi 1,2b+ or 3b+. >What's significant about it? GENERIC-MMCCAM built and installed without error but breaks to ddb when the kernel tries to load [1] I can see it by attaching a screen to HDMI. I have= an=20 FTDI usb serial device converter (built into the serial cable) is there any= way=20 i can grab output from there? or is the output written somewhere on the car= d=20 where I can look at it? [1] in other words it passes the u-boot phase, gets past where it detects c= pu, then loads of errors zoom off the screen nd then ddb> prompt --=20 J. --2oox5VnwalALFvA7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9UIp8ACgkQs8o7QhFz NAW2eg/+P/P9HzuiEdqLzR6LexwLpR4SMcM+gy907Mr99hx5GWMWiZg9Uq6uTUzL D+mK4C0Mn7MPTvcatsTVyYT2rxqpBUnQOQyEhtE0n50JnAjdZqxwZhtHEl1Ik3nC B7qBEGBT7ccQ7PPExArCQJ8LeJZq9WHjHnQnJ9Mg3nmoD+A0WVRT07e5xcLZq611 7J7RYY1x0GtfjplIfTx5FpZ5jrUsCxh1M4QMwRHNN7RX73aZmDwO73JwvTbajCCl qCTqhlivVguSzUwVNvpivUgnzDzfrmVjr+QDUoJ0rJgdTW1h3hsp9WJDtoC/Y8n8 JkZtmAAIkONL6RpI6oxmR+7Q/Ydh05iX44CHw6iEKMRSVJYlkJoujERzKscn8QxA igUlpUFQaV7W17s56uxfhRuZPw9sfjgjMcr3hjzTUpXhxD4/aZGydQb6saCaW5ED p6dNZAv+wni5Yc/0XHnfZOt/tMVonMP1y/RL5Q+XferlNUheXj77jPkuRj3iRjrU bs34lF+FgtKRCEy2R64PDIcpQEreee/l5ZrnF08ZkXFI9vgh883YMKExUt4TSg5N Jcny1Kc5K/ggn+uDsREHPU0dpIxChujDKoVonQihdZVmLmZOzIx55rD8GzkkqnTz W7V+LishobjHL5oruQ0qK+b0zX/d0dRJoRRqH2ADon3ur//pxeo= =RkRC -----END PGP SIGNATURE----- --2oox5VnwalALFvA7--