Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conda's toolchain is unable to compile Linux #173

Closed
mateusz-holenko opened this issue Jul 15, 2019 · 34 comments
Closed

Conda's toolchain is unable to compile Linux #173

mateusz-holenko opened this issue Jul 15, 2019 · 34 comments

Comments

@mateusz-holenko
Copy link
Collaborator

I'm working on adding support for VexRiscv target in scripts/build-linux.sh and noticed that it''s not possible to build upstream Linux kernel with the toolchain installed from Conda:

litex-buildenv/build/conda/bin/../lib/gcc/riscv32-elf/8.2.0/../../../../riscv32-elf/bin/ld: -shared not supported
@mithro
Copy link
Member

mithro commented Jul 15, 2019

These are build here -> https://github.com/litex-hub/litex-conda

What needs to change there to make it work?

GitHub
Conda build recipes for the toolchains needed by LiteX / MiSoC firmware - litex-hub/litex-conda

@mateusz-holenko
Copy link
Collaborator Author

mateusz-holenko commented Jul 16, 2019

There is --enable-shared switch in ld's configure script that could be added here: https://github.com/litex-hub/litex-conda/blob/master/binutils/build.sh#L78, but I don't know if this would solve all the issues. I haven't recompiled the whole package as it was quite cumbersome to do on my host machine -- is Travis configured for this repo in a way, that creating a PR would build all packages?

According to this: riscv-collab/riscv-gnu-toolchain#335 (comment) discussion, using newlib toolchain to build Linux kernel is discouraged anyway.

I'm just wondering if creating a new package with a toolchain built from this repository: https://github.com/riscv/riscv-gnu-toolchain wouldn't be a better idea. What do you think, @mithro?

GitHub
Conda build recipes for the toolchains needed by LiteX / MiSoC firmware - litex-hub/litex-conda
GitHub
GNU toolchain for RISC-V, including GCC. Contribute to riscv/riscv-gnu-toolchain development by creating an account on GitHub.

@mithro
Copy link
Member

mithro commented Jul 16, 2019

There is --enable-shared switch in ld's configure script that could be added here: https://github.com/litex-hub/litex-conda/blob/master/binutils/build.sh#L78, but I don't know if this would solve all the issues.

Attempting to build on litex-hub/litex-conda-packages#71

I haven't recompiled the whole package as it was quite cumbersome to do on my host machine -- is Travis configured for this repo in a way, that creating a PR would build all packages?

Yes it would. You can also enable travis on your own fork.

According to this: riscv/riscv-gnu-toolchain#335 (comment) discussion, using newlib toolchain to build Linux kernel is discouraged anyway.

Do we need a gcc/linux toolchain like we have gcc/newlib and gcc/nostdc?

I'm just wondering if creating a new package with a toolchain built from this repository: https://github.com/riscv/riscv-gnu-toolchain wouldn't be a better idea. What do you think, @mithro?

We want to use the same upstream toolchain on lm32, or1k and riscv.

GitHub
Conda build recipes for the toolchains needed by LiteX / MiSoC firmware - litex-hub/litex-conda
GitHub
GNU toolchain for RISC-V, including GCC. Contribute to riscv/riscv-gnu-toolchain development by creating an account on GitHub.

@mateusz-holenko
Copy link
Collaborator Author

I made a mistake and --enable-shared does not add support for handling shared libraries to ld, but builds binutil's tools in a way they use shared versions of libopcodes/libbfd etc. libraries.

It explains the error on Travis CI when trying to call as --version.

I reproduced it locally and compared two compiled versions - one with --enable-shared and the second without it. The first one worked only after setting LD_LIBRARY_PATH to point to the folder with compiled shared binutil's libs (x86_64-pc-linux-gnu/riscv32-unknown-elf/lib; this folder is not present at all when compiling without --enable-shared).

@mateusz-holenko
Copy link
Collaborator Author

+ I proposed to add this line to binutils package, but the toolchain seems to come with it's own ld: conda/bin/riscv32-elf-ld vs conda/riscv32-elf/bin/ld

@mateusz-holenko
Copy link
Collaborator Author

Do we need a gcc/linux toolchain like we have gcc/newlib and gcc/nostdc?

This source: michaeljclark/busybear-linux#5 (comment) suggests that gcc/glibc should be used to build Linux as newer newlib does not support dynamic linking required by the kernel to handle vdso.so library.

We want to use the same upstream toolchain on lm32, or1k and riscv.

Out of curiosity, is or1k supported by the upstream GCC at all?

@mithro
Copy link
Member

mithro commented Jul 18, 2019

I made a mistake and --enable-shared does not add support for handling shared libraries to ld, but builds binutil's tools in a way they use shared versions of libopcodes/libbfd etc. libraries.

It explains the error on Travis CI when trying to call as --version.

I reproduced it locally and compared two compiled versions - one with --enable-shared and the second without it. The first one worked only after setting LD_LIBRARY_PATH to point to the folder with compiled shared binutil's libs (x86_64-pc-linux-gnu/riscv32-unknown-elf/lib; this folder is not present at all when compiling without --enable-shared).

I don't think we need this behaviour?

  • I proposed to add this line to binutils package, but the toolchain seems to come with it's own ld: conda/bin/riscv32-elf-ld vs conda/riscv32-elf/bin/ld

Which line?

Do we need a gcc/linux toolchain like we have gcc/newlib and gcc/nostdc?

This source: michaeljclark/busybear-linux#5 (comment) suggests that gcc/glibc should be used to build Linux as newer newlib does not support dynamic linking required by the kernel to handle vdso.so library.

Do you know if we use musl rather than glibc? It is unclear to me if glibc supports or1k and riscv32 upstream yet?

@stffrdhrn - Do you know about or1k status in glibc?

We want to use the same upstream toolchain on lm32, or1k and riscv.

Out of curiosity, is or1k supported by the upstream GCC at all?

or1k - Yes! As of gcc-9.0 (?) thanks to the work of @stffrdhrn
lm32 - I believe is in the process of going away. Unclear if it has happened yet.

@stffrdhrn
Copy link
Contributor

stffrdhrn commented Jul 18, 2019

Do you know if we use musl rather than glibc? It is unclear to me if glibc supports or1k and riscv32 upstream yet?

@stffrdhrn - Do you know about or1k status in glibc?

We have a port in this repo: https://github.com/openrisc/or1k-glibc. But the port didn't go upstream due to no GCC. I have never built it but I assume it will not be much work to finish it. Now that that GCC is upstream it's on my todo list. But so far I have been using musl.

GitHub
glibc port for or1k. Contribute to openrisc/or1k-glibc development by creating an account on GitHub.

@mithro
Copy link
Member

mithro commented Jul 22, 2019

$SRC_DIR/musl/configure: unknown or unsupported target "riscv32-elf" -- https://travis-ci.org/mithro/conda-hdmi2usb-packages/jobs/562208408

Does linux+musl work on riscv32?

@mithro
Copy link
Member

mithro commented Jul 22, 2019

@mithro
Copy link
Member

mithro commented Jul 22, 2019

@mithro
Copy link
Member

mithro commented Jul 22, 2019

https://groups.google.com/a/groups.riscv.org/forum/#!topic/sw-dev/XHuc4hNqTj4

Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.

@mateusz-holenko
Copy link
Collaborator Author

mateusz-holenko commented Jul 23, 2019

@mithro I'm working on this locally as well and it seems that the musl mainline has only support for riscv64 that has been added by this commit: https://git.musl-libc.org/cgit/musl/commit/?id=0a48860c27a8eb291bcc7616ea9eb073dc660cab included in 1.1.23 release with further fixes (not yet included in any release).

@mateusz-holenko
Copy link
Collaborator Author

mateusz-holenko commented Jul 23, 2019

I tried to build gcc/musl with musl's master for riscv64-linux-musl target using https://github.com/richfelker/musl-cross-make.git, but it failed with:

In file included from ../src_musl/src/stat/fstatat.c:8:
../src_musl/src/stat/fstatat.c: In function ‘fstatat_statx’:
../src_musl/src/stat/fstatat.c:40:22: error: ‘SYS_statx’ undeclared (first use in this function); did you mean ‘SYS_statfs’?
  int ret = __syscall(SYS_statx, fd, path, flag, 0x7ff, &stx);
GitHub
Simple makefile-based build for musl cross compiler - richfelker/musl-cross-make

@mithro
Copy link
Member

mithro commented Jul 23, 2019

@mithro
Copy link
Member

mithro commented Jul 23, 2019

I have an open pull request to add Linux + musl toolchain at litex-hub/litex-conda-packages#75 but it doesn't work on either or1k or riscv32....

@mithro
Copy link
Member

mithro commented Jul 25, 2019

@stffrdhrn - Do you know what is needed to build Linux + or1k + musl? litex-hub/litex-conda-packages#75 is failing with;
PACKAGE=gcc/linux-musl TOOLCHAIN_ARCH=or1k currently fails https://travis-ci.com/litex-hub/litex-conda/jobs/218353487

using compiler runtime libraries: -lgcc -lgcc_eh
checking whether compiler's long double definition matches float.h... no
$SRC_DIR/musl/configure: error: unsupported long double type

@stffrdhrn
Copy link
Contributor

stffrdhrn commented Jul 25, 2019

Hello, I am not sure. I have not seen this error before. One thing looking strange is that it says "or1k-elf-gcc"?

For my builds of musl I use musl-cross-make.

See: https://github.com/stffrdhrn/or1k-toolchain-build/blob/master/or1k-toolchain-build/build-gcc.sh#L134

or1k-elf-gcc (9.1.0) 9.1.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
---
checking for C compiler... $BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-cc
checking whether C compiler works... yes
checking whether compiler accepts -Werror=unknown-warning-option... no
checking whether compiler accepts -Werror=unused-command-line-argument... no
checking whether compiler accepts -Werror=ignored-optimization-argument... no
checking whether linker accepts -Werror=unknown-warning-option... no
checking whether linker accepts -Werror=unused-command-line-argument... no
checking for C compiler family... gcc
checking for toolchain wrapper to build... gcc
checking target system type... or1k-elf
checking whether compiler accepts -std=c99... yes
checking whether compiler accepts -nostdinc... yes
checking whether compiler accepts -ffreestanding... yes
checking whether compiler accepts -fexcess-precision=standard... yes
checking whether compiler accepts -frounding-math... yes
checking whether compiler needs attribute((may_alias)) suppression... no
checking whether compiler accepts -Wa,--noexecstack... yes
checking whether compiler accepts -fno-stack-protector... yes
checking whether compiler accepts -fno-tree-loop-distribute-patterns... yes
checking whether we should preprocess assembly to add debugging information... no
checking for optimization settings... using provided CFLAGS
checking whether compiler accepts -pipe... yes
checking whether compiler accepts -fomit-frame-pointer... yes
checking whether compiler accepts -fno-unwind-tables... yes
checking whether compiler accepts -fno-asynchronous-unwind-tables... yes
checking whether compiler accepts -ffunction-sections... yes
checking whether compiler accepts -fdata-sections... yes
checking whether compiler accepts -Werror=implicit-function-declaration... yes
checking whether compiler accepts -Werror=implicit-int... yes
checking whether compiler accepts -Werror=pointer-sign... yes
checking whether compiler accepts -Werror=pointer-arith... yes
checking preprocessor condition __PIC__... true
checking whether linker accepts -Wl,--sort-section,alignment... yes
checking whether linker accepts -Wl,--sort-common... yes
checking whether linker accepts -Wl,--gc-sections... yes
checking whether linker accepts -Wl,--hash-style=both... yes
checking whether linker accepts -Wl,--no-undefined... yes
checking whether linker accepts -Wl,--exclude-libs=ALL... yes
checking whether linker accepts -Wl,--dynamic-list=$SRC_DIR/musl/dynamic.list... yes
checking whether linker accepts -lgcc... yes
checking whether linker accepts -lgcc_eh... yes
using compiler runtime libraries: -lgcc -lgcc_eh
checking whether compiler's long double definition matches float.h... no
GitHub
OpenRISC toolchain build scripts. Contribute to stffrdhrn/or1k-toolchain-build development by creating an account on GitHub.

@stffrdhrn
Copy link
Contributor

stffrdhrn commented Jul 25, 2019

Some more investigation:

Just googling for this error, I see the below about out of tree builds, not sure if its related.
https://www.openwall.com/lists/musl/2014/02/06/2

From the error I can see its a check in musl. It checks the GCC $BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-cc has proper support for long double.
http://git.musl-libc.org/cgit/musl/tree/configure#n704

@stffrdhrn
Copy link
Contributor

stffrdhrn commented Jul 25, 2019

OK, I can't seem to reproduce even with my or1k-elf toolchain with ./configure --target=or1k-elf.

If you, or someone could help narrow it down to something that can reproduce it; Or if you could tell me how to pull the GCC toolchain/binary used in the build that is causing the failure, I could investigate more.

$ CC=or1k-elf-gcc-9.1.1 ./configure --target=or1k-elf

