RISC-V

852 views
Skip to first unread message

john s wolter

unread,
Jan 28, 2023, 3:08:57 PM1/28/23
to min...@googlegroups.com
Say has any work being done for the RISC-V yet?  Also, started to learn RUST programming.  

RUST appears to have an embedded future.

Cheers, John S. Wolter



Parcons

unread,
Jan 29, 2023, 3:34:54 AM1/29/23
to minix3
I haven't heard much in the way of RISC-V MINIX, but Rust is an iffy subject, especially for anything embedded.
I'm sure it'll be easier to justify when it's standardized, though!

Peter Shkenev

unread,
Feb 6, 2023, 11:54:29 AM2/6/23
to min...@googlegroups.com
Hello John,

On Sat, Jan 28, 2023 at 03:08:38PM -0500, john s wolter wrote:
> Say has any work being done for the RISC-V yet?

No. There is incomplete ARM port though.

---
Best regards,
Peter

johnswolter

unread,
Feb 19, 2023, 3:13:43 AM2/19/23
to minix3
Read all of this below & get back to me when you read 100% of this

RUST

Rust home

Rust Embedded just off the home page

See : OSblog how to write an OS using Rust link near the end of this list

REWRITE MINIX3 USING RUST.

   Window 2

      Learn Rust - Rust Programming Language
      https://www.rust-lang.org/learn

      rust programming language - Google Search
      https://www.google.com/search?q=rust+programming+language&rlz=1C1SQJL_enUS1013US1013&oq=rust+programming+language&aqs=chrome..69i57j69i59j69i65.24663j0j4&sourceid=chrome&ie=UTF-8

      rust embedded - Google Search
      https://www.google.com/search?q=rust+embedded&rlz=1C1SQJL_enUS1013US1013&oq=rust+embedded&aqs=chrome..69i57j69i60l2.10786j0j7&sourceid=chrome&ie=UTF-8

      Embedded devices - Rust Programming Language
      https://www.rust-lang.org/what/embedded

      Introduction - The Embedded Rust Book
      https://docs.rust-embedded.org/book/

      Windows - The Embedded Rust Book
      https://docs.rust-embedded.org/book/intro/install/windows.html

      Linux - The Embedded Rust Book
      https://docs.rust-embedded.org/book/intro/install/linux.html

      Hardware - The Embedded Rust Book
      https://docs.rust-embedded.org/book/start/hardware.html

      rust embedded discovery - Google Search
      https://www.google.com/search?newwindow=1&rlz=1C1SQJL_enUS1013US1013&sxsrf=AJOqlzWwjebVZmlZEOvvz-XcG-Q6XXzEOA%3A1673476698234&lei=Wjq_Y9rzDauqptQPyN-B8AE&q=rust%20embedded%20discovery&ved=2ahUKEwjaiI3BysD8AhUrlYkEHchvAB4QsKwBKAV6BQjdAhAG

      Choose Your Discovery
      https://docs.rust-embedded.org/discovery/

      Introduction - Discovery
      https://docs.rust-embedded.org/discovery/microbit/

   Window 3

      rust programming language - Google Search
      https://www.google.com/search?q=rust+programming+language&rlz=1C1SQJL_enUS1013US1013&oq=rust+programming+language&aqs=chrome..69i57j69i59j69i65.24663j0j4&sourceid=chrome&ie=UTF-8

      Embedded devices working group - Rust Programming Language
      https://www.rust-lang.org/governance/wgs/embedded

      Rust programming language - what is rust used for and why is so popular? - CodiLime
      https://codilime.com/blog/why-is-rust-programming-language-so-popular/

      Why Rust will replace C++ in the future - DEV Community 👩‍💻👨‍💻
      https://dev.to/roy8/why-rust-will-replace-c-in-the-future-49op

      The dark side of Rust Language. Rust is an amazing language. If you… | by ilegra | Medium
      https://medium.com/@ilegra/the-dark-side-of-rust-language-4fe2b9c2faf3

      Why Rust language is not popular? - Google Search
      https://www.google.com/search?newwindow=1&rlz=1C1SQJL_enUS1013US1013&cs=1&sxsrf=AJOqlzV0rqq_vyGjWNxRMFHW5I6qaX2fkg:1673500066429&q=Why+Rust+language+is+not+popular%3F&sa=X&ved=2ahUKEwjnoO3HocH8AhVEkIkEHWknAB0Qzmd6BAgBEAU

      Why is the Rust programming language not widely adopted? - Quora
      https://www.quora.com/Why-is-the-Rust-programming-language-not-widely-adopted

      Which Language Should You Learn In 2021? | Kofi Group
      https://www.kofi-group.com/rustlang-vs-c-which-language-should-you-learn-in-2021/

      www.zdnet.com
      https://www.zdnet.com/article/google-after-using-rust-we-slashed-android-memory-safety-vulnerabilities/

      The Drum | Rust: Is This Programming Language The Future Of Web Development?
      https://www.thedrum.com/opinion/2022/10/28/rust-programming-language-the-future-web-development

      Rust (programming language) - Wikipedia
      https://en.wikipedia.org/wiki/Rust_(programming_language)

      MSP430 - Google Search
      https://www.google.com/search?q=MSP430&rlz=1C1SQJL_enUS1013US1013&oq=MSP430&aqs=chrome..69i57.18273j0j7&sourceid=chrome&ie=UTF-8

      MSP430 launch pad - Google Search
      https://www.google.com/search?q=MSP430+launch+pad&newwindow=1&rlz=1C1SQJL_enUS1013US1013&sxsrf=AJOqlzUbBbW7TuK8jEuMd6j-nqFKSKIYsw%3A1674361186014&ei=YrnMY4tC3Zmm1A-7y7C4Bg&ved=0ahUKEwiL-969qdr8AhXdjIkEHbslDGcQ4dUDCBA&uact=5&oq=MSP430+launch+pad&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIKCC4QgAQQ5QQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjoKCAAQRxDWBBCwAzoHCAAQsAMQQzoNCAAQ5AIQ1gQQsAMYAToSCC4QxwEQ0QMQyAMQsAMQQxgCOgcILhDlBBBDOgQIABBDOggILhCABBDlBDoFCAAQgARKBAhBGABKBAhGGAFQvw5Y8E9g_1ZoAXABeACAAe0BiAHqC5IBBTMuNi4ymAEAoAEByAETwAEB2gEGCAEQARgJ2gEGCAIQARgI&sclient=gws-wiz-serp

      MSP430
      https://www.olimex.com/Products/MSP430/

      The MSP430 MCU just gained an ARM-based cousin, the M4-based MSP432 - Embedded Computing Design
      https://embeddedcomputing.com/technology/processing/the-msp430-mcu-just-gained-an-arm-based-cousin-the-m4-based-msp432

      Home - Embedded Computing Design
      https://embeddedcomputing.com/

   Window 4

      All Channels - Xfinity Stream
      https://www.xfinity.com/stream/live/Watch-FOX2-News/8615637520029897105/WJBKD

It appears there is a large & official Rust embedded working group.   They have a GitHUb repositories...
There's a book Titled, "The Embedded Rust Book"

Here's a real "Data-Dump" 
ALL RUST Embedded fixit

   
   Window 1

      Learn Rust - Rust Programming Language
      https://www.rust-lang.org/learn

      rust programming language - Google Search
      https://www.google.com/search?q=rust+programming+language&rlz=1C1SQJL_enUS1013US1013&oq=rust+programming+language&aqs=chrome..69i57j69i59j69i65.24663j0j4&sourceid=chrome&ie=UTF-8

      rust embedded - Google Search
      https://www.google.com/search?q=rust+embedded&rlz=1C1SQJL_enUS1013US1013&oq=rust+embedded&aqs=chrome..69i57j69i60l2.10786j0j7&sourceid=chrome&ie=UTF-8

      Embedded devices - Rust Programming Language
      https://www.rust-lang.org/what/embedded

      Introduction - The Embedded Rust Book
      https://docs.rust-embedded.org/book/

      Windows - The Embedded Rust Book
      https://docs.rust-embedded.org/book/intro/install/windows.html

      Linux - The Embedded Rust Book
      https://docs.rust-embedded.org/book/intro/install/linux.html

      Hardware - The Embedded Rust Book
      https://docs.rust-embedded.org/book/start/hardware.html

      rust embedded discovery - Google Search
      https://www.google.com/search?newwindow=1&rlz=1C1SQJL_enUS1013US1013&sxsrf=AJOqlzWwjebVZmlZEOvvz-XcG-Q6XXzEOA%3A1673476698234&lei=Wjq_Y9rzDauqptQPyN-B8AE&q=rust%20embedded%20discovery&ved=2ahUKEwjaiI3BysD8AhUrlYkEHchvAB4QsKwBKAV6BQjdAhAG

      Choose Your Discovery
      https://docs.rust-embedded.org/discovery/

      Introduction - Discovery
      https://docs.rust-embedded.org/discovery/microbit/

   Window 3

      rust programming language - Google Search
      https://www.google.com/search?q=rust+programming+language&rlz=1C1SQJL_enUS1013US1013&oq=rust+programming+language&aqs=chrome..69i57j69i59j69i65.24663j0j4&sourceid=chrome&ie=UTF-8

      Embedded devices working group - Rust Programming Language
      https://www.rust-lang.org/governance/wgs/embedded

      Rust programming language - what is rust used for and why is so popular? - CodiLime
      https://codilime.com/blog/why-is-rust-programming-language-so-popular/

      Why Rust will replace C++ in the future - DEV Community 👩‍💻👨‍💻
      https://dev.to/roy8/why-rust-will-replace-c-in-the-future-49op

      The dark side of Rust Language. Rust is an amazing language. If you… | by ilegra | Medium
      https://medium.com/@ilegra/the-dark-side-of-rust-language-4fe2b9c2faf3

      Why Rust language is not popular? - Google Search
      https://www.google.com/search?newwindow=1&rlz=1C1SQJL_enUS1013US1013&cs=1&sxsrf=AJOqlzV0rqq_vyGjWNxRMFHW5I6qaX2fkg:1673500066429&q=Why+Rust+language+is+not+popular%3F&sa=X&ved=2ahUKEwjnoO3HocH8AhVEkIkEHWknAB0Qzmd6BAgBEAU

      Why is the Rust programming language not widely adopted? - Quora
      https://www.quora.com/Why-is-the-Rust-programming-language-not-widely-adopted

      Which Language Should You Learn In 2021? | Kofi Group
      https://www.kofi-group.com/rustlang-vs-c-which-language-should-you-learn-in-2021/

      www.zdnet.com
      https://www.zdnet.com/article/google-after-using-rust-we-slashed-android-memory-safety-vulnerabilities/

      The Drum | Rust: Is This Programming Language The Future Of Web Development?
      https://www.thedrum.com/opinion/2022/10/28/rust-programming-language-the-future-web-development

      Rust (programming language) - Wikipedia
      https://en.wikipedia.org/wiki/Rust_(programming_language)

      MSP430 - Google Search
      https://www.google.com/search?q=MSP430&rlz=1C1SQJL_enUS1013US1013&oq=MSP430&aqs=chrome..69i57.18273j0j7&sourceid=chrome&ie=UTF-8

      MSP430 launch pad - Google Search
      https://www.google.com/search?q=MSP430+launch+pad&newwindow=1&rlz=1C1SQJL_enUS1013US1013&sxsrf=AJOqlzUbBbW7TuK8jEuMd6j-nqFKSKIYsw%3A1674361186014&ei=YrnMY4tC3Zmm1A-7y7C4Bg&ved=0ahUKEwiL-969qdr8AhXdjIkEHbslDGcQ4dUDCBA&uact=5&oq=MSP430+launch+pad&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIKCC4QgAQQ5QQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjIHCAAQgAQQCjoKCAAQRxDWBBCwAzoHCAAQsAMQQzoNCAAQ5AIQ1gQQsAMYAToSCC4QxwEQ0QMQyAMQsAMQQxgCOgcILhDlBBBDOgQIABBDOggILhCABBDlBDoFCAAQgARKBAhBGABKBAhGGAFQvw5Y8E9g_1ZoAXABeACAAe0BiAHqC5IBBTMuNi4ymAEAoAEByAETwAEB2gEGCAEQARgJ2gEGCAIQARgI&sclient=gws-wiz-serp

      MSP430
      https://www.olimex.com/Products/MSP430/

      The MSP430 MCU just gained an ARM-based cousin, the M4-based MSP432 - Embedded Computing Design
      https://embeddedcomputing.com/technology/processing/the-msp430-mcu-just-gained-an-arm-based-cousin-the-m4-based-msp432

      Home - Embedded Computing Design
      https://embeddedcomputing.com/

 Filesystems: RISCV OS in Rust
