memory epia-m 127M != 512M

SONE Takeshi ts1 at tsn.or.jp
Thu Sep 25 14:32:01 CEST 2003


On Thu, Sep 25, 2003 at 07:40:06AM -0600, ron minnich wrote:
> On Thu, 25 Sep 2003, Ian Smith wrote:
> 
> > Blows a hole in my theory about the 128MB being detected....
> 
> sorry, but those registers you are mentioning have *zero* impact on size 
> detection. That's not what's going on here. Size detect is via SPD.
> 
> We wrote a lot of that code here 3 years ago, and it was a hack then in an
> attempt to get the 8601 to work at all.
> 
> If you look at how it works now:
> 
>         // Initial setting, 256MB in each bank, will be rewritten later.
>         CS_WRITE($0x5A, $0x20)
>         CS_WRITE($0x5B, $0x40)
>         CS_WRITE($0x5C, $0x60)
>         CS_WRITE($0x5D, $0x80)
>         CS_WRITE($0x5E, $0xA0)
>         CS_WRITE($0x5F, $0xC0)

Just to clarify, Ron, people are talking about EPIA-M here.
And the code snippet above is from vt8601/raminit.inc.
EPIA-M doesn't use vt8601.
EPIA and EPIA-M are two totally different boards (different chipsets,
etc).

People with EPIA are seemingly OK with my hack to the SDRAM code of 8601.
However, EPIA-M users need to tweak the hardcoded magic numbers
in the DDR code of vt8623.

So, please open a epia-m directory, instead of epia, in the freebios2 tree.

-- 
Takeshi



More information about the coreboot mailing list