From owner-freebsd-arm@freebsd.org Sun Mar 29 14:53:47 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 A10632A1EE6 for ; Sun, 29 Mar 2020 14:53:47 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 48qz9t6MQGz4PBh for ; Sun, 29 Mar 2020 14:53:38 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x332.google.com with SMTP id e9so6363021wme.4 for ; Sun, 29 Mar 2020 07:53:38 -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=GXcVRkerbw/5kst0j7yEonv14S29e9hNPic3WuGLEkQ=; b=bZ1TnX8zwFNLMVrpStlp33oteNTcJY3fdo3fRyRCEPoB4DUwQD+MyzeZ4E+7TMm2N+ zlnCA304RzFDvDTNQPLIYWMtqh5RW5Fc94vtHHtV3lYpQ5JEMqMRQAM0zh7kEv73+/fd Gw47fw5lfDW75pXhA9zdJo6oYThERERsK+efb2csjiHTxARzkCqLSJdJDziEFcsLMvL2 J1+q1pVAsjH3LqSElrI18nHx2L3l1aWsWUbO10HLigpT4su+4XhpUXuP7J28NdDiMOKA v0JXjBCNzN1Ls06PXruc4pFU5NUNqejtgf/YI/2tHuAWZyf7iJGihaCZYnpa54eYYtk8 Mufg== X-Gm-Message-State: ANhLgQ2Ip81MvuUJs42gInLSFpNPhFI2l45ts+TZ+N6+Yi6PpQ5pGh6D V31e6mtFuOULrcNDM2fc4FUb82z0 X-Google-Smtp-Source: ADFU+vuLXtPzxqj4kDQAXRb7nxI4nVCp4tj9jHnZHBy6eTyV9QWzsBz+/E6pJLQcheFCDK0bvGCwlQ== X-Received: by 2002:a1c:e30b:: with SMTP id a11mr8332680wmh.7.1585493607673; Sun, 29 Mar 2020 07:53:27 -0700 (PDT) Received: from [192.168.1.168] (x59cc9bed.dyn.telefonica.de. [89.204.155.237]) by smtp.googlemail.com with ESMTPSA id r15sm18827446wra.19.2020.03.29.07.53.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Mar 2020 07:53:26 -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: Sun, 29 Mar 2020 16:53:25 +0200 References: <964BBCA2-5EE1-4673-966E-63D37FEDB4EA@googlemail.com> <202003281622.02SGMcmi027728@mail.karels.net> <57d4ba4ef95eeaf382d2c0b2407e9dab@unrelenting.technology> <3d84dbd6acea80b04bee712b59661a86@unrelenting.technology> To: Greg V , freebsd-arm@freebsd.org, Mike Karels In-Reply-To: <3d84dbd6acea80b04bee712b59661a86@unrelenting.technology> Message-Id: X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 48qz9t6MQGz4PBh 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:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.00)[ip: (-9.13), ipnet: 2a00:1450::/32(-2.38), asn: 15169(-0.46), country: US(-0.05)]; RECEIVED_SPAMHAUS_PBL(0.00)[237.155.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)[]; RCPT_COUNT_THREE(0.00)[3]; 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)[2.3.3.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: Sun, 29 Mar 2020 14:53:49 -0000 > Am 28.03.2020 um 23:39 schrieb greg@unrelenting.technology: >=20 >=20 > What allwinner? > How did you find anything allwinner-related in ACPI code, when AFAIK = no Allwinner SoC ever had ACPI tables written for it? >=20 > I'm talking about generic XHCI. Sorry, I always mix up Allwinner with Marvell, where you changed some things in generic_xhci_fdt. =E2=80=A6 Mo matter, what I wanted to say is that there perhaps could be some need = to add things for the bcm-soc what is called ACPi-glue by jmcneill in his sources=E2=80=A6= `hope you are right that it `ll be only a simple bugfix for you to get = the right IRQ setup in generic_xhci.c =E2=80=A6 > Am 28.03.2020 um 23:27 schrieb Mike Karels : >=20 >=20 > I=E2=80=99m not ready to put the source out in public, as the = copyright notice is not yet approved. I=E2=80=99ll put it in = phabricator when it=E2=80=99s ready. >=20 > About UEFI: I don=E2=80=99t know what=E2=80=99s involved, but half of = the driver interfaces with the rest of the network stack, and I don=E2=80=99= t see how using UEFI simplifies any of that. >=20 > Mike O.K., seems I misunderstood your 'alpha test=E2=80=98- offer=E2=80=A6 I thought you wanted us to test/review your code before you put it to = phabricator. Well, jmcneill, where you derived the genet-driver-sources from, has = already=20 integrated the driver in UEFI, while it is not yet integrated in = rpi4-uefi upstream, afaik. You can dual-boot in UEFI from dt(hangs at gpioregulator at the moment) = or ACPI(hangs unrelenting at greg`s irq-code at the the moment[.. just = kidding] . They are working on netboot at the moment ..=20 I really suggest to track the UEFI - devs to understand what=E2=80=99s = going on there..=20 it could be the right way to finally get this damned board under = control.. Regards Klaus=