From nobody Fri Dec 15 11:06:02 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 4Ss5xM45bdz52fFt for ; Fri, 15 Dec 2023 11:05:59 +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 4Ss5xL5Vywz3Vx4 for ; Fri, 15 Dec 2023 11:05:58 +0000 (UTC) (envelope-from freebsd@omnilan.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd@omnilan.de designates 2a00:e10:2800::a130 as permitted sender) smtp.mailfrom=freebsd@omnilan.de; dmarc=none Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800:0:0:0:0:a135]) by mx0.gentlemail.de (8.15.2/8.15.2) with ESMTP id 3BFB5l9Y016115; Fri, 15 Dec 2023 12:05:48 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from [10.100.100.61] (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 D9119A9A; Fri, 15 Dec 2023 12:05:47 +0100 (CET) Message-ID: <5211ad65-5289-4776-b839-7c681de77bf4@omnilan.de> Date: Fri, 15 Dec 2023 12:06:02 +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: u-boot-nanopi-r5c [Was: Re: 14-BETA5 panic on rk3566] Content-Language: en-US To: Emmanuel Vadot Cc: freebsd-arm References: <2CE509A2-AECF-4562-A080-589AC7888F21@edc.ro> <20231012184430.952dd9d5a26c97ee225c9e77@bidouilliste.com> From: Harry In-Reply-To: <20231012184430.952dd9d5a26c97ee225c9e77@bidouilliste.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.29 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:61157, ipnet:2a00:e10:2800::/38, country:DE]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[omnilan.de]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Ss5xL5Vywz3Vx4 X-Spamd-Bar: --- On 10/12/23 18:44, Emmanuel Vadot wrote: >> can this be merged to 14-STABLE >> /sys/dev/iicbus/pmic/rockchip/rk8xx_clocks.c >> this seems to cause a panic >> clkidef.name = (nclks = 2) ? clknames[0] : "clk32kout1"; >> > It's a bit too late tbh, also I don't consider rk356x stable even in > 15-CURRENT, so this will be merged in stable/14 at some point but for > now if you want to run on rk356x please use 15-CURRENT. Hi Emmanuel, thanks for your great FreeBSD contributions! Highly appreciate the Porting-FreeBSD-to-a-new-ARM-Board publication too! Quick question - I'm new to arm/u-boot, but some FreeBSD src & ports experience here... In u-boot-2023.10 there's (master/)configs/nanopi-r5c-rk3568_defconfig added. Simply copy'n'paste the ports/sysutils/u-boot-nanopi-r4s to u-boot-nanopi-r5c isn't enough... (after updating u-boot-master from 2023.07 to 2023.10, done that) I don't understand sysutils/atf-master resp. sysutils/atf-rk3399. Simply creating new rk3568 slave ports doesn't work since PLAT rk3568 isn't implemenmted upstream...  I guess I would have to adjust sysutils/u-boot-nanopi-r5c to get rid of the AT-F dependency first... but You mention running 15-CURRENT on rk356x How to boot? Would highly appreciate links - I'm currently trying to deploy FriendlyELEC R5C here - I could successfully start 14-stable, but just by try'n'error metgod, gluing lots of different loader blobs onto SDcard.  I need to learn a lot, so I'm trying to do it a little bit smarter than try'n'error... Thanks in advance, -harry