Skip to contentSkip to conversation

MPC8266ADS

U-Boot-Users Jeff Angielski 3 participants 5 messages Sep 17, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines

The current configuration in U-BOOT works, and boots Linux with no problem. It will, however, not work on a virgin ADS development board. You have to change one jumper to get the CPU to use the Hardware Configuration word from Flash, and not from BCSR... (JP3 I think).

Can somebody confirm that the latest u-boot-0.4.0 with default settings on all jumpers except for JP3 works correctly. I just downloaded the latest code from CVS and it is not working for me.

Incidentally, u-boot-0.3.0 works on the board with the default jumper settings (including JP3 on 2-3 BCSR) and no code changes right out of the box.

Also, does anybody have a BDI2000 config file for the MPC8266ADS that matches the new configuration from u-boot-0.4.0?

Signature · 4 lines
====================================================
Jeff Angielski                          
jeff at ThePTRGroup.com
====================================================
#1 lore raw

Hi Jeff,

Quoted 9 lines
Quoted 4 lines

The current configuration in U-BOOT works, and boots Linux with no problem. It will, however, not work on a virgin ADS development board. You have to change one jumper to get the CPU to use the Hardware Configuration word from Flash, and not from BCSR... (JP3 I think).

Can somebody confirm that the latest u-boot-0.4.0 with default settings on all
jumpers except for JP3 works correctly. I just downloaded the latest code from CVS and it is not working for me.

We also had some trouble getting this board up and running with u-boot-0.4.0. For our
case just the PBI (Page Based Interleave) SDRAM settings were not correct, since the u-boot was only capable of handling DIMMS with four banks.

We changed the following line in board/mpc8266ads/mpc8266ads.c to get it to work:

	sdam = cols - 6;
to
	sdam = cols + banks - 8;

But unfortunately this is up to now unconfirmed.

Quoted 3 lines

Incidentally, u-boot-0.3.0 works on the board with the default jumper settings
(including JP3 on 2-3 BCSR) and no code changes right out of the box.

The u-boot-0.3.0 did not use PBI mode by default. That might be an explanation for that.

Georg

#2 lore raw
In reply to Jeff Angielski

Dear Jeff,

Quoted 2 lines · in message <[email protected]> you wrote:

Can somebody confirm that the latest u-boot-0.4.0 with default settings on all

0.4.0 is _NOT_ the "latest".

Quoted 2 lines

jumpers except for JP3 works correctly. I just downloaded the latest code from CVS and it is not working for me.

Please make sure to use the revision tagged LABEL_2003_09_13_2100 or a later revision. This will include Rune Torgersen patch to make the default memory option on MPC8266ADS to NOT be Page Based Interleave which doesn't seem to work with the standard 16MB DIMM.

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
It is practically impossible to teach good programming style to  stu-
dents that have had prior exposure to BASIC: as potential programmers
they are mentally mutilated beyond hope of regeneration.   - Dijkstra
#3 lore raw
Quoted 5 lines · Wolfgang Denk
Quoted 2 lines · in message <[email protected]> you wrote:

Can somebody confirm that the latest u-boot-0.4.0 with default settings on all

0.4.0 is _NOT_ the "latest".

I should have said, the latest u-boot-0.4.x. I did a cvs checkout last night which shows me the LABEL_2003_09_13_2100 for mpc8266ads.c. And I confirmed that mpc8266ads.c does indeed have the PBI turned off.

Signature · 5 lines
====================================================
Jeff Angielski                          703.405.6896
Principal Engineer              jeff at ThePTRGroup.com
www.ThePTRGroup.com    Embedded, Real-Time Solutions
====================================================
#4 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:
Quoted 2 lines

0.4.0 is _NOT_ the "latest".

I should have said, the latest u-boot-0.4.x. I did a cvs checkout last night

0.4.0 ist not the latest U-Boot-0_4_x either; the latest is
U-Boot-0_4_8

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
I think animal testing is a terrible idea; they get all  nervous  and
give the wrong answers.