checking for C compiler... or1k-elf-gcc-9.1.1
checking whether C compiler works... yes
checking whether compiler accepts -Werror=unknown-warning-option... no
checking whether compiler accepts -Werror=unused-command-line-argument... no
checking whether compiler accepts -Werror=ignored-optimization-argument... no
checking whether linker accepts -Werror=unknown-warning-option... no
checking whether linker accepts -Werror=unused-command-line-argument... no
checking for C compiler family... gcc
checking for toolchain wrapper to build... none
checking target system type... or1k-elf
checking whether compiler accepts -std=c99... yes
checking whether compiler accepts -nostdinc... yes
checking whether compiler accepts -ffreestanding... yes
checking whether compiler accepts -fexcess-precision=standard... yes
checking whether compiler accepts -frounding-math... yes
checking whether compiler needs attribute((may_alias)) suppression... no
checking whether compiler accepts -Wa,--noexecstack... yes
checking whether compiler accepts -fno-stack-protector... yes
checking whether compiler accepts -fno-tree-loop-distribute-patterns... yes
checking whether we should preprocess assembly to add debugging information... no
checking for optimization settings... using defaults
checking whether compiler accepts -Os... yes
components to be optimized for speed: internal malloc string
checking whether compiler accepts -pipe... yes
checking whether compiler accepts -fomit-frame-pointer... yes
checking whether compiler accepts -fno-unwind-tables... yes
checking whether compiler accepts -fno-asynchronous-unwind-tables... yes
checking whether compiler accepts -ffunction-sections... yes
checking whether compiler accepts -fdata-sections... yes
checking whether compiler accepts -Werror=implicit-function-declaration... yes
checking whether compiler accepts -Werror=implicit-int... yes
checking whether compiler accepts -Werror=pointer-sign... yes
checking whether compiler accepts -Werror=pointer-arith... yes
checking preprocessor condition __PIC__... false
checking whether linker accepts -Wl,--sort-section,alignment... no
checking whether linker accepts -Wl,--sort-common... no
checking whether linker accepts -Wl,--gc-sections... no
checking whether linker accepts -Wl,--hash-style=both... no
checking whether linker accepts -Wl,--no-undefined... no
checking whether linker accepts -Wl,--exclude-libs=ALL... no
checking whether linker accepts -Wl,--dynamic-list=./dynamic.list... no
checking whether linker accepts -lgcc... no
checking whether linker accepts -lcompiler_rt... no
checking whether linker accepts /home/shorne/work/gnu-toolchain/local/lib/gcc/or1k-elf/9.1.1/libgcc.a... no
checking whether linker accepts libpcc.a... no
using compiler runtime libraries: 
checking whether compiler's long double definition matches float.h... yes
checking preprocessor condition __FAST_MATH__... false
creating config.mak... done

@mithro
Copy link
Member

mithro commented Jul 27, 2019

Well I managed to get further now. However, I get;

cp obj/crt/Scrt1.o lib/Scrt1.o
cp obj/crt/crt1.o lib/crt1.o
cp obj/crt/rcrt1.o lib/rcrt1.o
/home/tansell/conda/conda-bld/gcc-or1k-elf-linux-musl_1564260628138/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/../lib/gcc/or1k-linux-musl/9.1.0/../../../../or1k-linux-musl/bin/ld: -shared not supported
collect2: error: ld returned 1 exit status
make: *** [Makefile:160: lib/libc.so] Error 1
make: *** Waiting for unfinished jobs....
Traceback (most recent call last):
  File "/home/tansell/conda/bin/conda-build", line 11, in <module>
    sys.exit(main())
  File "/home/tansell/conda/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 445, in main
    execute(sys.argv[1:])
  File "/home/tansell/conda/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 436, in execute
    verify=args.verify, variants=args.variants)
  File "/home/tansell/conda/lib/python3.7/site-packages/conda_build/api.py", line 209, in build
    notest=notest, need_source_download=need_source_download, variants=variants)
  File "/home/tansell/conda/lib/python3.7/site-packages/conda_build/build.py", line 2313, in build_tree
    notest=notest,
  File "/home/tansell/conda/lib/python3.7/site-packages/conda_build/build.py", line 1461, in build
    cwd=src_dir, stats=build_stats)
  File "/home/tansell/conda/lib/python3.7/site-packages/conda_build/utils.py", line 397, in check_call_env
    return _func_defaulting_env_to_os_environ('call', *popenargs, **kwargs)
  File "/home/tansell/conda/lib/python3.7/site-packages/conda_build/utils.py", line 377, in _func_defaulting_env_to_os_environ
    raise subprocess.CalledProcessError(proc.returncode, _args)
subprocess.CalledProcessError: Command '['/bin/bash', '-e', '/home/tansell/conda/conda-bld/gcc-or1k-elf-linux-musl_1564260628138/work/conda_build.sh']' returned non-zero exit status 2.

@mithro
Copy link
Member

mithro commented Jul 27, 2019

So, it seems the root cause is that binutils for baremetal is different from binuils for linux....

@mithro
Copy link
Member

mithro commented Jul 27, 2019

.								.
./bin								./bin
./bin/or1k-elf-addr2line				      |	./bin/or1k-linux-musl-addr2line
./bin/or1k-elf-ar					      |	./bin/or1k-linux-musl-ar
./bin/or1k-elf-as					      |	./bin/or1k-linux-musl-as
./bin/or1k-elf-c++filt					      |	./bin/or1k-linux-musl-c++filt
./bin/or1k-elf-elfedit					      |	./bin/or1k-linux-musl-elfedit
./bin/or1k-elf-gprof					      |	./bin/or1k-linux-musl-gprof
./bin/or1k-elf-ld					      |	./bin/or1k-linux-musl-ld
./bin/or1k-elf-ld.bfd					      |	./bin/or1k-linux-musl-ld.bfd
./bin/or1k-elf-nm					      |	./bin/or1k-linux-musl-nm
./bin/or1k-elf-objcopy					      |	./bin/or1k-linux-musl-objcopy
./bin/or1k-elf-objdump					      |	./bin/or1k-linux-musl-objdump
./bin/or1k-elf-ranlib					      |	./bin/or1k-linux-musl-ranlib
./bin/or1k-elf-readelf					      |	./bin/or1k-linux-musl-readelf
./bin/or1k-elf-size					      |	./bin/or1k-linux-musl-size
./bin/or1k-elf-strings					      |	./bin/or1k-linux-musl-strings
./bin/or1k-elf-strip					      |	./bin/or1k-linux-musl-strip
./or1k-elf						      |	./or1k-linux-musl
./or1k-elf/bin						      |	./or1k-linux-musl/bin
./or1k-elf/bin/ar					      |	./or1k-linux-musl/bin/ar
./or1k-elf/bin/as					      |	./or1k-linux-musl/bin/as
./or1k-elf/bin/ld					      |	./or1k-linux-musl/bin/ld
./or1k-elf/bin/ld.bfd					      |	./or1k-linux-musl/bin/ld.bfd
./or1k-elf/bin/nm					      |	./or1k-linux-musl/bin/nm
./or1k-elf/bin/objcopy					      |	./or1k-linux-musl/bin/objcopy
./or1k-elf/bin/objdump					      |	./or1k-linux-musl/bin/objdump
./or1k-elf/bin/ranlib					      |	./or1k-linux-musl/bin/ranlib
./or1k-elf/bin/readelf					      |	./or1k-linux-musl/bin/readelf
./or1k-elf/bin/strip					      |	./or1k-linux-musl/bin/strip
./or1k-elf/lib						      |	./or1k-linux-musl/lib
./or1k-elf/lib/ldscripts				      |	./or1k-linux-musl/lib/ldscripts
./or1k-elf/lib/ldscripts/elf32or1k.x			      |	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.x
./or1k-elf/lib/ldscripts/elf32or1k.xbn			      |	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xbn
./or1k-elf/lib/ldscripts/elf32or1k.xc			      |	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xc
./or1k-elf/lib/ldscripts/elf32or1k.xce			      |	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xce
./or1k-elf/lib/ldscripts/elf32or1k.xe			      |	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xd
./or1k-elf/lib/ldscripts/elf32or1k.xn			      |	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xdc
./or1k-elf/lib/ldscripts/elf32or1k.xr			      |	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xdce
./or1k-elf/lib/ldscripts/elf32or1k.xu			      |	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xde
./or1k-elf/lib/ldscripts/elf32or1k.xw			      |	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xdw
./or1k-elf/lib/ldscripts/elf32or1k.xwe			      |	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xdwe
							      >	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xe
							      >	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xn
							      >	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xr
							      >	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xs
							      >	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xsc
							      >	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xsce
							      >	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xse
							      >	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xsw
							      >	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xswe
							      >	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xu
							      >	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xw
							      >	./or1k-linux-musl/lib/ldscripts/elf32or1k_linux.xwe
