[OpenBIOS] SPARC32: Trying to increase machine memory and failing

Andreas Färber andreas.faerber at web.de
Mon Oct 25 19:34:15 CEST 2010


Hi,

Am 25.10.2010 um 11:02 schrieb Mark Cave-Ayland:

> 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".

I think you need to adjust VMEM_SIZE in arch/sparc32/ldscript  
accordingly...

Andreas



More information about the OpenBIOS mailing list