From nobody Tue Dec 19 18:06:28 2023 X-Original-To: freebsd-arm@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 4Svl4l6x6Xz54fhh for ; Tue, 19 Dec 2023 18:06:31 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (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 4Svl4l375Yz3Wdh for ; Tue, 19 Dec 2023 18:06:31 +0000 (UTC) (envelope-from freebsd@omnilan.de) Authentication-Results: mx1.freebsd.org; none Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800:0:0:0:0:a135]) by mx0.gentlemail.de (8.15.2/8.15.2) with ESMTP id 3BJI6Rv7051724; Tue, 19 Dec 2023 19:06:27 +0100 (CET) (envelope-from freebsd@omnilan.de) X-Authentication-Warning: mx0.gentlemail.de: Host ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800:0:0:0:0:a135] claimed to be mh0.gentlemail.de Received: from [10.100.100.54] (unknown [217.110.88.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id F40E6661; Tue, 19 Dec 2023 19:06:26 +0100 (CET) Message-ID: Date: Tue, 19 Dec 2023 19:06:28 +0100 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: u-boot-nanopi-r5c [Was: Re: 14-BETA5 panic on rk3566] https://personalbsd.org/images Content-Language: en-US To: titus Cc: freebsd-arm References: <43691d67-3d00-e8d5-f917-fbb2963454cc@thegalacticzoo.com> <1573661F-100C-46C6-9A75-524B1AACF1FA@edc.ro> From: Harry In-Reply-To: <1573661F-100C-46C6-9A75-524B1AACF1FA@edc.ro> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:61157, ipnet:2a00:e10:2800::/38, country:DE] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Svl4l375Yz3Wdh On 12/19/23 18:45, titus wrote: > u-boot can/does provide EFI api to freebsd so you can boot an aarch64 > image > if have an rk3566 board (orange pi 3b) and i run 14.x on it > i just built https://github.com/Kwiboo/u-boot-rockchip (mostly because > they provided an opi3b dtb and mainline did not) Thanks a lot!  I'll try to reproduce... I updated the u-boot-master to 2023.10 because it includes rk3568 dts. Mysteriously other 'end-user' images downloaded for R5C also don't boot (nanopi-r5c_bookworm-1203.img.xz e.g.) while DietPi_NanoPiR5S-ARMv8-Bookworm.img.xz e.g. boots fine. I'm definitely missing some important SD layout parts... > add CONFIG_EFI_LOADER=y to the opi3b_defconfig, build, dd, boot (bl31 > built from source, tpl from rkbin)  Start of your line is an interesing hint: ./work/u-boot-2023.10/configs/nanopi-r5c-rk3568_defconfig lacks CONFIG_EFI_LOADER=y... Maybe that's all I'm missing, will try to find some time later this week to check. Thanks a lot, -harry