./share								./share
./share/info							./share/info
./share/info/as.info						./share/info/as.info
./share/info/bfd.info						./share/info/bfd.info
./share/info/binutils.info					./share/info/binutils.info
./share/info/dir						./share/info/dir
./share/info/gprof.info						./share/info/gprof.info
./share/info/ld.info						./share/info/ld.info
./share/locale							./share/locale
./share/locale/bg						./share/locale/bg
./share/locale/bg/LC_MESSAGES					./share/locale/bg/LC_MESSAGES
./share/locale/bg/LC_MESSAGES/binutils.mo			./share/locale/bg/LC_MESSAGES/binutils.mo
./share/locale/bg/LC_MESSAGES/gprof.mo				./share/locale/bg/LC_MESSAGES/gprof.mo
./share/locale/bg/LC_MESSAGES/ld.mo				./share/locale/bg/LC_MESSAGES/ld.mo
./share/locale/ca						./share/locale/ca
./share/locale/ca/LC_MESSAGES					./share/locale/ca/LC_MESSAGES
./share/locale/ca/LC_MESSAGES/binutils.mo			./share/locale/ca/LC_MESSAGES/binutils.mo
./share/locale/da						./share/locale/da
./share/locale/da/LC_MESSAGES					./share/locale/da/LC_MESSAGES
./share/locale/da/LC_MESSAGES/bfd.mo				./share/locale/da/LC_MESSAGES/bfd.mo
./share/locale/da/LC_MESSAGES/binutils.mo			./share/locale/da/LC_MESSAGES/binutils.mo
./share/locale/da/LC_MESSAGES/gprof.mo				./share/locale/da/LC_MESSAGES/gprof.mo
./share/locale/da/LC_MESSAGES/ld.mo				./share/locale/da/LC_MESSAGES/ld.mo
./share/locale/da/LC_MESSAGES/opcodes.mo			./share/locale/da/LC_MESSAGES/opcodes.mo
./share/locale/de						./share/locale/de
./share/locale/de/LC_MESSAGES					./share/locale/de/LC_MESSAGES
./share/locale/de/LC_MESSAGES/gprof.mo				./share/locale/de/LC_MESSAGES/gprof.mo
./share/locale/de/LC_MESSAGES/ld.mo				./share/locale/de/LC_MESSAGES/ld.mo
./share/locale/de/LC_MESSAGES/opcodes.mo			./share/locale/de/LC_MESSAGES/opcodes.mo
./share/locale/eo						./share/locale/eo
./share/locale/eo/LC_MESSAGES					./share/locale/eo/LC_MESSAGES
./share/locale/eo/LC_MESSAGES/gprof.mo				./share/locale/eo/LC_MESSAGES/gprof.mo
./share/locale/es						./share/locale/es
./share/locale/es/LC_MESSAGES					./share/locale/es/LC_MESSAGES
./share/locale/es/LC_MESSAGES/bfd.mo				./share/locale/es/LC_MESSAGES/bfd.mo
./share/locale/es/LC_MESSAGES/binutils.mo			./share/locale/es/LC_MESSAGES/binutils.mo
./share/locale/es/LC_MESSAGES/gas.mo				./share/locale/es/LC_MESSAGES/gas.mo
./share/locale/es/LC_MESSAGES/gprof.mo				./share/locale/es/LC_MESSAGES/gprof.mo
./share/locale/es/LC_MESSAGES/ld.mo				./share/locale/es/LC_MESSAGES/ld.mo
./share/locale/es/LC_MESSAGES/opcodes.mo			./share/locale/es/LC_MESSAGES/opcodes.mo
./share/locale/fi						./share/locale/fi
./share/locale/fi/LC_MESSAGES					./share/locale/fi/LC_MESSAGES
./share/locale/fi/LC_MESSAGES/bfd.mo				./share/locale/fi/LC_MESSAGES/bfd.mo
./share/locale/fi/LC_MESSAGES/binutils.mo			./share/locale/fi/LC_MESSAGES/binutils.mo
./share/locale/fi/LC_MESSAGES/gas.mo				./share/locale/fi/LC_MESSAGES/gas.mo
./share/locale/fi/LC_MESSAGES/gprof.mo				./share/locale/fi/LC_MESSAGES/gprof.mo
./share/locale/fi/LC_MESSAGES/ld.mo				./share/locale/fi/LC_MESSAGES/ld.mo
./share/locale/fi/LC_MESSAGES/opcodes.mo			./share/locale/fi/LC_MESSAGES/opcodes.mo
./share/locale/fr						./share/locale/fr
./share/locale/fr/LC_MESSAGES					./share/locale/fr/LC_MESSAGES
./share/locale/fr/LC_MESSAGES/bfd.mo				./share/locale/fr/LC_MESSAGES/bfd.mo
./share/locale/fr/LC_MESSAGES/binutils.mo			./share/locale/fr/LC_MESSAGES/binutils.mo
./share/locale/fr/LC_MESSAGES/gas.mo				./share/locale/fr/LC_MESSAGES/gas.mo
./share/locale/fr/LC_MESSAGES/gprof.mo				./share/locale/fr/LC_MESSAGES/gprof.mo
./share/locale/fr/LC_MESSAGES/ld.mo				./share/locale/fr/LC_MESSAGES/ld.mo
./share/locale/fr/LC_MESSAGES/opcodes.mo			./share/locale/fr/LC_MESSAGES/opcodes.mo
./share/locale/ga						./share/locale/ga
./share/locale/ga/LC_MESSAGES					./share/locale/ga/LC_MESSAGES
./share/locale/ga/LC_MESSAGES/gprof.mo				./share/locale/ga/LC_MESSAGES/gprof.mo
./share/locale/ga/LC_MESSAGES/ld.mo				./share/locale/ga/LC_MESSAGES/ld.mo
./share/locale/ga/LC_MESSAGES/opcodes.mo			./share/locale/ga/LC_MESSAGES/opcodes.mo
./share/locale/hr						./share/locale/hr
./share/locale/hr/LC_MESSAGES					./share/locale/hr/LC_MESSAGES
./share/locale/hr/LC_MESSAGES/bfd.mo				./share/locale/hr/LC_MESSAGES/bfd.mo
./share/locale/hr/LC_MESSAGES/binutils.mo			./share/locale/hr/LC_MESSAGES/binutils.mo
./share/locale/hu						./share/locale/hu
./share/locale/hu/LC_MESSAGES					./share/locale/hu/LC_MESSAGES
./share/locale/hu/LC_MESSAGES/gprof.mo				./share/locale/hu/LC_MESSAGES/gprof.mo
./share/locale/id						./share/locale/id
./share/locale/id/LC_MESSAGES					./share/locale/id/LC_MESSAGES
./share/locale/id/LC_MESSAGES/bfd.mo				./share/locale/id/LC_MESSAGES/bfd.mo
./share/locale/id/LC_MESSAGES/binutils.mo			./share/locale/id/LC_MESSAGES/binutils.mo
./share/locale/id/LC_MESSAGES/gas.mo				./share/locale/id/LC_MESSAGES/gas.mo
./share/locale/id/LC_MESSAGES/gprof.mo				./share/locale/id/LC_MESSAGES/gprof.mo
./share/locale/id/LC_MESSAGES/ld.mo				./share/locale/id/LC_MESSAGES/ld.mo
./share/locale/id/LC_MESSAGES/opcodes.mo			./share/locale/id/LC_MESSAGES/opcodes.mo
./share/locale/it						./share/locale/it
./share/locale/it/LC_MESSAGES					./share/locale/it/LC_MESSAGES
./share/locale/it/LC_MESSAGES/binutils.mo			./share/locale/it/LC_MESSAGES/binutils.mo
./share/locale/it/LC_MESSAGES/gprof.mo				./share/locale/it/LC_MESSAGES/gprof.mo
./share/locale/it/LC_MESSAGES/ld.mo				./share/locale/it/LC_MESSAGES/ld.mo
./share/locale/it/LC_MESSAGES/opcodes.mo			./share/locale/it/LC_MESSAGES/opcodes.mo
./share/locale/ja						./share/locale/ja
./share/locale/ja/LC_MESSAGES					./share/locale/ja/LC_MESSAGES
./share/locale/ja/LC_MESSAGES/bfd.mo				./share/locale/ja/LC_MESSAGES/bfd.mo
./share/locale/ja/LC_MESSAGES/binutils.mo			./share/locale/ja/LC_MESSAGES/binutils.mo
./share/locale/ja/LC_MESSAGES/gas.mo				./share/locale/ja/LC_MESSAGES/gas.mo
./share/locale/ja/LC_MESSAGES/gprof.mo				./share/locale/ja/LC_MESSAGES/gprof.mo
./share/locale/ja/LC_MESSAGES/ld.mo				./share/locale/ja/LC_MESSAGES/ld.mo
./share/locale/ms						./share/locale/ms
./share/locale/ms/LC_MESSAGES					./share/locale/ms/LC_MESSAGES
./share/locale/ms/LC_MESSAGES/gprof.mo				./share/locale/ms/LC_MESSAGES/gprof.mo
./share/locale/nl						./share/locale/nl
./share/locale/nl/LC_MESSAGES					./share/locale/nl/LC_MESSAGES
./share/locale/nl/LC_MESSAGES/gprof.mo				./share/locale/nl/LC_MESSAGES/gprof.mo
./share/locale/nl/LC_MESSAGES/opcodes.mo			./share/locale/nl/LC_MESSAGES/opcodes.mo
./share/locale/pt						./share/locale/pt
./share/locale/pt_BR						./share/locale/pt_BR
./share/locale/pt_BR/LC_MESSAGES				./share/locale/pt_BR/LC_MESSAGES
./share/locale/pt_BR/LC_MESSAGES/gprof.mo			./share/locale/pt_BR/LC_MESSAGES/gprof.mo
./share/locale/pt_BR/LC_MESSAGES/ld.mo				./share/locale/pt_BR/LC_MESSAGES/ld.mo
./share/locale/pt_BR/LC_MESSAGES/opcodes.mo			./share/locale/pt_BR/LC_MESSAGES/opcodes.mo
./share/locale/pt/LC_MESSAGES					./share/locale/pt/LC_MESSAGES
./share/locale/pt/LC_MESSAGES/bfd.mo				./share/locale/pt/LC_MESSAGES/bfd.mo
./share/locale/pt/LC_MESSAGES/binutils.mo			./share/locale/pt/LC_MESSAGES/binutils.mo
./share/locale/ro						./share/locale/ro
./share/locale/ro/LC_MESSAGES					./share/locale/ro/LC_MESSAGES
./share/locale/ro/LC_MESSAGES/bfd.mo				./share/locale/ro/LC_MESSAGES/bfd.mo
./share/locale/ro/LC_MESSAGES/binutils.mo			./share/locale/ro/LC_MESSAGES/binutils.mo
./share/locale/ro/LC_MESSAGES/gprof.mo				./share/locale/ro/LC_MESSAGES/gprof.mo
./share/locale/ro/LC_MESSAGES/opcodes.mo			./share/locale/ro/LC_MESSAGES/opcodes.mo
./share/locale/ru						./share/locale/ru
./share/locale/ru/LC_MESSAGES					./share/locale/ru/LC_MESSAGES
./share/locale/ru/LC_MESSAGES/bfd.mo				./share/locale/ru/LC_MESSAGES/bfd.mo
./share/locale/ru/LC_MESSAGES/binutils.mo			./share/locale/ru/LC_MESSAGES/binutils.mo
./share/locale/ru/LC_MESSAGES/gas.mo				./share/locale/ru/LC_MESSAGES/gas.mo
./share/locale/ru/LC_MESSAGES/gprof.mo				./share/locale/ru/LC_MESSAGES/gprof.mo
./share/locale/ru/LC_MESSAGES/ld.mo				./share/locale/ru/LC_MESSAGES/ld.mo
./share/locale/rw						./share/locale/rw
./share/locale/rw/LC_MESSAGES					./share/locale/rw/LC_MESSAGES
./share/locale/rw/LC_MESSAGES/bfd.mo				./share/locale/rw/LC_MESSAGES/bfd.mo
./share/locale/rw/LC_MESSAGES/binutils.mo			./share/locale/rw/LC_MESSAGES/binutils.mo
./share/locale/rw/LC_MESSAGES/gas.mo				./share/locale/rw/LC_MESSAGES/gas.mo
./share/locale/rw/LC_MESSAGES/gprof.mo				./share/locale/rw/LC_MESSAGES/gprof.mo
./share/locale/sk						./share/locale/sk
./share/locale/sk/LC_MESSAGES					./share/locale/sk/LC_MESSAGES
./share/locale/sk/LC_MESSAGES/binutils.mo			./share/locale/sk/LC_MESSAGES/binutils.mo
./share/locale/sr						./share/locale/sr
./share/locale/sr/LC_MESSAGES					./share/locale/sr/LC_MESSAGES
./share/locale/sr/LC_MESSAGES/bfd.mo				./share/locale/sr/LC_MESSAGES/bfd.mo
./share/locale/sr/LC_MESSAGES/binutils.mo			./share/locale/sr/LC_MESSAGES/binutils.mo
./share/locale/sr/LC_MESSAGES/gprof.mo				./share/locale/sr/LC_MESSAGES/gprof.mo
./share/locale/sr/LC_MESSAGES/ld.mo				./share/locale/sr/LC_MESSAGES/ld.mo
./share/locale/sr/LC_MESSAGES/opcodes.mo			./share/locale/sr/LC_MESSAGES/opcodes.mo
./share/locale/sv						./share/locale/sv
./share/locale/sv/LC_MESSAGES					./share/locale/sv/LC_MESSAGES
./share/locale/sv/LC_MESSAGES/bfd.mo				./share/locale/sv/LC_MESSAGES/bfd.mo
./share/locale/sv/LC_MESSAGES/binutils.mo			./share/locale/sv/LC_MESSAGES/binutils.mo
./share/locale/sv/LC_MESSAGES/gas.mo				./share/locale/sv/LC_MESSAGES/gas.mo
./share/locale/sv/LC_MESSAGES/gprof.mo				./share/locale/sv/LC_MESSAGES/gprof.mo
./share/locale/sv/LC_MESSAGES/ld.mo				./share/locale/sv/LC_MESSAGES/ld.mo
./share/locale/sv/LC_MESSAGES/opcodes.mo			./share/locale/sv/LC_MESSAGES/opcodes.mo
./share/locale/tr						./share/locale/tr
./share/locale/tr/LC_MESSAGES					./share/locale/tr/LC_MESSAGES
./share/locale/tr/LC_MESSAGES/bfd.mo				./share/locale/tr/LC_MESSAGES/bfd.mo
./share/locale/tr/LC_MESSAGES/binutils.mo			./share/locale/tr/LC_MESSAGES/binutils.mo
./share/locale/tr/LC_MESSAGES/gas.mo				./share/locale/tr/LC_MESSAGES/gas.mo
./share/locale/tr/LC_MESSAGES/gprof.mo				./share/locale/tr/LC_MESSAGES/gprof.mo
./share/locale/tr/LC_MESSAGES/ld.mo				./share/locale/tr/LC_MESSAGES/ld.mo
./share/locale/tr/LC_MESSAGES/opcodes.mo			./share/locale/tr/LC_MESSAGES/opcodes.mo
./share/locale/uk						./share/locale/uk
./share/locale/uk/LC_MESSAGES					./share/locale/uk/LC_MESSAGES
./share/locale/uk/LC_MESSAGES/bfd.mo				./share/locale/uk/LC_MESSAGES/bfd.mo
./share/locale/uk/LC_MESSAGES/binutils.mo			./share/locale/uk/LC_MESSAGES/binutils.mo
./share/locale/uk/LC_MESSAGES/gas.mo				./share/locale/uk/LC_MESSAGES/gas.mo
./share/locale/uk/LC_MESSAGES/gprof.mo				./share/locale/uk/LC_MESSAGES/gprof.mo
./share/locale/uk/LC_MESSAGES/ld.mo				./share/locale/uk/LC_MESSAGES/ld.mo
./share/locale/uk/LC_MESSAGES/opcodes.mo			./share/locale/uk/LC_MESSAGES/opcodes.mo
./share/locale/vi						./share/locale/vi
./share/locale/vi/LC_MESSAGES					./share/locale/vi/LC_MESSAGES
./share/locale/vi/LC_MESSAGES/bfd.mo				./share/locale/vi/LC_MESSAGES/bfd.mo
./share/locale/vi/LC_MESSAGES/binutils.mo			./share/locale/vi/LC_MESSAGES/binutils.mo
./share/locale/vi/LC_MESSAGES/gprof.mo				./share/locale/vi/LC_MESSAGES/gprof.mo
./share/locale/vi/LC_MESSAGES/ld.mo				./share/locale/vi/LC_MESSAGES/ld.mo
./share/locale/vi/LC_MESSAGES/opcodes.mo			./share/locale/vi/LC_MESSAGES/opcodes.mo
./share/locale/zh_CN						./share/locale/zh_CN
./share/locale/zh_CN/LC_MESSAGES				./share/locale/zh_CN/LC_MESSAGES
./share/locale/zh_CN/LC_MESSAGES/bfd.mo				./share/locale/zh_CN/LC_MESSAGES/bfd.mo
./share/locale/zh_CN/LC_MESSAGES/binutils.mo			./share/locale/zh_CN/LC_MESSAGES/binutils.mo
./share/locale/zh_CN/LC_MESSAGES/gas.mo				./share/locale/zh_CN/LC_MESSAGES/gas.mo
./share/locale/zh_CN/LC_MESSAGES/ld.mo				./share/locale/zh_CN/LC_MESSAGES/ld.mo
./share/locale/zh_CN/LC_MESSAGES/opcodes.mo			./share/locale/zh_CN/LC_MESSAGES/opcodes.mo
./share/locale/zh_TW						./share/locale/zh_TW
./share/locale/zh_TW/LC_MESSAGES				./share/locale/zh_TW/LC_MESSAGES
./share/locale/zh_TW/LC_MESSAGES/binutils.mo			./share/locale/zh_TW/LC_MESSAGES/binutils.mo
./share/locale/zh_TW/LC_MESSAGES/ld.mo				./share/locale/zh_TW/LC_MESSAGES/ld.mo
./share/man							./share/man
./share/man/man1						./share/man/man1
./share/man/man1/or1k-elf-addr2line.1			      |	./share/man/man1/or1k-linux-musl-addr2line.1
./share/man/man1/or1k-elf-ar.1				      |	./share/man/man1/or1k-linux-musl-ar.1
./share/man/man1/or1k-elf-as.1				      |	./share/man/man1/or1k-linux-musl-as.1
./share/man/man1/or1k-elf-c++filt.1			      |	./share/man/man1/or1k-linux-musl-c++filt.1
./share/man/man1/or1k-elf-dlltool.1			      |	./share/man/man1/or1k-linux-musl-dlltool.1
./share/man/man1/or1k-elf-elfedit.1			      |	./share/man/man1/or1k-linux-musl-elfedit.1
./share/man/man1/or1k-elf-gprof.1			      |	./share/man/man1/or1k-linux-musl-gprof.1
./share/man/man1/or1k-elf-ld.1				      |	./share/man/man1/or1k-linux-musl-ld.1
./share/man/man1/or1k-elf-nm.1				      |	./share/man/man1/or1k-linux-musl-nm.1
./share/man/man1/or1k-elf-objcopy.1			      |	./share/man/man1/or1k-linux-musl-objcopy.1
./share/man/man1/or1k-elf-objdump.1			      |	./share/man/man1/or1k-linux-musl-objdump.1
./share/man/man1/or1k-elf-ranlib.1			      |	./share/man/man1/or1k-linux-musl-ranlib.1
./share/man/man1/or1k-elf-readelf.1			      |	./share/man/man1/or1k-linux-musl-readelf.1
./share/man/man1/or1k-elf-size.1			      |	./share/man/man1/or1k-linux-musl-size.1
./share/man/man1/or1k-elf-strings.1			      |	./share/man/man1/or1k-linux-musl-strings.1
./share/man/man1/or1k-elf-strip.1			      |	./share/man/man1/or1k-linux-musl-strip.1
./share/man/man1/or1k-elf-windmc.1			      |	./share/man/man1/or1k-linux-musl-windmc.1
./share/man/man1/or1k-elf-windres.1			      |	./share/man/man1/or1k-linux-musl-windres.1

