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

Update LiteX submodule #2

Closed
wants to merge 207 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
5c9c67e
move #endif - fixes ##479
CarlFK Sep 9, 2019
5f50647
Merge pull request #481 from CarlFK/fix479
mithro Oct 25, 2019
1032642
build(deps): bump third_party/liteeth from `4d9e74f` to `f2b3f7e`
dependabot-preview[bot] Nov 29, 2019
8dc3a40
build(deps): bump third_party/litesata from `db5d2f7` to `b400655`
dependabot-preview[bot] Dec 6, 2019
71e19b8
Merge pull request #249 from timvideos/dependabot/submodules/third_pa…
mithro Dec 18, 2019
f85e1ca
Merge pull request #262 from timvideos/dependabot/submodules/third_pa…
mithro Dec 18, 2019
c0886bf
Use quotes instead of backticks in enter-env.sh
niklasnisbeth Dec 28, 2019
bd8bf78
Make ice40_hx8k_b_evn target use heap placer
niklasnisbeth Dec 28, 2019
7b077f5
Remove "Xilinx" from mkimage output
niklasnisbeth Dec 28, 2019
be80903
Merge pull request #275 from niklasnisbeth/master
mithro Dec 29, 2019
e86fcbf
EDID: v_sync offset/width are 6-bit values
ewenmcneill Jan 10, 2020
2011661
Merge pull request #482 from ewenmcneill/edid
mithro Jan 13, 2020
fc40893
build(deps): bump third_party/litepcie from `c455779` to `06ee416`
dependabot-preview[bot] Jan 17, 2020
2b69ba7
build(deps): bump third_party/migen from `94db729` to `0d0e17a`
dependabot-preview[bot] Jan 17, 2020
f39b41c
platforms: add netv2 platform
Nov 20, 2019
b5f73ac
targets: add netv2 targets
Nov 20, 2019
f026f84
make: update pcie header generation
Nov 21, 2019
971d1cb
firmware: add hdmi2pcie firmware
Nov 21, 2019
e34dc9b
software: add hdmi2pcie V4L2 driver
Dec 2, 2019
14a5150
firmware: reboot device using CSR if possible
Nov 22, 2019
6797fc1
ci: add netv2 test runs
Nov 22, 2019
ecbce49
Merge pull request #238 from antmicro/netv2
mithro Jan 24, 2020
d21e81f
Merge pull request #295 from timvideos/dependabot/submodules/third_pa…
mithro Jan 24, 2020
c9e1c3b
Merge pull request #294 from timvideos/dependabot/submodules/third_pa…
mithro Jan 24, 2020
8a7b8b5
travis: Cleanup the allow_failures.
mithro Jan 29, 2020
78bf579
travis: Also let the HDMI2USB targets fail.
mithro Jan 29, 2020
a18eea7
build(deps): bump third_party/litedram from `ac4b339` to `a35a1f7`
dependabot-preview[bot] Jan 29, 2020
382c066
build(deps): bump third_party/liteeth from `f2b3f7e` to `f532a12`
dependabot-preview[bot] Jan 29, 2020
f0e898c
build(deps): bump third_party/litepcie from `06ee416` to `9357036`
dependabot-preview[bot] Jan 29, 2020
ee42273
build(deps): bump third_party/litesata from `b400655` to `1e3573b`
dependabot-preview[bot] Jan 29, 2020
dc15055
build(deps): bump third_party/litex-renode from `f082da2` to `70e884e`
dependabot-preview[bot] Jan 29, 2020
e448e63
build(deps): bump third_party/flash_proxies from `01d8f81` to `3a06aa8`
dependabot-preview[bot] Jan 29, 2020
23dca80
build(deps): bump third_party/litescope from `1448b55` to `daf10e9`
dependabot-preview[bot] Jan 29, 2020
a603ec7
Merge pull request #306 from timvideos/dependabot/submodules/third_pa…
mithro Jan 29, 2020
3e53184
Merge pull request #305 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Jan 29, 2020
a7cd409
Merge pull request #307 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Jan 29, 2020
717c398
Merge pull request #308 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Jan 29, 2020
84a09f7
Merge pull request #269 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Jan 29, 2020
8fcf504
Merge pull request #259 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Jan 29, 2020
25f271d
Merge pull request #288 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Jan 29, 2020
13bbeb6
Use custom config & DTS overlay for Zephyr
mateusz-holenko Oct 18, 2019
3806d3e
Update waxwing pin mappings according to official UCF
mmicko Jan 21, 2020
67d6798
Added net configuration for waxwing
mmicko Jan 21, 2020
1e8165e
Add emulator_ram section
mmicko Jan 21, 2020
813a42d
Set notes for different configurations of FTDI chip
mmicko Jan 21, 2020
c97cc03
Merge pull request #222 from antmicro/zephyr_dts
mithro Jan 30, 2020
90f5e15
Merge pull request #297 from mmicko/mmicko/waxwing_yosys
mithro Jan 30, 2020
c27ca25
Merge remote-tracking branch 'origin-h2u/master'
mithro Jan 30, 2020
97fb82e
make.py: Fix image name.
mithro Jan 15, 2020
aaa46ba
build(deps): bump third_party/litepcie from `9357036` to `061418c`
dependabot-preview[bot] Jan 31, 2020
a335d0a
build(deps): bump third_party/litedram from `a35a1f7` to `5a90a8b`
dependabot-preview[bot] Jan 31, 2020
4a022e1
build(deps): bump third_party/migen from `0d0e17a` to `d11565a`
dependabot-preview[bot] Jan 31, 2020
6557011
Merge pull request #315 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Jan 31, 2020
1658d3b
Merge pull request #316 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Jan 31, 2020
f4b22b8
Merge pull request #317 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Jan 31, 2020
7830c36
Merge pull request #312 from mithro/image-name-fix
mithro Jan 31, 2020
070cef4
Bump Zephyr SDK version
PiotrZierhoffer Feb 4, 2020
7d5fe81
Merge pull request #322 from antmicro/zephyr-sdk-bump
mithro Feb 5, 2020
91fe41b
MATRIX Voice supported
eljuguetero Feb 7, 2020
72670ee
build-zephyr: Generate csr.csv before DTS overlay
mateusz-holenko Feb 12, 2020
9430c27
Merge pull request #333 from antmicro/fix_building_zephyr
mithro Feb 12, 2020
0ad2201
build(deps): bump third_party/litedram from `5a90a8b` to `8a46b71`
dependabot-preview[bot] Feb 14, 2020
17e230e
Merge pull request #335 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Feb 14, 2020
b9264c2
build-linux: Do not clone linux sources when building with buildroot
mateusz-holenko Feb 4, 2020
1c28e3b
settings: Set Renode version to 1.8.2
mateusz-holenko Feb 5, 2020
e5f831d
matrix_voice added to .travis.yml
eljuguetero Feb 21, 2020
d10e187
build(deps): bump third_party/litepcie from `061418c` to `be68cba`
dependabot-preview[bot] Feb 21, 2020
5c12b96
build(deps): bump third_party/litedram from `8a46b71` to `87578dd`
dependabot-preview[bot] Feb 21, 2020
1af8eb9
Merge pull request #343 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Feb 21, 2020
4581da0
Merge pull request #332 from matrix-io/ac/matrix_voice
mithro Feb 21, 2020
c56b069
Merge pull request #344 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Feb 21, 2020
4a96ce8
build-linux: protect against empty BUILD_BUILDROOT env
mateusz-holenko Feb 20, 2020
a140975
build-linux: Enable -x to ease debugging
mateusz-holenko Feb 20, 2020
cdeb2c6
build-linux: Verify MD5 sums of downloaded files
mateusz-holenko Feb 20, 2020
cc355f1
Merge pull request #324 from antmicro/improvements
mithro Feb 26, 2020
69e2426
Merge pull request #347 from antmicro/wget_checksums
mithro Feb 27, 2020
9b8bad2
build(deps): bump third_party/litescope from `daf10e9` to `b3d1e69`
dependabot-preview[bot] Feb 28, 2020
1be857e
build(deps): bump third_party/litepcie from `be68cba` to `c28ec23`
dependabot-preview[bot] Feb 28, 2020
0f0fbc6
build(deps): bump third_party/litedram from `87578dd` to `8122209`
dependabot-preview[bot] Feb 28, 2020
6c48d05
Merge pull request #350 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Feb 28, 2020
eb4237d
Merge pull request #351 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Feb 28, 2020
75ef52f
Merge pull request #352 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Feb 28, 2020
8da140b
Try and setup correct hostid.
mithro Mar 2, 2020
bcbf6e4
Merge pull request #357 from mithro/panofix
mithro Mar 2, 2020
65785dc
Remove pano_logic_g2 from allowed failures.
mithro Mar 2, 2020
e9a1550
Merge pull request #358 from mithro/panofix
mithro Mar 2, 2020
e6d49e7
build(deps): bump third_party/litedram from `8122209` to `26564ba`
dependabot-preview[bot] Mar 6, 2020
f676bf5
build(deps): bump third_party/litevideo from `49bafa4` to `49d8126`
dependabot-preview[bot] Mar 6, 2020
9b7f0a9
build(deps): bump third_party/litepcie from `c28ec23` to `17beae4`
dependabot-preview[bot] Mar 6, 2020
e7f98ba
build(deps): bump third_party/litex-renode from `70e884e` to `2ed761f`
dependabot-preview[bot] Mar 6, 2020
73a26ce
Merge pull request #361 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Mar 6, 2020
513e8fe
Merge pull request #362 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Mar 6, 2020
c9661bf
Merge pull request #364 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Mar 6, 2020
d6cffe2
Merge pull request #365 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Mar 6, 2020
f0844f8
build(deps): bump third_party/litedram from `26564ba` to `4cfbc71`
dependabot-preview[bot] Mar 13, 2020
4c6a31e
Merge pull request #368 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Mar 13, 2020
ae81132
build(deps): bump third_party/litepcie from `17beae4` to `5b7e7cd`
dependabot-preview[bot] Apr 3, 2020
db4f97f
Merge pull request #380 from timvideos/dependabot/submodules/third_pa…
dependabot-preview[bot] Apr 3, 2020
0d3c2c1
Adding the litex-boards repository.
mithro Jan 16, 2020
688d49f
Add liteiclink submodule
mateusz-holenko Mar 16, 2020
2e63fa2
Updating submodules.
mateusz-holenko Apr 4, 2020
e8b3ab0
targets: switch from `shadow_base` to `io_regions`
mateusz-holenko Feb 21, 2020
99420fc
targets: remove usages of `mem_decoder`
mateusz-holenko Feb 21, 2020
9dd9bf7
targets: fix setting integrated sram/rom size
mateusz-holenko Feb 21, 2020
4d69110
utils: add function for rounding up to 4
mateusz-holenko Mar 31, 2020
575ed00
pano_logic_g2: Prevent adding "keep" attribute to default clock
Feb 20, 2020
2e7c426
build-linux: fix building VexRiscv's emulator
mateusz-holenko Feb 26, 2020
94115bf
mkmake: Rework a bit.
mithro Mar 5, 2020
064a9d5
gateware/info: Only use DNA on Xilinx devices.
mithro Mar 5, 2020
1fe3862
targets/utils: Fix docstring.
mithro Mar 5, 2020
d9cb989
targets/utils: Allow rewriting the commands.
mithro Mar 5, 2020
58eab6c
Remove old `csr_map_XXX` functions.
mithro Mar 5, 2020
d0c48c6
arty: Cleanup and modernize.
mithro Mar 5, 2020
8f876c9
test: Fixing up ipython_etherbone.
mithro Mar 5, 2020
3381b31
atlys: Cleanup and modernize.
mithro Mar 5, 2020
651a9df
basys3: Cleanup and modernize.
mithro Mar 5, 2020
d24a5fe
cmod_a7: Cleanup and modernize.
mithro Mar 5, 2020
2d6489c
galatea: Cleanup and modernize.
mithro Mar 5, 2020
9d50811
mimas_a7: Cleanup and modernize.
mithro Mar 5, 2020
972bb08
mimasv2: Cleanup and modernize.
mithro Mar 5, 2020
1fd7bcd
minispartan6: Cleanup and modernize.
mithro Mar 5, 2020
fc321e9
nexys_video: Cleanup and modernize.
mithro Mar 5, 2020
831d5e0
opsis: Cleanup and modernize.
mithro Mar 5, 2020
3b5e784
pano_logic_g2: Cleanup and modernize.
mithro Mar 5, 2020
c7f3a80
pipistrello: Cleanup and modernize.
mithro Mar 5, 2020
4eda019
saturn: Cleanup and modernize.
mithro Mar 5, 2020
d7b2460
waxwing: Cleanup and modernize.
mithro Mar 5, 2020
8f8c1b8
ice40_hx8k_b_evn: Cleanup and modernize.
mithro Mar 31, 2020
f925644
ice40_up5k_b_evn: Cleanup and modernize.
mithro Mar 31, 2020
f4ca02c
netv2: Cleanup and modernize.
mithro Mar 5, 2020
121399f
icebreaker: Cleanup and modernize.
mithro Mar 31, 2020
058f11d
icefun: Cleanup and modernize.
mithro Mar 31, 2020
334bde9
neso: Cleanup and modernize.
mithro Mar 5, 2020
400f194
tinyfpga_bx: Cleanup and modernize.
mithro Mar 31, 2020
ddf28b1
upduino_v1: Cleanup and modernize.
mithro Mar 5, 2020
a304465
sim: Cleanup and modernize.
mithro Mar 5, 2020
6962baf
matrix_voice: Cleanup and modernize.
mateusz-holenko Mar 6, 2020
6d8fc4e
sim: Add a fixme comment
mateusz-holenko Mar 31, 2020
f30dcd1
scripts: add Vivado to PATH
mateusz-holenko Mar 31, 2020
243c1a7
test: fix imports of RemoteClient
mateusz-holenko Apr 1, 2020
e7355c0
make.py: region's (now) have a size, not a length
ewenmcneill Mar 13, 2020
abeeb9a
tinyfpga: Makefile: fix auto-build none firmware override
ewenmcneill Mar 13, 2020
d9d9cf2
micropython: link to litex hw includes
ewenmcneill Mar 13, 2020
421a402
micropython: temporarily change the fork
mateusz-holenko Apr 3, 2020
9bcc7d0
nexys_video: disable CAS as it conclicts with cpu_reset
mateusz-holenko Apr 6, 2020
2716c32
Merge pull request #348 from antmicro/update_submodules
mithro Apr 6, 2020
2060fbc
micropython: use fupy/micropython fork
mateusz-holenko Apr 7, 2020
11b1f66
Merge pull request #385 from antmicro/change_micropython_fork
mithro Apr 8, 2020
5af7e16
Update litex-renode submodule
mateusz-holenko Apr 8, 2020
4cd37cb
targets: Define offsets of Linux binaries in flash
mateusz-holenko Feb 17, 2020
e72f7c4
build-renode: Allow to boot Linux from flash
mateusz-holenko Feb 5, 2020
5cf4b4b
Merge pull request #340 from antmicro/linux_from_flash
mithro Apr 8, 2020
2deb4c0
targets: arty: fix TF target
kgugala Apr 12, 2020
0334f2f
Merge pull request #396 from antmicro/arty-tf-fix
mithro Apr 12, 2020
9000652
Add emulator_ram to fix CPU_VARIANT=linux build for pano_logic_g2.
skiphansen Apr 14, 2020
f122e88
Merge pull request #397 from skiphansen/master
mateusz-holenko Apr 14, 2020
e7afafa
Pano: Add support for specifing alternate UART connection via "-Op ua…
skiphansen Apr 18, 2020
a0cb5fd
Merge pull request #409 from skiphansen/uart_connection
mithro Apr 18, 2020
e9ae488
Added SPI flash support. Successfully boots Linux from flash.
skiphansen Apr 18, 2020
a00292e
Updating submodules.
mateusz-holenko Apr 15, 2020
4ebc207
env: Add Renode test dependencies
mateusz-holenko Feb 12, 2020
b6c85b8
ci: Add Renode tests
mateusz-holenko Feb 12, 2020
2242858
ci: Add micropython test
mateusz-holenko Feb 12, 2020
26eddb7
build-linux: Fix running Linux
mateusz-holenko Apr 18, 2020
78ee1e2
targets: Remove unused emulator_ram memory segment
mateusz-holenko Apr 20, 2020
d3d2d0d
arty: Change SPI Flash mapping to 0x20000000
mateusz-holenko Apr 20, 2020
233ea61
test-renode: Temporarily disable platforms not supported in Renode
mateusz-holenko Apr 20, 2020
fc8799a
Merge pull request #339 from antmicro/renode_ci
mithro Apr 20, 2020
3562dc5
Merge branch 'master' into spi_support
skiphansen Apr 23, 2020
92018c4
Replaced add_wb_slave/add_memory_region with register_mem per review …
skiphansen Apr 23, 2020
cd448f3
Merge pull request #410 from skiphansen/spi_support
mateusz-holenko Apr 23, 2020
1a11f51
Add support for CPU_VARIANT to load.py.
skiphansen Apr 24, 2020
b98c729
Merge pull request #414 from skiphansen/load_fix_cpu_variant
mithro Apr 24, 2020
dc5a892
Add image-flash, gateware-flash, etc support for pano_logic_g2 target.
skiphansen Apr 25, 2020
47ca120
Fix micro python build, add micro python support to pano_logic_g2.
skiphansen Apr 27, 2020
798c729
Fix failed Linux builds on other targets.
skiphansen Apr 27, 2020
d793dd8
Fix errors when scripts are called by Makefile, apply patches only once.
skiphansen May 4, 2020
a3d3477
Merge pull request #425 from skiphansen/makefile_friendly_fixes
mithro May 5, 2020
626c9ff
Moved Linux specific changes from top level Makefile to target specif…
skiphansen May 13, 2020
a1a0f6b
Optionally allow checkout commits and BR2_EXTERNAL to be specified.
skiphansen May 13, 2020
db0b3de
Incorporate review comments.
skiphansen May 14, 2020
1c7e6c0
Incorporate review comments.
skiphansen May 14, 2020
a7221b7
Merge pull request #420 from skiphansen/pano_make_flash_support
mateusz-holenko May 15, 2020
ff7e47a
Incorporate more review comments.
skiphansen May 15, 2020
bbe7798
Merge pull request #432 from skiphansen/allow_specified_commit
mateusz-holenko May 20, 2020
6e053cf
Updating submodules.
mateusz-holenko Jun 29, 2020
ac61db2
Install missing python dependencies
mateusz-holenko Jun 2, 2020
d581cd5
firmware: Adapt to CPU/crt0 location changes
mateusz-holenko Jun 29, 2020
e27a63a
firmware: Fix includes and flags
mateusz-holenko Jun 29, 2020
f2cd478
targets: Increase integrated rom size
mateusz-holenko Jun 4, 2020
d2bb7e2
Use 64-bit toolchain for RISC-V
mateusz-holenko Jun 4, 2020
503c9c9
firmware: Get rid of a duplicated `busy_wait` function
mateusz-holenko Jun 5, 2020
d8fd94d
nexys_video: Adapt to reorganization in python packages
mateusz-holenko Jun 5, 2020
4838a89
micropython: Fix building against the new LiteX
mateusz-holenko Jun 5, 2020
a328ae9
micropython: Temporarily switch to Antmicro's fork
mateusz-holenko Jun 5, 2020
9925813
VexRiscv: Add as a submodule
mateusz-holenko Jun 8, 2020
3022fc3
targets: Fix building `net` platforms
mateusz-holenko Jun 23, 2020
2d32257
make.py: Set EXECUTE_IN_PLACE/COPY_TO_MAIN_RAM flags
mateusz-holenko Jun 26, 2020
8649374
Makefile: Fix bitstream file name
mateusz-holenko Jun 26, 2020
8205751
basys3: Add `user_flash` memory region
mateusz-holenko Jun 26, 2020
da4a474
linux: Add `boot.json` helper file generation
mateusz-holenko Jun 26, 2020
c04580d
Disable running Linux tests on VexRiscv
mateusz-holenko Jun 29, 2020
a282f9c
temporarily disable notifications
mateusz-holenko Jun 4, 2020
43be54f
temporarily disable running Vivado/ISE in CI
mateusz-holenko Jun 25, 2020
da5b557
temporarily disable failing on dirty repo
mateusz-holenko Jun 4, 2020
530879c
ffix
mateusz-holenko Jun 30, 2020
6cf6171
x
mateusz-holenko Jun 30, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,12 @@
[submodule "third_party/nmigen"]
path = third_party/nmigen
url = https://github.com/m-labs/nmigen.git
[submodule "third_party/litex-boards"]
path = third_party/litex-boards
url = https://github.com/litex-hub/litex-boards
[submodule "third_party/liteiclink"]
path = third_party/liteiclink
url = https://github.com/enjoy-digital/liteiclink.git
[submodule "third_party/VexRiscv"]
path = third_party/VexRiscv
url = https://github.com/SpinalHDL/VexRiscv.git
25 changes: 15 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ env:
- C=lm32 TC="vivado" P=nexys_video T="base net"
- C=lm32 TC="ise" P=atlys T="base net"
- C=lm32 TC="ise" P=galatea T="base"
- C=lm32 TC="ise" P=matrix_voice T="base"
- C=lm32 TC="ise" P=mimasv2 T="base"
- C=lm32 TC="ise" P=minispartan6 T="base"
- C=lm32 TC="ise" P=opsis T="base net"
Expand Down Expand Up @@ -82,6 +83,7 @@ env:
- C=mor1kx TC="ise" P=opsis T="base net"
- C=mor1kx TC="ise" P=pipistrello T="base"
# VexRISCV
- C=vexriscv TC="vivado" P=netv2 T="base net"
- C=vexriscv TC="vivado" P=arty T="base net"
- C=vexriscv TC="vivado" P=mimas_a7 T="base net"
- C=vexriscv TC="ise" P=mimasv2 T="base"
Expand All @@ -93,6 +95,7 @@ env:
- C=vexriscv.lite TC="icestorm" P=upduino_v1 T="base" F=stub
- C=vexriscv.lite TC="icestorm" P=icefun T="base" F=stub
- C=vexriscv.lite TC="vivado" P=arty T="base net"
- C=vexriscv.lite TC="ise" P=matrix_voice T="base"
- C=vexriscv.lite TC="ise" P=opsis T="base net"
- C=vexriscv.lite TC="ise" P=pano_logic_g2 T="base"
# PicoRV32
Expand All @@ -101,6 +104,7 @@ env:
- C=picorv32 TC="ise" P=opsis T="base net"
- C=picorv32.minimal TC="icestorm" P=icebreaker T="base" F=stub
- C=picorv32.minimal TC="vivado" P=arty T="base net"
- C=picorv32.minimal TC="ise" P=matrix_voice T="base"
- C=picorv32.minimal TC="ise" P=opsis T="base net"
# minerva target
- C=minerva TC="vivado" P=arty T="base net"
Expand All @@ -117,9 +121,14 @@ env:
- C=lm32 TC="ise" P=atlys T="hdmi2usb"
- C=lm32 TC="ise" P=opsis T="hdmi2usb"
#--------------------------------------------
# HDMI2USB Targets
#--------------------------------------------
- C=vexriscv TC="vivado" P=netv2 T="hdmi2pcie"
#--------------------------------------------
# MicroPython Targets
#--------------------------------------------
# FIXME: Add some here
- C=vexriscv TC="vivado" P=arty T="base" F=micropython
#--------------------------------------------
# Linux Targets
#--------------------------------------------
Expand All @@ -140,15 +149,11 @@ env:

