[Libre-soc-dev] qemu cosimulation

Luke Kenneth Casson Leighton lkcl at lkcl.net
Tue Jun 1 17:15:57 BST 2021


ok changing r1 from 0x100000 to 0x600000 in gprs.list was enough
to avoid the issue.

ah.  i think i might know what it is - 0x100700 is a location used for a
BIOS jump table of some kind.

currently running through the memcpy.

is committing this ok with you, including the corresponding adjustments
to mp3_0.sh and mp3_1.sh?

--- a/media/audio/mp3/mp3_0.gpr
+++ b/media/audio/mp3/mp3_0.gpr
@@ -2,7 +2,7 @@
 #                                  int *dither_state, float *samples,
 #                                  ptrdiff_t incr);
 1: 0x8000        # stack pointer
-3: 0x100000      # param 1: float *sunth_buf     buf
+3: 0x600000      # param 1: float *sunth_buf     buf
 4: 0x200000      # param 2: float *window        win
 5: 0x300000      # param 3: int *dither_state    &unused
 6: 0x400000      # param 3: float *samples       out
l.


More information about the Libre-soc-dev mailing list