Commit Graph

1683 Commits

Author SHA1 Message Date
Florent Kermarrec f86ba2dea0 targets/analog_pocket: Add debug code for framebuffer (wip). 2023-10-17 13:18:07 +02:00
Gwenhael Goavec-Merou 9ae224a2a7 sipeed_tang_primer_25k: new board 2023-10-17 07:45:40 +02:00
enjoy-digital 3a75f6cf79
Merge pull request #537 from rniwase/master
xilinx_zcu102: Add pin definitions for DDR4 SDRAM and FMC connectors, add litedram to the target.
2023-10-14 20:14:53 +02:00
rniwase 9fb388407a targets/xilinx_zcu102: Add litedram to the target. 2023-10-14 00:00:26 +09:00
rniwase 842819d832 platforms/xilinx_zcu102: Add pin definitions for DDR4 SDRAM and FMC connectors. 2023-10-13 23:53:10 +09:00
darryln e0e8600db4 fix help text 2023-10-12 11:21:20 -04:00
Florent Kermarrec ec2f9480b8 targets/analog_pocket: Fix indent on videophy/cores. 2023-10-09 11:59:32 +02:00
Florent Kermarrec 6386f290e9 targets/analog_pocket: Add --video-colorbars/video-terminal/video-framebuffer arguments. 2023-10-09 10:59:15 +02:00
Florent Kermarrec dec25b7ce9 targets/analog_pocket: Add initial Video support.
From https://github.com/tpwrules/pocket_linux.
2023-10-09 10:14:00 +02:00
Florent Kermarrec 371234b369 platforms/analog_pocket: Add Video Scaler pins definitions and output_term/current strength on SDRAM pins.
From https://github.com/tpwrules/pocket_linux.
2023-10-09 10:12:38 +02:00
Florent Kermarrec 7359a331eb analog_pocket: Add 1:2 (HalfRate) SDRAM support. 2023-10-06 19:25:42 +02:00
Florent Kermarrec d00810c983 sds1104xe: Fix typo. 2023-10-06 19:25:22 +02:00
Florent Kermarrec 149ed9630c platforms/ocp_tap_timecard: Add with_multiboot parameter to enable/disable multiboot images generation.
Generating multiboot images is not very fast, disabling it for quick P&R iterations can be useful.
2023-10-03 19:03:42 +02:00
Gwenhael Goavec-Merou aa853d5a48 platforms/efinix_trion_t20_bga256_dev_kit: CON4 cleanup 2023-10-02 19:19:50 +02:00
Gwenhael Goavec-Merou bc6f6d869e platforms/efinix_trion_t20_bga256_dev_kit: CON3 (LVDS RX) / CON4 (LVDS TX) 2023-10-02 18:51:53 +02:00
Florent Kermarrec 3d7a1dd152 analog_pocket: +x. 2023-10-02 16:20:09 +02:00
Liana Koleva 6f0cd56109
update to match zcu102 constraint spec 2023-09-28 11:11:21 +02:00
Florent Kermarrec fd6aee0250 targets/sqrl_acorn: Drive pcie_clkreq_n (Thanks @myftptoyman). 2023-09-27 11:06:50 +02:00
Florent Kermarrec 928c1a2539 platforms/sipeed_tang_mega_138k: Fix default_clk_name/period. 2023-09-26 21:07:21 +02:00
enjoy-digital 29018a8382
Merge pull request #523 from Icenowy/tangmega138k
[RFC] sipeed_tang_mega_138k: new board
2023-09-26 19:12:44 +02:00
Liana Koleva 5f8ac853b1
Resolve High Density bank IOStandard error
This resolves the following error during `build` on Vivado 2023.1:
```ERROR: [DRC BIVB-1] Bank IO standard Support: Bank 47 has incompatible IO(s) because: The LVDS I/O standard is not supported for banks of type High Density. Move the following ports or change their properties:
clk125_p```
2023-09-25 12:50:30 +02:00
Florent Kermarrec 1fb317840f platforms/ocp_tap_timecard: Add clk10 and som_led. 2023-09-22 08:33:04 +02:00
Florent Kermarrec c14d66cb6b analog_pocket: Add Serial (to fix CI) and add to board list. 2023-09-21 10:11:55 +02:00
Florent Kermarrec 3df677cfeb Add initial Analog Pocket platform/target with Clk/SDRAM, able to run a simple SoC with SDRAM over JTAG-UART.
$ ./analog_pocket.py --uart-name=jtag_uart --build --load
$ litex_term jtag --jtag-config=openocd_usb_blaster.cfg

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

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

 BIOS built on Sep 21 2023 08:53:57
 BIOS CRC passed (1e2b3f44)

 LiteX git sha1: 7d738737

--=============== SoC ==================--
CPU:		VexRiscv @ 50MHz
BUS:		WISHBONE 32-bit @ 4GiB
CSR:		32-bit data
ROM:		128.0KiB
SRAM:		8.0KiB
L2:		8.0KiB
SDRAM:		64.0MiB 16-bit @ 50MT/s (CL-2 CWL-2)
MAIN-RAM:	64.0MiB

--========== Initialization ============--
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: 15.6MiB/s
   Read speed: 22.1MiB/s

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

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

litex>
2023-09-21 09:19:57 +02:00
Florent Kermarrec 531e13dcd6 prog: Remove too specific openocd_max10_blaster/2.cfg. 2023-09-21 09:17:00 +02:00
Florent Kermarrec 5064c65dac targets: Switch to openocd_usb_blaster/2.cfg. 2023-09-21 09:16:24 +02:00
Florent Kermarrec 33d1569fb8 prog: Add generic openocd_usb_blaster/2 OpenOCD config files. 2023-09-21 09:15:30 +02:00
Florent Kermarrec a0b7811c54 platforms/ti60_f225: Add n parameter to rgmii_ethernet_qse_ios to allow having multiple adapters. 2023-09-11 10:45:28 +02:00
Florent Kermarrec b92c96b3a4 colorlight_i9plus: Cosmetic cleanups. 2023-08-30 17:22:11 +02:00
enjoy-digital 3471617878
Merge pull request #502 from chmousset/add_colorlight_i9plus
[init] added colorlight i9+ based on XC7A50 FPGA
2023-08-30 16:54:26 +02:00
Florent Kermarrec c960e85d11 targets/efinix: Now rely in LiteX to automatically exclude Tristate IOs. 2023-08-30 09:59:23 +02:00
Florent Kermarrec 4bb064853d targets/efinix: Update RGMII PHYs (IOs are now directly excluded in PHYs). 2023-08-30 08:56:20 +02:00
Florent Kermarrec 347b477b07 sipeed_tang_primer_20k: Fix DDR3 module, SoC reset and remove DDR3 debug code.
Now passing memtest with valid reported memory size:

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

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

 BIOS CRC passed (d32a9529)

 LiteX git sha1: 85dadb82

--=============== SoC ==================--
CPU:		VexRiscv SMP-LINUX @ 48MHz
BUS:		WISHBONE 32-bit @ 4GiB
CSR:		32-bit data
ROM:		64.0KiB
SRAM:		6.0KiB
L2:		512B
SDRAM:		128.0MiB 16-bit @ 192MT/s (CL-6 CWL-5)
MAIN-RAM:	128.0MiB

--========== Initialization ============--
Initializing SDRAM @0x40000000...
Switching SDRAM to software control.
Read leveling:
  m0, b00: |00000000| delays: -
  m0, b01: |00000000| delays: -
  m0, b02: |01100000| delays: 01+-00
  m0, b03: |00000000| delays: -
  best: m0, b02 delays: 01+-00
  m1, b00: |00000000| delays: -
  m1, b01: |00000000| delays: -
  m1, b02: |01100000| delays: 01+-00
  m1, b03: |00000000| delays: -
  best: m1, b02 delays: 01+-00
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: 11.7MiB/s
   Read speed: 17.4MiB/s
2023-08-29 16:50:17 +02:00
enjoy-digital 4862d0667c
Merge pull request #515 from josuah/crosslink_nx_openocd
Allow use of OpenOCD for the Crosslink-NX
2023-08-28 16:35:20 +02:00
enjoy-digital 232e829b8f
Merge branch 'master' into crosslink_nx_main_ram 2023-08-28 16:34:27 +02:00
enjoy-digital a9ecbffe8f
Merge pull request #520 from josuah/crosslink_nx_prog_flash
targets/lattice_crosslink_nx_evn: fix arguments in flash programming
2023-08-28 16:33:23 +02:00
enjoy-digital 2c3d77b5be
Merge branch 'master' into crosslink_nx_spi_flash 2023-08-28 16:32:37 +02:00
enjoy-digital efb76133be
Merge pull request #519 from josuah/fix_crosslink_nx_uartbone
Crosslink-NX EVN: fix UARTBone always disabled
2023-08-28 16:31:29 +02:00
Florent Kermarrec 5799c35247 platforms/gsd_orangecrab: Set alt point to DFUProg. 2023-08-28 16:28:04 +02:00
Josuah Demangeon a5a6a313cc targets/lattice_crosslink_nx_evn: add main_ram section for firmware
This takes the values from the Antmicro SDI MIPI converter as a model
and is enough to run a Zephyr hello world, but not seemingly enough for
a the Zephyr Shell sample.

Related: https://github.com/litex-hub/zephyr-on-litex-vexriscv/pull/13
2023-08-18 19:56:58 +02:00
Icenowy Zheng ebfb9b8e01 sipeed_tang_mega_138k: new board
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
2023-08-15 16:33:13 +08:00
Josuah Demangeon 2e5c6eb7a7 platforms/crosslink_nx_evn: add SPI flash support 2023-08-11 16:46:52 +02:00
Josuah Demangeon 1a46bcce5e targets/lattice_crosslink_nx_evn: fix arguments in flash programming 2023-08-10 14:39:01 +02:00
Josuah Demangeon 3c0b6956cc platforms/crosslink_nx_evn: Fix 5412d0e always disabling uartbone
Also fix a warning about register_mem being deprecated, taking
inspiration from platforms/crosslink_nx_vip
2023-08-09 18:07:13 +02:00
Josuah Demangeon 8172a304b3 platforms/crosslink_nx_evn: allow use of OpenOCD 2023-08-08 23:25:41 +02:00
enjoy-digital 3903cdee92
Merge pull request #517 from bayi/master
Digilent CMOD A7 ISSIRAM fix
2023-08-08 19:29:32 +02:00
Bayi 4362cb23a1
Fix Digilent Cmod A7 ISSIRAM reading 2023-08-05 19:56:32 +02:00
Bayi a6b025f7f3
Fix Digilent Cmod A7 ISSIRAM reading 2023-08-05 19:56:15 +02:00
Josuah Demangeon 5412d0e0e9 platforms/crosslink_nx_evn: allow use of UARTBone
This goes along a small resistor jumper modification and firmware flashing like
it is for the ECP5 board. A warning message is added as the default serial might
be affected (--serial serial by default). The FTDI modification software used
for the ECP5 seems to be requried and matching.

This can be tested this way:
targets/lattice_crosslink_nx_evn.py --csr-csv=csr.csv --toolchain=oxide --programmer=openocd --uart-name crossover+uartbone --build --load
litex_server --uart --uart-port /dev/ttyUSB1
litex_cli --regs
2023-08-04 20:47:32 +02:00
Florent Kermarrec efc15a91a9 global: Use new WaitTimer integrated cast to int. 2023-08-01 14:56:35 +02:00