@stffrdhrn
Copy link
Contributor

Ok. It looked strange mixing baremetal and musl toolchains. Let me know if you need help with riscv too

@mithro
Copy link
Member

mithro commented Jul 28, 2019

@stffrdhrn - The gcc without a standard libc should be equivalent to the "stage 1" compiler.

@mithro
Copy link
Member

mithro commented Jul 28, 2019

@stffrdhrn - So I was trying to prevent having to rebuild the "stage 1" by using a prebuilt "stage 1" compiler, however I just can't seem to make it work so I'm resorting to doing a more normal 2-stage GCC compile.

@mithro
Copy link
Member

mithro commented Jul 28, 2019

/home/tansell/conda/conda-bld/gcc-or1k-elf-linux-musl_1564336611242/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/../lib/gcc/or1k-linux-musl/9.1.0/../../../../or1k-linux-musl/bin/ld: obj/src/complex/__cexp.lo: in function `__ldexp_cexp':
__cexp.c:(.text.__ldexp_cexp+0x60): undefined reference to `__subdf3'
/home/tansell/conda/conda-bld/gcc-or1k-elf-linux-musl_1564336611242/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/../lib/gcc/or1k-linux-musl/9.1.0/../../../../or1k-linux-musl/bin/ld: __cexp.c:(.text.__ldexp_cexp+0xdc): undefined reference to `__muldf3'
/home/tansell/conda/conda-bld/gcc-or1k-elf-linux-musl_1564336611242/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/../lib/gcc/or1k-linux-musl/9.1.0/../../../../or1k-linux-musl/bin/ld: __cexp.c:(.text.__ldexp_cexp+0xf0): undefined reference to `__muldf3'
/home/tansell/conda/conda-bld/gcc-or1k-elf-linux-musl_1564336611242/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/../lib/gcc/or1k-linux-musl/9.1.0/../../../../or1k-linux-musl/bin/ld: __cexp.c:(.text.__ldexp_cexp+0x104): undefined reference to `__muldf3'
/home/tansell/conda/conda-bld/gcc-or1k-elf-linux-musl_1564336611242/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/../lib/gcc/or1k-linux-musl/9.1.0/../../../../or1k-linux-musl/bin/ld: __cexp.c:(.text.__ldexp_cexp+0x12c): undefined reference to `__muldf3'
/home/tansell/conda/conda-bld/gcc-or1k-elf-linux-musl_1564336611242/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/../lib/gcc/or1k-linux-musl/9.1.0/../../../../or1k-linux-musl/bin/ld: __cexp.c:(.text.__ldexp_cexp+0x140): undefined reference to `__muldf3'
/home/tansell/conda/conda-bld/gcc-or1k-elf-linux-musl_1564336611242/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/../lib/gcc/or1k-linux-musl/9.1.0/../../../../or1k-linux-musl/bin/ld: obj/src/complex/__cexp.lo:__cexp.c:(.text.__ldexp_cexp+0x154): more undefined references to `__muldf3' follow
/home/tansell/conda/conda-bld/gcc-or1k-elf-linux-musl_1564336611242/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/bin/../lib/gcc/or1k-linux-musl/9.1.0/../../../../or1k-linux-musl/bin/ld: obj/src/complex/__cexpf.lo: in function `__ldexp_cexpf':
__cexpf.c:(.text.__ldexp_cexpf+0x40): undefined reference to `__subsf3'

@mithro
Copy link
Member

mithro commented Jul 28, 2019

The issue seems to be that musl doesn't support multilib, trying without it.

@mithro
Copy link
Member

mithro commented Jul 30, 2019

I took a shot at using musl-cross-make as it seems like upstream musl doesn't have riscv32 support. See https://github.com/litex-hub/litex-conda/pull/80/files and https://travis-ci.org/mithro/conda-hdmi2usb-packages/builds/565270987 -- seems to build and pass an initial smoke test....

https://git.zv.io/toolchains/musl-cross-make/blob/musl-git/scripts/gen_riscv_patch

GitHub
Upstream musl doesn't have riscv32 support yet. The toolchains at musl.cc have a or1k + riscv32 toolchain. It is built using zv.io's fork of musl-cross-make This is a temporary solution unt...
GitLab
https://github.com/richfelker/musl-cross-make.git

@mithro
Copy link
Member

mithro commented Jul 30, 2019

I got a successful build of musl + or1k with the other approach at https://travis-ci.org/mithro/conda-hdmi2usb-packages/builds/565050257

@mithro
Copy link
Member

mithro commented Jul 31, 2019

I have merged the pull requires which add conda packages for riscv32 with musl. @mateusz-holenko Can you see if using either of these toolchains enables riscv32 kernel to be built now?

@mithro
Copy link
Member

mithro commented Aug 8, 2019

@mateusz-holenko - ping?

@mateusz-holenko
Copy link
Collaborator Author

@mithro Do you mean #188? As mentioned in the comment (#188 (comment)), I confirm that the current master (that uses riscv32-linux-musl-gcc) is able to build Linux kernel.

Sorry for not posting the status here, I must have focused on the PR and missed this thread.

@mithro
Copy link
Member

mithro commented Aug 12, 2019

@mateusz-holenko - Great! Closing this now then.

