Commit Graph

109 Commits

Author SHA1 Message Date
671968bac3 libboard_zynq/eth: fixed tx lost packet 2020-08-24 15:51:01 +08:00
bb09d25378 libboard_zynq/ethernet: ethernet fix and config 2020-08-21 13:34:02 +08:00
b268fe015a stdio::drop_uart(): add delay 2020-08-17 19:38:41 +02:00
1a96a7550a libboard_zynq: make RegisterBlock constructors more consistent 2020-08-13 14:49:26 +08:00
36947104e3 libboard_zynq: make constructor names more consistent 2020-08-13 13:31:53 +08:00
11089d8a64 i2c: delete dead code 2020-08-12 16:51:25 +08:00
76a4cac873 i2c: disable its usage on Cora Z7-10 2020-08-10 14:24:13 +08:00
4614ed1371 i2c: simplify ctor_common() 2020-08-08 10:06:11 +08:00
16b2df91ca i2c: fix GPIO register mapping, I2C control & EEPROM write operations 2020-08-07 11:10:18 +08:00
f7d3135ec7 i2c: implement EEPROM operations; add CountDown waiting indication 2020-08-05 20:10:30 +08:00
c60230af25 i2c: implement basic i2c bitbanging 2020-08-05 17:35:33 +08:00
a36a82d86d reduce ethernet verbosity 2020-08-04 22:15:01 +08:00
2927c43309 libboard_zynq/gic: refactored and added SGI functions. 2020-08-03 12:35:17 +08:00
187801c4a7 gic: start implementation 2020-08-03 12:35:17 +08:00
91ece367f2 libboard_zynq/mpcore: added generated register definitions 2020-08-03 12:35:17 +08:00
1f05e6977e eth::phy: replace ExtendedStatus with PSSR 2020-07-29 21:49:18 +02:00
e408a8b22d eth::phy::extended_status: fix cap_1000base_x_full() bit position 2020-07-29 21:29:28 +02:00
27effb6257 eth::phy: s/Marvel/Marvell/ 2020-07-29 20:08:38 +02:00
de5f605d60 eth: refactor peripheral instance into type parameter, improve clock setup 2020-07-29 19:45:01 +02:00
ef4fb598fb ddr: improve dci divisors calculation 2020-07-28 00:43:33 +02:00
f36b1a610e timer::global: wrap us in Microseconds, impl embedded_hal blocking delay traits 2020-07-22 23:41:15 +02:00
7f45d10af3 timer::global::CountDown: fix delaying from "up to" to "at least" the timespan 2020-07-22 22:43:10 +02:00
855d94c48e dmac: remove unused module 2020-07-20 19:42:32 +02:00
f8785c3f07 fix some compilation warnings 2020-07-19 15:39:08 +08:00
484e385160 eth: implement DeviceCapabilities.max_burst_size
this is a hint that /could/ boost TCP performance.
2020-07-16 00:17:13 +02:00
371e59cef5 libboard_zynq: add fpgax_clk_ctrl registers 2020-07-07 19:37:51 +08:00
e4e7141bf3 ddr: delint 2020-07-06 19:46:18 +02:00
0c60d684e4 slcr: remove soft reset
Does not work and probably difficult to get to work.
2020-07-06 13:06:10 +08:00
21c0c5cbc8 Revert "simplify ps7_init"
What the simplified ps7_init does can now be reproduced by the DDRC driver.
On the other hand, we are still experiencing crazy Zynq instability issues, so keep the original ps7_init around for debugging.

This reverts commit 9fcf9243f2.
2020-07-06 11:55:04 +08:00
90904634cd DDR: fixed register write.
Previously it writes `0x20066`, while the ps7_init set it to be
`0x200066`, notice the 1 more 0.
This should perform the same writes to the registers, so we do not have
to apply the ps7_init in artiq_zynq.
2020-07-06 11:46:37 +08:00
ae4d3e2455 smoltcp: enable IPv6 2020-07-06 11:30:48 +08:00
9fcf9243f2 simplify ps7_init 2020-07-06 00:52:40 +08:00
f0697c3ec3 ddr: implement additional configuration 2020-07-03 02:20:10 +02:00
b2c707d543 ddr: remove superfluous _reg from register names 2020-07-03 02:20:10 +02:00
c0e66a632c ps7_init: move from experiments to libboard_zynq 2020-06-25 01:40:42 +02:00
b33ccf83ba eth: doc 2020-06-18 18:07:50 +02:00
a80a2c67ef eth: put desc list behind UncachedSlice, invalidate buffers, add barriers 2020-06-18 01:28:29 +02:00
98f5099684 removed newline character 2020-06-16 17:36:01 +08:00
2c3fa991ad implemented display trait for errors 2020-06-16 17:36:01 +08:00
2c14a2a1a2
fixed global timer reset 2020-06-16 17:31:37 +08:00
191da7c959
Added Copy trait for Milliseconds struct. 2020-06-16 14:56:29 +08:00
d52466cacf
DevC driver refactored. 2020-06-16 14:55:53 +08:00
a17a5d2925 sdcard: Changed some debug to trace. 2020-06-15 16:54:30 +08:00
e0f26871db devc working! 2020-06-15 16:07:31 +08:00
82ec1ba7a7 sdio: better logging 2020-06-13 16:31:25 +08:00
d3b488bfb3 standard capacity support 2020-06-11 10:21:01 +08:00
074b3547de sdio: fix unsound MaybeUninit usage 2020-06-11 10:07:19 +08:00
316ea61702 sdio: move ADMA2_DESCR32_TABLE into SdCard 2020-06-11 10:07:19 +08:00
1586190712 sdio: turn Adma2Desc32.attribute into a register! 2020-06-11 10:07:19 +08:00
32349e9dec sdio: convert Adma2Desc32 to VolatileCells, make ADMA2_DESCR32_TABLE: MaybeUninit 2020-06-11 10:07:19 +08:00