powerpc/psim: Increase the psim memory to 256M

This allows test dl09 to run and test PowePC backend trampoline support.

Updates #3685
This commit is contained in:
Chris Johns
2019-02-02 15:32:38 +11:00
parent e2f13430be
commit b08278e852
3 changed files with 9 additions and 4 deletions

View File

@@ -101,8 +101,8 @@ void bsp_start( void )
* Setup BATs and enable MMU
*/
/* Memory */
setdbat(0, 0x0<<24, 0x0<<24, 2<<24, _PAGE_RW);
setibat(0, 0x0<<24, 0x0<<24, 2<<24, 0);
setdbat(0, 0x0<<28, 0x0<<28, 1<<28, _PAGE_RW);
setibat(0, 0x0<<28, 0x0<<28, 1<<28, 0);
/* PCI */
setdbat(1, 0x8<<24, 0x8<<24, 1<<24, IO_PAGE);
setdbat(2, 0xc<<24, 0xc<<24, 1<<24, IO_PAGE);

View File

@@ -1,4 +1,4 @@
#/openprom/init/register/pc 0
#/openprom/options/smp 2
#/openprom/options/oea-memory-size 4194304
/openprom/options/oea-memory-size 8388608
/openprom/options/oea-memory-size 0x10000000

View File

@@ -10,7 +10,7 @@
EXTERN (__vectors)
MEMORY {
RAM : ORIGIN = 0, LENGTH = 16M
RAM : ORIGIN = 0, LENGTH = 256M
EMPTY : ORIGIN = 0x0, LENGTH = 0
}
@@ -37,4 +37,9 @@ PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 10000);
PSIM = 0x0c000000;
/*
* Allocate the maximum memory to the sdata/sbss section.
*/
bsp_section_sdata_bss_maximum_size = 1;
INCLUDE linkcmds.base