Commit Graph

645 Commits

Author SHA1 Message Date
a376b37426 libsupport_zynq: add logger implementation for the log crate 2020-04-20 23:40:01 +02:00
50667f0a13 core1: reset -> disable, add restart function 2020-04-17 14:05:45 +08:00
bcedd02ad9 libasync: add TcpSocket::{close, abort, keep_alive, timeout}() 2020-04-16 20:43:36 +02:00
60e45f096d libasync: Sockets::run() returns ! 2020-04-16 20:42:21 +02:00
c3fc948714 libasync: replace TcpStream::listen() with accept(), make accept() return earlier 2020-04-16 20:28:40 +02:00
be35be8d38 Revert "Revert "libasync: don't let TcpStream::read() call back for empty buffers""
Zero-length buffer is really a special case, as one must return Poll::Pending in this case.

This reverts commit 1ac10ba0d4.
2020-04-15 09:16:25 +08:00
1ac10ba0d4 Revert "libasync: don't let TcpStream::read() call back for empty buffers"
Usually easy to handle in user code and avoids duplicating logic.

This reverts commit e3a6a6e1f8.
2020-04-14 09:03:48 +08:00
e3a6a6e1f8 libasync: don't let TcpStream::read() call back for empty buffers 2020-04-14 01:06:25 +02:00
60a29456ec libasync: change TcpStream::listen() callback constraint from Copy to Clone 2020-04-14 00:08:57 +02:00
b26327e474 typo 2020-04-13 10:39:38 +08:00
0000575ce0 libasync: add async_send/async_recv methods 2020-04-13 01:24:37 +02:00
526cfe7577 update rust-nightly 2020-04-10 20:57:10 +02:00
c3502888f2 experiments: mod ps7_init only for target_zc706 2020-04-10 20:41:16 +02:00
4b346f5c55 libboard_zynq: fix flash manual_mode chip_index 2020-04-10 20:41:16 +02:00
2dda3ca4e6 libboard_zynq: delint 2020-04-10 20:41:16 +02:00
e8763fa969 Cargo.toml: flip LTO back on to fit OCM 2020-04-10 20:41:16 +02:00
58e4e34fa5 libsupport_zynq: fix a cast 2020-04-10 20:41:16 +02:00
8e09947c54 update cargo lockfile 2020-04-10 17:46:32 +08:00
6fd6f429fe libcortex_a9: impl Iterator for sync_channel::Receiver 2020-04-09 02:56:54 +02:00
e54edbf32d libcortex_a9: add sync_channel 2020-04-09 02:49:24 +02:00
64771bf233 libcortex_a9: revamp cache maintenance 2020-04-09 00:18:23 +02:00
c3ebafa6ed libboard_zynq: fix flash read 2020-04-06 22:41:49 +02:00
ab2a8db4d3 libasync: pass time 2020-04-03 00:18:04 +02:00
8a98cef3fc libboard_zynq: fix some hw setup 2020-04-03 00:17:25 +02:00
de4e24adf4 experiments: add ps7_init::report_differences() 2020-04-03 00:16:31 +02:00
6dde8c3b02 libasync: doc TcpStream 2020-04-01 23:34:53 +02:00
75a8889d28 libasync: create TcpSocketBuffers from uninitialized memory 2020-04-01 23:21:27 +02:00
0618642d3f libasync: simplify TcpStream::accept() 2020-04-01 23:01:48 +02:00
90e9a7db02 libasync: refactor listen() into accept()+listen() with a backlog 2020-04-01 22:58:02 +02:00
ab1404488c libasync: fix TcpStream, implement recv()+send() 2020-03-31 22:49:41 +02:00
8bc721826c libasync: wrap_waker() 2020-03-31 18:57:01 +02:00
25e80f63f9 experiments: setup IoPll to 1 GHz to fix eth 2020-03-31 18:47:36 +02:00
d2f91eac25 libasync: start smoltcp support 2020-03-31 01:16:58 +02:00
48257e989c libasync: pin tasks to memory 2020-03-31 01:13:01 +02:00
965a00801e libcortex_a9: set DDR pages non-bufferable to fix eth dma 2020-03-31 01:09:28 +02:00
46af38906e libboard_zynq: wrap eth Buffer for alignment 2020-03-29 00:08:43 +01:00
ed52ead914 cora ddr attempts 2020-03-28 21:50:06 +01:00
ea765fc529 libasync: replace executor Mutexes with RefCells
this will not run on multi-core.
2020-03-26 20:29:36 +01:00
5b95410244 libasync: adapt from async-on-embedded/async-cortex-m 2020-03-26 01:35:05 +01:00
d2fc0ecc14 default.nix: update cargoSha256 2020-03-25 22:25:44 +01:00
ab75be80ba update smoltcp to 0.6.0 2020-03-25 22:24:01 +01:00
319f7d9eef move smoltcp dependency to libboard_zynq only 2020-03-25 22:23:30 +01:00
74012603f6 default.nix: update cargoSha256 2020-03-25 22:17:31 +01:00
a0c95c3b3e remove superfluous dependencies 2020-03-25 21:54:29 +01:00
97e7605804 update dependency r0 2020-03-25 21:52:23 +01:00
000741d05a update rust-nightly + linked_list_allocator 2020-03-25 21:47:51 +01:00
29bf29a037 add some fpga regs 2020-03-25 13:02:01 +01:00
774e4e88a9 Merge branch 'dmac' 2020-02-03 23:05:03 +01:00
03da85dcea libboard_zynq::dmac: enable mod, add channel_regs() 2020-02-03 23:04:26 +01:00
d7e8ba297b libboard_zynq::dmac: unify equal registers 2020-02-03 22:11:44 +01:00