From nobody Thu Jun 27 17:09:20 2024 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 4W94md6bR8z5Q3yQ for ; Thu, 27 Jun 2024 17:09:21 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W94md63dtz4WHJ; Thu, 27 Jun 2024 17:09:21 +0000 (UTC) (envelope-from mhorne@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719508161; 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:autocrypt:autocrypt; bh=B8b0zuIAP9+xkX/J8LSSRpvVIQTXIJwVfCNjm7S9KoM=; b=UdA2JeYwMoweSGktrLG+Yho4YC6VBCBWT2ue/rlbu6T5HoDpHH8uDWFFWhS8Ax8rxrldHL YlfW9hSlbiGdAypZVlfxofgn56/1iVHMEXzyG3oA0Dk0KRJVxOCt9QTyJ4S3aWZsDbydjL QbwJidEwbiKX606BU22H6BMQR9Bo1bgVOfZ0pJYgweaa4sIfr6Ka5X/PPtUQIPEAwY8rsB jjWR/AiwG4+1N5XqXlYgGKpL5Y6T+RffHrvnRwO7a0ivyGgsG/jp3ap7BoQ6KdVoP4rEtF xnw0ZbKm1dHI+1FRzKtHe93ocDbNdzzWsAS00Nz/PUf2IlCy1h0GAgWNZezBtw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719508161; a=rsa-sha256; cv=none; b=ioXYIJILFIHqPDiWiVZWBoBoTkvUgKogR/LS8vI55WynS39fQjDIxyh0wpWuAKAspf6PGo RrBPR6M81Ov95DKfzi6InbivL7pJJbcvq6sUpWRhGlIxH00UeqAOycCp4rwhnfMYJIzTbS EweJIMup3wtKSHdooYLrJhMpuAydYkV8L/ERIzqnXs1oLK5ngagv9zAZ9SnscVjLKPlH0r esOjwxCmjpwMsBN7XF7xBoEMXRq6aGBjpFyGZEOuXc91qTCk2Yh/lAPJPkXLAfynqEz3Fb 3X0+6Fi4lyF74yUdAZ6RimshaxYVm9jYHdbDPaEkOLH1ZrEUJpvxMEHjSZBD3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719508161; 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:autocrypt:autocrypt; bh=B8b0zuIAP9+xkX/J8LSSRpvVIQTXIJwVfCNjm7S9KoM=; b=X8P0uHt3KihS+Z2NH/hR7EjgbNLTwFUqQNS+A1jOI1xmVDBRKtvm4MEkAayO0tTQ9xDKEN Fn4N9lxgbAvAkaeerxRsRC1YJvIZVwvz2gLtYw72lE9gzEssx2BQWgwVgQM3Wwzb5HOCR/ XcX5EFGyo2EVRDw/qt+7btZXuBflDtubDe2WKiWEKrJ3Xr6cE9uZNrVcHlYbNsHBiRAcjN N5Lj4BBMzKikMaMiDTgkR5XxUm1UxBsQmOoQkru1OjoTIbmjQBb8ZWRXRUxK+dtiN325A5 wnnYHSzb6du/eP7u575FQwo3EoAMlKHSS9KtW/rZDRro4eNMmpopX+Udv4cXFg== Received: from [192.168.1.151] (host-173-212-76-127.public.eastlink.ca [173.212.76.127]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id 4W94md4Wz9zRLk; Thu, 27 Jun 2024 17:09:21 +0000 (UTC) (envelope-from mhorne@freebsd.org) Message-ID: <5004c562-5534-410a-b6b8-e88ebac1fc20@freebsd.org> Date: Thu, 27 Jun 2024 14:09:20 -0300 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 User-Agent: Mozilla Thunderbird Subject: Re: DC-ROMA RISC-V LAPTOP II To: "Bjoern A. Zeeb" , freebsd-riscv@freebsd.org References: <557op2n4-59rp-3s55-4204-98837850o64o@yvfgf.mnoonqbm.arg> Content-Language: en-CA From: Mitchell Horne Autocrypt: addr=mhorne@freebsd.org; keydata= xsBNBFyS2dQBCADdiXBG8hBVLmYbxu7aSzbwLwUf3HkGFz3rooS1kwyy+SfmjZ4UKNnl9WMx WKrJ7OAZpiNH6bLQ5nsqfx09OnpWL8c/QuPbhNdUywQoqqYpRI0K8GEn//nS9Gs0KTYwVpWb XlrzP+jf3Uh/9L5mcQmStLIH4zaaqMYHW+pMuPrvBmLIHTvLj2QjOkxslrcUdord9uvxe5Ht LU8RuTpQpHOKz705Z9/v7twFdi2HtKzpLwO6SzVyu351di1J+GihsVpcT5josQV5cHbIP3Un x+kmtKBEEc/jl/zBglF7ruWUtwgbryID+2ZPEaO1Mj+RResX4LFVMusq3uUpWRb5WJXxABEB AAHNI01pdGNoZWxsIEhvcm5lIDxtaG9ybmVARnJlZUJTRC5vcmc+wsCUBBMBCgA+AhsDBQsJ CAcCBhUKCQgLAgQWAgMBAh4BAheAFiEEkp/cYPcfabAiQvACi/gnTOdUid8FAmIyDpUFCQtC z0EACgkQi/g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NfXIJGOZNEvdF8FOBwM7DlXx7SYvTJcUNoNJjOKtQ0bYGVgGqYOB/y2mTjVuKeU0eOkN Uw== In-Reply-To: <557op2n4-59rp-3s55-4204-98837850o64o@yvfgf.mnoonqbm.arg> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 6/15/24 18:39, Bjoern A. Zeeb wrote: > Hi, > > what do people think of: > https://deepcomputing.io/product/dc-roma-risc-v-laptop-ii/ > > Could FreeBSD (sooner or later) boot on that?  I know the specs are > sparse but maybe some of you have heard some more already? > I would say "later, maybe never" we might boot on that. Here is what I could find about the "SpacemiT K1 SoC": - SBC overview for Banana Pi BPI-F3 [1]. - SoC "datasheet" [2], some info but lacking in fundamental details e.g. clock/reset hierarchy, register map. The biggest point against it is the source code repos linked in [1]. They contain the required changes to OpenSBI, Linux, and u-boot for this hardware, but in the form of one big code dump. One cannot see what was changed except by manual diff against the (unknown) branch point... To support a SBC in the FreeBSD/riscv world we require semi-mature upstream status in the above three projects. This is similar to our best-supported arm/arm64 SBCs. Unfortunately in the case of the BPI-F3, upstreaming does not seem to be part of the plan/intention. Instead they are choosing to provide fully-vendored Linux as a flashable image. This is fine but greatly limits what we can do. So we will need to keep an eye on the ROMA laptop to see how its upstream software status evolves. There is another RISC-V laptop that was announced recently [3], but is not yet available for purchase. It is based on the JH7110 SoC, which has excellent support upstream and partial support in FreeBSD. I am working on improving this and suspect that by the time this laptop is shipped we will have a good chance of booting on it. Best, Mitchell [1] https://docs.banana-pi.org/en/BPI-F3/BananaPi_BPI-F3 [2] https://docs.banana-pi.org/en/BPI-F3/SpacemiT_K1_datasheet [3] https://frame.work/ca/en/products/deep-computing-risc-v-mainboard > /bz >