[U-Boot-Users] Is it easy to config BR1/OR1 as SDRAM in u-boot?

Hi, friends,
I am new to this forum.
Currently we are working on u-boot for our customized board (use MPC8272). Our reference board is mpc8272ads board from freescale. U-boot configiures mpc8272ads board as one of the mpc8260ads family. And u-boot uses BR0/OR0, BR1/OR1 for flash and BR2/OR2, BR3/OR3 for SDRAM. However, our customized board is configured using CS1 (BR1/OR1) for the SDRAM.
How can I modify the u-boot source code for the mpc8260ads family to let u-boot recognize BR1/OR1 as SDRAM? I don't know how many files will be related to this change and how 'deep' I will go.
or let the hardware engineer change SDRAM to CS2 (BR2/OR2) may be easier?
Thank you for your advice,
solaz

In message 16145448.post@talk.nabble.com you wrote:
How can I modify the u-boot source code for the mpc8260ads family to let u-boot recognize BR1/OR1 as SDRAM? I don't know how many files will be related to this change and how 'deep' I will go.
It is not at all clear that the mpc8260ads port is a good starting point for your own design. Depending how closely your hadrware design was copied from the mpc8260ads this may or may not be a good idea. I recommend to check again.
or let the hardware engineer change SDRAM to CS2 (BR2/OR2) may be easier?
Changing the software is definitely easier. But you need to understand that you have a full port of U-Boot to a new board in front of you - this is *not* just mndifying a few of the mpc8260ads config settings here and there.
Best regards,
Wolfgang Denk

You are right. I checked the TQM8260 and found several interesting things. Thank you very much.
solaz
wd wrote:
In message 16145448.post@talk.nabble.com you wrote:
How can I modify the u-boot source code for the mpc8260ads family to let u-boot recognize BR1/OR1 as SDRAM? I don't know how many files will be related to this change and how 'deep' I will go.
It is not at all clear that the mpc8260ads port is a good starting point for your own design. Depending how closely your hadrware design was copied from the mpc8260ads this may or may not be a good idea. I recommend to check again.
or let the hardware engineer change SDRAM to CS2 (BR2/OR2) may be easier?
Changing the software is definitely easier. But you need to understand that you have a full port of U-Boot to a new board in front of you - this is *not* just mndifying a few of the mpc8260ads config settings here and there.
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de "It ain't so much the things we don't know that get us in trouble. It's the things we know that ain't so." - Artemus Ward aka Charles Farrar Brown
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
participants (2)
-
solaz
-
Wolfgang Denk