Skip to contentSkip to conversation

D-CACHE

U-Boot sean 3 participants 3 messages Sep 16, 2008 – Sep 17, 2008

lore
Share & tools
lore

sean

author
#0 lore raw

I'm using u-boot-1.3.4 rc1 version on my custom board based on SEQUOIA.

Do I just have to define CONFIG_4xx_DCACHE in sequoia.h?? Tha's it??

Or, Should I patch my u-boot source?

(The comment said that it needs further testing.)

Best regards

Sean

#1 lore raw

Dear "sean",

Quoted 4 lines · In message <000001c91811$9cf51d70$d6df5850$@com> you wrote:

Content-Language: ko

???? ???????? ?????? MIME ?????? ????????????.

I'm afraid I cannot parse that.

Quoted 1 line

I'm using u-boot-1.3.4 rc1 version on my custom board based on SEQUOIA.

You should update the code to the current version, then.

Quoted 1 line

Do I just have to define CONFIG_4xx_DCACHE in sequoia.h?? Tha's it??

Ummm..why would you want to do that? Which problem are you trying to solve? And are you aware of the implications of enabling the data cache?

Quoted 1 line

Or, Should I patch my u-boot source?

That's difficult for us to tell as we don't know you board, nor your code, nor your intentions.

Quoted 1 line

(The comment said that it needs further testing.)

Which comment said that? And in which context?

Best regards,

Wolfgang Denk

Signature · 4 lines
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 at denx.de
He who hesitates is not only lost, but miles from the next exit.
#2 lore raw
In reply to sean

Sean,

Quoted 1 line · On Tuesday 16 September 2008 17:33:47 sean wrote:

I'm using u-boot-1.3.4 rc1 version on my custom board based on SEQUOIA.

Which board are you talking about?

mfuchs at fox:~/git/u-boot$ grep EPx MAINTAINERS

        DU440           PPC440EPx
        PMC440          PPC440EPx
        HCU5            PPC440EPx
        korat           PPC440EPx
        lwmon5          PPC440EPx
        sequoia         PPC440EPx
Quoted 2 lines

Do I just have to define CONFIG_4xx_DCACHE in sequoia.h?? Tha's it??

Probably yes,

Quoted 2 lines

Or, Should I patch my u-boot source?

It flew out of our all's brain. So best thing would be to post the patches for your board and everybody will see if they can help you.

Quoted 2 lines

(The comment said that it needs further testing.)

This comment (wd: see include/configs/sequoia.h) should sensitize you:
a) it's disabled on all public 4xx boards. So it's not tested that good as other options.
b) you should know would you are doing when you enable it. E.g. USB will not work with this option and some OS do not like to be loaded with DCACHE enabled (e.g. OS/9).

Matthias