[Libre-soc-bugs] [Bug 1073] Microwatt verilator sim - setting up chroot and documentation

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue May 2 01:07:08 BST 2023


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

--- Comment #14 from Andrey Miroshnikov <andrey at technepisteme.xyz> ---
IRC logs from yesterday:
https://libre-soc.org/irclog/latest.log.html#t2023-05-01T15:07:37

(In reply to Luke Kenneth Casson Leighton from comment #13)
> -RESET_ADDRESS=65280 # 0xff00_0000>>16
> +RESET_ADDRESS=0 # 65280 # 0xff00_0000>>16

As Luke has suggested:
https://libre-soc.org/irclog/latest.log.html#t2023-05-02T00:30:56

Thanks to clearing up what I was actually doing (running Microwatt by itself
and *not* in the ls2 fabric), and going ahead with changing the RESET_ADDRESS
parameter to 0 in:
https://git.libre-soc.org/?p=microwatt.git;a=blob;f=Makefile;h=610f48d8c89be6d5b9902d7f1bf61f8b6d98ffc0;hb=refs/heads/verilator_trace#l220

fixed the problem with verilator, and hello_world ran.

In the IRC chat Luke also mentioned a makefile to automatically generate the
correct powerpc.lds with the appropriate starting address, found in ls2 repo:
https://git.libre-soc.org/?p=ls2.git;a=blob;f=hello_world/Makefile;h=50f039112f54165f8f6f7421ac62be1661889576;hb=HEAD#l9

Later today, I will test this with Microwatt to make sure the original
RESET_ADDRESS 0xff00_0000 works, update the wiki tutorial, and see about
recording a short video to demonstrate setting up, and running code.

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


More information about the libre-soc-bugs mailing list