[LinuxBIOS] EPIA patch to fix non working IDE, with sigin off

Alex Mauer hawke at hawkesnest.net
Tue May 1 22:43:10 CEST 2007


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 at 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 at hawkesnest.net>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070501/22ddb417/attachment.sig>


More information about the coreboot mailing list