On 5/1/07, Alex Mauer hawke@hawkesnest.net wrote:
Ben Hewson wrote:
patch to fix the IDE configuration on EPIA boards. At some point this broke and stopped FILO from being able to boot.
The fix is a simple one line change plus a comment to src/mainboard/via/epia/auto.c to write to the IDE configuration register 0x42 . This has always been done here, however at some point something broke it.
The same register was also being set correctly in ide_init(), however for some reason this does not work. Possibly the register needs to be set before the IDE peripheral is enabled or maybe it is a timing issue.
The section of code in ide_init() ( src/southbridge/via/vt8231/vt8231_ide.c ) that does write to register 0x42 has been commented out as it is superfluous and I have added a comment to indicate the reason, should someone at a future date wonder why.
I have also changed the default COM speed from 19200 to 115200 in src/mainboard/via/epia/Options.lb There has been mention before about the EPIA board not being able to use 115200 but I have seen no such problems with my board.
Signed-off-by: Ben Hewson ben@hewson-venieri.com
This patch worked for me and allowed me to boot Debian kernel 2.5.16-4-486 on an epia 800 mhz system. It is able to consistently get through the initialization and start init now.
However, after that it crashes at various points in the boot process.
Acked-by: Alex Mauer hawke@hawkesnest.net
Committed in 2633.
Alex's message indicates to me, however, that DRAM is still not quite right. Alex, you and Ben should talk to each other about the DRAM you have and the settings you are using.
thanks
ron