Commit Graph

7676 Commits

Author SHA1 Message Date
tongchen126 e87e7ff31c soc/software/bios/cmds/cmd_mem.c: fix number of required params 2021-12-30 20:43:05 +08:00
Florent Kermarrec 8ac3fbc039 soc/cores/led: Split LED-SHIFT in LED-READ/LED-SHIFT, simplify and fix off by one error. 2021-12-27 14:06:04 +01:00
enjoy-digital 2c68135eb4
Merge pull request #1143 from enjoy-digital/Dolu1990-patch-1
tools/litex_json2dts_linux.py fix double {{
2021-12-27 12:34:19 +01:00
Dolu1990 f4967cfb85
tools/litex_json2dts_linux.py fix double {{
A string with a {{ was missing the .format call, generating some broken dts
2021-12-26 12:17:33 +01:00
Ilia Sergachev 6b207f876b software/bios: add separate linker file for zynq 2021-12-22 03:01:25 +01:00
Ilia Sergachev d75dd653bc integration/soc: unblacklist zynq 2021-12-22 03:01:06 +01:00
Ilia Sergachev 0c57021c3c software: add minimal xilinx library makefile 2021-12-22 03:00:05 +01:00
Ilia Sergachev 6705972713 builder: enable bios compilation on zynq 2021-12-22 02:59:40 +01:00
Ilia Sergachev 76148c4930 zynq: add minimal software compilation support 2021-12-22 02:58:33 +01:00
Ilia Sergachev 4f39faf737 software/libc: enable compilation on arm 2021-12-22 02:57:52 +01:00
Ilia Sergachev 94f4dd78f2 zynq: update gcc triple, set fpu flags 2021-12-22 02:57:07 +01:00
Ilia Sergachev a07a4e0e86 zynq: cleanup 2021-12-22 02:56:46 +01:00
Ilia Sergachev 68e40dd330 zynq: remove broken unused method 2021-12-22 02:56:21 +01:00
Ilia Sergachev b7f787a461 software: disable exceptions on arm cpus (problems compiling) 2021-12-22 02:55:33 +01:00
Ilia Sergachev 5357d66c93 software/libc: fix missing return 2021-12-22 02:54:32 +01:00
Ilia Sergachev 4c20501218 software/libcompiler_rt: enable missing math operations on arm 2021-12-22 02:54:19 +01:00
Ilia Sergachev 490929ab65 software/libcompiler_rt: cleanup flags 2021-12-22 02:53:58 +01:00
Ilia Sergachev 893044275e software/libc: remove fexceptions flag already present in common.mak 2021-12-22 02:53:24 +01:00
Ilia Sergachev ab8c509396 argparse: deduplicate defaults in help messages 2021-12-22 02:45:58 +01:00
enjoy-digital d36e1b60bd
Merge pull request #1139 from tilk/jtagbone_typo
Fix typo jtabone -> jtagbone
2021-12-21 19:22:01 +01:00
Marek Materzok 92c8f7dc7c Fix typo jtabone -> jtagbone 2021-12-21 18:10:12 +01:00
enjoy-digital 72126f90a0
Merge pull request #1138 from fjullien/efinix_add_ifacewriter_mipi_clkin
efinix: add gpio MIPI_CLKIN to ifacewriter
2021-12-21 15:34:51 +01:00
enjoy-digital 1a9716048f
Merge pull request #1136 from antmicro/fix-regions-filter
tools/litex_json2renode: Add more restrictions to memory regions filter
2021-12-21 15:34:25 +01:00
Franck Jullien 2174a9219b efinix: add gpio MIPI_CLKIN to ifacewriter 2021-12-21 12:39:22 +01:00
enjoy-digital 55268af279
Merge pull request #1129 from gsomlo/gls-json2dts-update
clock, mmc updates for json2dts_linux
2021-12-20 21:27:06 +01:00
enjoy-digital 9e44e856cc
Merge pull request #1137 from trabucayre/zynq_tcl_preset
zynq7000: add TCL preset support
2021-12-20 21:25:40 +01:00
enjoy-digital 58f9bce567
Merge pull request #1135 from fjullien/bios_add_variable_size_mem_write
bios: add write size option to cmd mem_write
2021-12-20 21:23:16 +01:00
Gwenhael Goavec-Merou 14e0aeb92a zynq7000: add TCL preset support 2021-12-20 16:54:18 +01:00
Robert Szczepanski bf52f222af tools/litex_json2renode: Add more restrictions to memory regions filter
Skip regions that have size==0 or if region is included in another region.
Abort script if region overlap on another region.

Signed-off-by: Robert Szczepanski <rszczepanski@antmicro.com>
2021-12-20 13:56:40 +01:00
Franck Jullien f4dab5adac bios: add write size option to cmd mem_write 2021-12-17 20:45:41 +01:00
enjoy-digital 321b91d551
Merge pull request #1134 from fjullien/efinix_titanium_support
Efinix titanium support
2021-12-17 15:55:08 +01:00
Franck Jullien ca67ed8c13 efinix: check SLEWRATE property when adding a 'normal' GPIO 2021-12-17 13:52:05 +01:00
Franck Jullien df20ea5aa8 efinix: when a GPIO block is added, also add pin properties 2021-12-17 13:52:05 +01:00
Franck Jullien df34b3ae6a efinix: supports for EfinixTristateImpl with nbits > 1 2021-12-17 13:51:56 +01:00
Florent Kermarrec a6ed4c5c09 cores/prbs: Change wrap parameter to with_errors_saturation (opposite) and disable saturation by default. 2021-12-14 09:41:17 +01:00
enjoy-digital fda682a4a6
Merge pull request #1132 from smunaut/prbs
cores/prbs: Add a 'wrap' option to PRBSRX
2021-12-14 08:17:08 +01:00
Sylvain Munaut 477e51849a cores/prbs: Add a 'wrap' option to PRBSRX
If enabled, then the error count wraps around when it
reaches the limit of the 32b counter instead of saturating
to a max value.

Software can then detect the wrap and act accordingly.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-12-13 19:46:06 +01:00
Florent Kermarrec e50ff33c6e test/test_cpu: Disable Minerva test for now. 2021-12-13 16:51:23 +01:00
enjoy-digital cec83a5dd8
Merge pull request #1131 from fjullien/efinix_titanium_support
Efinix titanium support
2021-12-13 15:44:04 +01:00
Franck Jullien 40c001d522 check calculated PLL frequencies against user's values 2021-12-13 14:47:57 +01:00
Franck Jullien eafee9dac5 efinix: add Titanium PLL support 2021-12-13 14:47:49 +01:00
Franck Jullien 148d124d03 efinix: get family name from device name 2021-12-13 14:36:54 +01:00
Franck Jullien f37188c358 efinix: add more valid IOStandard 2021-12-13 14:34:08 +01:00
Franck Jullien 12e5443489 efinix: fix efxpt:single_conn parsing
Sometimes instance can be this form:

<efxpt:single_conn ... instance="GPIOT_PN_16.lvttl1,...

This patch handle this case
2021-12-13 14:31:34 +01:00
Florent Kermarrec 92f5a9f0e6 soc/cores/led/WS2812: Add Bus Mastering capability.
Useful on small FPGAs to reduce resource usage: When enabling bus mastering,
the core is able to automatically read led values from the bus and can then
avoid the internal memory. This is particularly useful when reading values
from SPI Flash with a small "Player" core just updating the base address.
2021-12-12 15:18:24 +01:00
enjoy-digital 649c45e962
Merge pull request #1128 from gregdavill/fatfs-alignment-fix
software.fatfs: Align fatfs sector buffers
2021-12-10 21:54:34 +01:00
enjoy-digital 65a8249f4b
Merge pull request #1130 from whitequark/master
litex_setup: nMigen has been renamed to Amaranth HDL
2021-12-10 21:43:04 +01:00
whitequark 9329d3f092 litex_setup: nMigen has been renamed to Amaranth HDL. 2021-12-10 17:41:30 +00:00
Gabriel Somlo d108d2ad3d tools/litex_json2dts_linux.py: update mmc node
Add `reg-names` property, which facilitates cleaner probing
for the upstream Linux device driver. Also, add a reference
to the LiteX sys_clk, also for the benefit of the upstream
driver, which can't rely on the CPU frequency matching sys_clk.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
2021-12-10 11:05:58 -05:00
Gabriel Somlo b4fb3ea981 tools/litex_json2dts_linux.py: update clock specification
Remove `bus-frequency` property from `soc` node. Instead,
create a separate `clocks` section containing a node to
represent the LiteX sys_clk, which may be referenced from
other peripherals if needed.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
2021-12-10 11:02:35 -05:00