@mithro mithro closed this as completed Aug 12, 2019
mateusz-holenko added a commit to antmicro/litex-buildenv that referenced this issue Apr 15, 2020
 * litedram changed from b06e946 to de55a8e
    * de55a8e - test/test_bandwidth: review, cleanup, fix typo. <Florent Kermarrec>
    * 907ef73 - test/test_wishbone: add comments/cleanup. <Florent Kermarrec>
    * 02fd39c - test/test_fifo: add comments. <Florent Kermarrec>
    * 14edb5b - test/test_dma: add comments. <Florent Kermarrec>
    * 97e214b - test/test_bist: add comments, fix a typo. <Florent Kermarrec>
    * c55136c - test/test_bist: enable test_bist_csr_cdc (now passing with refactored CDC). <Florent Kermarrec>
    * 92e34d4 - frontend/bist: simplify and fix CDC using AsyncFIFO. <Florent Kermarrec>
    * 378c441 - frontend/bist: rename run/ready to run_cascade_in/run_cascade_out. <Florent Kermarrec>
    * 829dee6 - frontend/bist: remove run/ready CSR. <Florent Kermarrec>
    * b399ae2 - test/benchmark: default value of run is 1, no need to drive it. <Florent Kermarrec>
    * 7c5e1e7 - frontend/bist: remove wrong comment and don't increment ticks when waiting. <Florent Kermarrec>
    * 4dbb5b1 - test/run_benchmarks: fix syntax. <Florent Kermarrec>
    * 966ebcb - test: cleanup/uniformize things between tests. <Florent Kermarrec>
    * 0efd619 - test/test_adaption: review, add some comments. <Florent Kermarrec>
    * 38b78fc - test/run_benchmarks: review, minor styles changes. <Florent Kermarrec>
    * 962dcd7 - phy/model: review/cleanup DFITimingsChecker. <Florent Kermarrec>
    * 64c2be5 - README: switch to markdown. <Florent Kermarrec>
    *   835825b - Merge pull request timvideos#179 from antmicro/jboc/docs <enjoy-digital>
    |\
    | * dbac83f - core: add missing docstrings <Jędrzej Boczar>
    | * 1f246cb - core/crossbar: remove dead code <Jędrzej Boczar>
    * |   969943e - Merge pull request timvideos#178 from antmicro/jboc/unit-tests-crossbar <enjoy-digital>
    |\ \
    | * | 8a0bcb3 - test: add core.crossbar tests <Jędrzej Boczar>
    | * | e74a2e6 - test: fix missing cases in bankmachine test <Jędrzej Boczar>
    * | | 06965b7 - phy/gensdrphy: simplify using SDRTristate, change SDROutput/SDRInput to single-bit. <Florent Kermarrec>
    * | | 9d20642 - litex.build: update from migen.genlib.io litex.build.io. <Florent Kermarrec>
    * | | b9f4d99 - phy/gensdrphy: use SDRInput, SDROutput to allow infered or instantiated IO regs. <Florent Kermarrec>
    |/ /
    * |   36d62d5 - Merge pull request timvideos#177 from antmicro/jboc/unit-tests-bankmachine <enjoy-digital>
    |\ \
    | * | 7b8b68a - test: add core.bankmachine tests <Jędrzej Boczar>
    | |/
    * |   492b9fa - Merge pull request timvideos#175 from antmicro/jboc/unit-tests-bandwidth <enjoy-digital>
    |\ \
    | * | f0496b2 - core/bandwidth: avoid missing a command <Jędrzej Boczar>
    | * | c03bed8 - test: add core.bandwidth.Bandwidth tests <Jędrzej Boczar>
    * | | cc7621d - Merge pull request timvideos#173 from antmicro/jboc/unit-tests <enjoy-digital>
    |\| |
    | * | a62e59b - test: skip _CommandChooser tests from Issue timvideos#174 <Jędrzej Boczar>
    | * | 00fcdf6 - test: split core.multiplexer tests into separate files <Jędrzej Boczar>
    | * | f619bed - test: clean up the code of core.multiplexer <Jędrzej Boczar>
    | * | 1dd4227 - test: add core.multiplexer.Multiplexer tests <Jędrzej Boczar>
    | * | ea93246 - test: add comments to core.multiplexer._Steerer tests <Jędrzej Boczar>
    | * | 26ce993 - test: add core.multiplexer._Steerer tests <Jędrzej Boczar>
    | * | f36b5a4 - test: add core.multiplexer._CommandChooser tests <Jędrzej Boczar>
    | * | a1b1abe - test: use TestCase.subTest for more verbose error messages <Jędrzej Boczar>
    |  /
    * / e7cd6a7 - .travis.yml: udpate to keep it similar with others .travis.yml files. <Florent Kermarrec>
    |/
    * 0c3a610 - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>
    * a98f51e - dfii: use reset_less on datapath/configuration CSRStorages. <Florent Kermarrec>
    * 96b273c - common/BitSlip: use reset_less on intermediate signal. <Florent Kermarrec>

 * liteeth changed from fb47853 to 705003e
    * 705003e - README: switch to markdown. <Florent Kermarrec>
    * 92c3048 - examples: use CRG from litex.build. <Florent Kermarrec>
    * 3bd807c - litex.build: update from migen.genlib.io litex.build.io. <Florent Kermarrec>
    * 6ec7038 - .travis.yml: fix git clone error. <Florent Kermarrec>
    * 47a2e5b - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>
    * ab55304 - mac/sram: use reset_less on datapath/configuration CSRStorages. <Florent Kermarrec>

 * liteiclink changed from 370855d to 6fdd020
    * 6fdd020 - README: switch to markdown. <Florent Kermarrec>
    * c4edb7e - litex.build: update from migen.genlib.io litex.build.io. <Florent Kermarrec>
    * 1dcea14 - .travis.yml: fix git clone error. <Florent Kermarrec>
    * e6ab98a - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>

 * litepcie changed from 5b7e7cd to 586ef78
    * 586ef78 - README: switch to markdown. <Florent Kermarrec>
    * 3e24df2 - README: add Xilinx Ultrascale support. <Florent Kermarrec>
    * 81b3e13 - examples: add KCU105 example. (PCIe gen2 X4). <Florent Kermarrec>
    * 32d64e4 - phy: add initial Ultrascale PHY (gen2 X4). <Florent Kermarrec>
    * bb7a1e0 - phy/xilinx_us_x4: adaptations on packets to expose/receive standardized TLPs. <Florent Kermarrec>
    * 1f28c9f - phy: add xilinx_us_x4. <Florent Kermarrec>
    * a65aab9 - examples/kc705: cleanup, enable bridge and generate csr.csv. <Florent Kermarrec>
    * 0748af1 - litepcie/common: update import. <Florent Kermarrec>
    * 6bcafc4 - .travis.yml: fix git clone error. <Florent Kermarrec>
    * fde0c62 - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>
    * 3dd6185 - soc/cores: use reset_less on datapath/configuration CSRStorages. <Florent Kermarrec>
    * 2a1c2e7 - phy: use reset_less on id/max_request_size/max_payload_size. <Florent Kermarrec>

 * litesata changed from 1e3573b to 2e5c5b1
    * 2e5c5b1 - README: switch to markdown. <Florent Kermarrec>
    * 71e0210 - .travis.yml: fix git clone error. <Florent Kermarrec>
    * e3a980e - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>

 * litescope changed from b3d1e69 to 54488c0
    * 54488c0 - README: switch to markdown. <Florent Kermarrec>
    * 72277ff - examples: use CRG from litex.build. <Florent Kermarrec>
    * a05312d - litex.build: update from migen.genlib.io litex.build.io. <Florent Kermarrec>
    * 5701c52 - .travis.yml: fix git clone error. <Florent Kermarrec>
    * 47819e8 - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>

 * litevideo changed from 49d8126 to 41f3014
    * 41f3014 - README: switch to markdown. <Florent Kermarrec>
    * 6958c21 - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>

 * litex changed from 536ae0e6 to 2d018826
    * 2d018826 - setup.py/install_requires: add requests. <Florent Kermarrec>
    * 5e149ced - build/generic_programmer: add automatic search/download of flash_proxy in repositories if not available locally. <Florent Kermarrec>
    *   a298a9e5 - Merge pull request timvideos#467 from antmicro/region_type_fix <enjoy-digital>
    |\
    | * 77a05b78 - soc_core: Fix region type generation <Mateusz Holenko>
    |/
    * d44fe18b - stream/AsyncFIFO: add default depth (useful when used for CDC). <Florent Kermarrec>
    * ded10c89 - build/sim/core/Makefile: add -p to mkdir modules. <Florent Kermarrec>
    *   c323e94c - Merge pull request timvideos#464 from mithro/litex-sim-fixes <enjoy-digital>
    |\
    | * 97d0c525 - Remove trailing whitespace. <Tim 'mithro' Ansell>
    | * 5a0bb6ee - litex_sim: Rework Makefiles to put output files in gateware directory. <Tim 'mithro' Ansell>
    | * a0658421 - litex_sim: Better error messages on failure to load module. <Tim 'mithro' Ansell>
    * | a8bf0216 - litex_setup: raise exception on update if repository has been been initialized. <Florent Kermarrec>
    * | 4fe31f07 - cores: add External Memory Interface (EMIF) Wishbone bridge. <Florent Kermarrec>
    * |   44746870 - Merge pull request timvideos#462 from ironsteel/trellis-12k <enjoy-digital>
    |\ \
    | |/
    |/|
    | * c57e438d - boards/targets/ulx3s.py: Update --device option help message <Rangel Ivanov>
    | * f4b345ec - build/lattice/trellis.py: Add 12k device <Rangel Ivanov>
    |/
    * d0d2f282 - README: LiteDRAM moved to travis-ci.com as others repositories. <Florent Kermarrec>
    * b95e0a19 - altera/common: add DDROutput, DDRInput, SDROutput, SDRInput. <Florent Kermarrec>
    * 40f43efc - targets: use DDROutput on sdram_clock and similar configuration for all SDRAM targets. <Florent Kermarrec>
    * 292d6b75 - build/xilinx/common: add Spartan6 specialized DDRInput, SDROutput, SDRInput and SDRTristate. <Florent Kermarrec>
    * 88dc5158 - build/io: add SDR Tristate (with infered version) and remove multi-bits support on SDRIO. <Florent Kermarrec>
    * fdadbd86 - build/lattice/common: remove multi-bits support on SDRInput/Output. <Florent Kermarrec>
    * 8159b65b - litex/build/io: also import CRG (since using DifferentialInput). <Florent Kermarrec>
    * 79913e86 - litex.build: update from migen.genlib.io litex.build.io. <Florent Kermarrec>
    * 8e014f76 - litex/build: move io.py from litex/gen and re-import DifferentialInput/Output, DDRInput/Output contributed to Migen. <Florent Kermarrec>
    * 2e270cf2 - platforms/versa_ecp5: remove Lattice Programmer (no longer used since we can now use OpenOCD). <Florent Kermarrec>
    * deebc49a - boards/platforms: cosmetic cleanups. <Florent Kermarrec>
    * 3c0ba8ae - boards/plarforms/ulx3s: cleanup, fix user_leds, add spisdcard, add PULLMODE/DRIVE on SDRAM pins. <Florent Kermarrec>
    * 6c429c99 - build/lattice: add ECP5 implementation for SDRInput/SDROutput. <Florent Kermarrec>
    * 72c8d590 - litex/gen: add io with SDRInput/SDROutput (if not overrided, register is supposed to be infered). <Florent Kermarrec>
    * 8f57321f - tools/litex_sim: remove LiteSPI support for now since breaking Travis-CI of others sub-projects. <Florent Kermarrec>
    * 9afd017a - tools/litex_term: increase workaround delay for usb_fifo. (validated on Minispartan6 and MimasA7). <Florent Kermarrec>
    *   fdfede22 - Merge pull request timvideos#459 from mithro/travis-fix <enjoy-digital>
    |\
    | * cb7e3099 - travis: Run Windows build but allow it to fail. <Tim 'mithro' Ansell>
    | * 43242012 - travis: Use litex_setup.py from the checked out code. <Tim 'mithro' Ansell>
    |/
    *   30f5faf9 - Merge pull request timvideos#458 from david-sawatzke/add_triple <Tim Ansell>
    |\
    | * d69b4443 - Add riscv64-none-elf triple <David Sawatzke>
    |/
    * 14bf8b81 - soc/cores/clock: add Max10PLL. <Florent Kermarrec>
    * 2470ef50 - soc/cores/clock: add Cyclone10LPPLL. <Florent Kermarrec>
    * f8d6d0fd - soc/cores/clock/CycloneVPLL: fix typos. <Florent Kermarrec>
    * 970c8de4 - soc/cores/clock: rename Altera to Intel. <Florent Kermarrec>
    * 383fcd36 - soc/cores/clock: add CycloneVPLL. <Florent Kermarrec>
    * ab4906ea - targets/de0nano: use CycloneIVPLL, remove 50MHz limitation. <Florent Kermarrec>
    * 0f17547c - soc/cores/clock: add initial AlteraClocking/CycloneIV support. <Florent Kermarrec>
    * 3575d03f - .travis.yml: disable windows test (failing for now). <Florent Kermarrec>
    * 2ca853fd - README.md: update RISCV toolchain installation. <Florent Kermarrec>
    * d770bfbf - .travis.yml: remove Python3.5 test. <Florent Kermarrec>
    *   bc26af0d - Merge pull request timvideos#451 from mithro/multi-os <enjoy-digital>
    |\
    | * 3305a65b - Enable testing on multiple Python versions. <Tim 'mithro' Ansell>
    | * 6bd5eae4 - Enable CI for Windows and Mac. <Tim 'mithro' Ansell>
    * | 30d25ffe - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>
    * | 3f1159fa - litex_setup: reorganize a bit, add separators/comments. <Florent Kermarrec>
    * | 926f961b - .travis.yml: revert full url for litex_setup.py. <Florent Kermarrec>
    * | 447e8d94 - Merge pull request timvideos#452 from mithro/riscv-download <enjoy-digital>
    |\|
    | * 9e324d9e - Remove symlinking step. <Tim 'mithro' Ansell>
    | * 7f0ecddf - Use shutil.unpack_archive. <Tim 'mithro' Ansell>
    | * a1dd8fc8 - Ignore SSL errors on CI. <Tim 'mithro' Ansell>
    | * 2b2aff12 - Improve the path messages a little. <Tim 'mithro' Ansell>
    | * 141644d1 - Make travis use litex_setup.py for GCC download. <Tim 'mithro' Ansell>
    | * 6adabae7 - Adding SiFive RISC-V toolchain downloading to litex_setup.py <Tim 'mithro' Ansell>
    | * 59b7db63 - Fix alignments. <Tim 'mithro' Ansell>
    |/
    *   e408fb8f - Merge pull request timvideos#450 from mithro/litex-setup-fix <enjoy-digital>
    |\
    | * d781bf20 - Run `litex_setup.py` outside the git clone directory. <Tim 'mithro' Ansell>
    | * dd59dac5 - litex_setup: Use subprocess so failures are noticed. <Tim 'mithro' Ansell>
    |/
    * 0f352cd6 - soc/cores: use reset_less on datapath/configuration CSRStorages. <Florent Kermarrec>
    * a67ab418 - interconnect/csr: add reset_less parameter. <Florent Kermarrec>
    * 05b1b778 - interconnect/csr, wishbone: use reset_less on datapath signals. <Florent Kermarrec>
    * b95965de - cores/code_8b10b: set reset_less to True on datapath signals. <Florent Kermarrec>
    * a35df4f7 - stream: set reset_less to True on datapath signals. <Florent Kermarrec>
    *   cf1c5d99 - Merge pull request timvideos#448 from kessam/patch-1 <enjoy-digital>
    |\
    | * fb532f5e - Fix timing constraints <kessam>
    |/
    * 60431083 - soc/cores/clock/ECP5PLL: add CLKI_DIV support. <Florent Kermarrec>
    *   27f00851 - Merge pull request timvideos#447 from antmicro/spi-xip <enjoy-digital>
    |\
    | * 81be74a7 - targets: netv2: add LiteSPI <Piotr Binkowski>
    | * 946cb164 - platform: netv2: update SPI flash pinout <Piotr Binkowski>
    | * 31fceb0a - litex_sim: add LiteSPI <Piotr Binkowski>
    | * ff04869c - litex_setup: add litespi core <Piotr Binkowski>
    * | 91981b96 - soc/cores/uart: use reset_less on accumulator, reg, bitcount to reduce. <Florent Kermarrec>
    * | 87160059 - soc/cores/spi_flash: add ECP5SPIFlash (non-memory-mapped). <Florent Kermarrec>
    * |   e3445f6c - Merge pull request timvideos#444 from ilya-epifanov/openocd-jtag-programmer <enjoy-digital>
    |\ \
    | * | 351551a0 - Added openocd jtagspi programmer, to be used with ECP5-EVN board <Ilya Epifanov>
    * | |   aeb9411a - Merge pull request timvideos#441 from gsomlo/gls-spisdcard-fixes <enjoy-digital>
    |\ \ \
    | * | | 8473ed56 - software/bios: add spisdcardboot() to boot_sequence() <Gabriel Somlo>
    | * | | e9054ef6 - software/libbase/spisdcard: add delay to goidle loop <Gabriel Somlo>
    | * | | c6b6dee2 - software/bios: factor out busy_wait() function <Gabriel Somlo>
    | * | | 540218b2 - software/libbase/spisdcard: fix width of address parameter <Gabriel Somlo>
    |/ / /
    * | | 2e48ab56 - soc/cores/spi: make dynamic clk divider optional (can be enabled with add_clk_divider method) and only use it in add_spi_sdcard. <Florent Kermarrec>
    * | |   86eec1a4 - Merge pull request timvideos#439 from antmicro/fix-compiler-rt <enjoy-digital>
    |\ \ \
    | |_|/
    |/| |
    | * | 5fa2cc66 - Update removed llvm compiler-rt repo <Kamil Rakoczy>
    |/ /
    * | 4abb3715 - targets/add_constant: avoid specifying value when value is None (=default). <Florent Kermarrec>
    * | 73b43475 - software/libbase/spisdcard: add USE_SPISDCARD_RECLOCKING define to easily disable reclocking. <Florent Kermarrec>
    * | b509df8b - integration/soc/add_uart: add USB CDC support (with ValentyUSB core). <Florent Kermarrec>
    * | 76872a7a - tools/litex_sim: simplify using uart_name=sim. <Florent Kermarrec>
    * | 09a3ce0e - integration/soc/add_uart: add Model/Sim. <Florent Kermarrec>
    * | 3f43c6a2 - integration/soc/add_uart: cleanup. <Florent Kermarrec>
    |/
    * 5bcf730c - build/tools: add replace_in_file function. <Florent Kermarrec>
    * ffe83ef0 - tools/litex_term: use 64 bytes as default payload_lengh (work for all confniguration) and add small delay between frames for FT245 FIFO. <Florent Kermarrec>
    * 8f2e3692 - bios/boot: update comments. <Florent Kermarrec>
    *   1746b57a - Merge pull request timvideos#437 from feliks-montez/bugfix/fix-serialboot-frames <enjoy-digital>
    |\
    | * ebdc38fc - flush rx buffer when bad crc and fix frame payload length <Feliks>
    * | c154d8d2 - test/test_targets: remove versa_ecp3. <Florent Kermarrec>
    * | 8d999081 - boards/targets: update SDRAM to use new GENSDRPHY and new ECP5PLL phase support. <Florent Kermarrec>
    * | 3eb08c7d - boards/platforms: remove versa_ecp3 (ECP3 no longer supported). <Florent Kermarrec>
    * | eb641695 - build/lattice/diamond: remove ECP3 support. (ECP3 is not used and no longer interesting now that ECP5 has an open-source toolchain). <Florent Kermarrec>
    * | bba5f182 - cores/clock/ECP5PLL: add phase support. <Florent Kermarrec>
    * | 0123ccc8 - build/lattice/common: change LatticeECPXDDROutputImpl from ECP3 to ECP5. <Florent Kermarrec>
    * | 5a402264 - Fix off-by-one error on almost full condition for prefetch <bunnie>
    |/
    * d62ef38c - soc/doc/csr: allow CSRField.reset to be a Migen Constant. <Florent Kermarrec>
    * 4adac90d - cpu/vexriscv/mem_map_linux: move main_ram to allow up to 1GB. <Florent Kermarrec>
    * 63ab2ba4 - software/bios/boot/linux: move emulator.bin to main_ram and allow defining custom ram offsets. <Florent Kermarrec>
    * d9984754 - targets: remove Etherbone imports. <Florent Kermarrec>
    * 3b04efbc - targets: switch to add_etherbone method. <Florent Kermarrec>
    * 5ad7a3b7 - integration/soc: add add_etherbone method. <Florent Kermarrec>
    * d6b0819e - integration/soc/add_ethernet: add name parameter (defaults to ethmac). <Florent Kermarrec>
    * 930679ef - targets: always use sys_clk_freq on SDRAM modules. <Florent Kermarrec>
    * ae6ef923 - targets: fix typos in previous changes. <Florent Kermarrec>
    *   c547b2cc - Merge pull request timvideos#436 from rob-ng15/master <enjoy-digital>
    |\
    | * 2bf31a31 - Reclock spi sdcard access after initialisation <rob-ng15>
    * |   011773af - Merge pull request timvideos#435 from enjoy-digital/spi_master_clk_divider <enjoy-digital>
    |\ \
    | |/
    |/|
    | * 61c9e54a - soc/core/spi: add Clk Divider CSR (defaults to sys_clk_freq/spi_clk_freq). <Florent Kermarrec>
    * | f03d862c - targets: switch to add_ethernet method instead of EthernetSoC. <Florent Kermarrec>
    * | 4e9a8ffe - targets: switch to SoCCore/add_sdram instead of SoCSDRAM. <Florent Kermarrec>
    |/
    * dd7718b4 - targets/arty: use new ISERDESE2 MEMORY mode. <Florent Kermarrec>
    *   fca52d11 - Merge branch 'master' of http://github.com/enjoy-digital/litex <Florent Kermarrec>
    |\
    | *   0f356648 - Merge pull request timvideos#434 from rob-ng15/master <enjoy-digital>
    | |\
    | | * f3c23377 - Use <stdint.h> to provide structure sizes <rob-ng15>
    | | * c2ebbcbf - Use <stdint.h> for structure sizes <rob-ng15>
    | |/
    * / ccf73639 - integration/soc: add add_spi_flash method to add SPI Flash support to the SoC. <Florent Kermarrec>
    |/
    * ec3e0686 - targets/nexys4ddr: use LiteXSoC's add_spi_sdcard method. <Florent Kermarrec>
    * d276036f - integration/soc: add add_spi_sdcard method to add SPI mode SDCard support to the SoC. <Florent Kermarrec>
    *   60445709 - Merge pull request timvideos#433 from gsomlo/gls-rocket-spisdcard <enjoy-digital>
    |\
    | * b960d7c5 - targets/nexys4ddr: add '--with-spi-sdcard' build option <Gabriel Somlo>
    | * 7a7b8905 - platforms/nexys4ddr: add spisdcard pins. <Gabriel Somlo>
    | * af4de03f - targets/nexys4ddr: make sdcard reset conditional <Gabriel Somlo>
    | * a33916bc - software/libbase/spisdcard: fix 4-byte FAT fields on 64-bit CPUs <Gabriel Somlo>
    | * 1f90abea - bios: make SPI SDCard boot configs other than linux-on-litex-vexriscv <Gabriel Somlo>
    | * c2938dc9 - bios/boot.c: cosmetic: re-indent spisdcardboot() for consistency <Gabriel Somlo>
    * |   fbadfa17 - Merge pull request timvideos#432 from esden/csr-doc-fix-int <Sean Cross>
    |\ \
    | |/
    |/|
    | * 27988672 - Don't let python convert lane number to float. <Piotr Esden-Tempski>
    |/
    *   dd07a0ad - Merge pull request timvideos#431 from antmicro/hybrid-mac <enjoy-digital>
    |\
    | * 96a265a4 - litex_sim: add support for hybrid mac <Piotr Binkowski>
    * 37f25ed3 - software/libbase/bios: rename spi.c/h to spisdcard.h, also rename functions. <Florent Kermarrec>
    * 93925634 - software/bios/main: revert USDDRPHY_DEBUG (merge issue with SPI SD CARD PR). <Florent Kermarrec>
    *   8fe9e72f - Merge pull request timvideos#429 from rob-ng15/master <enjoy-digital>
    |\
    | * 27720409 - SPI hardware bitbanging from SD CARD <rob-ng15>
    | * d45dda73 - SPI hardware bitbanging from SD CARD <rob-ng15>
    | * 50b6db6a - SPI hardware bitbanging from SD CARD <rob-ng15>
    * |   9e1cd842 - Merge pull request timvideos#430 from gsomlo/gls-sdclk-stub <enjoy-digital>
    |\ \
    | * | b2103f4a - bios/sdcard: provide sdclk_set_clk() stub for clocker-less targets <Gabriel Somlo>
    |/ /
    * / e8651629 - platforms/kcu105: fix pcie tx0 p/n swap. <Florent Kermarrec>
    |/
    * 2c4b8963 - soc/cores/clock: make sure specific clkoutn_divide_range is only used as a fallback solution. <Florent Kermarrec>

 * litex-boards changed from a7fbe0a to cb95962
    * cb95962 - targets/ulx3s and colorlight_5a_75b: cleanup USB ACM addition and only keep USB ACM changes. <Florent Kermarrec>
    *   4b4f2f9 - Merge pull request timvideos#67 from mubes/ecp5_usb <enjoy-digital>
    |\
    | * f79a010 - Addition of flash for colorlight board <Dave Marples>
    | * 389e8aa - Addition of USB ACM for ECP5 <Dave Marples>
    |/
    * a12faae - targets/colorlight_5a_75b: increase sys_ps phase (fixes memtest). <Florent Kermarrec>
    * 52c9648 - arty_s7: fix copyrights, rename to arty_s7, various minor changes to make it similar to others targets. <Florent Kermarrec>
    *   0cee59c - Merge pull request timvideos#65 from Fatsie/artys7 <enjoy-digital>
    |\
    | * bbb1ded - Added Arty S7 board <Staf Verhaegen>
    |/
    * 188d4a4 - targets: use DDROutput on sdram_clock and similar configuration for all SDRAM targets. <Florent Kermarrec>
    * ca197af - targets/simple: use CRG from litex.build. <Florent Kermarrec>
    * b8a648d - litex.build: update from migen.genlib.io litex.build.io. <Florent Kermarrec>
    * 4d7135f - platforms/versa_ecp5: remove LatticeProgrammer (no longer used since we can now use OpenOCD). <Florent Kermarrec>
    * 2cf3c3e - platforms: cosmetic cleanups. <Florent Kermarrec>
    * df5de88 - platforms/ulx3s: cleanup, fix user_leds, add PULLMODE/DRIVE constraints on SDRAM. <Florent Kermarrec>
    * 467b14a - colorlight_5a_75b: minor comment changes. <Florent Kermarrec>
    *   7157b40 - Merge pull request timvideos#64 from david-sawatzke/improve_colorlight_v6.1 <enjoy-digital>
    |\
    | * 15a27d4 - targets/colorlight_5a_75b: Change baudrate to work on v6.1 <David Sawatzke>
    | * 4fc9df8 - colorlight_5a_75b/v6.1: Add eth_clock & serial pins <David Sawatzke>
    | * 4ddde31 - colorlight_5a_75b/v6.1: Fix bank activate pin <David Sawatzke>
    |/
    * a80737e - test/test_targets: fix typo. <Florent Kermarrec>
    *   9b3f16a - Merge pull request timvideos#62 from ilya-epifanov/ecp5-evn-button1-and-spi-flash-ios <enjoy-digital>
    |\
    | * a43072a - ECP5-EVN board: Added BUTTON_1 and SPI flash pins to IOs <Ilya Epifanov>
    * db67dff - targets/de10lite: use Max10PLL, remove 50MHz limitation. <Florent Kermarrec>
    * 9fe9821 - test/test_targets: add c10lprefkit. <Florent Kermarrec>
    * 8ccab03 - targets/c10lprefkit: use Cyclone10LPPLL, remove 50MHz limitation. <Florent Kermarrec>
    * 4cdc121 - targets/de10nano: use CycloneVPLL, remove 50MHz limitation. <Florent Kermarrec>
    * 2d8a4ef - targets/de1_soc: use CycloneVPLL, remove 50MHz limitation. <Florent Kermarrec>
    * cec4cbb - targets/de2_115: use CycloneIVPLL, remove 50MHz limitation. <Florent Kermarrec>
    * 1fac607 - targets/de0nano: use CycloneIVPLL, remove 50MHz limitation. <Florent Kermarrec>
    * 5f629c2 - targets/vcu118: fix clk500 typo. <Florent Kermarrec>
    * d7b9212 - .travis.yml: fix git clone error. <Florent Kermarrec>
    * 5e1da47 - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>

 * migen changed from 0.6.dev-335-g3f9809b to 0.6.dev-337-g19d5eae
    * 19d5eae - zc706: fix user_led I/O standards <Sebastien Bourdeauducq>
    * 21fea57 - zc706: fix indentation/style <Sebastien Bourdeauducq>

Full submodule status
--
 3a6108a75be356a3dc53760d22782f1323248b6b edid-decode (remotes/origin/HEAD)
 3a06aa84b62ad24467fb0d2c6ceddf565e9ea447 flash_proxies (remotes/origin/HEAD)
 de55a8e17046ffd6bf68d1c0d606088abdb37950 litedram (remotes/origin/HEAD)
 705003e5231436de9a276e8f834564c6fbe90a1e liteeth (remotes/origin/HEAD)
 6fdd02058fba29008c90b162e0ef707dce15ebeb liteiclink (remotes/origin/HEAD)
 586ef787946512087a64fb60b79bdafe39aee6d0 litepcie (remotes/origin/HEAD)
 2e5c5b12d52f695f4560ca7dd08b4170d7568715 litesata (remotes/origin/HEAD)
 54488c0f4d6e9e953f1a0de3d578915a5e4ccddf litescope (remotes/origin/HEAD)
 7457a29b1a47fe15e81fa37f3bbdd510788f1d53 liteusb (heads/master)
 41f30143075ece3fff5c33a332ed067d1837cbb3 litevideo (remotes/origin/HEAD)
 2d018826532e486b94615c6b9cee4f16a924dba2 litex (remotes/origin/HEAD)
 cb959628506e61cae2d7be05276bba8f42138cfb litex-boards (remotes/origin/HEAD)
 7da392963878842f93f09a7a218c1052ae5e45d6 litex-renode (realign_memory.0~2)
 19d5eae29b9ff57ea11540252f79ad1a9526ff3a migen (0.6.dev-337-g19d5eae)
 8f5a253b22cd4ebcd56304a3662f4c70e3b34ed5 nmigen (v0.1-69-g8f5a253)
mateusz-holenko added a commit to antmicro/litex-buildenv that referenced this issue Apr 20, 2020
 * litedram changed from b06e946 to de55a8e
    * de55a8e - test/test_bandwidth: review, cleanup, fix typo. <Florent Kermarrec>
    * 907ef73 - test/test_wishbone: add comments/cleanup. <Florent Kermarrec>
    * 02fd39c - test/test_fifo: add comments. <Florent Kermarrec>
    * 14edb5b - test/test_dma: add comments. <Florent Kermarrec>
    * 97e214b - test/test_bist: add comments, fix a typo. <Florent Kermarrec>
    * c55136c - test/test_bist: enable test_bist_csr_cdc (now passing with refactored CDC). <Florent Kermarrec>
    * 92e34d4 - frontend/bist: simplify and fix CDC using AsyncFIFO. <Florent Kermarrec>
    * 378c441 - frontend/bist: rename run/ready to run_cascade_in/run_cascade_out. <Florent Kermarrec>
    * 829dee6 - frontend/bist: remove run/ready CSR. <Florent Kermarrec>
    * b399ae2 - test/benchmark: default value of run is 1, no need to drive it. <Florent Kermarrec>
    * 7c5e1e7 - frontend/bist: remove wrong comment and don't increment ticks when waiting. <Florent Kermarrec>
    * 4dbb5b1 - test/run_benchmarks: fix syntax. <Florent Kermarrec>
    * 966ebcb - test: cleanup/uniformize things between tests. <Florent Kermarrec>
    * 0efd619 - test/test_adaption: review, add some comments. <Florent Kermarrec>
    * 38b78fc - test/run_benchmarks: review, minor styles changes. <Florent Kermarrec>
    * 962dcd7 - phy/model: review/cleanup DFITimingsChecker. <Florent Kermarrec>
    * 64c2be5 - README: switch to markdown. <Florent Kermarrec>
    *   835825b - Merge pull request timvideos#179 from antmicro/jboc/docs <enjoy-digital>
    |\
    | * dbac83f - core: add missing docstrings <Jędrzej Boczar>
    | * 1f246cb - core/crossbar: remove dead code <Jędrzej Boczar>
    * |   969943e - Merge pull request timvideos#178 from antmicro/jboc/unit-tests-crossbar <enjoy-digital>
    |\ \
    | * | 8a0bcb3 - test: add core.crossbar tests <Jędrzej Boczar>
    | * | e74a2e6 - test: fix missing cases in bankmachine test <Jędrzej Boczar>
    * | | 06965b7 - phy/gensdrphy: simplify using SDRTristate, change SDROutput/SDRInput to single-bit. <Florent Kermarrec>
    * | | 9d20642 - litex.build: update from migen.genlib.io litex.build.io. <Florent Kermarrec>
    * | | b9f4d99 - phy/gensdrphy: use SDRInput, SDROutput to allow infered or instantiated IO regs. <Florent Kermarrec>
    |/ /
    * |   36d62d5 - Merge pull request timvideos#177 from antmicro/jboc/unit-tests-bankmachine <enjoy-digital>
    |\ \
    | * | 7b8b68a - test: add core.bankmachine tests <Jędrzej Boczar>
    | |/
    * |   492b9fa - Merge pull request timvideos#175 from antmicro/jboc/unit-tests-bandwidth <enjoy-digital>
    |\ \
    | * | f0496b2 - core/bandwidth: avoid missing a command <Jędrzej Boczar>
    | * | c03bed8 - test: add core.bandwidth.Bandwidth tests <Jędrzej Boczar>
    * | | cc7621d - Merge pull request timvideos#173 from antmicro/jboc/unit-tests <enjoy-digital>
    |\| |
    | * | a62e59b - test: skip _CommandChooser tests from Issue timvideos#174 <Jędrzej Boczar>
    | * | 00fcdf6 - test: split core.multiplexer tests into separate files <Jędrzej Boczar>
    | * | f619bed - test: clean up the code of core.multiplexer <Jędrzej Boczar>
    | * | 1dd4227 - test: add core.multiplexer.Multiplexer tests <Jędrzej Boczar>
    | * | ea93246 - test: add comments to core.multiplexer._Steerer tests <Jędrzej Boczar>
    | * | 26ce993 - test: add core.multiplexer._Steerer tests <Jędrzej Boczar>
    | * | f36b5a4 - test: add core.multiplexer._CommandChooser tests <Jędrzej Boczar>
    | * | a1b1abe - test: use TestCase.subTest for more verbose error messages <Jędrzej Boczar>
    |  /
    * / e7cd6a7 - .travis.yml: udpate to keep it similar with others .travis.yml files. <Florent Kermarrec>
    |/
    * 0c3a610 - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>
    * a98f51e - dfii: use reset_less on datapath/configuration CSRStorages. <Florent Kermarrec>
    * 96b273c - common/BitSlip: use reset_less on intermediate signal. <Florent Kermarrec>

 * liteeth changed from fb47853 to 705003e
    * 705003e - README: switch to markdown. <Florent Kermarrec>
    * 92c3048 - examples: use CRG from litex.build. <Florent Kermarrec>
    * 3bd807c - litex.build: update from migen.genlib.io litex.build.io. <Florent Kermarrec>
    * 6ec7038 - .travis.yml: fix git clone error. <Florent Kermarrec>
    * 47a2e5b - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>
    * ab55304 - mac/sram: use reset_less on datapath/configuration CSRStorages. <Florent Kermarrec>

 * liteiclink changed from 370855d to 6fdd020
    * 6fdd020 - README: switch to markdown. <Florent Kermarrec>
    * c4edb7e - litex.build: update from migen.genlib.io litex.build.io. <Florent Kermarrec>
    * 1dcea14 - .travis.yml: fix git clone error. <Florent Kermarrec>
    * e6ab98a - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>

 * litepcie changed from 5b7e7cd to 586ef78
    * 586ef78 - README: switch to markdown. <Florent Kermarrec>
    * 3e24df2 - README: add Xilinx Ultrascale support. <Florent Kermarrec>
    * 81b3e13 - examples: add KCU105 example. (PCIe gen2 X4). <Florent Kermarrec>
    * 32d64e4 - phy: add initial Ultrascale PHY (gen2 X4). <Florent Kermarrec>
    * bb7a1e0 - phy/xilinx_us_x4: adaptations on packets to expose/receive standardized TLPs. <Florent Kermarrec>
    * 1f28c9f - phy: add xilinx_us_x4. <Florent Kermarrec>
    * a65aab9 - examples/kc705: cleanup, enable bridge and generate csr.csv. <Florent Kermarrec>
    * 0748af1 - litepcie/common: update import. <Florent Kermarrec>
    * 6bcafc4 - .travis.yml: fix git clone error. <Florent Kermarrec>
    * fde0c62 - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>
    * 3dd6185 - soc/cores: use reset_less on datapath/configuration CSRStorages. <Florent Kermarrec>
    * 2a1c2e7 - phy: use reset_less on id/max_request_size/max_payload_size. <Florent Kermarrec>

 * litesata changed from 1e3573b to 2e5c5b1
    * 2e5c5b1 - README: switch to markdown. <Florent Kermarrec>
    * 71e0210 - .travis.yml: fix git clone error. <Florent Kermarrec>
    * e3a980e - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>

 * litescope changed from b3d1e69 to 54488c0
    * 54488c0 - README: switch to markdown. <Florent Kermarrec>
    * 72277ff - examples: use CRG from litex.build. <Florent Kermarrec>
    * a05312d - litex.build: update from migen.genlib.io litex.build.io. <Florent Kermarrec>
    * 5701c52 - .travis.yml: fix git clone error. <Florent Kermarrec>
    * 47819e8 - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>

 * litevideo changed from 49d8126 to 41f3014
    * 41f3014 - README: switch to markdown. <Florent Kermarrec>
    * 6958c21 - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>

 * litex changed from 536ae0e6 to 2d018826
    * 2d018826 - setup.py/install_requires: add requests. <Florent Kermarrec>
    * 5e149ced - build/generic_programmer: add automatic search/download of flash_proxy in repositories if not available locally. <Florent Kermarrec>
    *   a298a9e5 - Merge pull request timvideos#467 from antmicro/region_type_fix <enjoy-digital>
    |\
    | * 77a05b78 - soc_core: Fix region type generation <Mateusz Holenko>
    |/
    * d44fe18b - stream/AsyncFIFO: add default depth (useful when used for CDC). <Florent Kermarrec>
    * ded10c89 - build/sim/core/Makefile: add -p to mkdir modules. <Florent Kermarrec>
    *   c323e94c - Merge pull request timvideos#464 from mithro/litex-sim-fixes <enjoy-digital>
    |\
    | * 97d0c525 - Remove trailing whitespace. <Tim 'mithro' Ansell>
    | * 5a0bb6ee - litex_sim: Rework Makefiles to put output files in gateware directory. <Tim 'mithro' Ansell>
    | * a0658421 - litex_sim: Better error messages on failure to load module. <Tim 'mithro' Ansell>
    * | a8bf0216 - litex_setup: raise exception on update if repository has been been initialized. <Florent Kermarrec>
    * | 4fe31f07 - cores: add External Memory Interface (EMIF) Wishbone bridge. <Florent Kermarrec>
    * |   44746870 - Merge pull request timvideos#462 from ironsteel/trellis-12k <enjoy-digital>
    |\ \
    | |/
    |/|
    | * c57e438d - boards/targets/ulx3s.py: Update --device option help message <Rangel Ivanov>
    | * f4b345ec - build/lattice/trellis.py: Add 12k device <Rangel Ivanov>
    |/
    * d0d2f282 - README: LiteDRAM moved to travis-ci.com as others repositories. <Florent Kermarrec>
    * b95e0a19 - altera/common: add DDROutput, DDRInput, SDROutput, SDRInput. <Florent Kermarrec>
    * 40f43efc - targets: use DDROutput on sdram_clock and similar configuration for all SDRAM targets. <Florent Kermarrec>
    * 292d6b75 - build/xilinx/common: add Spartan6 specialized DDRInput, SDROutput, SDRInput and SDRTristate. <Florent Kermarrec>
    * 88dc5158 - build/io: add SDR Tristate (with infered version) and remove multi-bits support on SDRIO. <Florent Kermarrec>
    * fdadbd86 - build/lattice/common: remove multi-bits support on SDRInput/Output. <Florent Kermarrec>
    * 8159b65b - litex/build/io: also import CRG (since using DifferentialInput). <Florent Kermarrec>
    * 79913e86 - litex.build: update from migen.genlib.io litex.build.io. <Florent Kermarrec>
    * 8e014f76 - litex/build: move io.py from litex/gen and re-import DifferentialInput/Output, DDRInput/Output contributed to Migen. <Florent Kermarrec>
    * 2e270cf2 - platforms/versa_ecp5: remove Lattice Programmer (no longer used since we can now use OpenOCD). <Florent Kermarrec>
    * deebc49a - boards/platforms: cosmetic cleanups. <Florent Kermarrec>
    * 3c0ba8ae - boards/plarforms/ulx3s: cleanup, fix user_leds, add spisdcard, add PULLMODE/DRIVE on SDRAM pins. <Florent Kermarrec>
    * 6c429c99 - build/lattice: add ECP5 implementation for SDRInput/SDROutput. <Florent Kermarrec>
    * 72c8d590 - litex/gen: add io with SDRInput/SDROutput (if not overrided, register is supposed to be infered). <Florent Kermarrec>
    * 8f57321f - tools/litex_sim: remove LiteSPI support for now since breaking Travis-CI of others sub-projects. <Florent Kermarrec>
    * 9afd017a - tools/litex_term: increase workaround delay for usb_fifo. (validated on Minispartan6 and MimasA7). <Florent Kermarrec>
    *   fdfede22 - Merge pull request timvideos#459 from mithro/travis-fix <enjoy-digital>
    |\
    | * cb7e3099 - travis: Run Windows build but allow it to fail. <Tim 'mithro' Ansell>
    | * 43242012 - travis: Use litex_setup.py from the checked out code. <Tim 'mithro' Ansell>
    |/
    *   30f5faf9 - Merge pull request timvideos#458 from david-sawatzke/add_triple <Tim Ansell>
    |\
    | * d69b4443 - Add riscv64-none-elf triple <David Sawatzke>
    |/
    * 14bf8b81 - soc/cores/clock: add Max10PLL. <Florent Kermarrec>
    * 2470ef50 - soc/cores/clock: add Cyclone10LPPLL. <Florent Kermarrec>
    * f8d6d0fd - soc/cores/clock/CycloneVPLL: fix typos. <Florent Kermarrec>
    * 970c8de4 - soc/cores/clock: rename Altera to Intel. <Florent Kermarrec>
    * 383fcd36 - soc/cores/clock: add CycloneVPLL. <Florent Kermarrec>
    * ab4906ea - targets/de0nano: use CycloneIVPLL, remove 50MHz limitation. <Florent Kermarrec>
    * 0f17547c - soc/cores/clock: add initial AlteraClocking/CycloneIV support. <Florent Kermarrec>
    * 3575d03f - .travis.yml: disable windows test (failing for now). <Florent Kermarrec>
    * 2ca853fd - README.md: update RISCV toolchain installation. <Florent Kermarrec>
    * d770bfbf - .travis.yml: remove Python3.5 test. <Florent Kermarrec>
    *   bc26af0d - Merge pull request timvideos#451 from mithro/multi-os <enjoy-digital>
    |\
    | * 3305a65b - Enable testing on multiple Python versions. <Tim 'mithro' Ansell>
    | * 6bd5eae4 - Enable CI for Windows and Mac. <Tim 'mithro' Ansell>
    * | 30d25ffe - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>
    * | 3f1159fa - litex_setup: reorganize a bit, add separators/comments. <Florent Kermarrec>
    * | 926f961b - .travis.yml: revert full url for litex_setup.py. <Florent Kermarrec>
    * | 447e8d94 - Merge pull request timvideos#452 from mithro/riscv-download <enjoy-digital>
    |\|
    | * 9e324d9e - Remove symlinking step. <Tim 'mithro' Ansell>
    | * 7f0ecddf - Use shutil.unpack_archive. <Tim 'mithro' Ansell>
    | * a1dd8fc8 - Ignore SSL errors on CI. <Tim 'mithro' Ansell>
    | * 2b2aff12 - Improve the path messages a little. <Tim 'mithro' Ansell>
    | * 141644d1 - Make travis use litex_setup.py for GCC download. <Tim 'mithro' Ansell>
    | * 6adabae7 - Adding SiFive RISC-V toolchain downloading to litex_setup.py <Tim 'mithro' Ansell>
    | * 59b7db63 - Fix alignments. <Tim 'mithro' Ansell>
    |/
    *   e408fb8f - Merge pull request timvideos#450 from mithro/litex-setup-fix <enjoy-digital>
    |\
    | * d781bf20 - Run `litex_setup.py` outside the git clone directory. <Tim 'mithro' Ansell>
    | * dd59dac5 - litex_setup: Use subprocess so failures are noticed. <Tim 'mithro' Ansell>
    |/
    * 0f352cd6 - soc/cores: use reset_less on datapath/configuration CSRStorages. <Florent Kermarrec>
    * a67ab418 - interconnect/csr: add reset_less parameter. <Florent Kermarrec>
    * 05b1b778 - interconnect/csr, wishbone: use reset_less on datapath signals. <Florent Kermarrec>
    * b95965de - cores/code_8b10b: set reset_less to True on datapath signals. <Florent Kermarrec>
    * a35df4f7 - stream: set reset_less to True on datapath signals. <Florent Kermarrec>
    *   cf1c5d99 - Merge pull request timvideos#448 from kessam/patch-1 <enjoy-digital>
    |\
    | * fb532f5e - Fix timing constraints <kessam>
    |/
    * 60431083 - soc/cores/clock/ECP5PLL: add CLKI_DIV support. <Florent Kermarrec>
    *   27f00851 - Merge pull request timvideos#447 from antmicro/spi-xip <enjoy-digital>
    |\
    | * 81be74a7 - targets: netv2: add LiteSPI <Piotr Binkowski>
    | * 946cb164 - platform: netv2: update SPI flash pinout <Piotr Binkowski>
    | * 31fceb0a - litex_sim: add LiteSPI <Piotr Binkowski>
    | * ff04869c - litex_setup: add litespi core <Piotr Binkowski>
    * | 91981b96 - soc/cores/uart: use reset_less on accumulator, reg, bitcount to reduce. <Florent Kermarrec>
    * | 87160059 - soc/cores/spi_flash: add ECP5SPIFlash (non-memory-mapped). <Florent Kermarrec>
    * |   e3445f6c - Merge pull request timvideos#444 from ilya-epifanov/openocd-jtag-programmer <enjoy-digital>
    |\ \
    | * | 351551a0 - Added openocd jtagspi programmer, to be used with ECP5-EVN board <Ilya Epifanov>
    * | |   aeb9411a - Merge pull request timvideos#441 from gsomlo/gls-spisdcard-fixes <enjoy-digital>
    |\ \ \
    | * | | 8473ed56 - software/bios: add spisdcardboot() to boot_sequence() <Gabriel Somlo>
    | * | | e9054ef6 - software/libbase/spisdcard: add delay to goidle loop <Gabriel Somlo>
    | * | | c6b6dee2 - software/bios: factor out busy_wait() function <Gabriel Somlo>
    | * | | 540218b2 - software/libbase/spisdcard: fix width of address parameter <Gabriel Somlo>
    |/ / /
    * | | 2e48ab56 - soc/cores/spi: make dynamic clk divider optional (can be enabled with add_clk_divider method) and only use it in add_spi_sdcard. <Florent Kermarrec>
    * | |   86eec1a4 - Merge pull request timvideos#439 from antmicro/fix-compiler-rt <enjoy-digital>
    |\ \ \
    | |_|/
    |/| |
    | * | 5fa2cc66 - Update removed llvm compiler-rt repo <Kamil Rakoczy>
    |/ /
    * | 4abb3715 - targets/add_constant: avoid specifying value when value is None (=default). <Florent Kermarrec>
    * | 73b43475 - software/libbase/spisdcard: add USE_SPISDCARD_RECLOCKING define to easily disable reclocking. <Florent Kermarrec>
    * | b509df8b - integration/soc/add_uart: add USB CDC support (with ValentyUSB core). <Florent Kermarrec>
    * | 76872a7a - tools/litex_sim: simplify using uart_name=sim. <Florent Kermarrec>
    * | 09a3ce0e - integration/soc/add_uart: add Model/Sim. <Florent Kermarrec>
    * | 3f43c6a2 - integration/soc/add_uart: cleanup. <Florent Kermarrec>
    |/
    * 5bcf730c - build/tools: add replace_in_file function. <Florent Kermarrec>
    * ffe83ef0 - tools/litex_term: use 64 bytes as default payload_lengh (work for all confniguration) and add small delay between frames for FT245 FIFO. <Florent Kermarrec>
    * 8f2e3692 - bios/boot: update comments. <Florent Kermarrec>
    *   1746b57a - Merge pull request timvideos#437 from feliks-montez/bugfix/fix-serialboot-frames <enjoy-digital>
    |\
    | * ebdc38fc - flush rx buffer when bad crc and fix frame payload length <Feliks>
    * | c154d8d2 - test/test_targets: remove versa_ecp3. <Florent Kermarrec>
    * | 8d999081 - boards/targets: update SDRAM to use new GENSDRPHY and new ECP5PLL phase support. <Florent Kermarrec>
    * | 3eb08c7d - boards/platforms: remove versa_ecp3 (ECP3 no longer supported). <Florent Kermarrec>
    * | eb641695 - build/lattice/diamond: remove ECP3 support. (ECP3 is not used and no longer interesting now that ECP5 has an open-source toolchain). <Florent Kermarrec>
    * | bba5f182 - cores/clock/ECP5PLL: add phase support. <Florent Kermarrec>
    * | 0123ccc8 - build/lattice/common: change LatticeECPXDDROutputImpl from ECP3 to ECP5. <Florent Kermarrec>
    * | 5a402264 - Fix off-by-one error on almost full condition for prefetch <bunnie>
    |/
    * d62ef38c - soc/doc/csr: allow CSRField.reset to be a Migen Constant. <Florent Kermarrec>
    * 4adac90d - cpu/vexriscv/mem_map_linux: move main_ram to allow up to 1GB. <Florent Kermarrec>
    * 63ab2ba4 - software/bios/boot/linux: move emulator.bin to main_ram and allow defining custom ram offsets. <Florent Kermarrec>
    * d9984754 - targets: remove Etherbone imports. <Florent Kermarrec>
    * 3b04efbc - targets: switch to add_etherbone method. <Florent Kermarrec>
    * 5ad7a3b7 - integration/soc: add add_etherbone method. <Florent Kermarrec>
    * d6b0819e - integration/soc/add_ethernet: add name parameter (defaults to ethmac). <Florent Kermarrec>
    * 930679ef - targets: always use sys_clk_freq on SDRAM modules. <Florent Kermarrec>
    * ae6ef923 - targets: fix typos in previous changes. <Florent Kermarrec>
    *   c547b2cc - Merge pull request timvideos#436 from rob-ng15/master <enjoy-digital>
    |\
    | * 2bf31a31 - Reclock spi sdcard access after initialisation <rob-ng15>
    * |   011773af - Merge pull request timvideos#435 from enjoy-digital/spi_master_clk_divider <enjoy-digital>
    |\ \
    | |/
    |/|
    | * 61c9e54a - soc/core/spi: add Clk Divider CSR (defaults to sys_clk_freq/spi_clk_freq). <Florent Kermarrec>
    * | f03d862c - targets: switch to add_ethernet method instead of EthernetSoC. <Florent Kermarrec>
    * | 4e9a8ffe - targets: switch to SoCCore/add_sdram instead of SoCSDRAM. <Florent Kermarrec>
    |/
    * dd7718b4 - targets/arty: use new ISERDESE2 MEMORY mode. <Florent Kermarrec>
    *   fca52d11 - Merge branch 'master' of http://github.com/enjoy-digital/litex <Florent Kermarrec>
    |\
    | *   0f356648 - Merge pull request timvideos#434 from rob-ng15/master <enjoy-digital>
    | |\
    | | * f3c23377 - Use <stdint.h> to provide structure sizes <rob-ng15>
    | | * c2ebbcbf - Use <stdint.h> for structure sizes <rob-ng15>
    | |/
    * / ccf73639 - integration/soc: add add_spi_flash method to add SPI Flash support to the SoC. <Florent Kermarrec>
    |/
    * ec3e0686 - targets/nexys4ddr: use LiteXSoC's add_spi_sdcard method. <Florent Kermarrec>
    * d276036f - integration/soc: add add_spi_sdcard method to add SPI mode SDCard support to the SoC. <Florent Kermarrec>
    *   60445709 - Merge pull request timvideos#433 from gsomlo/gls-rocket-spisdcard <enjoy-digital>
    |\
    | * b960d7c5 - targets/nexys4ddr: add '--with-spi-sdcard' build option <Gabriel Somlo>
    | * 7a7b8905 - platforms/nexys4ddr: add spisdcard pins. <Gabriel Somlo>
    | * af4de03f - targets/nexys4ddr: make sdcard reset conditional <Gabriel Somlo>
    | * a33916bc - software/libbase/spisdcard: fix 4-byte FAT fields on 64-bit CPUs <Gabriel Somlo>
    | * 1f90abea - bios: make SPI SDCard boot configs other than linux-on-litex-vexriscv <Gabriel Somlo>
    | * c2938dc9 - bios/boot.c: cosmetic: re-indent spisdcardboot() for consistency <Gabriel Somlo>
    * |   fbadfa17 - Merge pull request timvideos#432 from esden/csr-doc-fix-int <Sean Cross>
    |\ \
    | |/
    |/|
    | * 27988672 - Don't let python convert lane number to float. <Piotr Esden-Tempski>
    |/
    *   dd07a0ad - Merge pull request timvideos#431 from antmicro/hybrid-mac <enjoy-digital>
    |\
    | * 96a265a4 - litex_sim: add support for hybrid mac <Piotr Binkowski>
    * 37f25ed3 - software/libbase/bios: rename spi.c/h to spisdcard.h, also rename functions. <Florent Kermarrec>
    * 93925634 - software/bios/main: revert USDDRPHY_DEBUG (merge issue with SPI SD CARD PR). <Florent Kermarrec>
    *   8fe9e72f - Merge pull request timvideos#429 from rob-ng15/master <enjoy-digital>
    |\
    | * 27720409 - SPI hardware bitbanging from SD CARD <rob-ng15>
    | * d45dda73 - SPI hardware bitbanging from SD CARD <rob-ng15>
    | * 50b6db6a - SPI hardware bitbanging from SD CARD <rob-ng15>
    * |   9e1cd842 - Merge pull request timvideos#430 from gsomlo/gls-sdclk-stub <enjoy-digital>
    |\ \
    | * | b2103f4a - bios/sdcard: provide sdclk_set_clk() stub for clocker-less targets <Gabriel Somlo>
    |/ /
    * / e8651629 - platforms/kcu105: fix pcie tx0 p/n swap. <Florent Kermarrec>
    |/
    * 2c4b8963 - soc/cores/clock: make sure specific clkoutn_divide_range is only used as a fallback solution. <Florent Kermarrec>

 * litex-boards changed from a7fbe0a to cb95962
    * cb95962 - targets/ulx3s and colorlight_5a_75b: cleanup USB ACM addition and only keep USB ACM changes. <Florent Kermarrec>
    *   4b4f2f9 - Merge pull request timvideos#67 from mubes/ecp5_usb <enjoy-digital>
    |\
    | * f79a010 - Addition of flash for colorlight board <Dave Marples>
    | * 389e8aa - Addition of USB ACM for ECP5 <Dave Marples>
    |/
    * a12faae - targets/colorlight_5a_75b: increase sys_ps phase (fixes memtest). <Florent Kermarrec>
    * 52c9648 - arty_s7: fix copyrights, rename to arty_s7, various minor changes to make it similar to others targets. <Florent Kermarrec>
    *   0cee59c - Merge pull request timvideos#65 from Fatsie/artys7 <enjoy-digital>
    |\
    | * bbb1ded - Added Arty S7 board <Staf Verhaegen>
    |/
    * 188d4a4 - targets: use DDROutput on sdram_clock and similar configuration for all SDRAM targets. <Florent Kermarrec>
    * ca197af - targets/simple: use CRG from litex.build. <Florent Kermarrec>
    * b8a648d - litex.build: update from migen.genlib.io litex.build.io. <Florent Kermarrec>
    * 4d7135f - platforms/versa_ecp5: remove LatticeProgrammer (no longer used since we can now use OpenOCD). <Florent Kermarrec>
    * 2cf3c3e - platforms: cosmetic cleanups. <Florent Kermarrec>
    * df5de88 - platforms/ulx3s: cleanup, fix user_leds, add PULLMODE/DRIVE constraints on SDRAM. <Florent Kermarrec>
    * 467b14a - colorlight_5a_75b: minor comment changes. <Florent Kermarrec>
    *   7157b40 - Merge pull request timvideos#64 from david-sawatzke/improve_colorlight_v6.1 <enjoy-digital>
    |\
    | * 15a27d4 - targets/colorlight_5a_75b: Change baudrate to work on v6.1 <David Sawatzke>
    | * 4fc9df8 - colorlight_5a_75b/v6.1: Add eth_clock & serial pins <David Sawatzke>
    | * 4ddde31 - colorlight_5a_75b/v6.1: Fix bank activate pin <David Sawatzke>
    |/
    * a80737e - test/test_targets: fix typo. <Florent Kermarrec>
    *   9b3f16a - Merge pull request timvideos#62 from ilya-epifanov/ecp5-evn-button1-and-spi-flash-ios <enjoy-digital>
    |\
    | * a43072a - ECP5-EVN board: Added BUTTON_1 and SPI flash pins to IOs <Ilya Epifanov>
    * db67dff - targets/de10lite: use Max10PLL, remove 50MHz limitation. <Florent Kermarrec>
    * 9fe9821 - test/test_targets: add c10lprefkit. <Florent Kermarrec>
    * 8ccab03 - targets/c10lprefkit: use Cyclone10LPPLL, remove 50MHz limitation. <Florent Kermarrec>
    * 4cdc121 - targets/de10nano: use CycloneVPLL, remove 50MHz limitation. <Florent Kermarrec>
    * 2d8a4ef - targets/de1_soc: use CycloneVPLL, remove 50MHz limitation. <Florent Kermarrec>
    * cec4cbb - targets/de2_115: use CycloneIVPLL, remove 50MHz limitation. <Florent Kermarrec>
    * 1fac607 - targets/de0nano: use CycloneIVPLL, remove 50MHz limitation. <Florent Kermarrec>
    * 5f629c2 - targets/vcu118: fix clk500 typo. <Florent Kermarrec>
    * d7b9212 - .travis.yml: fix git clone error. <Florent Kermarrec>
    * 5e1da47 - setup.py: simplify, switch to Python3.6+ (using python_requires), remove version. <Florent Kermarrec>

 * migen changed from 0.6.dev-335-g3f9809b to 0.6.dev-337-g19d5eae
    * 19d5eae - zc706: fix user_led I/O standards <Sebastien Bourdeauducq>
    * 21fea57 - zc706: fix indentation/style <Sebastien Bourdeauducq>

Full submodule status
--
 3a6108a75be356a3dc53760d22782f1323248b6b edid-decode (remotes/origin/HEAD)
 3a06aa84b62ad24467fb0d2c6ceddf565e9ea447 flash_proxies (remotes/origin/HEAD)
 de55a8e17046ffd6bf68d1c0d606088abdb37950 litedram (remotes/origin/HEAD)
 705003e5231436de9a276e8f834564c6fbe90a1e liteeth (remotes/origin/HEAD)
 6fdd02058fba29008c90b162e0ef707dce15ebeb liteiclink (remotes/origin/HEAD)
 586ef787946512087a64fb60b79bdafe39aee6d0 litepcie (remotes/origin/HEAD)
 2e5c5b12d52f695f4560ca7dd08b4170d7568715 litesata (remotes/origin/HEAD)
 54488c0f4d6e9e953f1a0de3d578915a5e4ccddf litescope (remotes/origin/HEAD)
 7457a29b1a47fe15e81fa37f3bbdd510788f1d53 liteusb (heads/master)
 41f30143075ece3fff5c33a332ed067d1837cbb3 litevideo (remotes/origin/HEAD)
 2d018826532e486b94615c6b9cee4f16a924dba2 litex (remotes/origin/HEAD)
 cb959628506e61cae2d7be05276bba8f42138cfb litex-boards (remotes/origin/HEAD)
 7da392963878842f93f09a7a218c1052ae5e45d6 litex-renode (realign_memory.0~2)
 19d5eae29b9ff57ea11540252f79ad1a9526ff3a migen (0.6.dev-337-g19d5eae)
 8f5a253b22cd4ebcd56304a3662f4c70e3b34ed5 nmigen (v0.1-69-g8f5a253)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants