[U-Boot-Users] [Patch] Disable icache before call the first line of kernel in do_bootelf().

Michal Simek Monstr at seznam.cz
Wed Aug 8 09:21:33 CEST 2007


Hi,

>> On some architecture, it is not save to call the first line of kernel 
>> without disable the instruction cache. For do_bootm() path, architecture 
>> specific library code do_bootm_linux() can adress this issue, but 
>> do_bootelf() is common code. This patch disables icache before call kernel.
>> Signed-off-by: Sonic Zhang <sonic.zhang at gmail.com>

>Did you test the impact of this change on all other architectures but
>the one you are talking about (without ever mentioning it)?

>I don't think we want to do this in general. Please make  this code
>conditional.

I met with this problem on PowerQuicc II Pro in bootm command. Disabling icache before call kernel
solved my problem. I suppose the same problem can be in bootelf command.

Best regards,
Michal Simek




More information about the U-Boot mailing list