* [U-Boot-Users] How to configure the MPC8313ERDB to support 2x128MB DDR
@ 2008-04-15 8:34 Frank Prepelica
2008-04-15 9:12 ` [U-Boot-Users] How to configure the MPC8313ERDB to support 2x128MBDDR Dave Liu
0 siblings, 1 reply; 2+ messages in thread
From: Frank Prepelica @ 2008-04-15 8:34 UTC (permalink / raw)
To: u-boot
Hi all,
I'm using a customized MPC8313ERDB board, which means we replaced the
Vitesse switch with a second
Marvell PHY and we are using 64MB of NOR flash instead of 8MB.
Furthermore we added a second DDR RAM (additional 128MB) on that board.
I adapted U-Boot (v1.3.1) to support the 64MB flash memory and the
second Marvell PHY. This works really fine.
But I got problems when adding the second 128MB RAM module.
I just thought I change the value of
#define CFG_DDR_SIZE to 256
But after that I see the 128MB of the first RAM module mirrored at
address 0x0800 0000.
Therefore I guess there's more configuration necessary, of course there
is.
I don't know where to set the DDRLAWBAR1 to base address 0x0800 0000
because I can't even see
DDRLAWBAR0 for the first 128MB RAM module. I found nothing in the
MPC8313ERDB.h
Could anyone please tell me which defines I have to change or I have to
add. Are there further changes necessary in the
board specific file sdram.c?
Thanks for any hint!
Best regards,
Frank Prepelica
Software Design Engineer
Ubidyne GmbH
Lise-Meitner-Str.-14
89081 Ulm - Germany
Phone: +49 731 88 00 71 58
Fax: +49 731 88 00 71 99
Email: frank.prepelica at ubidyne.com
Homepage: www.ubidyne.com <http://www.ubidyne.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080415/36aa82a5/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 83 bytes
Desc: image002.gif
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080415/36aa82a5/attachment.gif
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] How to configure the MPC8313ERDB to support 2x128MBDDR
2008-04-15 8:34 [U-Boot-Users] How to configure the MPC8313ERDB to support 2x128MB DDR Frank Prepelica
@ 2008-04-15 9:12 ` Dave Liu
0 siblings, 0 replies; 2+ messages in thread
From: Dave Liu @ 2008-04-15 9:12 UTC (permalink / raw)
To: u-boot
<snip>
> I?m using a customized MPC8313ERDB board, which means we replaced the
> Vitesse switch with a second
>
> Marvell PHY and we are using 64MB of NOR flash instead of 8MB.
>
> Furthermore we added a second DDR RAM (additional 128MB) on that
> board.
Did the second DDR RAM module use the other chip select?
If yes, you have to enable the chip select for it.
> I adapted U-Boot (v1.3.1) to support the 64MB flash memory and the
> second Marvell PHY. This works really fine.
>
> But I got problems when adding the second 128MB RAM module.
>
> I just thought I change the value of
> #define CFG_DDR_SIZE to 256
not enough if you only change it.
> But after that I see the 128MB of the first RAM module mirrored at
> address 0x0800 0000.
> Therefore I guess there?s more configuration necessary, of course
> there is.
> I don?t know where to set the DDRLAWBAR1 to base address 0x0800 0000
> because I can?t even see
>
> DDRLAWBAR0 for the first 128MB RAM module. I found nothing in the
> MPC8313ERDB.h
If you are using the mpc8313erdb/sdram.c as reference, I believe the
code auto-calculate the DDRLAW (256MB).
>
> Could anyone please tell me which defines I have to change or I have
> to add. Are there further changes necessary in the
>
> board specific file sdram.c?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-15 9:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-15 8:34 [U-Boot-Users] How to configure the MPC8313ERDB to support 2x128MB DDR Frank Prepelica
2008-04-15 9:12 ` [U-Boot-Users] How to configure the MPC8313ERDB to support 2x128MBDDR Dave Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox