Skip to content

Add build config for Milk-V Duo (RISC-V Linux) board - #6373

Merged
matz merged 4 commits into
mruby:masterfrom
vickash:milkvduo
Oct 7, 2024
Merged

Add build config for Milk-V Duo (RISC-V Linux) board#6373
matz merged 4 commits into
mruby:masterfrom
vickash:milkvduo

Conversation

@vickash

@vickash vickash commented Oct 6, 2024

Copy link
Copy Markdown
Contributor

This RISC-V board comes in variants as low as 64MB RAM, and runs a stripped down version of Linux, so I thought mruby would be a good idea.

Confirmed the following run on the board (Milk-V Duo 256MB / SG2002 SoC):

  • C program using mruby as a library, also cross-compiled on host
  • The mrbc mruby and mirb binaries produced

All the standard gems compile, except for the test gem. I get this error:

NoMethodError: undefined method `source_exts' for nil:NilClass

If there's a way to fix, so I can run the tests on the board too, please let me know.

@vickash
vickash requested a review from matz as a code owner October 6, 2024 04:51
@github-actions github-actions Bot added the build label Oct 6, 2024
Comment thread build_config/milkv_duo.rb Outdated
conf.gem 'mrbgems/mruby-string-ext/'
conf.gem 'mrbgems/mruby-struct/'
conf.gem 'mrbgems/mruby-symbol-ext/'
conf.gem 'mrbgems/mruby-test-inline-struct/'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mruby-test-inline-struct is only for a test. Probably you don't need it for Milk-V.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Commented out.

@matz
matz merged commit 7e6f868 into mruby:master Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants