--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/b36e1bb3-6512-46c6-8663-81bf60fb67f7%40groups.riscv.org.
As far as I know, any available pre-compiled linux for RISCV (e.g. http://riscv.mit.edu/debian/) is 64 bit, and also RV64IMA, because for processors powerful enough to run linux and with things such as MMUs the extra resources to be 64 bit instead of 32 bit are not a big overhead.As far as libraries and apps, there shouldn't be any problem compiling your own for 32 bit, using any -march you want, including plain RV32I. I guess you'll need some other solution for atomics if you don't have the A extension. You'd probably need at least some simple atomic instruction such as CAS available -- although actually I think LR&SC from the A extension would be simpler to implement, even if you don't do the rest of A.I don't know if anyone has done a 32 bit kernel yet. Probably not difficult to modify the RV64 one (easier than for a totally new architecture I mean). In this thread it was claimed that RV32 would be supported by the end of April: https://groups.google.com/a/groups.riscv.org/forum/#!topic/sw-dev/ssvYM8RFesk
On Fri, Aug 11, 2017 at 9:18 AM, vithurson subasharan <vith...@gmail.com> wrote:
hi all,I am currently developing a risc-v 32 bit processor for the FYP as FPGA implementation in which we can boot an OS. I need guidance regarding.1. Is there any available linux version for RV322. Is RV32I with privileged instructions ,virtual memory etc. enough?Thank you.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
Hi,
You can get a working RISC-V 32 bit Linux kernel and busybox in the disk image provided at https://bellard.org/riscvemu . You can also use a complete 32 bit RISC-V system with X Window at https://bellard.org/jslinux .
Best regards,
Fabrice.
On 08/11/2017 08:18 AM, vithurson subasharan wrote:
hi all,
I am currently developing a risc-v 32 bit processor for the FYP as FPGA
implementation in which we can boot an OS. I need guidance regarding.
1. Is there any available linux version for RV32
2. Is RV32I with privileged instructions ,virtual memory etc. enough?
Thank you.
--
You received this message because you are subscribed to the Google
Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to sw-dev+un...@groups.riscv.org
<mailto:sw-dev+unsubscribe@groups.riscv.org>.
To post to this group, send email to sw-...@groups.riscv.org
<mailto:sw-...@groups.riscv.org>.
Visit this group at
https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit
https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/b36e1bb3-6512-46c6-8663-81bf60fb67f7%40groups.riscv.org
<https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/b36e1bb3-6512-46c6-8663-81bf60fb67f7%40groups.riscv.org?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/598DD17B.4080302%40bellard.org.
<mailto:sw-dev%2Bunsubscribe@groups.riscv.org>
<mailto:sw-dev+unsubscribe@groups.riscv.org
<mailto:sw-dev%2Bunsubscribe@groups.riscv.org>>.
To post to this group, send email to sw-...@groups.riscv.org
<mailto:sw-...@groups.riscv.org>
<mailto:sw-...@groups.riscv.org <mailto:sw-...@groups.riscv.org>>.
Visit this group at
https://groups.google.com/a/groups.riscv.org/group/sw-dev/
<https://groups.google.com/a/groups.riscv.org/group/sw-dev/>.
To view this discussion on the web visit
https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/b36e1bb3-6512-46c6-8663-81bf60fb67f7%40groups.riscv.org
<https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/b36e1bb3-6512-46c6-8663-81bf60fb67f7%40groups.riscv.org>
<https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/b36e1bb3-6512-46c6-8663-81bf60fb67f7%40groups.riscv.org?utm_medium=email&utm_source=footer
<https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/b36e1bb3-6512-46c6-8663-81bf60fb67f7%40groups.riscv.org?utm_medium=email&utm_source=footer>>.
--
You received this message because you are subscribed to the Google
Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sw-dev+un...@groups.riscv.org
<mailto:sw-dev%2Bunsubscribe@groups.riscv.org>.
To post to this group, send email to sw-...@groups.riscv.org
<mailto:sw-...@groups.riscv.org>.
Visit this group at
https://groups.google.com/a/groups.riscv.org/group/sw-dev/
<https://groups.google.com/a/groups.riscv.org/group/sw-dev/>.
To view this discussion on the web visit
https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/598DD17B.4080302%40bellard.org
<https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/598DD17B.4080302%40bellard.org>.
--
You received this message because you are subscribed to the Google
Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to sw-dev+un...@groups.riscv.org
<mailto:sw-dev+unsubscribe@groups.riscv.org>.
To post to this group, send email to sw-...@groups.riscv.org
<mailto:sw-...@groups.riscv.org>.
Visit this group at
https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/598DE437.8060506%40bellard.org.
Hi Bruce,
> As far as libraries and apps, there shouldn't be any problem compiling your own for 32 bit
How you would proceed in the case of gdbserver, I looked at the riscv Debian repository and it does have binutils, but not the gdbserver package. Would that be just as any other platform, getting source, configure (find dependencies and compile them as well) and then make && make install? But looks like the build-essentials, gcc and other packages are missing in the repository.
Regards,
Anton
From: bruce...@gmail.com [mailto:bruce...@gmail.com]
On Behalf Of Bruce Hoult
Sent: Friday, August 11, 2017 1:24 PM
To: vithurson subasharan <vith...@gmail.com>
Cc: RISC-V SW Dev <sw-...@groups.riscv.org>
Subject: Re: [sw-dev] linux for riscv-32
EXTERNAL EMAIL
As far as I know, any available pre-compiled linux for RISCV (e.g. http://riscv.mit.edu/debian/) is 64 bit, and also RV64IMA, because for processors powerful enough to run linux and with things such as MMUs the extra resources to be 64 bit instead of 32 bit are not a big overhead.
As far as libraries and apps, there shouldn't be any problem compiling your own for 32 bit, using any -march you want, including plain RV32I. I guess you'll need some other solution for atomics if you don't have the A extension. You'd probably need at least some simple atomic instruction such as CAS available -- although actually I think LR&SC from the A extension would be simpler to implement, even if you don't do the rest of A.
I don't know if anyone has done a 32 bit kernel yet. Probably not difficult to modify the RV64 one (easier than for a totally new architecture I mean). In this thread it was claimed that RV32 would be supported by the end of April: https://groups.google.com/a/groups.riscv.org/forum/#!topic/sw-dev/ssvYM8RFesk
On Fri, Aug 11, 2017 at 9:18 AM, vithurson subasharan <vith...@gmail.com> wrote:
hi all,
I am currently developing a risc-v 32 bit processor for the FYP as FPGA implementation in which we can boot an OS. I need guidance regarding.
1. Is there any available linux version for RV32
2. Is RV32I with privileged instructions ,virtual memory etc. enough?
Thank you.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/b36e1bb3-6512-46c6-8663-81bf60fb67f7%40groups.riscv.org.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at
https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CAMU%2BEkz08%2BknjokdRKocqLV-D82vh-rORRL4TTieNVNQZhzdzg%40mail.gmail.com.
Hi Bruce,
> As far as libraries and apps, there shouldn't be any problem compiling your own for 32 bit
How you would proceed in the case of gdbserver, I looked at the riscv Debian repository and it does have binutils, but not the gdbserver package. Would that be just as any other platform, getting source, configure (find dependencies and compile them as well) and then make && make install? But looks like the build-essentials, gcc and other packages are missing in the repository.
Regards,
Anton
From: bruce...@gmail.com [mailto:bruce...@gmail.com] On Behalf Of Bruce Hoult
Sent: Friday, August 11, 2017 1:24 PM
To: vithurson subasharan <vith...@gmail.com>
Cc: RISC-V SW Dev <sw-...@groups.riscv.org>
Subject: Re: [sw-dev] linux for riscv-32
EXTERNAL EMAIL
As far as I know, any available pre-compiled linux for RISCV (e.g. http://riscv.mit.edu/debian/) is 64 bit, and also RV64IMA, because for processors powerful enough to run linux and with things such as MMUs the extra resources to be 64 bit instead of 32 bit are not a big overhead.
As far as libraries and apps, there shouldn't be any problem compiling your own for 32 bit, using any -march you want, including plain RV32I. I guess you'll need some other solution for atomics if you don't have the A extension. You'd probably need at least some simple atomic instruction such as CAS available -- although actually I think LR&SC from the A extension would be simpler to implement, even if you don't do the rest of A.
I don't know if anyone has done a 32 bit kernel yet. Probably not difficult to modify the RV64 one (easier than for a totally new architecture I mean). In this thread it was claimed that RV32 would be supported by the end of April: https://groups.google.com/a/groups.riscv.org/forum/#!topic/sw-dev/ssvYM8RFesk
On Fri, Aug 11, 2017 at 9:18 AM, vithurson subasharan <vith...@gmail.com> wrote:
hi all,
I am currently developing a risc-v 32 bit processor for the FYP as FPGA implementation in which we can boot an OS. I need guidance regarding.
1. Is there any available linux version for RV32
2. Is RV32I with privileged instructions ,virtual memory etc. enough?
Thank you.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/b36e1bb3-6512-46c6-8663-81bf60fb67f7%40groups.riscv.org.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CAMU%2BEkz08%2BknjokdRKocqLV-D82vh-rORRL4TTieNVNQZhzdzg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/1DDB5E3A4442AF48B162E744C9B278BB19472FE5%40avsrvexchmbx1.microsemi.net.
--
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/b36e1bb3-6512-46c6-8663-81bf60fb67f7%40groups.riscv.org.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CAMU%2BEkz08%2BknjokdRKocqLV-D82vh-rORRL4TTieNVNQZhzdzg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
Hi Bruce,
That is dependant on the picoriscv32, even when I intend running the gdbserver with riscv64. I gave it a try and the instructions are not completed, so I opened issue there and we will see if it will compile something which will work.
--
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/b36e1bb3-6512-46c6-8663-81bf60fb67f7%40groups.riscv.org.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CAMU%2BEkz08%2BknjokdRKocqLV-D82vh-rORRL4TTieNVNQZhzdzg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
Hi Bruce,
I gave this riscv-binutils-gdb a try about 3 weeks ago and looks like the gdb is primary focus and the gdb-server part was forgotten for a moment. Looks like it’s broken at the moment, but if you have any insight please don’t hesitate to comment on the issue:
https://github.com/riscv/riscv-binutils-gdb/issues/96
Regards,
Anton
From: bruce...@gmail.com [mailto:bruce...@gmail.com] On Behalf Of Bruce Hoult
Sent: Friday, August 11, 2017 6:40 PM
To: Anton Krug <anton...@microsemi.com>
Dear experts,
Sorry for bugging in an old thread. is there a 32 bit version of linux for riscv ?
I saw one for 64 bit.
if not what would be the effort to get it one ?
regards,Sathya
On Friday, August 11, 2017 at 11:48:34 AM UTC+5:30, vithurson subasharan wrote:hi all,I am currently developing a risc-v 32 bit processor for the FYP as FPGA implementation in which we can boot an OS. I need guidance regarding.1. Is there any available linux version for RV322. Is RV32I with privileged instructions ,virtual memory etc. enough?Thank you.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/2c8e4268-a6f1-4434-a82e-236825296cda%40groups.riscv.org.
Hello Sathya
On 07/03/2019 07:02, Sathya Narayanan N wrote:
Dear experts,
Sorry for bugging in an old thread. is there a 32 bit version of linux for riscv ?
Buildroot [1] can build a 32-bit Linux system for RISC-V that boots under QEMU.
Regards
Mark
[1] https://buildroot.org/
--I saw one for 64 bit.
if not what would be the effort to get it one ?
regards,Sathya
On Friday, August 11, 2017 at 11:48:34 AM UTC+5:30, vithurson subasharan wrote:hi all,I am currently developing a risc-v 32 bit processor for the FYP as FPGA implementation in which we can boot an OS. I need guidance regarding.1. Is there any available linux version for RV322. Is RV32I with privileged instructions ,virtual memory etc. enough?Thank you.
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/2c8e4268-a6f1-4434-a82e-236825296cda%40groups.riscv.org.
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CAFyWVaZiuMq23qCh_1%3Dsw1%3D4xKOMe3FDdDwCc%3DkbWU5pFds3Cw%40mail.gmail.com.