From nobody Fri Mar 14 13:53:41 2025 X-Original-To: riscv@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 4ZDm7P0Y6lz5qDDl for ; Fri, 14 Mar 2025 13:54:09 +0000 (UTC) (envelope-from csgordon@fastmail.com) Received: from fhigh-a1-smtp.messagingengine.com (fhigh-a1-smtp.messagingengine.com [103.168.172.152]) (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 4ZDm7M6434z3lLv for ; Fri, 14 Mar 2025 13:54:07 +0000 (UTC) (envelope-from csgordon@fastmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.com header.s=fm1 header.b=AepdIpMD; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=OLOH57l0; dmarc=pass (policy=none) header.from=fastmail.com; spf=pass (mx1.freebsd.org: domain of csgordon@fastmail.com designates 103.168.172.152 as permitted sender) smtp.mailfrom=csgordon@fastmail.com Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.phl.internal (Postfix) with ESMTP id 9F93C11401FE for ; Fri, 14 Mar 2025 09:54:02 -0400 (EDT) Received: from phl-imap-13 ([10.202.2.103]) by phl-compute-12.internal (MEProxy); Fri, 14 Mar 2025 09:54:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1741960442; x=1742046842; bh=6qqhgBW3Bd jOoDd9FMQqIvcVm3KM7lEPutoJ7XMAQxU=; b=AepdIpMDF4//RpS1UpXkfdw+Ui N1UrCPsFj5IX5nLWZJKYFKtFC/54oK8rY59qYOpZX0OCe6xAbQYhWA5C24ftNd5+ TjZmlBtblgEXg9NM2w5UAL/TEJcWtFUQdiJe3y94Z3Gb2J2j1uIKuEpUKpoVxLQG Ux8zlyZGboYFlYt3wgDE4z0HTO5WZfStwRPA7jLgxjawAtaZE5DaEVuAMBD1nrqR y7TyCmn7uY6aSsxJ4NEdny8pwDC4Ae0NL3EOsSqcGuXY2v9jNbK/dG7F9IG8yaQJ ZIgUldSUmudAUHAOW6Ed9QhQ8p07+R+WvXjY5lj60Ns/7G/zeXrQ7IFGqHUA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1741960442; x=1742046842; bh=6qqhgBW3BdjOoDd9FMQqIvcVm3KM7lEPuto J7XMAQxU=; b=OLOH57l0AYl6YJJJfhJG1OOntWNmI5M7sp+/zLp0qDS5ZjJcqO4 Sqr4aE/OCAUUHrSnuaFntRPKTGxrcAH1GlBwUUflZwhgsMK3CAHb8JQo6ByeJYW1 H4stBjoDjcyyHUh2MrdmmSlKTaeM/IXpNF4EOMSZAp+nnVGzwKgYlrtTf9KBTLrO 7NdRBt7N81c8ytW/Rgs8u9OMr4skgCnCpeojsqq+pVXyTumCpZt36xc5ifK1CEhF DMJ9pPRI0zGHRYoT+A6pmCWwQY7rs920L8ZDHZ92mWZUrlKIDKhwpd/gRE/kGEUk UVIdkmGFLEnnSHooTot3oZz17JlIaQiHFjw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddufedutddtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefogg ffhffvkfgjfhfutgesrgdtreerredttdenucfhrhhomhepfdevohhlihhnucfurdcuifho rhguohhnfdcuoegtshhgohhrughonhesfhgrshhtmhgrihhlrdgtohhmqeenucggtffrrg htthgvrhhnpeekgfejvdetudegvdeggfejtdegvdekgefhieejhfejveekkeehvdehvdet vedtveenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhgvghnuhhnihigrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptghsghho rhguohhnsehfrghsthhmrghilhdrtghomhdpnhgspghrtghpthhtohepuddpmhhouggvpe hsmhhtphhouhhtpdhrtghpthhtoheprhhishgtvhesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: i60c149f6:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 549011F00072; Fri, 14 Mar 2025 09:54:02 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-riscv@freebsd.org Sender: owner-freebsd-riscv@FreeBSD.org MIME-Version: 1.0 Date: Fri, 14 Mar 2025 09:53:41 -0400 From: "Colin S. Gordon" To: riscv@freebsd.org Message-Id: In-Reply-To: <0ddea515-8e64-4c9f-9241-8c69bc5e18a2@blastwave.org> References: <424d8f7b-c763-47f3-a764-6f6618dc854d@blastwave.org> <0ddea515-8e64-4c9f-9241-8c69bc5e18a2@blastwave.org> Subject: Re: Anyone kicked at the SiFive P550 ? Content-Type: multipart/alternative; boundary=02c0d4c7c6694495b1ecbe8ff45aa3ca X-Spamd-Result: default: False [1.80 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_SENDERSCORE_REPUT_9(-1.00)[103.168.172.152:from]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_SPAM_LONG(0.99)[0.995]; NEURAL_SPAM_SHORT(0.90)[0.900]; DMARC_POLICY_ALLOW(-0.50)[fastmail.com,none]; R_DKIM_ALLOW(-0.20)[fastmail.com:s=fm1,messagingengine.com:s=fm1]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.152:from]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; FREEMAIL_FROM(0.00)[fastmail.com]; FREEMAIL_ENVFROM(0.00)[fastmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[riscv@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; DKIM_TRACE(0.00)[fastmail.com:+,messagingengine.com:+]; TO_DN_NONE(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4ZDm7M6434z3lLv X-Spamd-Bar: + --02c0d4c7c6694495b1ecbe8ff45aa3ca Content-Type: text/plain Content-Transfer-Encoding: 7bit Perhaps a long shot, but it looks like there's a micro SD slot on the board, which in my experience tends to be better supported by vendor uboot than USB. Odds are decent the USB stack won't work out of the box anyways on FreeBSD right now, so it would seem like an sd/mmc would have a better chance of a successfully loaded kernel finding a filesystem. You haven't said much about exactly what you've been trying beyond mentioning USB, so I don't know what you'd consider obvious. But my first instinct would be to try adapting the process several of us have used to boot on the VisionFive 2, originally written up by Rob Norris AFAIK: https://github.com/robn/freebsd-vf2. You should be able to just swap a newer image (some snapshot of 15-CURRENT) into that script and find the correct DTB for the board (probably from SiFive's Ubuntu media) and swap that in. No guarantee of course that the DTB isn't full of new vendor tweaks that aren't recognized yet by FreeBSD drivers, but this seems like the place to start if you haven't already tried something similar. It should at least get the kernel booting far enough to hit some other problem. If booting from the memory disk works, then you can try mounting the actual SD card, and if that works then you could try booting without the memory image (but still loading the new DTB). -Colin On Fri, Mar 14, 2025, at 08:44, Dennis Clarke wrote: > On 3/8/25 15:20, Dennis Clarke wrote: > > > > Just a dumb question from the outskirts of sanity here : > > > > https://www.genunix.com/dclarke/riscv/p550_running.png > > > > Has anyone tried to do anything with FreeBSD on this ... thing ? > > > > A few days later .... nothing but silence. Crickets. > > I have been trying to get the thing to boot from the USB port using > a 15.0-CURRENT memstick image but the UBOOT stuff is baffling. > > If anyone wants to give it a whirl then I am happy to provide the > serial console access and whatever .. to the right people of course. > > > > > -- > -- > Dennis Clarke > RISC-V/SPARC/PPC/ARM/CISC > UNIX and Linux spoken > > --02c0d4c7c6694495b1ecbe8ff45aa3ca Content-Type: text/html Content-Transfer-Encoding: quoted-printable
Perhaps a long = shot, but it looks like there's a micro SD slot on the board, which in m= y experience tends to be better supported by vendor uboot than USB. Odds= are decent the USB stack won't work out of the box anyways on FreeBSD r= ight now, so it would seem like an sd/mmc would have a better chance of = a successfully loaded kernel finding a filesystem. 
<= br>
You haven't said much about exactly what you've been tryin= g beyond mentioning USB, so I don't know what you'd consider obvious. Bu= t my first instinct would be to try adapting the process several of us h= ave used to boot on the VisionFive 2, originally written up by Rob Norri= s AFAIK: https://github.com/robn/freebsd-vf2. You should be able to just swa= p a newer image (some snapshot of 15-CURRENT) into that script and find = the correct DTB for the board (probably from SiFive's Ubuntu media) and = swap that in. No guarantee of course that the DTB isn't full of new vend= or tweaks that aren't recognized yet by FreeBSD drivers, but this seems = like the place to start if you haven't already tried something similar. = It should at least get the kernel booting far enough to hit some other p= roblem.

If booting from the memory disk wo= rks, then you can try mounting the actual SD card, and if that works the= n you could try booting without the memory image (but still loading the = new DTB).

-Colin

O= n Fri, Mar 14, 2025, at 08:44, Dennis Clarke wrote:
On 3/8/25 15:20, Dennis Clarke = wrote:

> Just a dumb question = from the outskirts of sanity here :

>      https://www.genunix.com/dclarke/riscv/p= 550_running.png

> Has anyo= ne tried to do anything with FreeBSD on this ... thing ?
&= gt; 

     A few da= ys later .... nothing but silence. Crickets.

     I have been trying to get the thing to boot f= rom the USB port using
a 15.0-CURRENT memstick image but t= he UBOOT stuff is baffling.

  &nb= sp;  If anyone wants to give it a whirl then I am happy to provide = the
serial console access and whatever .. to the right peo= ple of course.




-- 
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spok= en



--02c0d4c7c6694495b1ecbe8ff45aa3ca--