From nobody Thu Dec 01 18:17:57 2022 X-Original-To: uboot@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NNPSj3Sy0z4htKY for ; Thu, 1 Dec 2022 18:17:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NNPSj062jz4bPp for ; Thu, 1 Dec 2022 18:17:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669918677; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x9Oe0CVoECPNIjR7ineLMOYW7vyLbvNnWFKBMvIqkCs=; b=xj/Xxwod+YMtr7dcEVeof/fo5bUXg4l7Q4Eh40dLqQCM4MQ+ZxowZ/pJ94c8B1vNSSADNZ btEj9bEUtxiAQA1PeeRwam8d/Uvjiw6BjvnEgZeCZVLAEoLL6mFhovCT6pWzGIWksL/GEg fmry2eiutMjgbFkKYoqA0y+qMcpWoNcXSYXipUz+G+8Die2FMIaN29PoSBkqPApatkL9Gh RvdNUwoh74czRRMPKDcz/mh7s88Ue/ksChqgq36uld1soAkCUporaaPNcsudnvlG/Bp65L tN3vCyKbytDLwRRLN0b6F42b/FpYYM07umy68O86gpwV1C+ymzPSi2oYNGqhrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669918677; a=rsa-sha256; cv=none; b=Ce1iSbDwZf5b9rocibY0Lg3Y1bmrFi/bGUFN7VYIY9B3qiDF7AnYPms0UBZUDEZcocxnjC eM23bLVQ8CJCRPzUiRf4Aifuwzu256DwqE2U7LBP1txzT8sLtCj7YnZ5SieF7HQTH4Jawp Xez3TV3tEJu9f7kXVN4ARbzJA/cbNyTnQ3NbZY4A9UUawo+HgdXqrJF/mlHb/MOh8fsneP MhsI5ZCWLvH2wY1feP2qILr/ELknubCEcmaWyB5s6ul/hwI+KhEVC/owNQwctbZ2V/T5Qe 9QCXMMh5t0RKuFfrQmuHPG0u1/WbFIFwZa4/e2OxT46hqZmJJQfHRf/b+RVitg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NNPSh69D9zm7d for ; Thu, 1 Dec 2022 18:17:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2B1IHueh093933 for ; Thu, 1 Dec 2022 18:17:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2B1IHuqG093932 for uboot@FreeBSD.org; Thu, 1 Dec 2022 18:17:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: uboot@FreeBSD.org Subject: [Bug 268068] sysutils/u-boot-rock-pi-4 - support for rock-pi-4se? Date: Thu, 01 Dec 2022 18:17:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: uboot@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-uboot List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-uboot@freebsd.org X-BeenThere: freebsd-uboot@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268068 --- Comment #5 from Mark Millard --- (In reply to Jon Theil Nielsen from comment #4) Looking in: https://elixir.bootlin.com/linux/v5.10/source/arch/arm64/boot/dts/rockchip I see a rk3399-rock-pi-4b.dts listed. It has been around since then (5.10) from what I can tell. https://elixir.bootlin.com/linux/v5.16/source/arch/arm64/boot/dts/rockchip (5.16) lists a rk3399-rock-pi-4b-plus.dts as well. So it seems that both U-Boot and Linux mainlines have rock-pi-4b support to some extent and have been for some time. Thus the Linux one should be in the main [so: 14] source tree. I see in my somewhat old FreeBSD main [so: 14] source tree: sys/contrib/device-tree/src/arm64/rockchip/rk3399-rock-pi-4b.dts sys/contrib/device-tree/src/arm64/rockchip/rk3399-rock-pi-4b-plus.dts I do not see them in my somewhat old stable/13 source tree. I do not see a /boot/dtb/rockchip/rk3399-rock-pi-4.dtb in my main [so: 14] install. Because FreeBSD is set up for the Linux dts content, you likely need to put the FreeBSD built rk3399-rock-pi-4.dtb appropriately placed in the msdosfs file system. U-Boot will pick up the .dtb you provide and hand it's content over to the FreeBSD loader. I do such for the Rock64, placing the .dtb at: dtb/rockchip/rk3328-rock64.d= tb Then U-Boot uses it and hands to over to the FreeBSD loader. If I have the .dtb missing from there for some reason, U-Boot uses its internal one that does not match what the FreeBSD kernel handles and the boot fails via the kernel. (The Rock64 already has its .dtb built installed into /boot/dtb/rockchip/ for FreeBSD, including via stable/13 and releng/13.* .) So, likely some makefile(s) needs to list the rk3399-rock-pi-4b.dts as one to be built and to put the .dtb into /boot/dtb/rockchip/ on installation, for you to then copy to the msdosfs as dtb/rockchip/rk3399-rock-pi-4b.dtb . (Installing the appropriate U-Boot itself is a separate issue.) --=20 You are receiving this mail because: You are the assignee for the bug.=