On 26/04/2010 6:34 AM, Myles Watson wrote:
The problem with Truxton booting in trunk seems to have appeared in the migration to the new Makefile system.
If I drop a CONFIG_SSE=y into the .config file using a trunk build I can boot!
However, I don't really see how this flag gets set. Doing a 'grep -RH CONFIG_SSE' points to the two makefile includes that add the enable_sse code, but no references to setting the flag.
I added it in 5505. I think we should put an #error in the file that uses these instructions if CONFIG_SSE isn't set.
Should we add support for MMX and SSE2 also?
I have also found another issue which I run out of heap space while the PCI resource structures are being malloc'ed. Doubling the heap size solves the issue.
Here are the patches I am currently using: Index: src/cpu/intel/ep80579/Kconfig =================================================================== --- src/cpu/intel/ep80579/Kconfig (revision 5505) +++ src/cpu/intel/ep80579/Kconfig (working copy) @@ -1,3 +1,5 @@ config CPU_INTEL_EP80579 bool + select MMX select SSE + select SSE2 Index: src/mainboard/intel/truxton/Kconfig =================================================================== --- src/mainboard/intel/truxton/Kconfig (revision 5505) +++ src/mainboard/intel/truxton/Kconfig (working copy) @@ -47,3 +47,8 @@ int default 4 depends on BOARD_INTEL_TRUXTON + +config HEAP_SIZE + hex + default 0x8000 + depends on BOARD_INTEL_TRUXTON