From owner-freebsd-riscv@freebsd.org Sat Dec 22 17:17:09 2018 Return-Path: Delivered-To: freebsd-riscv@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1D5E1358F85 for ; Sat, 22 Dec 2018 17:17:08 +0000 (UTC) (envelope-from nilakjhc@gmail.com) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 763638FEF1 for ; Sat, 22 Dec 2018 17:17:07 +0000 (UTC) (envelope-from nilakjhc@gmail.com) Received: by mail-wm1-x334.google.com with SMTP id g67so8518955wmd.2 for ; Sat, 22 Dec 2018 09:17:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Hsjsa6ziEpuIOEJyaCHj/Pg3wIRNWNBK9mY3jDeecKU=; b=K3NSJ5B386ltKziKnssVFpSUXzacjsF4J65c7xNFStRTLgQP0xRuE2oxhSAYEKHZvI J00WykH+HDbwMfydVMfTBcZm05Ww0ynqRoT9ZAFPFwMxlWxpLXonkUTzxECiwwLED0fZ 4uylI9lNQR1QopyUe03V6lAfdoe4BD2QvvRq9xDh6BvTbUP5l3s9IScmsFOzv8V5MEfP WMtxbiNJyiq+iXu38Ogj5Tje+sFciOdeAPjhfM05ZYjbOCX6VzgiUR245020Y5blAvKM kl1YId99tBgblUN08VxtzEdgDnP8DexEEwtvGdBZeFUKbKfi+zEJb0sO8xj1z3DovYmA 7OsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Hsjsa6ziEpuIOEJyaCHj/Pg3wIRNWNBK9mY3jDeecKU=; b=s/VYKTSXUfyRvH4N6lFuszY8P2vidzVci61OoZq7G/cg+Wsw9msOVDc3efcY/tm3ia SMCDxDVilWvpI+IVSoGtQFnwM5POnZnH7VY9IETNxnqPR/y+GetQ97Gxmcc9CUrD+gFT xpvU3PRi6MXU8zML0OxakuyDOMo4Rhx7suQN7VHKtPv2gK8EGXNnsLKM+KyKLTLSlg1+ tLaSDWU8FI1RzYlsxZ65Zj6xcRL8bUHJOiTsx1SUf7HepgqhYqtQFAcb0tXSR534eBN7 x6xsU96HP3Yta9ZoW/ni4pmx9SVrY2IrTBStKLHFR2GA744z8U7wpnDndKpIQ3WZ2z7U Gk9Q== X-Gm-Message-State: AA+aEWbiIMVkf+jX3+Yp5MoVW2BLHt9DBNUNqw2/vk5LElXa9Sedvo6h ETPJtaC3ubVDpTyrimO2GihhLct3IMUA531gYy+SZ7xUDs0= X-Google-Smtp-Source: ALg8bN4WHG63Yr09BeExfXnNx93Vwf55fdwFTfZ81UOA+xRWKRJo1uPwreuk9N/EHW8v8mZLuiZ+tznK8KbS8CDrN6k= X-Received: by 2002:a1c:6e06:: with SMTP id j6mr7129141wmc.3.1545499023032; Sat, 22 Dec 2018 09:17:03 -0800 (PST) MIME-Version: 1.0 From: nilakshan kunananthaseelan Date: Sat, 22 Dec 2018 22:46:49 +0530 Message-ID: Subject: FreeBSD for RISC-V 32 To: freebsd-riscv@freebsd.org X-Rspamd-Queue-Id: 763638FEF1 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=K3NSJ5B3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nilakjhc@gmail.com designates 2a00:1450:4864:20::334 as permitted sender) smtp.mailfrom=nilakjhc@gmail.com X-Spamd-Result: default: False [-5.17 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.64)[-0.642,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.52)[ip: (-9.39), ipnet: 2a00:1450::/32(-1.67), asn: 15169(-1.45), country: US(-0.08)]; RCVD_IN_DNSWL_NONE(0.00)[4.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-riscv@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD on the RISC-V instruction set architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2018 17:17:09 -0000 Hi all, We are developing a 32 bit processor based on RISC-V.So far we have developed M and A extension and we have developed TLB for data and instruction.In the CSR we have included the machine and supervisor mode(tested with RISCV benchmark hex file).I have some issues regarding porting a kernel for RISCV? 1.If CSR testing is OK with RISCV benchmark hex file may I plug this into the core system.If not is there any particular method to identify the flow of CSR? 2.Will freeBSD supports 32 bit machine?If so,what additional things I have to do to port freeBSD for my processor? What are the changes to be done for the steps given her https://wiki.freebsd.org/riscv? thanks in advance -Nilakshan