Skip to content

Misc stuff (yeah, bad title)#92

Merged
remexre merged 10 commits intotrunkfrom
remexre/misc
Mar 21, 2026
Merged

Misc stuff (yeah, bad title)#92
remexre merged 10 commits intotrunkfrom
remexre/misc

Conversation

@remexre
Copy link
Copy Markdown
Member

@remexre remexre commented Feb 28, 2026

On top of #70; merge that one first, then rebase this.


  • Adds a script for doing a basic build test of each commit in a PR since trunk (or since another ref).
  • Switches the qemu-riscv64 target to RVA23, since hardware that implements that is becoming available (Bump qemu-riscv64 target to RVA23? #90).
  • Makes the qemu-riscv64 target dual-core, so we can test multicore behavior with it.
  • Adds some dependencies (busybox, watchexec) that weren't already specified in the flake.
  • Documents lists and the bytes format directive.
  • Adds the {bytes:?} flag to the bytes format directive.
  • Updates the Milk-V Duo S U-Boot to include 2fe9d34, which adds properties to its devicetree that supersede some older, deprecated ones.
  • Adds the strnlen builtin function.

@remexre remexre force-pushed the remexre/driver-model branch from ff452dc to 42c8ab0 Compare February 28, 2026 19:24
Base automatically changed from remexre/driver-model to trunk March 18, 2026 16:23
remexre added 9 commits March 18, 2026 19:17
Signed-off-by: Amy Ringo <me@remexre.com>
Closes #90.

Note that this depends on GCC 15 (#82) as well. GCC 16 will let us
simplify the -march line to -march=rva23s64, but it's not released at
the time of writing.

Signed-off-by: Amy Ringo <me@remexre.com>
This makes it easier to test concurrency-related code.

Signed-off-by: Amy Ringo <me@remexre.com>
This adds support for the riscv,isa-base and riscv,isa-extensions
properties, which are more reliable than the deprecated riscv,isa
property.

Signed-off-by: Amy Ringo <me@remexre.com>
This is needed for busybox tftp.

Signed-off-by: Amy Ringo <me@remexre.com>
This is used by make watch.

Signed-off-by: Amy Ringo <me@remexre.com>
The {bytes:?} behavior doesn't match what Rust does, but it's a
useful behavior for "typically a string" fields.

Signed-off-by: Amy Ringo <me@remexre.com>
Signed-off-by: Amy Ringo <me@remexre.com>
Signed-off-by: Amy Ringo <me@remexre.com>
Copy link
Copy Markdown
Contributor

@jastintime jastintime left a comment

Choose a reason for hiding this comment

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

this is a bit easier to read.

Comment thread tools/build-each-commit.sh Outdated
Comment thread tools/build-each-commit.sh Outdated
Co-authored-by: jastintime <130672671+jastintime@users.noreply.github.com>
Signed-off-by: remexre <me@remexre.com>
@jastintime jastintime self-requested a review March 21, 2026 18:26
Copy link
Copy Markdown
Contributor

@jastintime jastintime left a comment

Choose a reason for hiding this comment

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

lgtm

@remexre remexre added this pull request to the merge queue Mar 21, 2026
Merged via the queue into trunk with commit 2b84d4d Mar 21, 2026
13 checks passed
@remexre remexre deleted the remexre/misc branch March 21, 2026 18:36
june-fish pushed a commit that referenced this pull request Mar 21, 2026
* Adds a script that build-tests each commit since trunk.

Signed-off-by: Amy Ringo <me@remexre.com>

* Switches qemu-riscv64 target to RVA23.

Closes #90.

Note that this depends on GCC 15 (#82) as well. GCC 16 will let us
simplify the -march line to -march=rva23s64, but it's not released at
the time of writing.

Signed-off-by: Amy Ringo <me@remexre.com>

* Gives the qemu-riscv64 target a second hart.

This makes it easier to test concurrency-related code.

Signed-off-by: Amy Ringo <me@remexre.com>

* Bumps the Milk-V Duo S U-Boot to update Devicetree.

This adds support for the riscv,isa-base and riscv,isa-extensions
properties, which are more reliable than the deprecated riscv,isa
property.

Signed-off-by: Amy Ringo <me@remexre.com>

* Adds busybox to Nix flake devShell.

This is needed for busybox tftp.

Signed-off-by: Amy Ringo <me@remexre.com>

* Adds watchexec to the devcontainer and flake.

This is used by make watch.

Signed-off-by: Amy Ringo <me@remexre.com>

* Adds documentation for the bytes format directive, adds {bytes:?}.

The {bytes:?} behavior doesn't match what Rust does, but it's a
useful behavior for "typically a string" fields.

Signed-off-by: Amy Ringo <me@remexre.com>

* Adds the strnlen builtin.

Signed-off-by: Amy Ringo <me@remexre.com>

* Adds a page documenting lists.

Signed-off-by: Amy Ringo <me@remexre.com>

* Update tools/build-each-commit.sh

Co-authored-by: jastintime <130672671+jastintime@users.noreply.github.com>
Signed-off-by: remexre <me@remexre.com>

---------

Signed-off-by: Amy Ringo <me@remexre.com>
Signed-off-by: remexre <me@remexre.com>
Co-authored-by: jastintime <130672671+jastintime@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants