notaz
Certified Guru
Yes the GPP and DSP address spaces match, since they are both sit on L3 (main) bus. The only difference is, like bsp said, that DSP has it's peripherals and caches overlaid at 00000000-10ffffff (GPP sees GPMC there).
About corruption, I can think of these possible reasons:
- DSP bringup code touches something that affects NAND/SD controllers, perhaps some shared PLLs or something?
- DSP or GPP accidentally writes to 00000000-3fffffff, where GPMC (which controls NAND) is mapped
Since you can trigger the corruption quite easily, it would be interesting to know if starting the DSP multiple times (run then rmmod c64) can trigger the issue. And yes closing the lid may have effect on all this since this turns off the display controller and various clocks are turned off along with it, so maybe something DSP needs is turned off too and that causes it go crazy.
About corruption, I can think of these possible reasons:
- DSP bringup code touches something that affects NAND/SD controllers, perhaps some shared PLLs or something?
- DSP or GPP accidentally writes to 00000000-3fffffff, where GPMC (which controls NAND) is mapped
Since you can trigger the corruption quite easily, it would be interesting to know if starting the DSP multiple times (run then rmmod c64) can trigger the issue. And yes closing the lid may have effect on all this since this turns off the display controller and various clocks are turned off along with it, so maybe something DSP needs is turned off too and that causes it go crazy.
Last edited by a moderator: