Closed trimpim closed 10 months ago
@trimpim Thanks for your contribution. Please have a look at my comments in commit 279f156.
Would you be interested in implementing a similar mechanism for Report service requirements as well?
@jschlatow I just pushed 3 fixup commits.
services(rom)
arrayThanks for this very useful addition to Goa!
As a minor suggestion, could we rename "roms" to "rom" to stay consistent with the naming throughout Genode?
We usually don't name things in plural (e.g., depot "image" instead of "images") with "src/drivers" being the only exception (which will hopefully rectified down the road - https://github.com/genodelabs/genode/issues/4420#issuecomment-1438629544).
@nfeske is 8df4759 what you had in mind?
@jschlatow about your question regarding implementing the same for the Report
service. I currently have too many other things on my open list. Therefore I'm able to do this in the foreseeable future.
@nfeske is https://github.com/genodelabs/goa/commit/8df47590b904c0ea596fa8cdaabba3831a9fd2e1 what you had in mind?
Almost. The directory var/roms/ should be var/rom/. The start_roms_provider
function should be named start_rom_provider
. The name of the example comes to mind (which coincidentally only accesses one external ROM anyway). It'd probably be best to grep
and find
for roms
to get all places covered.
@nfeske and @jschlatow c0e070f adds the actual file for the test. It didn't get added as before, as the var directory is in .gitignore
but it is required for the test.
@trimpim thanks a lot for the fixups. I have two more comments:
external_rom/pkg
?set version ...
done in the .goarc
into share/goa/goarc
instead? The latter file is updated for every Sculpt release whereas we would most certainly miss updating the local .goarc
file.@jschlatow happy to help.
external_rom/pkg/
set version ...
to share/goa/goarc
and removes the .goarc
fileMerged to staging as 2f54345
[init -> external_rom -> report_rom] <input>
[init -> external_rom -> report_rom] <hello value="Genodians"/>
[init -> external_rom -> report_rom] </input
just out of curiosity does any one know why the last >
of the output is always missing (e.g. </intput
or </empty
)?
@ssumpf to me this sounds like it is related to https://github.com/genodelabs/genode/issues/4985
@ssumpf to me this sounds like it is related to genodelabs/genode#4985
Exactly!
This allows access to ROM modules that are provided from outside of the project. The feature is activated as in the code snippet below:
To provide the ROM a
lx_fs
and afs_rom
component are started. A file with the namename_of_rom
is expected in the sub directoryroms
.