From owner-freebsd-riscv@freebsd.org Thu Dec 27 13:00:12 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 2D325135E562 for ; Thu, 27 Dec 2018 13:00:12 +0000 (UTC) (envelope-from rb743@hermes.cam.ac.uk) Received: from ppsw-31.csi.cam.ac.uk (ppsw-31.csi.cam.ac.uk [131.111.8.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 16AEF72613 for ; Thu, 27 Dec 2018 13:00:10 +0000 (UTC) (envelope-from rb743@hermes.cam.ac.uk) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cam.ac.uk; s=20180806.ppsw; h=Sender:In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gI2Sl2jJslk232rC7lDZIQhuPX6Qi6lPfPlak8MqLTk=; b=SaGeyUu/tKpMT/Vea3mHjNLtsh iFuIGMWGWrYiS99izjAgU/qS3GFDXOUqjp019hLnTs4FY6IdTdwfUb6apqUc2trLQdOesGSVFewnw ttOYNgc1V/9hx///YfARM9kRbdLVOZfmJ1ZnUk8mMuD7fuQyGgtHojjLWj2GTwjWUuXU=; X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus Received: from sc1.bsdpad.com ([163.172.212.18]:48115) by ppsw-31.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587) with esmtpsa (LOGIN:rb743) (TLSv1:ECDHE-RSA-AES256-SHA:256) id 1gcVGe-000p5n-LJ (Exim 4.91) (return-path ); Thu, 27 Dec 2018 13:00:04 +0000 Date: Thu, 27 Dec 2018 12:57:52 +0000 From: Ruslan Bukin To: nilakshan kunananthaseelan Cc: freebsd-riscv@freebsd.org Subject: Re: FreeBSD for RISC-V 32 Message-ID: <20181227125752.GA18710@bsdpad.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) Sender: "R. Bukin" X-Rspamd-Queue-Id: 16AEF72613 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cam.ac.uk header.s=20180806.ppsw header.b=SaGeyUu/; spf=pass (mx1.freebsd.org: domain of rb743@hermes.cam.ac.uk designates 131.111.8.131 as permitted sender) smtp.mailfrom=rb743@hermes.cam.ac.uk X-Spamd-Result: default: False [-4.78 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_COMPOSITE_RCVD_IN_DNSWL_MED_DWL_DNSWL_LOW(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:131.111.0.0/16]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DKIM_TRACE(0.00)[cam.ac.uk:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_MED(-0.20)[131.8.111.131.list.dnswl.org : 127.0.11.2]; MX_GOOD(-0.01)[mx.cam.ac.uk,mx.cam.ac.uk,mx.cam.ac.uk,mx.cam.ac.uk]; FORGED_SENDER(0.30)[ruslan.bukin@cl.cam.ac.uk,rb743@hermes.cam.ac.uk]; IP_SCORE(-0.92)[ip: (-1.54), ipnet: 131.111.0.0/16(-0.60), asn: 786(-2.34), country: GB(-0.10)]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:786, ipnet:131.111.0.0/16, country:GB]; FREEMAIL_TO(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[ruslan.bukin@cl.cam.ac.uk,rb743@hermes.cam.ac.uk]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[cam.ac.uk:s=20180806.ppsw]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.952,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cam.ac.uk]; DWL_DNSWL_LOW(0.00)[cam.ac.uk.dwl.dnswl.org : 127.0.11.1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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: Thu, 27 Dec 2018 13:00:12 -0000 Hi Nilakshan, FreeBSD/RISC-V most likely will support rv32 in future, although work has not started yet. It will require some effort to port it. For example all the Syntacore SCR cpu range is 32-bit. Regarding control status registers (CSRs), I'm not sure what do you mean? Ruslan On Sat, Dec 22, 2018 at 10:46:49PM +0530, nilakshan kunananthaseelan wrote: > 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 > _______________________________________________ > freebsd-riscv@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-riscv > To unsubscribe, send any mail to "freebsd-riscv-unsubscribe@freebsd.org"