Window
1 of 14 tabs

Peter Shkenev

unread,
Feb 19, 2023, 3:58:07 AM2/19/23
to min...@googlegroups.com
Hello,

If you want to rewrite Minix in Rust, it is your homework to read all that.

---
Best regards,
Peter

johnswolter

unread,
Feb 19, 2023, 5:08:36 PM2/19/23
to minix3
Peter,

Yes you're right.  Looking at MINIX3 & other RTOS for vehicles & aerospace applications & railroads & other transport, I think the AUTOSAR focus is a mistake.  More $$ & Euros are to be made with the needed support structures.  The core should be OSS.  

Elektrobit is focused on closed source AUTOSAR.  I believe that leaves the market to not satisfying the safety concerns not being cross shared like is done on kernel.org,  The OSS culture promotes sharing a common code base through a Foundation company, testing lab, & working out needed government regulation.

I've been working on an Open Source AUTOSAR,org .  It defines lots of APIs.  The auto & vehicle companies started this after several warranty crash & burn that cost on the order $14 B problems.  One example BMW's early 2000s was part of that problem space.  

There is one developer from Japan on GitHub who took the 1990s OTEK (sp?) as a start but hasn't gone very far as of yet.  Given 100s of ECUs/Microcontrollers per vehicle OSS can help them communicate internally & externally.  

RISC-V appears at 0.10 cents USD for lowend microcontrollers is a value.  Ford here in Detroit is building it's own fabrication  & battery manufacturing companies.  U.S. companies are doing the same.

RISC-Vs are the low cost road ahead for the U.S., Europe, & Japan.  Now what about OSS for core AUTOSAR's needed RTOS?  MINIX3 recast into this heterogeneous distributed space can be a game changer up & down the stack.

Peter Shkenev

unread,
Feb 20, 2023, 4:55:03 AM2/20/23
to min...@googlegroups.com
Please stay on-topic.
Reply all
Reply to author
Forward
0 new messages