Florent Kermarrec
4acab79987
sdram/module: cleanup indent
2015-08-20 22:15:06 +02:00
Florent Kermarrec
63538a7d04
litecores: add -Ob option to make.py (allow to build with yosys for example)
2015-08-19 01:17:37 +02:00
Florent Kermarrec
3d3cd128d8
liteeth/phy: only use clk_freq for LiteEthPHYGMIIMII in autodetect
2015-08-19 01:17:35 +02:00
Florent Kermarrec
6683485841
tools/flterm: replace int(a, 16) with int(a, 0) for --kernel-adr
2015-08-18 15:47:09 +02:00
Florent Kermarrec
a9d40e790c
tools/flterm.py: cleanup kernel-adr argument parsing
2015-08-13 13:25:02 +02:00
Tim 'mithro' Ansell
d8fd4fe725
Use shutil rather then rm -rf command.
2015-08-13 14:54:58 +08:00
Tim 'mithro' Ansell
eeda704462
Use shell for globbing in clean.
2015-08-13 14:54:58 +08:00
Tim 'mithro' Ansell
d00e774986
All commands run should be checked.
2015-08-13 14:54:58 +08:00
Florent Kermarrec
5a3f4e4179
tools/flterm.py: some cleanup and fix last frame data that was not transmitted
2015-08-12 11:41:08 +02:00
whitequark
abf9a58a3a
unwinder: update.
2015-08-10 16:23:02 +03:00
whitequark
d88904b3d7
libdyld: add const qualifiers.
2015-08-08 15:21:09 +03:00
whitequark
cf3a9e04b8
libbase: add const qualifiers.
2015-08-08 12:16:27 +03:00
whitequark
1b34f48660
libdyld: all ELF relocations may refer to the current object.
2015-08-07 11:05:28 +03:00
Florent Kermarrec
3cf46671e9
liteeth/phy: rename rgmii to s6rgmii since specific to Spartan6
...
Also remove autodetection support for RGMII. For it to work we would need to pass the device we are building for.
2015-08-05 10:33:08 +02:00
Florent Kermarrec
4b8d9b67f3
liteeth: add rgmii phy
2015-08-05 00:50:55 +02:00
Florent Kermarrec
c03ef526eb
sdram/phy/s6ddrphy: add DDR3 support
2015-08-04 12:29:42 +02:00
Florent Kermarrec
52fba05e26
sdram/phy/initsequence: add burst chop 4 (BC4) for DDR3
...
This is needed for half rate controllers with burst length of 4.
For best efficiency quarter rate controllers should be used.
2015-08-04 11:19:20 +02:00
whitequark
64f1368938
libunwind: build with -DNDEBUG.
2015-08-02 15:42:02 +03:00
Sebastien Bourdeauducq
b1445ae743
dyld: style
2015-08-02 12:35:48 +08:00
whitequark
6a1b0b342c
libdyld: handle existing but undefined symbols during lookup.
2015-08-02 05:56:11 +03:00
whitequark
36e03ec8a8
libdyld: R_*_RELATIVE never specify a symbol.
2015-08-02 05:29:23 +03:00
whitequark
10773db08d
libdyld: handle unaligned relocations.
2015-08-01 20:26:27 +03:00
whitequark
8a0beb4cfb
unwinder: update.
2015-08-01 20:16:59 +03:00
whitequark
344e1bc6de
libdyld: add support for R_OR1K_{NONE,32,GLOB_DAT}.
2015-08-01 20:16:10 +03:00
whitequark
d625c43591
libbase: also pass exception PC and EA to exception handler.
2015-08-01 20:15:42 +03:00
whitequark
13a50a93d9
libbase: downstream users should provide fprintf.
2015-08-01 20:14:09 +03:00
whitequark
3f7f0a3151
libdyld: fix dyld_lookup algorithm.
2015-08-01 17:21:31 +03:00
whitequark
d43e470e3c
libdyld: fix DT_HASH address calculation.
2015-08-01 15:49:33 +03:00
Sebastien Bourdeauducq
04934ff3f1
software/common.mak: use PYTHON env var
2015-07-31 18:31:04 +08:00
whitequark
eb643f1132
Export _cache_init from crt0.S.
2015-07-31 02:40:52 +03:00
whitequark
90314052fa
Implement a dynamic linker.
2015-07-31 02:38:38 +03:00
whitequark
66839b512a
Update libunwind submodule.
2015-07-31 02:38:38 +03:00
Florent Kermarrec
106e4c6962
bios/sdram: fix error_cnt computation in memtest
2015-07-30 23:59:04 +02:00
whitequark
94cb3cbcf6
libbase: define intptr_t.
2015-07-30 10:55:12 +03:00
whitequark
4b6bd43d8e
Enable ror, ffl1 and addc for OR1K.
2015-07-30 10:55:01 +03:00
whitequark
8db098dd8f
Make sure the BIOS file ends on an aligned boundary.
...
If it does not, the address to which mkmscimg.py writes the CRC
and the address from which it is read could differ.
2015-07-29 12:30:57 +03:00
whitequark
a4e14f1058
Don't build base libraries and BIOS with -fPIC after all.
2015-07-29 12:09:05 +03:00
Sebastien Bourdeauducq
b7aff65ca9
mor1kx: enable ADDC, CMOV and FFL1 instructions
2015-07-29 00:08:21 +08:00
Sebastien Bourdeauducq
f2eff4d10e
soc: increase default BIOS size
2015-07-28 22:36:42 +08:00
Florent Kermarrec
5e6178598c
Merge branch 'master' of https://github.com/m-labs/misoc
2015-07-28 11:59:48 +02:00
Florent Kermarrec
405efc5560
update lm32 with "Switch to -fPIC" changes.
2015-07-28 11:11:11 +02:00
whitequark
03ebc736b2
Pass -integrated-as to clang.
...
This avoids misdetection of target assembler by clang.
2015-07-28 11:51:28 +03:00
whitequark
50cf70140b
Update libbase/linker-sdram.ld with -fPIC support.
2015-07-26 16:15:02 +03:00
whitequark
c8ffd0c9ee
Switch to -fPIC.
...
Using -fPIC for everything allows to link the MiSoC static libraries
both into static images such as the BIOS as well as
into shared libraries.
2015-07-26 16:06:48 +03:00
whitequark
a8cd3b9adc
Remove useless includes pulled in by libunwind.
...
These aren't used by libunwind in any configuration and
should be also removed in upstream.
2015-07-26 13:12:23 +03:00
whitequark
f6639c1833
Add libunwind.
2015-07-26 12:59:18 +03:00
whitequark
24463a168a
Add a stub getenv() implementation.
...
This is not strictly necessary to build libunwind (it can
be built with -DNDEBUG), but it will be handy while it is
debugged.
It can be removed afterwards.
2015-07-26 12:55:52 +03:00
whitequark
b2710e437c
Add a stub pthread header.
...
The header implements only the pthread rwlock interface, which
never actually locks.
This is necessary to build libunwind.
2015-07-26 12:54:40 +03:00
whitequark
b5048f6cf1
Add headers for the dynamic linker interface.
...
These are required for libunwind to discover
the exception frame headers.
2015-07-26 12:53:18 +03:00
whitequark
7a9975ab5a
Add a stub C++ standard library.
...
This is necessary to build libunwind.
2015-07-26 12:49:21 +03:00