[Libre-soc-bugs] [Bug 450] Create MMU from microwatt mmu.vhdl

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon May 3 13:19:01 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=450

--- Comment #79 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
iiinteresting.  the area affected (modified) is the area that is being
printed out by debug printfs

00006ba0  00 00 00 00 00 00 00 00  20 42 49 4f 53 20 62 75  |........ BIOS bu|
00006bb0  69 6c 74 20 6f 6e 20 4d  61 79 20 20 33 20 32 30  |ilt on May  3 20|
00006bc0  32 31 20 31 33 3a 31 33  3a 34 30 0a 00 00 00 00  |21 13:13:40.....|
00006bd0  20 4d 69 67 65 6e 20 67  69 74 20 73 68 61 31 3a  | Migen git sha1:|
00006be0  20 37 62 63 34 65 62 31  0a 00 00 00 00 00 00 00  | 7bc4eb1........|
00006bf0  20 4c 69 74 65 58 20 67  69 74 20 73 68 61 31 3a  | LiteX git sha1:|
00006c00  20 33 35 39 32 39 63 30  66 0a 00 00 00 00 00 00  | 35929c0f.......|
00006c10  2d 2d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |--==============|

this is a hexdump of the bios.bin.  printf statements when the bios is running
will print that out, by reading it, one character at a time.

i suspect what is happening is that during that read process, which is followed
by a write to the UART, something happens which results in the read turning
into
a write, and the end result is data corruption.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list