Florent Kermarrec
f1aba7e45c
sofware/liblitesdcard: enable Long Filename (LFN).
2020-06-09 13:35:14 +02:00
Florent Kermarrec
fb282d1a72
software/libsdcard: rewrite/simplify SPISDCard/FatFs support and only keep SDCard ver2.00+ compatibility.
2020-06-09 12:50:56 +02:00
enjoy-digital
20ff24622a
Merge pull request #559 from gsomlo/gls-fix-crlf
...
liblitesdcard: convert all sources to unix style newlines (cosmetic)
2020-06-06 22:06:46 +02:00
Gabriel Somlo
78e3f25157
liblitesdcard: convert all sources to unix style newlines (cosmetic)
...
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
2020-06-06 13:24:29 -04:00
Florent Kermarrec
c1806eba11
software/liblitesdcard: remove unsused functions with FF_FS_READONLY.
2020-06-05 23:25:54 +02:00
Florent Kermarrec
f9b43c81cc
software/liblitesdcard: switch to FatFs for sdcardboot.
2020-06-05 21:20:19 +02:00
Florent Kermarrec
f972c8e45e
software/liblitesdcard: base it on FatFs generic example code + LiteX's SPIMaster specific functions.
2020-06-05 16:27:38 +02:00
Florent Kermarrec
5b908983a2
software/liblitesdcard: add FatFs files.
...
To avoid maintaining our own code and support all Fat filesystems, let's just use FatFs library.
2020-06-05 16:26:58 +02:00
Florent Kermarrec
7d141258be
software/liblitesdcard/spisdcard: simplify/rewrite for consistency with the others parts of the project.
...
- Improve code readability, remove un-needed or duplicate comments.
- Only use a spi_xfer function for both write/read.
- Set the SDCard to low clk freq before init and increase it when initialized.
2020-06-05 12:46:23 +02:00
Florent Kermarrec
860ac1e212
software/liblitesdcard: add copyrights to spisdcard/fat16.
2020-06-04 12:14:54 +02:00
Florent Kermarrec
0ec50881f0
software/liblitesdcard/sdcard: simplify readSector.
2020-06-04 11:55:25 +02:00
Florent Kermarrec
8c6f74d483
software/liblitesdcard: fat16 boot working with both SPI and SD modes.
2020-06-04 11:40:42 +02:00
Florent Kermarrec
bdaf6ff2dd
software/liblitesdcard: move fat16 code to separate file to avoid duplication.
2020-06-03 23:16:13 +02:00
Florent Kermarrec
4b3c5203ed
software/bios/libsdcard: add initial boot from sdcard with litescard, rename spisdcardboot command to sdcardboot.
2020-06-03 20:03:18 +02:00
Florent Kermarrec
b30e3353b5
soc/add_sdcard: use SDClockerS7 for 7-Series and SDClockerGen for others devices.
2020-06-03 18:37:08 +02:00
enjoy-digital
efbe169063
Merge pull request #558 from antmicro/fix-function-names-liblitespi
...
litex/soc/software/liblitespi: fix names associated with PHY CSRs
2020-06-03 16:34:55 +02:00
Jan Kowalewski
eceee7e4c4
litex/soc/software/liblitespi: fix names associated with PHY CSRs
2020-06-03 15:37:06 +02:00
Florent Kermarrec
fb4b6c35a3
boards/ulx3s: add sdcard pins and initial LiteSDCard integration.
2020-06-03 14:36:33 +02:00
Florent Kermarrec
997a17b933
soc/add_sdcard: add minimal SDClockerECP5 on ECP5.
2020-06-03 14:34:59 +02:00
Florent Kermarrec
9a026c09f9
soc/add_sdcard: remove limitation to 7-Series but only add clocker for it.
2020-06-03 13:47:39 +02:00
Florent Kermarrec
c311f98cfa
soc/add_sdcard: emulator clocking moved to litesdcard.
2020-06-03 13:43:44 +02:00
Florent Kermarrec
382f239e74
software/libsdcard: keep SDCARD_DEBUG enabled for now, fix typos.
2020-06-03 13:38:34 +02:00
Florent Kermarrec
20bbdaaf6b
soc/add_sdcard: remove Timer (unused).
2020-06-03 13:13:07 +02:00
Florent Kermarrec
ab447df922
software/liblitesdcard: review/simplify (code is over-complicated, revert part of the old code and write a minimal test for now).
2020-06-03 13:12:45 +02:00
Florent Kermarrec
ee4056cfec
software/liblitesdcard: remove sdtimer functions (unused).
...
sdtimer was used to evaluate performance but is no longer used.
2020-06-03 11:11:45 +02:00
enjoy-digital
ecfa44e5aa
Merge pull request #556 from antmicro/mglb/symbiflow-fixes
...
Symbiflow toolchain support: fix part name and clock frequency
2020-06-02 16:33:40 +02:00
Mariusz Glebocki
635a61e306
targets/arty: use sys_clk_freq = 60MHz for Symbiflow toolchain
2020-06-02 16:23:08 +02:00
Mariusz Glebocki
5071ef3ef7
build/xilinx/symbiflow: remap part name
2020-06-02 16:23:08 +02:00
Florent Kermarrec
55723f138b
software/liblitedram: revert sdrsw() in sdrlevel: this is still required for sdrlevel command.
2020-06-02 16:14:53 +02:00
enjoy-digital
ddcf68c062
Merge pull request #553 from ozbenh/sim-autoinit
...
sdram: Unconditionally switch to SW control before inits
2020-06-02 15:49:00 +02:00
enjoy-digital
47bb3d7990
Merge pull request #557 from antmicro/mor1kx_linux_booting
...
bios: boot: Boot linux on mor1kx with external device tree and rootfs
2020-06-02 15:45:52 +02:00
Florent Kermarrec
10ff9d765f
CHANGES: update and change added features order.
2020-06-02 15:05:46 +02:00
Mateusz Holenko
f1e7d73e48
bios: boot: Boot linux on mor1kx with external device tree and rootfs
2020-06-02 14:57:48 +02:00
Florent Kermarrec
5d202ddb97
test: update.
2020-06-02 13:51:48 +02:00
Florent Kermarrec
01f7947b56
targets: rename gateware-toolchain parameter to toolchain.
2020-06-02 13:44:23 +02:00
Florent Kermarrec
245985d6c5
targets/arty: integrate symbiflow changes to avoid duplication.
2020-06-02 13:37:19 +02:00
Florent Kermarrec
89106873db
build/generic_platform: add default_clk constraints only when used.
2020-06-02 13:34:09 +02:00
Florent Kermarrec
0cd613ccb8
build/xilinx/symbiflow: reuse .xdc generation from Vivado to avoid duplication, fix copyright.
2020-06-02 13:21:12 +02:00
Florent Kermarrec
80ec5eca76
boards/arty: remove specific arty_symbiflow platform and adapt target to use standard platform.
2020-06-02 12:18:12 +02:00
Florent Kermarrec
af928b2626
xilinx/simbiflow: add simple symbiflow_device re-mapping.
2020-06-02 12:15:38 +02:00
enjoy-digital
5104d07a13
Merge pull request #551 from antmicro/mglb/symbiflow-toolchain-xilinx-7-support
...
Add Symbiflow toolchain support for Xilinx 7-series
2020-06-02 11:55:33 +02:00
Tim Ansell
77139289f8
Merge pull request #552 from ozbenh/memspeed-long
...
sdram: Use unsigned long for memory test
2020-06-01 15:23:03 -07:00
Benjamin Herrenschmidt
6239eac130
sdram: Use unsigned long for memory test
...
This makes it twice as fast on 64-bit CPUs when using a 64-bit bus :-)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2020-06-02 08:08:42 +10:00
Mariusz Glebocki
7434376c07
test/test_targets: add arty_symbiflow
...
Signed-off-by: Mariusz Glebocki <mglebocki@antmicro.com>
2020-06-01 21:41:56 +02:00
Mariusz Glebocki
ae121aacdf
targets: add arty_symbiflow
...
Signed-off-by: Mariusz Glebocki <mglebocki@antmicro.com>
2020-06-01 21:41:56 +02:00
Mariusz Glebocki
2bb2fbdbea
platforms: add arty_symbiflow
...
Signed-off-by: Mariusz Glebocki <mglebocki@antmicro.com>
2020-06-01 21:41:17 +02:00
Mariusz Glebocki
bd702397d1
build/xilinx: add Symbiflow toolchain support
...
Signed-off-by: Mariusz Glebocki <mglebocki@antmicro.com>
2020-06-01 21:36:28 +02:00
enjoy-digital
a116578c82
Merge pull request #550 from antmicro/jboc/spd-read
...
bios/litedram: Add command to verify SPD contents with the one used during generation
2020-06-01 21:17:40 +02:00
enjoy-digital
b98a919226
Merge pull request #549 from antmicro/mglb/fix-vivado-yosys
...
build/xilinx: do not assume build name is "top"
2020-06-01 19:58:01 +02:00
Benjamin Herrenschmidt
4a6256a50d
sdram: Unconditionally switch to SW control before inits
...
This will allow the controller to default to HW control which means
the sim model can be used without specific initializations
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2020-06-01 23:44:09 +10:00