UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor amitd
Visitor
1,914 Views
Registered: ‎08-26-2012

Linux on Microblaze without U- BOOT: Need to patch kernel to call invalidate_dcache()

Hi all,

 

This is not a question, but something I recently found out.

 

In case you aren't U-BOOT , you need to uncomment the line that call invalidate_dcache();.

 

arch/microblaze/kernel/CPU/cache.c 

 

 

/* FIXME Invalidation is done in U-BOOT
* WT cache: Data is already written to main memory
* WB cache: Discard data on noMMU which caused that kernel doesn't boot
*/
//invalidate_dcache();
enable_dcache();

invalidate_icache();
enable_icache();

 

 

0 Kudos