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 > From nobody Thu Jun 27 18:33:19 2024 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 4W96dd2vydz5QBSp for ; Thu, 27 Jun 2024 18:33:25 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W96dc3rfKz4fYR for ; Thu, 27 Jun 2024 18:33:24 +0000 (UTC) (envelope-from zbeeble@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=YTDCnVj6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of zbeeble@gmail.com designates 2607:f8b0:4864:20::731 as permitted sender) smtp.mailfrom=zbeeble@gmail.com Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-79c0b7af837so118345985a.2 for ; Thu, 27 Jun 2024 11:33:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719513203; x=1720118003; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=nCccw2Jzc2ZR4/ULX/tDQSk+h8bV5rnIxZkpnWLRkbk=; b=YTDCnVj6DqwQOn6VK4xIGIFMxi0f9OTabthLCQPIPcREZ0+bWGUbweyORWP7DjAngv fUkPFPapeGKsjbg/dpnvFPb9mGuXqgX3kDWANNM/RvAceHebOlEQaBKn7xjyVX6hQ0Y6 tDloCMZsoeF3eMui1xikVg/lf2PAP7j7A+Rk4f3ZaXtWQi1GNP0TlxrASBAlC7paZSsO iDJzmRNz6vYnbUlkSmjHKWY4Q19l2PHIAhpXSBkeTad2mBSRfeCwWVQObniOxKPk2WNN L/STvgJCRKMA70eoXWDHTsKnqD6pFMiF5fsV07/AmDcvhSfVHToz6WN3X6vosoJ1dB2q 33MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719513203; x=1720118003; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nCccw2Jzc2ZR4/ULX/tDQSk+h8bV5rnIxZkpnWLRkbk=; b=ES0ND4FPZl/Cl1EyfJjLml/OIkbxqZbAhdxevkEDRMsT5FvIHJshHF9MhzKhJx4raE vfCZ/P4MwRZsVnvvUeAFJLCIoWErSEPkAvBZfO5uhJE4tKbwqMa6T9cLnulFbe6ZgaH9 2ahAakGfyfUKs2Aak8U8pg7k29CaazFNS1IiTxG85vDoFkQ1pVJ8BtDing1jaw9KBYVc C2veph5+filveE7C05tf7lQH63I0zvWYegEC1jvJuxNtG/O8q5fV7AA2xUw1FEvDj0S0 tmefEuT83jAIX9GNN40/zd3pyHGiXlxVuDPaxyMzB5G6i5+Jxy7PT9OE/1FX9OaDxt2D Ko8Q== X-Gm-Message-State: AOJu0YwgWO9h9SON03pN0LZVr8MTTpvQr5k/6AItxe9QPdwZks4mUvel 0dY7Rf1nZDK/DCdWzd24bv/mVFlpZ8LMmDoH/pErG6ZbL9bC9uzMkEQs X-Google-Smtp-Source: AGHT+IEnyfPzz/iMLBCaRJZqxDwNiCwweidAT3zoiNM58BhohFZT8gm5Fwzi/k7+OdH8Vj4EFY68Nw== X-Received: by 2002:a05:620a:4005:b0:795:504c:6b84 with SMTP id af79cd13be357-79be6efe03cmr1705559285a.36.1719513203065; Thu, 27 Jun 2024 11:33:23 -0700 (PDT) Received: from ?IPV6:2001:1928:1:0:6849:714f:913f:233f? ([2001:1928:1:0:6849:714f:913f:233f]) by smtp.gmail.com with ESMTPSA id af79cd13be357-79d692ea7ebsm3051985a.96.2024.06.27.11.33.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jun 2024 11:33:22 -0700 (PDT) Message-ID: Date: Thu, 27 Jun 2024 14:33:19 -0400 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: riscv@freebsd.org References: <557op2n4-59rp-3s55-4204-98837850o64o@yvfgf.mnoonqbm.arg> <5004c562-5534-410a-b6b8-e88ebac1fc20@freebsd.org> Content-Language: en-CA From: Zaphod Beeblebrox In-Reply-To: <5004c562-5534-410a-b6b8-e88ebac1fc20@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.19 / 15.00]; SUBJ_ALL_CAPS(1.80)[24]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[riscv@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::731:from] X-Rspamd-Queue-Id: 4W96dc3rfKz4fYR On 2024-06-27 13:09, Mitchell Horne wrote: > > 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. > > [3] https://frame.work/ca/en/products/deep-computing-risc-v-mainboard ... Which may very well be enough to get me to splurge on a framework.  I gather that one could potentially have (also) an x86 or ARM motherboard for one's laptop and swap them as desired...