From owner-freebsd-arm@freebsd.org Sat Mar 28 22:36:19 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 1ADD72691A9 for ; Sat, 28 Mar 2020 22:36:19 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48qYTz1q91z4V2q for ; Sat, 28 Mar 2020 22:36:06 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x434.google.com with SMTP id w10so16421678wrm.4 for ; Sat, 28 Mar 2020 15:36:06 -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=eF/1S7F6hqXNaOwgNtg78PiUQ39oByDJ2gNDyCe2joc=; b=ZU8VDg2I40SdsFHny4UgOCwvkwY2SfcVhFJwWlKzoURFX9Gj9p25t4mLD/0WNjTikZ oyJ3P5WslmAXwPvOP9SKHEOK9Rb8cJmGzHhl8P+5ItgbmVKkLIGtIeH/3hW8xFQvx4Sn ploxbuLVLJCBO6STgntYruiX5hz7C4XoZcoV778lY0Mbrhtapj0oC2VLiqXmtORKEM0+ hhLnvB6YcOoJm0ESjqReltjqE05GhQV9/oCsOCD85o0h3YRWX7JchPgcq9Xet88KL9RZ iPTlRcykM3jFSocvn57+ZqGPCCaI2lSFBrk/1iMh5PS2Q5GdhjuBJfKyyaUGkavMK8Li SEFQ== X-Gm-Message-State: ANhLgQ0bnLcXJTaeggXnWsfFluOQseSsOSJJ7BiMh30BMF+041s/BS5e wMy2+h3tKmKtbYGIYLYBR8Hznu+h X-Google-Smtp-Source: ADFU+vvEjTvY4lURv2AtjOLoL/OI3Q4FRbsfaftJjhejt7GANs2fOt8saAf8Qqf5W7twq/0WK9r8EQ== X-Received: by 2002:adf:e98b:: with SMTP id h11mr6842346wrm.409.1585434487534; Sat, 28 Mar 2020 15:28:07 -0700 (PDT) Received: from [192.168.1.168] (x59cc9a4f.dyn.telefonica.de. [89.204.154.79]) by smtp.googlemail.com with ESMTPSA id k3sm13844676wmf.16.2020.03.28.15.28.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Mar 2020 15:28:06 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Switch to UEFI Re: CFT: alpha test of Ethernet driver for RPi4 Date: Sat, 28 Mar 2020 23:28:05 +0100 References: <202003281622.02SGMcmi027728@mail.karels.net> <57d4ba4ef95eeaf382d2c0b2407e9dab@unrelenting.technology> To: Greg V , freebsd-arm@freebsd.org In-Reply-To: <57d4ba4ef95eeaf382d2c0b2407e9dab@unrelenting.technology> Message-Id: <964BBCA2-5EE1-4673-966E-63D37FEDB4EA@googlemail.com> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 48qYTz1q91z4V2q X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; 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]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.00)[ip: (-9.41), ipnet: 2a00:1450::/32(-2.38), asn: 15169(-0.46), country: US(-0.05)]; RECEIVED_SPAMHAUS_PBL(0.00)[79.154.204.89.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2020 22:36:19 -0000 > Am 28.03.2020 um 23:15 schrieb greg@unrelenting.technology: >=20 > March 29, 2020 12:23 AM, "Klaus K=C3=BCchemann via freebsd-arm" = wrote: >=20 >> I`m also working on pi4 a little while not ready=E2=80=A6 >> I recommend to switch the whole RPI-thing to UEFI/ ACPI, J.McNeill is = working on that , afaik=E2=80=A6 >=20 > He's working on NetBSD a lot, but not on FreeBSD. He is working on RPiUefi/TianoCore and NetBSD is the only OS which has = already integrated=20 the Ethernet driver into UEFI with a published Mac-Adress >=20 >> So next step I see is to implement ACPI-xhci-driver since = FreeBSD-boot PANICS on xhci- >=20 > That's not "implement a driver", that's "fix a bug" :) > I was looking into this a month ago.. > For some reason reading from the XHCI's memory space returns junk like = 0xdead. > And seems like nobody has seen that problem on NetBSD or Linux. > I'll test this a bit more now. I know the exact place where it panics(IRQ-message) and=20 at first glance I would say: the driver is incomplete and not fully = implemented(only for allwinner) , but let`s take a closer look there and = work on it =E2=80=A6 >=20 > Once we get that working, and the Ethernet driver port is published, I = could add ACPI attachment to the Ethernet driver. >=20 >> The good news is that I first saw USB working in UEFI-boot...=E2=80=A6t= he ethernet driver should then later >> correspond or to be integrated into UEFI =E2=80=A6 nice to boot from = a =E2=80=9EBios=E2=80=9C -style menu with a plugged >> USB-keyboard... >=20 > Yeah, eventually there's going to be a NetBSD-derived Ethernet driver = in UEFI for network booting. Yes, afaik they are planning to do that Klaus=