forked from M-Labs/zynq-rs
1
0
Fork 0
Commit Graph

218 Commits

Author SHA1 Message Date
Astro c046bbf8a2 move slcr, clocks, uart, eth into src/zynq/ 2019-10-21 22:19:03 +02:00
Astro 9d725bcf0f zynq::ddr: init with clock setup 2019-10-21 22:12:10 +02:00
Astro 58cf9833cc slcr: implement PllCfg and DdrClkCtrl 2019-10-21 22:10:51 +02:00
Astro 83b8bb096a add zynq::axi_gp 2019-10-19 01:46:43 +02:00
Astro b541160f38 add zynq::axi_hp 2019-10-18 23:46:00 +02:00
Björn Stein 1804c4c6e8 cortex_a9: add proper L1 cache invalidation 2019-10-18 00:11:51 +02:00
Björn Stein d87b874b21 eth: add memory barriers, reorder access 2019-10-18 00:04:22 +02:00
Björn Stein 9053166acc eth: increase desc list safety 2019-10-18 00:03:17 +02:00
Astro 4e9c38527e rm debug, delint 2019-09-29 03:01:24 +02:00
Astro a76214cb9d eth: split into Eth and EthInner 2019-09-29 02:58:17 +02:00
Astro 0f6bc68d1f eth: prepare link change detection 2019-09-29 02:30:03 +02:00
Astro 378755a0ce main: bump RX_LEN/TX_LEN to 2 2019-09-29 01:40:38 +02:00
Astro 644cc64524 eth: align DescEntries 2019-09-29 01:39:12 +02:00
Astro f9cc561144 link.x: fix __stack_start
This fixes the memory corruption problem.
2019-09-29 01:38:47 +02:00
Astro 06bc7ba809 openocd: fix PL_TAPID for both targets
Fixes Gitea issue #1
2019-09-28 23:53:40 +02:00
Astro d5334cc083 default.nix: fix use of rustManifest
part of Gitea issue #4
2019-09-26 23:34:06 +02:00
Astro 20249cf2da default.nix: build zc706 2019-09-26 17:54:37 +02:00
Astro ace24112fa Cargo.toml: use compiler_builtins release 2019-09-26 17:54:05 +02:00
Astro 109a203e02 default.nix: add a static channel-rust-nightly.toml that fits the current rustcSrc
part of Gitea issue #4
2019-09-26 17:17:31 +02:00
Astro 5ef0213b97 default.nix: update rustcSrc
rev of 2019-09-26 doesn't fit today's nightly build.
2019-09-26 17:14:58 +02:00
Astro d210b2b13f shell.nix: use gcc cross pkg that actually builds 2019-09-26 16:24:47 +02:00
Sebastien Bourdeauducq c38b2e418e shell.nix: add openocd and gdb 2019-08-30 16:14:23 +08:00
Sebastien Bourdeauducq 6771531255 README: fix openocd not finding files 2019-08-20 13:45:50 +08:00
Astro 4c62ce0dad main: restrict eth buffers to 1 each 2019-08-19 02:21:36 +02:00
Astro 9c73cf130d eth: wait for link 2019-08-19 02:21:02 +02:00
Astro c5a7f059c2 linker script: fix default ocm memory regions 2019-08-19 02:19:48 +02:00
Astro cc0c4e521e linker script: shrink STACK_SIZE to avoid DataAborts 2019-08-19 01:18:12 +02:00
Astro 45ed5f6c5b abort handlers: replace panic with infinite loop 2019-08-19 01:18:12 +02:00
Astro d11e581862 main: setup smoltcp
still panics, leading to a DataAbort
2019-08-19 01:18:12 +02:00
Astro 3a5ed0aac6 eth: add smoltcp support 2019-08-19 01:18:12 +02:00
Astro 5603766c5d eth: enable csum offloading
should prevent FCS errors
2019-08-19 01:12:52 +02:00
Astro 43c3f3e4a6 eth: fix tx_clock magnitude bug
Ethernet TX now works!
2019-08-18 22:52:05 +02:00
Astro 4bc1d21ae9 eth: rm obsolete TODO 2019-08-18 22:44:33 +02:00
Astro bfb3a00a4e eth: derive proper mdc_clk_div from clocks 2019-08-18 22:43:56 +02:00
Astro 022da2a7a7 default.nix: update rustcSrc
didn't fit with rust-nightly any more
2019-08-18 22:16:47 +02:00
Astro b8818863c4 read clocks 2019-08-17 03:20:04 +02:00
Astro 1f9ad5ff62 delint 2019-08-11 00:56:54 +02:00
Astro e135b27c13 openocd: fix PL_TAPID for both zc706 and cora-z7-10 2019-08-10 20:59:07 +02:00
Astro 80e808208e README: update to cargo-xbuild 2019-08-08 18:19:47 +02:00
Astro b7690c9702 fix UART_REF_CLK
started to become garbled.
2019-08-07 00:27:01 +02:00
Astro 66c3470afd link.x: rm unneeded ALIGN(4) 2019-08-07 00:26:46 +02:00
Astro d001593a36 rm bcmp 2019-08-06 22:03:23 +02:00
Astro f0f9603657 define custom target, use with cargo-xbuild
requires nixpkgs master now
2019-08-06 22:03:04 +02:00
Astro 2db35d063f define bcmp
other solution might be defining a non-linux target
2019-08-06 14:15:44 +02:00
Astro dbe04de735 update compiler-builtins 2019-08-06 14:15:40 +02:00
Astro b9c233b05b compile fixes 2019-07-01 00:15:17 +02:00
Astro 5a8d714627 working openocd scripts for zc706 and cora-z7-10 2019-06-29 02:41:36 +02:00
Astro d6b2321fee eth: fix mio_pin setup 2019-06-29 00:00:22 +02:00
Astro 9ab40daca2 eth: setup_gem0/1_clock() 2019-06-25 21:50:38 +02:00
Astro 5823d90db1 phy: implement control, status, reset 2019-06-25 21:48:47 +02:00