jobs:
allow_failures:
- env: C=lm32 TC="vivado" P=nexys_video T="video"
- env: C=mor1kx.linux TC="vivado" P=nexys_video T="net" F=linux
- env: C=vexriscv.lite TC="ise" P=pano_logic_g2 T="base"
# Need to rebuilt Xilinx toolchain to add NeTV2 FPGA Part (Artix 7 35T+50T parts)
- env: C=vexriscv TC="vivado" P=netv2 T="base net"
- env: C=vexriscv TC="vivado" P=netv2 T="hdmi2pcie"
# Occasionally these builds take longer than 50minute limit on Travis.
- env: C=lm32 TC="ise" P=atlys T="hdmi2usb"
- env: C=lm32 TC="ise" P=opsis T="hdmi2usb"

notifications:
email:
- hdmi2usb-spam@googlegroups.com
irc:
channels:
- "chat.freenode.net#hdmi2usb"
template:
- "[%{repository_slug}/%{branch}#%{build_number}] (%{commit}): %{message} (%{build_url})"
13 changes: 11 additions & 2 deletions .travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function build() {
git submodule foreach --recursive git status
git status
git diff
exit 1
# exit 1
fi

if grep -q -- "-dirty" $VERSION_DATA; then
Expand All @@ -147,7 +147,7 @@ function build() {
git submodule foreach --recursive git status
git status
git diff
exit 1
# exit 1
fi
fi
echo "============================================="
Expand Down Expand Up @@ -241,6 +241,15 @@ function build() {
done
fi


echo ""
echo ""
echo ""
echo "- test in Renode ($TITLE)"
echo "---------------------------------------------"
./scripts/test-renode.sh || exit 1
echo "============================================="

# Save the resulting binaries into the prebuilt repo. The gateware
# should always exist, but others might not.
if [ -d "$PREBUILT_DIR" ]; then
Expand Down
7 changes: 6 additions & 1 deletion .travis/download-xilinx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Cutback Xilinx ISE for CI
# --------
# Save the passphrase to a file so we don't echo it in the logs
XILINX_PASSPHRASE=""
if [ ! -z "$XILINX_PASSPHRASE" ]; then
XILINX_PASSPHRASE_FILE=$(tempfile -s .passphrase | mktemp --suffix=.passphrase)
trap "rm -f -- '$XILINX_PASSPHRASE_FILE'" EXIT
Expand Down Expand Up @@ -45,6 +46,9 @@ if [ ! -z "$XILINX_PASSPHRASE" ]; then
wget --no-verbose http://xilinx.timvideos.us/Xilinx.lic.gpg
cat $XILINX_PASSPHRASE_FILE | gpg --batch --passphrase-fd 0 Xilinx.lic.gpg

sudo modprobe dummy
sudo ip link set name eth0 dev dummy0
sudo ifconfig eth0 hw ether 08:00:27:68:c9:35
#git clone https://github.com/mithro/impersonate_macaddress
#cd impersonate_macaddress
#make
Expand All @@ -66,7 +70,8 @@ if [ -z "$XILINX_DIR" ]; then
# Reserved MAC address from documentation block, see
# http://www.iana.org/assignments/ethernet-numbers/ethernet-numbers.xhtml
export LIKELY_XILINX_LICENSE_DIR=$LOCAL_XILINX_DIR
export MACADDR=90:10:00:00:00:01
#export MACADDR=90:10:00:00:00:01
export MACADDR=08:00:27:68:c9:35
#export LD_PRELOAD=$XILINX_DIR/impersonate_macaddress/impersonate_macaddress.so
#ls -l $LD_PRELOAD
export XILINX_DIR=$LOCAL_XILINX_DIR
Expand Down
39 changes: 30 additions & 9 deletions Makefile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ ifeq ($(shell [ $(JOBS) -gt 1 ] && echo true),true)
export MAKEFLAGS="-j $(JOBS) -l $(JOBS)"
endif

TARGET_BUILD_DIR = build/$(FULL_PLATFORM)_$(TARGET)_$(FULL_CPU)/
TARGET_BUILD_DIR = build/$(FULL_PLATFORM)_$(TARGET)_$(FULL_CPU)

GATEWARE_FILEBASE = $(TARGET_BUILD_DIR)/gateware/top
GATEWARE_FILEBASE = $(TARGET_BUILD_DIR)/gateware/$(PLATFORM)
BIOS_FILE = $(TARGET_BUILD_DIR)/software/bios/bios.bin
FIRMWARE_DIR = $(TARGET_BUILD_DIR)/software/$(FIRMWARE)
FIRMWARE_FILEBASE = $(FIRMWARE_DIR)/firmware
Expand Down Expand Up @@ -203,8 +203,13 @@ ifeq ($(FIRMWARE),none)
OVERRIDE_FIRMWARE=--override-firmware=none
FIRMWARE_FBI=
else
OVERRIDE_FIRMWARE=--override-firmware=$(FIRMWARE_FILEBASE).fbi
FIRMWARE_FBI=$(FIRMWARE_FILEBASE).fbi
ifeq ($(FIRMWARE),clear)
OVERRIDE_FIRMWARE=--override-firmware=clear
FIRMWARE_FBI=
else
OVERRIDE_FIRMWARE?=--override-firmware=$(FIRMWARE_FILEBASE).fbi
FIRMWARE_FBI?=$(FIRMWARE_FILEBASE).fbi
endif
endif

$(IMAGE_FILE): $(GATEWARE_FILEBASE).bin $(BIOS_FILE) $(FIRMWARE_FBI)
Expand Down Expand Up @@ -310,20 +315,28 @@ endif
$(FIRMWARE_FILEBASE).bin: firmware-cmd
@true

$(FIRMWARE_FILEBASE).fbi: $(FIRMWARE_FILEBASE).bin

ifeq ($(CPU_ENDIANNESS), little)
$(PYTHON) -m litex.soc.software.mkmscimg -f --little $< -o $@
MKMSCIMG = $(PYTHON) -m litex.soc.software.mkmscimg --little
else
$(PYTHON) -m litex.soc.software.mkmscimg -f $< -o $@
MKMSCIMG = $(PYTHON) -m litex.soc.software.mkmscimg
endif

$(FIRMWARE_FILEBASE).fbi: $(FIRMWARE_FILEBASE).bin
@echo "making $< -> $@"
$(MKMSCIMG) -f $< -o $@

%.fbi: %
@echo "making $< -> $@"
$(MKMSCIMG) -f $< -o $@

firmware: $(FIRMWARE_FILEBASE).bin
@true

firmware-load: firmware firmware-load-$(PLATFORM)
@true

firmware-flash: firmware firmware-flash-$(PLATFORM)
firmware-flash: firmware $(FIRMWARE_FBI) firmware-flash-$(PLATFORM)
@true

firmware-flash-py: firmware
Expand Down Expand Up @@ -381,13 +394,21 @@ ifeq ($(IN_TFTPD),)
IN_TFTPD:=/usr/sbin/in.tftpd
endif

ifeq ($(CPU),vexriscv)
ROOTFS_FILE := riscv32-rootfs.cpio
else
ROOTFS_FILE := $(CPU_ARCH)-rootfs.cpio
endif

tftp: $(FIRMWARE_FILEBASE).bin
rm -rf $(TFTPD_DIR)
mkdir -p $(TFTPD_DIR)

ifeq ($(FIRMWARE),linux)
cp $(FIRMWARE_FILEBASE).bin $(TFTPD_DIR)/Image
cp $(FIRMWARE_DIR)/$(CPU_ARCH)-rootfs.cpio $(TFTPD_DIR)/rootfs.cpio
cp $(FIRMWARE_DIR)/$(ROOTFS_FILE) $(TFTPD_DIR)/rootfs.cpio
ifeq ($(CPU),vexriscv)
cp $(FIRMWARE_DIR)/boot.json $(TFTPD_DIR)
cp $(FIRMWARE_DIR)/rv32.dtb $(TFTPD_DIR)
cp $(TARGET_BUILD_DIR)/emulator/emulator.bin $(TFTPD_DIR)
endif
Expand Down
7 changes: 4 additions & 3 deletions firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ OBJECTS=\
tofe_eeprom.o \
uptime.o \
version.o \
pcie.o \
$(FIRMBUILD_DIRECTORY)/version_data.o \
$(FIRMBUILD_DIRECTORY)/hdmi_in1.o \
boot-helper-$(CPU).o
Expand All @@ -65,11 +66,11 @@ include $(UIP_DIRECTORY)/Makefile.mk

LDFLAGS += \

CRT0 = ../libbase/crt0.o

ifeq ($(COPY_TO_MAIN_RAM), 1)
CRT0 = ../libbase/crt0-$(CPU)-ctr.o
LINKER_LD = linker-ctr.ld
else
CRT0 = ../libbase/crt0-$(CPU)-xip.o
LINKER_LD = linker-xip.ld
endif

Expand Down Expand Up @@ -105,7 +106,7 @@ firmware.elf: $(FIRMWARE_DIRECTORY)/$(LINKER_LD) $(OBJECTS)
# pull in dependency info for *existing* .o files
-include $(OBJECTS:.o=.d)

boot-helper-$(CPU).S: $(BIOS_DIRECTORY)/boot-helper-$(CPU).S
boot-helper-$(CPU).S: $(CPU_DIRECTORY)/boot-helper.S
cp $< $@

boot-helper-$(CPU).o: boot-helper-$(CPU).S
Expand Down
21 changes: 18 additions & 3 deletions firmware/ci.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <generated/csr.h>
#include <generated/mem.h>

#include <hw/flags.h>
#include <time.h>
#include <console.h>

Expand Down Expand Up @@ -473,12 +472,12 @@ static void status_print(void)
#ifdef CSR_HDMI_IN0_FREQ_BASE
wprintf(" (@" REFRESH_RATE_PRINTF " MHz)",
REFRESH_RATE_PRINTF_ARGS(hdmi_in0_freq_value_read() / 10000));
#endif
if(hdmi_in0_status()) {
wprintf(" (capturing)");
} else {
wprintf(" (disabled)");
}
#endif
wputchar('\n');
#endif

Expand Down Expand Up @@ -647,6 +646,10 @@ static void video_matrix_list(void)
#ifdef CSR_HDMI_IN1_BASE
wprintf("input1 (1): %s\n", HDMI_IN1_MNEMONIC);
wputs(HDMI_IN1_DESCRIPTION);
#endif
#ifdef CSR_PCIE_PHY_BASE
wprintf("pcie (x):\n");
wprintf(" PCIe buffer\n");
#endif
wprintf("pattern (p):\n");
wprintf(" Video pattern\n");
Expand All @@ -669,7 +672,7 @@ static void video_matrix_list(void)

static void video_matrix_connect(int source, int sink)
{
if(source >= 0 && source <= VIDEO_IN_PATTERN)
if(source >= 0 && source < VIDEO_IN_MAX)
{
if(sink >= 0 && sink <= VIDEO_OUT_HDMI_OUT1) {
wprintf("Connecting %s to output%d\n", processor_get_source_name(source), sink);
Expand All @@ -693,6 +696,12 @@ static void video_matrix_connect(int source, int sink)
processor_set_encoder_source(source);
processor_update();
}
#endif
#ifdef CSR_PCIE_PHY_BASE
else if(sink == VIDEO_OUT_PCIE) {
wprintf("Connecting %s to PCIe\n", processor_get_source_name(source));
processor_update();
}
#endif
}
}
Expand Down Expand Up @@ -1097,6 +1106,9 @@ void ci_service(void)
else if((strcmp(token, "pattern") == 0) || (strcmp(token, "p") == 0)) {
source = VIDEO_IN_PATTERN;
}
else if((strcmp(token, "pcie") == 0) || (strcmp(token, "x") == 0)){
source = VIDEO_IN_PCIE;
}
else {
wprintf("Unknown video source: '%s'\n", token);
}
Expand All @@ -1113,6 +1125,9 @@ void ci_service(void)
else if((strcmp(token, "encoder") == 0) || (strcmp(token, "e") == 0)) {
sink = VIDEO_OUT_ENCODER;
}
else if((strcmp(token, "pcie") == 0) || (strcmp(token, "x") == 0)) {
sink = VIDEO_OUT_PCIE;
}
else
wprintf("Unknown video sink: '%s'\n", token);

Expand Down
19 changes: 16 additions & 3 deletions firmware/edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ static void generate_edid_timing(uint8_t *data_block, const struct video_timing
t->pixel_clock[0] = timing->pixel_clock & 0xff;
t->pixel_clock[1] = timing->pixel_clock >> 8;

/* EDID wire format summary:
* https://en.wikipedia.org/wiki/Extended_Display_Identification_Data#Detailed_Timing_Descriptor
* Note h_sync offset/width are 10-bit values, and v_sync offset/width
* are 6-bit values. All of them are split over bytes in structure.
*/

t->h_active_l = timing->h_active & 0xff;
t->h_blanking_l = timing->h_blanking & 0xff;
t->h_active_blanking_h = ((timing->h_active >> 8) << 4) | (timing->h_blanking >> 8);
Expand All @@ -159,9 +165,16 @@ static void generate_edid_timing(uint8_t *data_block, const struct video_timing

t->h_sync_offset_l = timing->h_sync_offset & 0xff;
t->h_sync_width_l = timing->h_sync_width & 0xff;
t->v_sync_offset_width_l = timing->v_sync_offset & 0xff;
t->hv_sync_offset_width_h = ((timing->h_sync_offset >> 8) << 6) | ((timing->h_sync_width >> 8) << 4)
| ((timing->v_sync_offset >> 8) << 2) | (timing->v_sync_width >> 8);

/* Byte 10: 4-bits of v_sync offset, 4 bits of v_sync_width */
t->v_sync_offset_width_l = ((timing->v_sync_offset & 0x0f) << 4) | (timing->v_sync_width & 0x0f);

/* Byte 11: top 2-bits each: h_sync offset/width, v_sync offset/width */
t->hv_sync_offset_width_h =
(((timing->h_sync_offset >> 8) & 0x03) << 6) |
(((timing->h_sync_width >> 8) & 0x03) << 4) |
(((timing->v_sync_offset >> 4) & 0x03) << 2) |
(((timing->v_sync_width >> 4) & 0x03));

h_image_size = 10*timing->h_active/64;
v_image_size = 10*timing->v_active/64;
Expand Down
Loading