Commit Graph

468 Commits

Author SHA1 Message Date
Sebastien Bourdeauducq c28c567e72 pure Nix build system 2020-04-30 21:04:28 +08:00
Sebastien Bourdeauducq 0ebe14c474 sync with zc706 repos 2020-04-30 19:33:57 +08:00
Sebastien Bourdeauducq ece60ea898 kernel: remove unused import 2020-04-30 19:33:45 +08:00
Astro 656222ff06 libdyld: refactor 2020-04-30 19:23:01 +08:00
Sebastien Bourdeauducq 22531b14c0 sync with zc706 repos 2020-04-28 19:46:33 +08:00
Sebastien Bourdeauducq b123e15b3c SDRAM loader 2020-04-28 19:07:49 +08:00
Sebastien Bourdeauducq 21ae674510 kernel: handle no BSS 2020-04-28 19:01:53 +08:00
Sebastien Bourdeauducq 826368205f shell.nix: use LLVM tools 2020-04-28 16:22:22 +08:00
Sebastien Bourdeauducq 848cd28d44 shell.nix: remove openocd/gdb
Regular development flow is with remote_run.sh, and those packages are easy to install manually if needed.
Also make the environment complete and usable in nix-shell --pure.
2020-04-28 15:08:41 +08:00
Sebastien Bourdeauducq f562ff95c3 use simple RTIO now interface without pinning 2020-04-26 16:10:32 +08:00
Sebastien Bourdeauducq 44b37aba7d improve debug messaging 2020-04-26 16:10:09 +08:00
Sebastien Bourdeauducq b7eacaeac7 fix RTIO reset 2020-04-26 11:51:21 +08:00
Sebastien Bourdeauducq 904ee3e730 make LED channels output-only 2020-04-26 11:51:06 +08:00
Sebastien Bourdeauducq 6fbd6152da reset RTIO 2020-04-26 09:58:18 +08:00
Sebastien Bourdeauducq d8d09e219f start kernel 2020-04-26 09:57:42 +08:00
Astro 2be09719f3 libdyld: treat pltrel as relocation with implicit addend 2020-04-26 08:44:10 +08:00
Astro b72b4ab9e9 libdyld: add resolve_rel() 2020-04-26 08:44:04 +08:00
Sebastien Bourdeauducq cc5c679b31 moninj: implement monitoring 2020-04-25 20:45:25 +08:00
Sebastien Bourdeauducq 5df4a0a2f8 moninj: sort out futures::select! 2020-04-25 20:31:38 +08:00
Sebastien Bourdeauducq 9ecabfc251 moninj: process host messages 2020-04-25 18:17:35 +08:00
Sebastien Bourdeauducq dcb45d7466 use global timer 2020-04-25 12:59:57 +08:00
Sebastien Bourdeauducq 2a43395bd5 update dependencies 2020-04-25 12:52:46 +08:00
Sebastien Bourdeauducq 531dd956d3 moninj: decode host messages 2020-04-24 15:17:41 +08:00
Sebastien Bourdeauducq b310e068d4 add moninj skeleton (WIP) 2020-04-24 14:37:53 +08:00
Sebastien Bourdeauducq 3a77ddbcc9 gateware: add moninj 2020-04-24 13:36:36 +08:00
Sebastien Bourdeauducq 4cb73f32aa use logging 2020-04-24 12:55:59 +08:00
Sebastien Bourdeauducq 79846504bd update dependencies 2020-04-24 12:46:55 +08:00
Astro f26018c898 libdyld: refactor and fix multiarch support 2020-04-24 11:42:53 +08:00
Astro 9dfddd60c5 runtime: init the logger 2020-04-24 11:42:45 +08:00
Astro 4c8653cca4 Cargo.toml: add libdyld to workspace members 2020-04-24 11:42:41 +08:00
Sebastien Bourdeauducq ff672278a5 update dependencies 2020-04-21 18:28:22 +08:00
Sebastien Bourdeauducq 3c9aa84219 use larger buffer for kernel 2020-04-18 18:04:58 +08:00
Sebastien Bourdeauducq c0aa4f78c2 dyld: more fine grained errors 2020-04-18 18:04:46 +08:00
Astro e1190ec76c libdyld: add arm relocation types 2020-04-18 17:25:58 +08:00
Sebastien Bourdeauducq 102d553b5c libdyld: remove debug prints 2020-04-17 19:58:40 +08:00
Sebastien Bourdeauducq a4f5c7040b cleanup 2020-04-17 19:57:58 +08:00
Sebastien Bourdeauducq e76b84335e libdyld: accept ARM ELF header 2020-04-17 19:57:45 +08:00
Sebastien Bourdeauducq b22f68eaaf load kernel on core1 (WIP) 2020-04-17 17:05:55 +08:00
Sebastien Bourdeauducq 83b92f3a7f send simple messages between cores 2020-04-17 15:43:00 +08:00
Sebastien Bourdeauducq abe0a549b5 restart and communicate with core1 in handle_connection 2020-04-17 14:43:50 +08:00
Sebastien Bourdeauducq 1c67ff50e3 close connections 2020-04-17 14:43:14 +08:00
Sebastien Bourdeauducq 6c18e24418 merge control.rs into kernel.rs 2020-04-17 13:18:23 +08:00
Astro 105eb7c2bc runtime: encapsulate core1 state in KernelControl 2020-04-17 13:00:24 +08:00
Sebastien Bourdeauducq c8d779d4cc Cargo.lock: cargo update 2020-04-17 11:33:40 +08:00
Astro 5af2acc760 comms: replace TcpStream::listen() with TcpStream::accept() 2020-04-17 11:31:55 +08:00
Sebastien Bourdeauducq b6c0f0baed fix problems with empty socket receive buffers 2020-04-15 09:25:05 +08:00
Sebastien Bourdeauducq f604f23a22 download kernel (WIP) 2020-04-13 17:31:17 +08:00
Sebastien Bourdeauducq 97aafe3291 integrate inter-CPU communication 2020-04-13 13:48:37 +08:00
Sebastien Bourdeauducq 579118155e consistent source code tree 2020-04-12 20:17:39 +08:00
Sebastien Bourdeauducq ce6c89e343 add RTIO syscalls 2020-04-12 20:15:01 +08:00