Closed mausys closed 18 hours ago
Hi @mausys! We appreciate you submitting your first issue for our open-source project. 🌟
Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙
Sorry, my suggestion was wrong. The OpenAMP host (usually linux kernel) gets the resource table from the ELF file, so modifying it during runtime has no effect. But I have an other solution, pull request will follow soon.
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
The ram_console buffer used to be a global variable (array), now it's a pointer to an array. The problem with this is, that the lib/open-amp/resource_table.c directly uses this pointer for its resource table and the openamp host can't handle it.
My suggestion would be that, instead of using the global variable
ram_console
, implement aram_console_get_buffer
function and use that in rsc_table_get to complete the resource table.