| View previous topic :: View next topic |
| Author |
Message |
chrismulhearn
Joined: 22 Feb 2006 Posts: 80
|
Posted: Sat Jan 27, 2007 5:32 am Post subject: Memory area 0xA8400000 |
|
|
On my 1.5 PSP, kernel-mode accesses to memory address 0xA8400000 give me a CPU data bus error. Anyone know why this is? Is this actually the VRAM, which is also accessible at 0xA4000000?
If its not the VRAM, is there any remedy to get access to that memory?
Note: I know that there is usually some library loaded in that location, but that doesn't matter because I'm not using the PSP OS and I've replaced their exception handler, so nothing should ever be trying to use that memory area.
Simply writing data to that location causes a bus error. |
|
| Back to top |
|
 |
jas0nuk
Joined: 27 Apr 2006 Posts: 137
|
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sat Jan 27, 2007 8:09 am Post subject: |
|
|
| Hmm - using the info in that topic, it looks like you may be able to make uClinux use all 32M of memory, or at least be able to load and protect the uClinux kernel, much like the PSP kernel is protected. |
|
| Back to top |
|
 |
chrismulhearn
Joined: 22 Feb 2006 Posts: 80
|
Posted: Sat Jan 27, 2007 12:41 pm Post subject: uclinux now with 32mb |
|
|
sure can!
Just had to rewrite some parts of the bootloader to accomodate it [now that I am overwriting the PSP OS, I can't be writing the kernel to its final destination while loading it off the memory stick, so I load the kernel to an intermediate location first, then kill PSP OS entry, then copy the kernel to its real home. Then jump to it and enjoy the 32 megabytes of breathing room.]
Thanks guys, and thank you Tyranid, great find. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sat Jan 27, 2007 2:13 pm Post subject: |
|
|
| Every bit helps. Going from 24M to 32M is a BIG increase. |
|
| Back to top |
|
 |
hagisbasheruk
Joined: 22 Jan 2007 Posts: 7
|
Posted: Sat Jan 27, 2007 11:31 pm Post subject: |
|
|
| This is getting very exciting now thanks jas0nuk for the link and thanks to Tyranid for making the discovery regarding the memory protection bits. |
|
| Back to top |
|
 |
jas0nuk
Joined: 27 Apr 2006 Posts: 137
|
Posted: Sun Jan 28, 2007 3:15 am Post subject: |
|
|
| Ah, glad it helped :) |
|
| Back to top |
|
 |
|