From owner-freebsd-arm@freebsd.org Fri Oct 9 13:21: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 2BDD53FAB0F for ; Fri, 9 Oct 2020 13:21:53 +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 4C77yT09cTz4Nn7; Fri, 9 Oct 2020 13:21:52 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x344.google.com with SMTP id d3so9840609wma.4; Fri, 09 Oct 2020 06:21:52 -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=14rYlWnHFaSl1vieqKoCJgfxDEureQaYneHqh7eGbj0=; b=Ls1Y0htq18ANrBl7V79UHQ79mcoIeffPEDbBCzBSRaTXc0Lv4GXpBD2vurbxGPFqnU wFQSs/WZ/4unzZmtZbR+P9h/0RgPJqbGLN06GhosVNfjAhjJg/CNdTITDkrBdmPQ6oG8 7Sgq5weKaIJ/PkwVGcLBcscVb6bCCAEMZNHGtgfVI5jL8nuKbPc1Ddnl3PyfB/JAG/dc 7PpAntaq6zezuXQEAzI2h9ntSVQJMEXyWPIrXAFjhKnne+696oPkBwVaF1BmbzNQZiyv 2P0Xg80TqnazAKCWJa0r0WoVDb1lVclOg57ErzEahXE+HZ+kDVMqulo0x4jeCONwlhy3 U0gQ== X-Gm-Message-State: AOAM530DtUk+d0U6JXq/fr+qgfHVPArNhWyoUUrIqS0IkmVYW6YylHoq ipIb1jabKe+Oqv1HyuOBoT4mGB192zQ= X-Google-Smtp-Source: ABdhPJwMHftD+Rj+AhF4hXCRL2q699jBz8bfkHSTo8SDF75hQI+DU3dsvRp0JHbJuxqzQDwYWJwGag== X-Received: by 2002:a1c:f20f:: with SMTP id s15mr14324110wmc.69.1602249711399; Fri, 09 Oct 2020 06:21:51 -0700 (PDT) Received: from [192.168.1.167] (dynamic-046-114-106-131.46.114.pool.telefonica.de. [46.114.106.131]) by smtp.googlemail.com with ESMTPSA id n2sm11663368wma.29.2020.10.09.06.21.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Oct 2020 06:21:50 -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.52\)) Subject: Re: RPi4B: emmc2bus dma-range handling does not track the boot-time-FDT (u-boot based booting) Date: Fri, 9 Oct 2020 15:21:48 +0200 References: <32A8A046-56DF-4998-9C3D-8630ACCE4951@yahoo.com> <68AC0E4E-0469-46AE-BD68-058DCB6B078F@yahoo.com> To: Kyle Evans , freebsd-arm@freebsd.org, Mark Millard In-Reply-To: Message-Id: <9D391B40-894C-4D18-B0BD-F5A03734290A@googlemail.com> X-Mailer: Apple Mail (2.3654.0.3.2.52) X-Rspamd-Queue-Id: 4C77yT09cTz4Nn7 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; REPLY(-4.00)[] 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, 09 Oct 2020 13:21:53 -0000 > Am 09.10.2020 um 14:55 schrieb Kyle Evans : >>>>=20 >>=20 >> Another type of overall issue (that may not apply to >> the specific context here) is dtb content like: >>=20 >> scb { >> compatible =3D "simple-bus"; >> #address-cells =3D <0x00000002>; >> #size-cells =3D <0x00000002>; >> ranges =3D * 0x0000000007ef8a18 [0x00000060]; >> dma-ranges =3D <0x00000000 0x00000000 0x00000000 = 0x00000000 0x00000000 0xfc000000 0x00000001 0x00000000 0x00000001 = 0x00000000 0x00000001 0x00000000>; >> phandle =3D <0x000000d0>; >> pcie@7d500000 { >> compatible =3D "brcm,bcm2711-pcie"; >> . . . >> #address-cells =3D <0x00000003>; >> #interrupt-cells =3D <0x00000001>; >> #size-cells =3D <0x00000002>; >> . . . >> dma-ranges =3D <0x02000000 0x00000000 = 0x00000000 0x00000000 0x00000000 0x00000000 0xc0000000>; >> . . . >> }; >> . . . >>=20 >> where the inner most dma-ranges is not from the just-surrounding >> context (parent) but is strictly local (despite the parent >> potentially also having dma-ranges). I think that only pcie@... >> is that way so far for the RPi4 --but notationally it seems to >> be generally allowed. >>=20 >=20 > This is irrelevant for the time being as the PCI driver doesn't cross > paths with the snippet the patch touches. >=20 > Thanks, >=20 > Kyle Evans >=20 Yes, dma is another topic=E2=80=A6 thanks for working on RPI again !, external links to the xhci-initializiation - issue for the 8GB-model in = u-boot 2020.10 : = http://u-boot.10912.n7.nabble.com/PATCH-v6-0-4-usb-xhci-Load-Raspberry-Pi-= 4-VL805-s-firmware-td418114.html = https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2205783.html = https://patchwork.ozlabs.org/project/linux-pci/patch/20200629161845.6021-4= -nsaenzjulienne@suse.de/ = https://patchwork.ozlabs.org/project/linux-pci/patch/20200629161845.6021-5= -nsaenzjulienne@suse.de/ `guess there will be some other DeviceTree-adjustments needed to boot = directly off of an SSD until reaching the root-login. Regards K.=