[Libre-soc-dev] dcache and mmu linked up

Luke Kenneth Casson Leighton lkcl at lkcl.net
Mon May 3 18:02:51 BST 2021


On Sunday, May 2, 2021, Luke Kenneth Casson Leighton <lkcl at lkcl.net> wrote:

>
> one test needed is to disable the cache entirely (nc=1) so as to eliminate
> it as a possible source of data corruption.
>
> litexbios is currently calculating the wrong value.
>

 the reason turned out to be an overlap between load and store, when
printing out the bios intro.  the LOAD (to read the character) overlapped
with STORE (writing to UART) which resulted in the bios messages being
corrupted.

all sorted, which means that physical dcache read/write is working.

again there are no errors yet.  next stage is to try enabling MMU mode.
this *will* need error handling.

l.



-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68


More information about the Libre-soc-dev mailing list