From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Wed, 09 Jan 2008 18:45:22 +0900 Subject: [U-Boot-Users] Accessing IRAM & DRAM through different segments in MIPS In-Reply-To: <47847FCB.2040603@txc.stpn.soft.net> References: <477F6206.5030103@txc.stpn.soft.net> <7aee76880801071830g5689b6e1u9e4451ce14c23dd1@mail.gmail.com> <47847FCB.2040603@txc.stpn.soft.net> Message-ID: <478497B2.6010804@necel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Viswanath Bandi wrote: > Thanks Shinya & Donald for the suggestions. > > Following is our cache configuration. > > Cache Size (KB): 8KBytes > Associativity (Lines Per Set): 4-Ways > Way Size (KB): 2KBytes > Number of Sets:128 Sets > Cache Line Size: 16-bytes per line > > One more thing I found out is that the cache works when configured in > write-through mode (with or without write allocate). The only mode which > is giving problem is "write-back, write allocate". Ok. I'd like to make sure that * Which version of U-Boot do you use? * How do you configure CFGs below? - CFG_ICACHE_SIZE - CFG_DCACHE_SIZE - CFG_CACHELINE_SIZE And if possible, please post the diff regarding `cpu/mips' like this, $ diff -uprN u-boot-X.Y.Z{.orig,-yours}/cpu/mips > my.patch Thanks in advance, Shinya