[U-Boot] [PATCH 1/9] arm926ej-s: Invalidate instruction cache in flush_cache

arden jay arden.jay at gmail.com
Sun Mar 20 06:36:49 CET 2011


Hi Michael,

I still have question. :)

When ARM fetch instruction, it firstly try cache.
It then should have cache miss, and forces to reload the instruction
from memory?

Why it will have problem while U-boot & Kernel at the same memory location?

2011/3/20 Michael Spang <mspang at csclub.uwaterloo.ca>:
> On 3/19/11, arden jay <arden.jay at gmail.com> wrote:
>> Hi Michael,
>> Curiously, have any idea how to test cache stuff?
>
> I don't have any good suggestions for testing cache stuff in general,
> but this one is pretty easy to test if you have the board in question.
> Because U-Boot is loaded *as if it were linux* by the manufacturer's
> bootloader, the initial location of U-Boot is the same as where we
> ultimately load the Linux kernel. Without this patch the symptom is
> the failure of Linux to start from U-Boot.
>
> Michael
>



-- 
cheers,
jay


More information about the U-Boot mailing list