From nobody Mon Jan 6 18:51:55 2025 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 4YRjvw0ZQXz5k2d8 for ; Mon, 06 Jan 2025 18:51:56 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YRjvv745fz4NFN; Mon, 6 Jan 2025 18:51:55 +0000 (UTC) (envelope-from mhorne@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736189516; 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=X6NuLqLZKXWxwD8LZIrd//RKPtOalLqWdZIF7pmK3IU=; b=t5m13nGJYzC8qyDf7It5xDVm5n9ILGTg9yQLKo2/32xRQQZn3HgVC9hBCiVx+odtSekrsb z70w2y3FUMoprtNh2Hq7+nWNp6kU7amYuj6vf++Tro/RCYE9qJC86BqwzxuiAa4ap/+k9G TXa2dssVEmYmAPo58WlwC/I3V2vu2stiti/TvpqPiwOo8TVYXilWdKYnClEUmA9YZGqd1I vrBsIPqBnNglCUoxemNc9bV7xcuiPFNYIBK1u7zaS/NwwJK6p2khahpPfk0aJLK7Qwztae INyX7nC/Eq7uYJQeeJWiw+S00/3eHVXjsnVVjV1LLxd7j8D/wE6LhMD1617ROw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736189516; 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=X6NuLqLZKXWxwD8LZIrd//RKPtOalLqWdZIF7pmK3IU=; b=hUJpWUMlwp7dw3d6Cb9EuxTalaYe3TQ5oYU9N5Vjiaimdy/A9GJw8U7QibcOoxH4Rho3Qn cRJPRzQ9x4OuLN8CkxESlZpRId5W9MWJlgQZqyNiGPrA/oIixYQMk+i/1kV4Wj3xWPYrfR 3zg+uBwuGtrYqllDUhi8K37DPH78bV+dzunGwLk6VcxkVpXf/niPSzTXA5/ZRYQCtybbhr yHgJksdv+sDLGBHzvwOofIspVTEyCPvVF2UKXgo81q90lpeArhWrvNkc2ywuBq9CC6uhsQ 5Yhul7M9PAgNLd7Lz4s74S7yNonRCS1p4vNhAdowH5pwNb79sWrWXhKJFpYdCQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736189516; a=rsa-sha256; cv=none; b=nTjMYU6z56/y+36F1a5at++vbitFbbUfmvLLbdK2e3vIbnZuVcW31tGIVU7pq9tMd+sVcN gHla/I/WPAXN6cFOjbW4ab8+/rydoKLPXW96qrEDcTzj+ttuPK//BS7VhNYsDYzuqB0JDu 3FaW5ujRxEbw1pji1GlodJXLcooJt71U5c6Ae77rYlDYZfn/qvH7WYj5UsZArhOUJsMmq4 wbFGs/KIjm7VfmnAGgVN3pQb6bQmRvxdycQswIkWKrEVk0fL5vFe2jcHB933vLvtBbf6YV sd/6z985Ky7OfgBV/4yCO5SiPCcQ9lsGH5FwWyohPUSSsfoMxsYrqq8esRaBsA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from [192.168.1.151] (hlfxns018gw-134-41-188-50.dhcp-dynamic.fibreop.ns.bellaliant.net [134.41.188.50]) (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 4YRjvv5rNgzny1; Mon, 06 Jan 2025 18:51:55 +0000 (UTC) (envelope-from mhorne@freebsd.org) Message-ID: Date: Mon, 6 Jan 2025 14:51:55 -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: Definition of the CSRs To: Himanshu Chauhan , freebsd-riscv@freebsd.org References: <82D14A27-E9E6-4544-A00E-91BA71BA6C8B@thechauhan.dev> 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/gnTOdUid8IsQf+N8IptrrCgifT5Z0/WUVFfnHThFOKf4zBjaGswsIM8+VKsKnF 15jCWHODUHP6s+dcQ4nQi81PHPsnMfBSkGPvN/X3ess2/1KUVkH+6tAJbqXDjXhD8HT+i0NM QEFIXlLnotpgIKW3yOHjKv3ZvKw9LCvUjyNY9vOJmLk/6AbbkFh+INo65nXtQWb/hM5FVEHW S+zUoU8AqZRJoVAQfj9wmIfg/HdsxeDGKL0zkv5AwKpccvb8VJNGJbCVMgoy5uQYcUeXxcie cg0VlbFLshNQTfyhVQ85vyuHahARrUWs/k8KiYODoBnW1ChtyF8yM6VZTzSYx7pINqPq2YZy i/Htd87ATQRcktnUAQgA3zt4M4ecoQqfxpjliNLujt9klDqvmkJvWmzMuMXdzlPgGRJ0doio 9YIeEdkOt6xN0pPTK/ReCZ8WqFQ8zo23u1pwGuo0CnR58XF19wyxyUuKu/PHbt+56mC8tNHm AXsMyXQmlDqWvn/WzLY7euNRtNS4QQIwtxfM5EC4GGa5KQwxn0kM7dkUSOE/cxr+/kNbHHzb gagZR4cnNUqtPPr3dYXcibCTzgz96Lyt3/qMLXX9RTBRzu+O6E+byxWOe8ar/ZlwY2b4wTQG mhgNttkSxKtxMpZnd8+DGV/bI1P5Ct/K2GeCwNyupQGON5ymn6o7jTch+qmFX0ItkBWO4zn4 9QARAQABwsB8BBgBCgAmAhsMFiEEkp/cYPcfabAiQvACi/gnTOdUid8FAmIyDtwFCQtCz4gA CgkQi/gnTOdUid/i5gf/aQ75pJR4TJFM2vVVr6PDIwTdl0b5EchB4w4s4g/zE84XNbMOQanb BginLYEhAacLQVAvM3XdvUEhwrhaMQdjdSEB1krResL3/mbxrtKwdHSMbHA3IS3XdvxFWTB7 P5JjUSPsW6hqgoidbn4w3OxaNHhs45H2b0Nx5QiKcSyepmCZuB52gCEHnEnrdaz8TFQMXOLq 94WbTmZeIjChW3FB61m1gTf0UEFjoZAfTAUB+pbwoCa4AykIeZnDC19vjsruVU9Gy5rLglwd bjsZNfXIJGOZNEvdF8FOBwM7DlXx7SYvTJcUNoNJjOKtQ0bYGVgGqYOB/y2mTjVuKeU0eOkN Uw== In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 12/23/24 07:35, Himanshu Chauhan wrote: > > >> On 23 Dec 2024, at 16:55, Himanshu Chauhan wrote: >> >> Hi, >> >> I see the following in the code: >> >> csr_read(sstatus) >> csr_read(stval) >> >> But I can’t figure out where these sstatus and stval are defined. I want to define CSRs for IMSIC. I am using hard coded values for now but want to get rid of them. How can I do that? >> The given argument is used plainly as the CSR name in the resulting instruction. e.g.: register_t sstatus = csr_read(sstatus); becomes: csrr a0, sstatus So there is no need to define CSRs based on index, at present. You can just use its name. Cheers, Mitchell > > Something like this in my C file works okay: > > #define IMSIC_CSR_SISELECT 0x150 > #define IMSIC_CSR_SIREG 0x151 > #define IMSIC_CSR_STOPEI 0x15c > #define IMSIC_CSR_STOPI 0xdb0 > > #ifdef DECLARE_CSR > DECLARE_CSR(siselect, IMSIC_SISELCT) > DECLARE_CSR(sireg, IMSIC_SIREG) > DECLARE_CSR(stopei, IMSIC_STOPEI) > DECLARE_CSR(stopi, IMSIC_STOPI) > #endif > > Is this the right way to do it? > >> Regards >> Himanshu >> > > From nobody Tue Jan 7 07:18:31 2025 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 4YS2TZ1h7sz5k47p for ; Tue, 07 Jan 2025 07:18:42 +0000 (UTC) (envelope-from me@per1cycle.org) Received: from mail.per1cycle.org (mail.per1cycle.org [188.245.231.141]) (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 "mail.per1cycle.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YS2TX6QVDz4nfj for ; Tue, 7 Jan 2025 07:18:40 +0000 (UTC) (envelope-from me@per1cycle.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=per1cycle.org header.s=dkim header.b=jxh546aW; spf=pass (mx1.freebsd.org: domain of me@per1cycle.org designates 188.245.231.141 as permitted sender) smtp.mailfrom=me@per1cycle.org; dmarc=pass (policy=reject) header.from=per1cycle.org Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 116F13F5E9 for ; Tue, 7 Jan 2025 07:18:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=per1cycle.org; s=dkim; t=1736234317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=wb12bQ66Rv1KQBm7Ybc34Bp2dVf9mC5QsTZbPt0LisE=; b=jxh546aWkRcPEijRQCkT4uFogfj8Eby4BEd+cuGEQmUGfzfjAN0Dti2XB/tIT/VDsQ00Ke nQ+/JElqtqS2VsbKsoWcqCnV5Lt6d5xE/reIpx898XaRgiLFZ7Fy+G9Qr6QMa9B82TzEHw 5trUIgEHgo2E75ViT3ZJHMjDYXCZCViUa7vapLTLV3VvTM11RgTZtX9htDCNUrTxubjYnh +JZpIPzHu3QVC1e0MvUG1JR4etC0Njks2wuu4dTJIojzSFhARyO4Z+yzxMrDW/OiZGwhxO YkPIliJrzPPzGLdV8G/OM5qmPyybKtYtM0cl8ZyK++Zpmt8gy1kaRnz0aQUsNA== Date: Tue, 7 Jan 2025 15:18:31 +0800 From: Huan Zhou To: freebsd-riscv@freebsd.org Subject: Pkg for riscv seems not work? Message-ID: <20250107071824.7ndm3supcurc4h3s@per1cycle.per1cycle> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Last-TLS-Session-Version: TLSv1.3 X-Rspamd-Queue-Id: 4YS2TX6QVDz4nfj X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.96 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.958]; DMARC_POLICY_ALLOW(-0.50)[per1cycle.org,reject]; R_DKIM_ALLOW(-0.20)[per1cycle.org:s=dkim]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEFALL_USER(0.00)[me]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-riscv@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[per1cycle.org:+] Helly guys, im new to freebsd riscv community, i've taste the freebsd-riscv on qemu and encouter some problems. It seems that the package list doesnot exists for riscv: https://pkg.freebsd.org/ so will the future has official support for it? Best regards Huan Zhou From nobody Thu Jan 9 06:04:15 2025 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 4YTDkw3FCKz5k67q for ; Thu, 09 Jan 2025 06:04:24 +0000 (UTC) (envelope-from penzin.dev@gmail.com) Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (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 4YTDkv0Mfdz4JM3 for ; Thu, 9 Jan 2025 06:04:22 +0000 (UTC) (envelope-from penzin.dev@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=SSEGXPFO; spf=pass (mx1.freebsd.org: domain of penzin.dev@gmail.com designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=penzin.dev@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-216426b0865so7765365ad.0 for ; Wed, 08 Jan 2025 22:04:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736402661; x=1737007461; darn=freebsd.org; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=ddd9gmrUPT0NHtbRzeOjjS35JcZcwOI9H34kTGoYkS4=; b=SSEGXPFOjvFic/RBGT/kVWIZqL1pnkn3fuOYKq/kxiO4ZEnhvXA4nmMxj1pArIuGMp gdyx4XJxNKnf3RMn4H111OT/gNsMVORF9qaGsgP3BFI9u3Bydww/xGYzwaQQiALpSvVK l5gqyb10qa6jqoEHXptHNkxDzTYxdY4a4IWJrgqA39icoYlh6eUE4kOPHuamXjBIr3Ub JKh057R9VL+vOsn5HECyO+fcLmbcpFqOiG9qyA+MjYvPu/9FMI3K1FJsKa9jOsfBl4VO uQJfumP7KJpF653tvmaHnQ4l3WlNMdk//LEDLN3KCye2RQY8QGGPE6CrntdKFKWu/a2E 6t+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736402661; x=1737007461; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ddd9gmrUPT0NHtbRzeOjjS35JcZcwOI9H34kTGoYkS4=; b=nIAAFh4fxjhLEeLqkeZ+k4VV4EKYxeKEgQ0LyVTwbqRjm/wWjGtuQ2IirxHueIYdUt gzA0FNI2uMk57fqw5UBqdj7ASXuIAjVW2+U/Xqe5LDBVoOORyAvkensgBxyRw3ymY3hf bK3snKln3SVPbneAZttxOs7/Ohdi7rppefLPmJGtLPUHZ+RbscKDtEa2lD0xO/fODKxH AToJ33nPNG75fFDyQoGIY8Sq4lmYW5lAtrjLQxMZ3tNXzvgBsaPxxPn4JnVSnuu0Db69 Tz8YJeqUv5GziGxI4gLDPuCst12MgYfouTJOxcCrhvT9A/8+xotlp8FNvG+rklOWBbKA 9oqA== X-Gm-Message-State: AOJu0YwzrlhZ6pXTpQ06i5B0Jn+STmH4/u4ybysTf3eDl6tuY1laxf+P 9RS+7E02GC0D/a02qAkMa+VMlW2qC8urwrIDAnpPcA7jJitVPhP7W7MALw== X-Gm-Gg: ASbGncs6Ngq9FEUpd8vp91Gt2r9k16E3AweFWlXNCzhNpDjsE+UFqr7VkSDDRkahjzV wkknnlIYJ4CJldeQ/E8ZMphorwhzS1QqVcxO0xreNVThgWTctdi+E4jdDfVzk8w0OIZ2jQUyyxJ k3+pJA/gV81ib1nXpEPg+A6KnRS0gXdPLp5KESbMyvgpXuI0gAIwNNAab0yEzgSPQowpYdSDaWk EMOzOvYUYQp3Xf1EQ5uuPnreUXfMoKUjnXV+yxYTwhlMJRUKqg0YLZrzqVzyQsTOSupa+vbdOyf SEK1VnBwmSnZQTjqhcWU/oS/viZI X-Google-Smtp-Source: AGHT+IEl1fBEVag2OTxwpgG9PvW1WHpBtt+esed9DqGjX9icsoAlmH1w4iI5jTHoNTY3k7blxBfy+w== X-Received: by 2002:a05:6a21:8cc4:b0:1e1:9fef:e96a with SMTP id adf61e73a8af0-1e88cf7b937mr9064689637.6.1736402660621; Wed, 08 Jan 2025 22:04:20 -0800 (PST) Received: from ?IPV6:2601:1c0:4c00:e781:e6a7:a0ff:fe50:b374? ([2601:1c0:4c00:e781:e6a7:a0ff:fe50:b374]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad8347d1sm37548574b3a.66.2025.01.08.22.04.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jan 2025 22:04:20 -0800 (PST) Message-ID: Date: Wed, 8 Jan 2025 22:04:15 -0800 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 To: freebsd-riscv@freebsd.org Content-Language: en-US From: Petr Penzin Subject: SpacemiT K1 SOC support Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4YTDkv0Mfdz4JM3 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.989]; 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)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; TAGGED_FROM(0.00)[]; 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)[freebsd-riscv@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-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::630:from] Hello, Apologies if this was answered somewhere before. Should SpacemiT K1 SOC work under FreeBSD? It is in Banana Pi F3, which is a popular development board  these days, and also in Framework Laptop 13 mainboard. Best, Petr From nobody Thu Jan 9 07:14:58 2025 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 4YTGJp3MHLz5kDb2 for ; Thu, 09 Jan 2025 07:15:22 +0000 (UTC) (envelope-from me@per1cycle.org) Received: from mail.per1cycle.org (mail.per1cycle.org [188.245.231.141]) (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 "mail.per1cycle.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTGJm3Y9dz4PrS for ; Thu, 9 Jan 2025 07:15:20 +0000 (UTC) (envelope-from me@per1cycle.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=per1cycle.org header.s=dkim header.b=CXITlYwc; spf=pass (mx1.freebsd.org: domain of me@per1cycle.org designates 188.245.231.141 as permitted sender) smtp.mailfrom=me@per1cycle.org; dmarc=pass (policy=none) header.from=per1cycle.org Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id B2B483F5F8; Thu, 9 Jan 2025 07:15:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=per1cycle.org; s=dkim; t=1736406903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=N/cQSddY0zg0T4VwqurogoZLSzY++FfrRlvqPtR4gzM=; b=CXITlYwcaoVNtjUBcKHUCgkRP3el1j/IOYw+FDrz7YPbhXyXLo1lp6XgYmFLem9ghLzKJD 7dxvfCjyj2k3JDYFmeXJ5zVyXZsruOpU1fquSLAHLWT7gDcfVqFKCHbRnsHyMcb6dneWjP vxdeS0qxH4Fbc8ZdzfK3bVM2OedjnZNqYFusO6Js3212TTdT0PIm/aCi5LtG+fm6j+qG70 WDfhzc8P1/TvA/IPtrLBpeIG7D9eb31G5xhPgXoidf00ExvZKNZzcxFH6Ac8MYcS7lAy25 r090cqpykmZNJONniaT/lKUCtIkfS5XFpDSoDQaO8TXd+c3kQ4z1eV/yY0nTcw== Date: Thu, 9 Jan 2025 15:14:58 +0800 From: Huan Zhou To: Petr Penzin Cc: freebsd-riscv@freebsd.org Subject: Re: SpacemiT K1 SOC support Message-ID: <20250109071458.uy6fdsbwfp3jsy4o@per1cycle.per1cycle> References: 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 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Last-TLS-Session-Version: TLSv1.3 X-Rspamd-Queue-Id: 4YTGJm3Y9dz4PrS X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[per1cycle.org,none]; R_DKIM_ALLOW(-0.20)[per1cycle.org:s=dkim]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_SOME(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[me]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-riscv@freebsd.org]; DKIM_TRACE(0.00)[per1cycle.org:+] On Wed, Jan 08, 2025 at 10:04:15PM -0800, Petr Penzin wrote: > Hello, > > Apologies if this was answered somewhere before. Should SpacemiT K1 SOC work i have a lpi3a which also has this soc, the vendor side seems has not consider bsd port? > under FreeBSD? It is in Banana Pi F3, which is a popular development board  > these days, and also in Framework Laptop 13 mainboard. > > Best, > > Petr > > From nobody Thu Jan 9 15:18:16 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 4YTT202v5Vz5kyfM for ; Thu, 09 Jan 2025 15:18:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTT200wyNz4D7N for ; Thu, 9 Jan 2025 15:18:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736435896; 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; bh=ZX0+jG/LVTpM+8wQeuzfmMKWc65dyViV9p5n4E0eyII=; b=AzvoN7Yyz4tbNSOhXxe25MouS5BlzWgfWxHPrXElqb1zZgeVjJ2C60YbVLrE8+bbYiRG8u Y8RvBTQzOvWPqqV6L4jYirZ3qXWM35Nuob602DLLqcY6E7L5TTMj9naECRjFaXZt6qkdyx Hfc0OXQ6UUFQyPFrGVbxBKWhQzxkmr00AU8FM5Or7TzD8Ga+ERkGf16JRB3lSVj4jofVbT C3SkCmdQrW2yzV/52Zc2KN0yo1l6WylaKBVFddQokGV1dfZxKJ3n3SZiKcR3EB27D9dG/c RZsWDEXaxmjwyJppjggI/BJEWP01biZME8vMY3za5082hbll3OqOjwUra5I/ug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736435896; a=rsa-sha256; cv=none; b=KTt6FAG2GjKyn4VEmo4HD3t7w7oknCfccxVxaK2eAavkenP38cUAZe3Iz/xTJWC2AGGKoT 6t0ac4EQd0y+H5wIhy625xLMHkpmX5f5OEddE653iMdyvlL7FXckqUFHV7d0rWaf5fUQtr fXhP0KYWfeUVvhVeXXLvlnyJj1kQHjo99JlILEu1F0cds3Pal4eDq3P+6lcSmgYz9ztKl1 Qp1tf8rGb7gBDaUIDpYkBt0HldCi06HaJKsUnrYtbUHhsUMwVzMf1QddanF0wV8drqQ/di y+P+rZj7ymvBQcxmT239FRLnuMnuUyk0NO7m19+SjvfFBiCVaa95RYMrBDi4JA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YTT200XM8zXZM for ; Thu, 09 Jan 2025 15:18:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 509FIFbf073092 for ; Thu, 9 Jan 2025 15:18:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 509FIFRf073091 for riscv@FreeBSD.org; Thu, 9 Jan 2025 15:18:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 281600] lang/rust failing to build on risc-v (again) Date: Thu, 09 Jan 2025 15:18:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dclarke@blastwave.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mhorne@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281600 --- Comment #34 from Dennis Clarke --- For the sake of a new year here I may as well report that rustc 1.83 does build on the RISC-V hardware :=20 enceladus#=20 enceladus# uname -apKU=20 FreeBSD enceladus 15.0-CURRENT FreeBSD 15.0-CURRENT #2 main-n274434-2e09cef8dc6f: Sun Dec 29 05:26:22 GMT 2024=20=20=20=20 root@enceladus:/usr/obj/usr/src/riscv.riscv64/sys/SIFIVE-COMPAT11 riscv ris= cv64 1500029 1500029 enceladus#=20 enceladus# date -u=20 Thu Jan 9 15:16:41 UTC 2025 enceladus#=20 enceladus# /usr/local/bin/rustc --version=20 rustc 1.83.0 (90b35a623 2024-11-26) (built from a source tarball) enceladus#=20 However, yes, the COMPAT11 stuff is still needed. At least I think so. --=20 You are receiving this mail because: You are on the CC list for the bug.=