Commit Graph

919 Commits

Author SHA1 Message Date
enjoy-digital f32c61d5d2
Merge pull request #163 from garytwong/friendly-incompatible-options
Be friendlier about incompatible options.
2021-02-02 08:51:46 +01:00
Sergiu Mosanu a1d830566a added ddr4_sdram_c1 constraints 2021-02-01 12:22:41 -05:00
Florent Kermarrec 7c48af9b50 tec0117: get SDRAM working and increase sys_clk_freq to 25MHz.
./tec0117.py --build --load

Still some FIXMEs but validate use of the embedded SDRAM with LiteDRAM/LiteX:

        __   _ __      _  __
       / /  (_) /____ | |/_/
      / /__/ / __/ -_)>  <
     /____/_/\__/\__/_/|_|
   Build your hardware, easily!

 (c) Copyright 2012-2020 Enjoy-Digital
 (c) Copyright 2007-2015 M-Labs

 BIOS built on Feb  1 2021 13:09:35
 BIOS CRC passed (5abceb2e)

 Migen git sha1: 40b1092
 LiteX git sha1: f324f953

--=============== SoC ==================--
CPU:		VexRiscv_Lite @ 25MHz
BUS:		WISHBONE 32-bit @ 4GiB
CSR:		32-bit data
ROM:		24KiB
SRAM:		4KiB
L2:		0KiB
SDRAM:		8192KiB 16-bit @ 25MT/s (CL-2 CWL-2)

--========== Initialization ============--
Initializing SDRAM @0x40000000...
Switching SDRAM to software control.
Switching SDRAM to hardware control.
Memtest at 0x40000000 (2MiB)...
  Write: 0x40000000-0x40200000 2MiB
   Read: 0x40000000-0x40200000 2MiB
Memtest OK
Memspeed at 0x40000000 (2MiB)...
  Write speed: 5MiB/s
   Read speed: 6MiB/s

--============== Boot ==================--
Booting from serial...
Press Q or ESC to abort boot completely.
sL5DdSMmkekro
Timeout
No boot medium found

--============= Console ================--

litex> mem_list

Available memory regions:
ROM       0x00000000 0x6000
SRAM      0x01000000 0x1000
SPIFLASH  0x80000000 0x1000000
MAIN_RAM  0x40000000 0x800000
CSR       0x82000000 0x10000

litex> mem_test 0x40000000 0x800000

Memtest at 0x40000000 (8MiB)...
  Write: 0x40000000-0x40800000 8MiB
   Read: 0x40000000-0x40800000 8MiB
Memtest OK

litex>
2021-02-01 13:32:01 +01:00
Florent Kermarrec 51c5d69586 targets/tec0117: use custom CPU/ROM/SRAM config to minimize resources. 2021-02-01 13:31:56 +01:00
Florent Kermarrec 538878ce13 tec0117: disable BIOS XIP from SPI Flash for now since not working (SPÏ Flash set to power down mode with bitstream?). 2021-02-01 13:31:51 +01:00
Florent Kermarrec 6cce07d9db tec0117: add spiflash4x pins, rework flash function to flash both bitstream/bios. 2021-02-01 13:31:44 +01:00
Florent Kermarrec 0831b33285 tec0117: fix copyrights. 2021-02-01 13:31:39 +01:00
enjoy-digital 8b89f6fe76
Merge pull request #167 from hansfbaier/master
sockit: Fix cable name, default to jtag_atlantic
2021-02-01 11:05:41 +01:00
Hans Baier 5e4b29c0b5 sockit: Fix cable name, default to jtag_atlantic 2021-02-01 11:48:06 +07:00
enjoy-digital 601c297c8f
Merge pull request #164 from rdolbeau/ztex213
Support file for the ZTEX USB-FPGA Module 2.13
2021-01-30 21:43:07 +01:00
enjoy-digital 9bbfc37ea4
Merge pull request #165 from euryecetelecom/master
Add flash to SPI flash support for board ECPIX5
2021-01-30 21:38:41 +01:00
Guillaume REMBERT 31df53ef0a Add flash to SPI flash support for board ECPIX5 (needs update to openfpgaloader.py from litex to work) 2021-01-30 13:19:08 +01:00
Guillaume REMBERT 4fcc3f0cbb
Merge pull request #2 from litex-hub/master
Merge upstream before changes
2021-01-30 12:44:43 +01:00
Romain Dolbeau 027e57b851 Support file for the ZTEX USB-FPGA Module 2.13 2021-01-30 05:19:18 -05:00
Gary Wong 99e2f04ee5 Be friendlier about incompatible options.
Collect --with-ethernet/--with-etherbone, --with-spi-sdcard/--with-sdcard,
etc. into ArgumentParser.add_mutually_exclusive_group()s.  That way, we
get pretty --help output, and appropriate error messages if somebody
tries to ask for something that doesn't make sense.
2021-01-29 18:08:38 -07:00
Florent Kermarrec abccd12058 tec0117: add initial SDRAM support for the embedded SDRAM of the SIP.
Still a WIP but able to do the P&R with modifications on LiteX to generate
the IO_PORT constraints but not the IO_LOC for the SDRAM pins.
2021-01-29 22:28:40 +01:00
Florent Kermarrec edb99797aa targets/tec0117: minor cleanups. 2021-01-29 21:25:10 +01:00
enjoy-digital 43d9be08ed
Merge pull request #162 from pftbest/fix_dram
ECPIX-5: ddram: Add missing address pin.
2021-01-29 14:11:12 +01:00
Vadzim Dambrouski 345feddce9 ECPIX-5: ddram: Add missing address pin.
Fixes #161
2021-01-29 16:03:43 +03:00
Florent Kermarrec 7525b8772f platforms/fpc_iii: avoid dummy pin on ethernet.rst_n.
rst_n is optional in LiteEth's PHYs.
2021-01-29 09:33:33 +01:00
Florent Kermarrec 19767e1a2a platforms/fpc_iii: avoid using dummy pin on odt.
Now possible with 2f5784432d.
2021-01-29 09:30:54 +01:00
Florent Kermarrec 3deeb69531 targets/fpc_iii: review/cleanup to increase similarities with others targets to ease maintenance. 2021-01-29 08:46:31 +01:00
Florent Kermarrec 6c6d8a1393 platforms/fpc_iii: review/cleanup to increase similarities with others platforms and ease maintenance. 2021-01-29 08:41:10 +01:00
enjoy-digital 4eb5533040
Merge pull request #158 from garytwong/fpc-iii
Add FPC-III board support.
2021-01-29 08:31:13 +01:00
Sergiu Mosanu 1916677dc9 use VREF constraint for DDR4 C0 2021-01-28 19:58:38 -05:00
Gary Wong 4e5bb1bf1e Add FPC-III board support.
FPC-III is the Free Permutable Computer; details on the board are
available from:

    https://repo.or.cz/fpc-iii.git
2021-01-28 09:51:42 -07:00
Florent Kermarrec 9bd667720d targets/ecpix5: add LedChaser with red leds.
Fits nicely LambdaConcept colors and Blue/Green leds are too bright and would need to be controlled through a PWM.
2021-01-28 14:29:07 +01:00
Florent Kermarrec aa20fca1f1 ecpix5: reorder rgb_leds to have ld7:0, ld8:1, ld5:2, ld6:3. 2021-01-28 14:25:16 +01:00
enjoy-digital 691bfd8b70
Merge pull request #159 from euryecetelecom/master
Add ECPIX5 board components and pinouts (sata/spiflash/PMOD) + review openocd IDs
2021-01-28 14:01:01 +01:00
enjoy-digital 1d8f0a9829
Merge pull request #160 from antmicro/add-netv2-device-choice
netv2: add device variant to allow 100T as well
2021-01-28 13:52:28 +01:00
Alessandro Comodi bd716d956f netv2: add device variant to allow 100T as well
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-28 13:19:53 +01:00
Guillaume REMBERT 9beba7209d Add ECPIX5 components and pinouts (pmod/sata/spiflash) + review IDs from ECPIX5 openocd configuration 2021-01-28 12:00:28 +01:00
Guillaume REMBERT a2f54864e8
Merge pull request #1 from litex-hub/master
Merge with official repo
2021-01-28 11:56:46 +01:00
enjoy-digital 870a0aadfb
Merge pull request #157 from kazkojima/colorlight_i5_support
Add colorlight i5 board support
2021-01-27 12:29:52 +01:00
Kaz Kojima aef78831c8 colorlight_i5: Use tx_delay=0 for LiteEthPHYRGMII instead of target specifig bios initialization 2021-01-27 18:19:27 +09:00
Sergiu Mosanu 84656a9c2e re-compare and adjust to u250 2021-01-26 23:03:09 -05:00
Kaz Kojima c3fa0eac8b Add colorlight i5 board support 2021-01-27 11:44:59 +09:00
Florent Kermarrec 5fd04a97ea targets/netv2/pcie: reduce max_pending_requests to 2 to reduce resource usage. 2021-01-26 11:01:51 +01:00
Florent Kermarrec d256cc8bd6 camlink_4k: disable leds when serial is used (since pin is shared). 2021-01-25 12:19:29 +01:00
Florent Kermarrec 1e1bec10c4 orangecrab: remove dm_remapping workaround: we are now using Wihsbone/L2 path with VexRiscv-SMP on this board. 2021-01-25 11:52:59 +01:00
Florent Kermarrec 537f494cbb arrow_sockit: review/harmonize with others boards. 2021-01-25 09:14:46 +01:00
Florent Kermarrec 4adc1b14c4 platforms/de0nano: use separator for connectors. 2021-01-25 08:58:12 +01:00
enjoy-digital bbaa2fdc98
Merge pull request #149 from hansfbaier/master
Add board support for Terasic/Arrow SocKit, Add connectors to de0-nano
2021-01-25 08:55:48 +01:00
enjoy-digital 45f538b1d3
Merge pull request #155 from blakesmith/add_spi_flash
ULX3S: Make spiflash optionally accessible from the SoC, and bootable
2021-01-24 21:22:35 +01:00
enjoy-digital 8132f9f65b
Merge pull request #154 from euryecetelecom/master
Fix SDCard issue when no SDCard inserted in ECPIX5 board.
2021-01-24 21:14:58 +01:00
enjoy-digital 72985c72ca
Merge pull request #153 from Disasm/ecpix5-add-45f
ECPIX-5: add option to select ECP5 device
2021-01-24 21:14:14 +01:00
Blake Smith cae51c0c24 ULX3S: Make spiflash optionally accessible from the SoC, and bootable 2021-01-23 14:44:26 -06:00
Hans Baier aa771e9ff4 de0-nano: add connectors 2021-01-23 20:18:15 +07:00
Hans Baier c9f0745d54 sockit: add board definitions for Terasic SocKit 2021-01-23 20:17:38 +07:00
Florent Kermarrec 23760e2eae orangecrab/CRGSDRAM: add missing rst signal (to reset from the SoC). 2021-01-22 22:55:02 +01:00