mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-13 15:18:09 +00:00
Merge pull request #144 from antonblanchard/update-README
Add some information about GHDL backend issues
This commit is contained in:
commit
4508182fe1
17
README.md
17
README.md
@ -26,8 +26,17 @@ make -j$(nproc)
|
||||
cd ../../../
|
||||
```
|
||||
|
||||
A prebuilt micropython image is also available in the micropython/ directory.
|
||||
|
||||
- Microwatt uses ghdl for simulation. Either install this from your
|
||||
distro or build it. Next build microwatt:
|
||||
distro or build it. Microwatt requires ghdl to be built with the LLVM
|
||||
or gcc backend, which not all distros do (Fedora does, Debian/Ubuntu
|
||||
appears not to). ghdl with the LLVM backend is likely easier to build.
|
||||
|
||||
If building ghdl from scratch is too much for you, the microwatt Makefile
|
||||
supports using Docker or podman images. Read through the Makefile for details.
|
||||
|
||||
- Next build microwatt:
|
||||
|
||||
```
|
||||
git clone https://github.com/antonblanchard/microwatt
|
||||
@ -39,6 +48,12 @@ make
|
||||
|
||||
```
|
||||
ln -s ../micropython/ports/powerpc/build/firmware.bin main_ram.bin
|
||||
```
|
||||
|
||||
Or if you were using the pre-built image:
|
||||
|
||||
```
|
||||
ln -s micropython/firmware.bin main_ram.bin
|
||||
```
|
||||
|
||||
- Now run microwatt, sending debug output to /dev/null:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user