firesim / FireMarshal

Software workload management tool for RISC-V based SoC research. This is the default workload management tool for Chipyard and FireSim.
https://docs.fires.im/en/latest/Advanced-Usage/Workloads/index.html
Other
74 stars 49 forks source link

can not create nodisk image when overwriting the linux config #284

Open RaphaelKlink opened 1 year ago

RaphaelKlink commented 1 year ago

Hey,

when i try to overwrite a linux config with another linux config in the firemarshal config, i can not create a nodisk version. It will always create the correct image, but in the disk version even when i add -d . The same problem was described here: https://groups.google.com/g/firesim/c/eb4GNmKxryc/m/Dm-V1q2VBwAJ

linux.json:

{ "name" : "linux", "base": "br-base.json", "linux" : { "config" : "kernel-config", "modules": {} } }

kernel-config:

CONFIG_SPI=y

I have done some searching and i was able to narrow it down. The problem is with my new linux config. If I overwrite another linux config, it will forget the nodisk option during image creation. The image still is called *-nodisk, but it is a disk image. Did i do something wrong or is there an error in firemarshal?

Greetings Raphael Klink