Hi all,
As it still seems there are some memory issues with SPARC32 (even with the new patches), I've just tried increasing the memory for the Forth machine from 128K to 256K by making the following change in arch/sparc32/openbios.c:
--- arch/sparc32/openbios.c (revision 918) +++ arch/sparc32/openbios.c (working copy) @@ -26,7 +26,7 @@ #define NO_QEMU_PROTOS #include "arch/common/fw_cfg.h"
-#define MEMORY_SIZE (128*1024) /* 16K ram for hosted system */ +#define MEMORY_SIZE (256*1024) /* 16K ram for hosted system */ #define DICTIONARY_SIZE (256*1024) /* 256K for the dictionary */ #define UUID_FMT "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x" #define FW_CFG_SUN4M_DEPTH (FW_CFG_ARCH_LOCAL + 0x00)
However, with this change in place OpenBIOS just freezes on boot after emitting "Configuration device id QEMU version 1 machine id 32". Does anyone know anything about the SPARC32 memory code to know why changing this constant doesn't just work?
ATB,
Mark.