You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Olof,
I tried installing fusesoc fresh on my crashed pc, and now, after installation, the elf-load argument is failing, throwing a fusesoc error as an unrecognised argument.
Reference:
jeebu@jeebu-desktop:~/openrisc/orpsoc-build$ ll
total 200
drwxrwxr-x 3 jeebu jeebu 4096 Jun 6 02:36 ./
drwxrwxr-x 9 jeebu jeebu 4096 Jun 5 13:50 ../
drwxr-xr-x 3 jeebu jeebu 4096 Jun 5 14:24 build/
-rw-rw-r-- 1 jeebu jeebu 81 Jun 5 11:12 fusesoc.conf
-rw-rw-r-- 1 jeebu jeebu 125 Jun 6 02:52 fusesoc.log
-rw-rw-r-- 1 jeebu jeebu 73 Jun 6 02:36 test.c
-rwxrwxr-x 1 jeebu jeebu 181449 Jun 6 02:36 test.elf*
This is actually working as intended even though I realize it's not very intutive :)
--elf-load is a runtime argument intended for the simulation engine (that is converted to a verilog plusarg), so it has to be specified after the system keyword. In general it's like this
fusesoc <system/core> <system/core-specific arguments>
global arguments are currently only --cores-root to add extra repositories
action can be for example build or sim
action-specific arguments can be --force or --build-only for the sim action
core/system-specific arguments are those you will find when you run fusesoc sim --help
Hope this helps. The github issues page is starting to turn into the most comprehensive documentation so far :)
Dear Olof,
I tried installing fusesoc fresh on my crashed pc, and now, after installation, the elf-load argument is failing, throwing a fusesoc error as an unrecognised argument.
Reference:
jeebu@jeebu-desktop:~/openrisc/orpsoc-build$ ll
total 200
drwxrwxr-x 3 jeebu jeebu 4096 Jun 6 02:36 ./
drwxrwxr-x 9 jeebu jeebu 4096 Jun 5 13:50 ../
drwxr-xr-x 3 jeebu jeebu 4096 Jun 5 14:24 build/
-rw-rw-r-- 1 jeebu jeebu 81 Jun 5 11:12 fusesoc.conf
-rw-rw-r-- 1 jeebu jeebu 125 Jun 6 02:52 fusesoc.log
-rw-rw-r-- 1 jeebu jeebu 73 Jun 6 02:36 test.c
-rwxrwxr-x 1 jeebu jeebu 181449 Jun 6 02:36 test.elf*
jeebu@jeebu-desktop:~/openrisc/orpsoc-build$ fusesoc sim --force --elf-load=test.elf or1200-generic
usage: fusesoc [-h] [--cores-root CORES_ROOT] [--systems-root SYSTEMS_ROOT]
fusesoc: error: unrecognized arguments: --elf-load=test.elf
jeebu@jeebu-desktop:~/openrisc/orpsoc-build$
Thanks and Regards
Jeebu
The text was updated successfully, but these errors were encountered: