Re: [U-Boot] Data cache breaks U-Boot on ARM

On Wed, Apr 8, 2009 at 2:44 PM, Wolfgang Denk wd@denx.de wrote:
Dear Drasko,
please post U-Boot related questions on the mailing list
Hi Wolfgang, sorry for sending e-mail to your private adress, it was metter of "reply" and not "reply to all". Sorry for the misstake.
Please see http://en.wikipedia.org/wiki/Memory_barrier
Thank you very much for your time and help. With the pointers and examples you gave I corrected the code (it was problem of DCaching perpiheral device registers region, as you pointed out), and now it works fine and fast (after more than one week of torture)!
Best regards, Drasko DRASKOVIC

Dear Drasko,
in message 5ec3d7930904080651g5328ad12g3df2f28ae340524@mail.gmail.com you wrote:
Thank you very much for your time and help. With the pointers and examples you gave I corrected the code (it was problem of DCaching perpiheral device registers region, as you pointed out), and now it works fine and fast (after more than one week of torture)!
Great. Maybe you want to post your patches so others can benefit from that acchievement, too?
Umm... is it correct to assume that you do not use USB on your system (resp. did not test USB yet) ?
Best regards,
Wolfgang Denk

On Wed, Apr 8, 2009 at 5:00 PM, Wolfgang Denk wd@denx.de wrote:
Great. Maybe you want to post your patches so others can benefit from that acchievement, too?
It will be my pleasure, so I will take a look how can I make a usefull patch as soon as I clean the code.
Umm... is it correct to assume that you do not use USB on your system (resp. did not test USB yet) ?
It is corrrect, no USB used.
Best Regards, Drasko DRASKOVIC

Dear Drasko,
in message 5ec3d7930904080854k2db159d3rc889ce80a8d0bbea@mail.gmail.com you wrote:
Umm... is it correct to assume that you do not use USB on your system (resp. did not test USB yet) ?
It is corrrect, no USB used.
Do you have USB on your board, so you can test it? I'm interested if USB still works for you with DCache on. Our experience is that you either have caches on *or* working USB on ARM, but this might be just a single case, so I'm interestedin other experiences.
Best regards,
Wolfgang Denk

Hello Drasko,
Great. Maybe you want to post your patches so others can benefit from that acchievement, too?
It will be my pleasure, so I will take a look how can I make a usefull patch as soon as I clean the code.
I am very interested in your work on this subject. If you want, I can help you cleaning it up for mainline. So, I would even be interested in the raw code as well.
I can also take a look at the USB code to get that working...
Kind Regards,
Remy
participants (3)
-
Drasko DRASKOVIC
-
Remy Bohmer
-
Wolfgang Denk