Comments (3)
This is now possible thanks to @david-sawatzke and @lschuermann's work. I just finished the integration on this with:
- enjoy-digital/liteeth@28c8871
- enjoy-digital/liteeth@d10cda8
- enjoy-digital/litex@bdbb6c0
- enjoy-digital/litex@63cda6c
We can now just build the colorlight design with a 32-bit Ethernet Datapath and JTAG-UART with:
python3 colorlight_5a_75x.py --uart-name=jtag_uart --cpu-type=vexriscv --with-ethernet --csr-csv=csr.csv --build --load
litex_term jtag --jtag-config=openocd_butterstick.cfg
__ _ __ _ __
/ / (_) /____ | |/_/
/ /__/ / __/ -_)> <
/____/_/\__/\__/_/|_|
Build your hardware, easily!
(c) Copyright 2012-2022 Enjoy-Digital
(c) Copyright 2007-2015 M-Labs
BIOS built on Apr 25 2022 18:39:49
BIOS CRC passed (d1a436a2)
LiteX git sha1: bdbb6c0b
--=============== SoC ==================--
CPU: VexRiscv @ 60MHz
BUS: WISHBONE 32-bit @ 4GiB
CSR: 32-bit data
ROM: 128KiB
SRAM: 8KiB
L2: 8KiB
SDRAM: 4096KiB 32-bit @ 60MT/s (CL-2 CWL-2)
--========== Initialization ============--
Ethernet init...
Initializing SDRAM @0x40000000...
Switching SDRAM to software control.
Switching SDRAM to hardware control.
Memtest at 0x40000000 (2.0MiB)...
Write: 0x40000000-0x40200000 2.0MiB
Read: 0x40000000-0x40200000 2.0MiB
Memtest OK
Memspeed at 0x40000000 (Sequential, 2.0MiB)...
Write speed: 22.2MiB/s
Read speed: 30.2MiB/s
--============== Boot ==================--
Booting from serial...
Press Q or ESC to abort boot completely.
sL5DdSMmkekro
Timeout
Booting from network...
Local IP: 192.168.1.50
Remote IP: 192.168.1.100
Booting from boot.json...
Booting from boot.bin...
Copying boot.bin to 0x40000000... (7428 bytes)
Executing booted program at 0x40000000
--============= Liftoff! ===============--
LiteX minimal demo app built Apr 25 2022 18:28:30
Available commands:
help - Show this command
reboot - Reboot CPU
led - Led demo
donut - Spinning Donut demo
helloc - Hello C
litex-demo-app>
The timings results are the following:
Info: Max frequency for clock '$glbnet$main_crg_clkout0': 63.17 MHz (PASS at 60.00 MHz)
Warning: Max frequency for clock '$glbnet$eth_clocks0_rx$TRELLIS_IO_IN': 114.01 MHz (FAIL at 125.00 MHz)
Info: Max frequency for clock '$glbnet$jtag_clk': 156.62 MHz (PASS at 12.00 MHz)
and the timings violations on eth_clocks0_rx are false paths on the Gray counter of the CDC FIFO so can be ignored (not sure it's now possible to specify false paths with NextPnr).
from litex-boards.
Is there any update on this? I have been eyeing this issue for a year and a half now with no progress :/.
from litex-boards.
I have a version that works yes but still haven't been able to find the time to integrate it properly. As you can imagine, the Colorlight support is more a hobby/low cost project and does not really drive LiteX development so we had to wait to have another opportunity to do these improvements, which has been possible while working on 10G Ethernet. I hope being able to integrate this in not too long (maybe in the next weeks), it's a bit difficult to help on this issue but if you are willing to contribute to the project, helping on other issues could free up some time to look at this one.
from litex-boards.
Related Issues (20)
- VCU128 DDR4 memory calibration failure HOT 13
- Error Related to csr.json File During Generation of Litex.resc and Litex.repl Files HOT 1
- qmtech_wukong: how do I add SPI? HOT 1
- arty 35t: SPI SDCard without PMOD HOT 1
- Sipeed Tang Nano 1k support HOT 2
- Nitefury board PCIe clock setting HOT 2
- ModuleNotFoundError: No module named 'litex' HOT 1
- efinix_titanium_ti60_f225_dev_kit: ethernet non functional
- Bitstream loading on ECPIX-5 board needs --cable ft4232 HOT 2
- Unable to replicate Analogue Pocket HOT 6
- Issues with cpu type rocket for terasic de2 115 HOT 1
- Mini901 Initial investigations - anyone interested ? HOT 1
- Sipeed Tang Mega 138k : SDRAM test failed. HOT 4
- How to make : Running Dual-Core RISC-V Linux on Cheap FPGA Board HOT 2
- limesdr_mini_v2 loading firmware: [LITEX-TERM] Got unexpected response from device 'b'\n'' HOT 7
- Sipeed Tang primer 20k : usb host test failed. HOT 5
- Sipeed Tang Primer 25k no serial out after successful flash HOT 4
- 5a-75b revision 8.2 HOT 2
- Is separated building and loading possible? HOT 1
- zedboard can't boot up correctly HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litex-boards.