From nobody Wed Oct 11 17:51:13 2023 X-Original-To: freebsd-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 4S5L1M3jBGz4wTCP for ; Wed, 11 Oct 2023 17:51:35 +0000 (UTC) (envelope-from csgordon@fastmail.com) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (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 4S5L1M0NpQz4P3N for ; Wed, 11 Oct 2023 17:51:35 +0000 (UTC) (envelope-from csgordon@fastmail.com) Authentication-Results: mx1.freebsd.org; none Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 3394258018C; Wed, 11 Oct 2023 13:51:34 -0400 (EDT) Received: from imap53 ([10.202.2.103]) by compute2.internal (MEProxy); Wed, 11 Oct 2023 13:51:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1697046694; x=1697047294; bh=Fu HDewbVH9eMLHNfAqWEtlDwBvSBbST/YuDktWn2dic=; b=gKNshG9yXuGa1JMlnh YTocBzzjOm1oTnD7u2+EdJedZl2d1OoHlsqTxfroiGCt601E6OhdWg1M51kLLbvD p2un4T6b6qUhpm5qBw/7lr/4fNpbmecrrUV+pZFQRhzN9cLBfz+EGTzNj+zRoLCW O16ugYd12NaT5vzY3MWBapDdy3w3OnKOTi0q1oDzhEHOmCRQgLbB5x7Pc1y6o8c/ C4mFbhLoOg6bf+z9m2K7Vm9rrGj3vYQCv8bSVc+QOoerHLgvwKOzy92eGbnBGJ6X bcVIDkK5LWyeZWBCGiWk1EnUzoOATKyZ/X1v5JaaSSh1rN4OVWgkHLlmeYoXU7fW zEVg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=i60c149f6.fm2; t=1697046694; x=1697047294; bh=FuH DewbVH9eMLHNfAqWEtlDwBvSBbST/YuDktWn2dic=; b=JOtC128X7+Xpqik9oK2 i/SLNvwZrb2OAJrSVRxlVxy/UyySP/6RvTt46LLtlqkM9wy0gWNKwBZPOsXdQjX6 wHtMy8UYVau7ctTdFr3qax6mJYs7k6MUAAyYPjqQhV8rNQKct7U5yu83aCMBV/68 8MRI98lY3iD3hEkwk4DjoXn/lv66DH6R8x1cT0Z/AqfkWP6iDLd+CAkc8+OME/wD 7jVfTj80A6HK3hKIjRLQ3uomFpyJf/qfXiFtJfMpi3dbLJGMPhHbsuBtlYI99Jxl ZKKToHM3w8NhOQnq1ZDfYMZ3OHu7csLlZ7zrvnym49NodEN/rV7rXoJi7cO4B0rr /9g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrheekgdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsegrtderreerredtnecuhfhrohhmpedfveho lhhinhcuufdrucfiohhrughonhdfuceotghsghhorhguohhnsehfrghsthhmrghilhdrtg homheqnecuggftrfgrthhtvghrnhephfetleetgfdutdfhueeivdeiheejtdehlefhteeu ledvffeivdegffeffeegteelnecuffhomhgrihhnpegtvggurhhordhinhhfohenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtshhgohhrugho nhesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i60c149f6:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id AD37F3640066; Wed, 11 Oct 2023 13:51:33 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1019-ged83ad8595-fm-20231002.001-ged83ad85 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: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Message-Id: In-Reply-To: References: <55416c03-c838-46d5-8f18-f6eb1657f4a5@app.fastmail.com> <1455fbf5-c56e-4584-887d-f8edbe66724c@app.fastmail.com> Date: Wed, 11 Oct 2023 12:51:13 -0500 From: "Colin S. Gordon" To: "Tomek CEDRO" Cc: "freebsd-riscv@FreeBSD.org" , robn@despairlabs.com, "Lup Yuen Lee" Subject: Re: StarFive VisionFive 2 support Content-Type: multipart/alternative; boundary=14c89338958c44b2becf7e73c4fe3f16 X-Spamd-Bar: ---- 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:19151, ipnet:66.111.4.0/24, country:US] X-Rspamd-Queue-Id: 4S5L1M0NpQz4P3N --14c89338958c44b2becf7e73c4fe3f16 Content-Type: text/plain I personally don't have any JTAG equipment, but happened to have a USB TTL cable lying around. At this point, both Jari and I have working SD access, and I just managed to do a successful UFS install to eMMC and got a booting system, so at this point I think local-style development over serial is actually workable! I initially tried a ZFS install, and while installation succeeded, the eMMC (hardware) module started throwing errors when booting from the resulting ZFS root. It's possible Jari's clock support might fix that, I'll have to try later. I don't have a spare eMMC module lying around to see if it's just the physical module. -Colin On Tue, Oct 10, 2023, at 12:57, Tomek CEDRO wrote: > Folks did you try to play with JTAG in order to upload kernel intro RAM and boot? :-) > > OpenOCD states initial support for RISC-V Debug Spec 0.13. > > Without Smart Debug Probe that supports RISC-V it could be slower than current loading from SD card though. > > Just curious :-) > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info --14c89338958c44b2becf7e73c4fe3f16 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
I personally do= n't have any JTAG equipment, but happened to have a USB TTL cable lying = around.  At this point, both Jari and I have working SD access, and= I just managed to do a successful UFS install to eMMC and got a booting= system, so at this point I think local-style development over serial is= actually workable!

I initially tried a ZFS= install, and while installation succeeded, the eMMC (hardware) module s= tarted throwing errors when booting from the resulting ZFS root. It's po= ssible Jari's clock support might fix that, I'll have to try later. I do= n't have a spare eMMC module lying around to see if it's just the physic= al module.

-Colin

<= div>On Tue, Oct 10, 2023, at 12:57, Tomek CEDRO wrote:
Folks did = you try to play with JTAG in order to upload kernel intro RAM and boot? = :-)

OpenOCD state= s initial support for RISC-V Debug Spec 0.13.

Without Smart Debug Probe that supports RIS= C-V it could be slower than current loading from SD card though.

Just curious :-)

--14c89338958c44b2becf7e73c4fe3f16--