1
0
Fork 0
Commit Graph

673 Commits

Author SHA1 Message Date
Simon Renblad 7707399f51 remove undefined behavior in asserts 2024-10-17 14:15:47 +08:00
Simon Renblad 239bd2e65f add xbuild target features 2024-10-17 11:21:41 +08:00
Simon Renblad e4914f5872 cargo: change resolver 2024-10-17 10:33:41 +08:00
Simon Renblad 85596cea79 unused libs, fixup 2024-10-15 17:14:31 +08:00
Simon Renblad 10b03da5ce fixed bugs + missing methods 2024-10-15 17:14:31 +08:00
Simon Renblad c528721b42 remove unnecessary feature attributes 2024-10-15 17:14:31 +08:00
Simon Renblad a35cc3dcc2 fix panic message 2024-10-15 17:14:31 +08:00
Simon Renblad 1c89a3c6d5 flake hashes 2024-10-15 17:14:31 +08:00
Simon Renblad 4e74e79a44 fix compiler builtins version 2024-10-15 17:14:31 +08:00
Simon Renblad c40a3f7518 add fatfs 0.4 dep 2024-10-15 17:14:30 +08:00
Simon Renblad 5c1912ebfc lockfile 2024-10-15 17:14:30 +08:00
Simon Renblad 8cda41d857 lockfile update 2024-10-15 17:14:30 +08:00
Simon Renblad d9baf0657f lockfile update 2024-10-15 17:14:30 +08:00
Simon Renblad b8491bc86d commit lockfile 2024-10-15 17:14:30 +08:00
Simon Renblad d87421efe7 szl switch to fatfs r/w traits 2024-10-15 17:14:30 +08:00
Simon Renblad bbd6e8bd52 remove core_io dependency from libconfig 2024-10-15 17:14:30 +08:00
Simon Renblad 7f21764ade remove usage of BufReader 2024-10-15 17:14:30 +08:00
Simon Renblad b29877b8f6 change fatfs to master 2024-10-15 17:14:30 +08:00
Simon Renblad 4e6ba57a01 remove core_io from Cargo.toml 2024-10-15 17:14:30 +08:00
Simon Renblad 0fe62c34eb up flake to 2024 sep nightly 2024-10-15 17:14:30 +08:00
Simon Renblad aa29c47c2b update version 2024-10-15 17:14:30 +08:00
Simon Renblad 1644e7a7bc llvm_asm -> asm 2024-10-15 17:14:30 +08:00
newell cc20478d91 Add i2c support 2024-10-04 23:38:28 -07:00
Sebastien Bourdeauducq 5ef3016554 flake: update dependencies 2024-09-30 14:15:10 +08:00
newell 6a45a0dfd0 ebaz4205 support
Co-authored-by: newell <newell.jensen@gmail.com>
Co-committed-by: newell <newell.jensen@gmail.com>
2024-09-30 14:08:58 +08:00
Sebastien Bourdeauducq b2b3e5c933 flake: update dependencies 2024-07-09 17:03:22 +02:00
Simon Renblad 0efbbe39fe llvm: patch for artiq-zynq release-7 2024-06-06 14:06:56 +08:00
Sebastien Bourdeauducq 51b8111e79 flake: move to nixos 24.05 2024-05-28 17:37:50 +08:00
Simon Renblad 46dc25b89e add LLVM copy from nixpkgs 2024-05-24 10:57:12 +08:00
Sebastien Bourdeauducq 731684abb4 flake: switch to nixpkgs master, update dependencies 2024-05-09 10:02:43 +08:00
Florian Agbuya 195a21fe78 use nix format for arm gnu toolchain 2024-03-25 17:20:19 +08:00
Florian Agbuya 96cefe6f06 update fsbl source 2024-03-25 17:16:56 +08:00
morgan 7c58c0cf43 abort: rename to exception_vectors 2024-03-07 12:26:28 +08:00
morgan 9005b73316 experiment: add set_vector_table example 2024-03-07 12:03:49 +08:00
morgan b1994dbe16 abort: support custom exception vector table addr 2024-03-07 12:03:29 +08:00
morgan 5bd336c961 add support for using custom FIQ handler
cfg: add dummy FIQ handler cfg
abort: gate dummy FIQ handler using cfg
2024-02-02 17:01:07 +08:00
morgan 298f64a2f9 boot: enable FIQ
asm: add FIQ enable instruction
2024-02-02 16:34:28 +08:00
morgan 4168eb63a7 GIC: fix wrong core target config when enabling interrupt (#109)
# Summary

- Before the patch, an extra 1 is added to `target_cpu` and the interrupt will be configured to the wrong CPU target.

| target_cpu | bits set before patch | bits set after patch   |
| -----------| -----------                      | -----------                       |
| core0      | 0b10 (enable interrupt on core1) | 0b01 (enable interrupt on core0)  |
| core1      | 0b11 (enable interrupt on core0 & core1)| 0b10 (enable interrupt on core1) |

- [Correct ICDIPTR Register configuration from AMD](https://docs.xilinx.com/r/en-US/ug585-zynq-7000-SoC-TRM/Software-Generated-Interrupts-SGI?tocId=0TsxAmy8MHRPDsayG96K1Q)

Reviewed-on: M-Labs/zynq-rs#109
Co-authored-by: morgan <mc@m-labs.hk>
Co-committed-by: morgan <mc@m-labs.hk>
2023-12-19 18:41:03 +08:00
Sebastien Bourdeauducq a43b8bf64e mkbootimage: work around buffer overflow 2023-12-03 16:16:22 +08:00
Sebastien Bourdeauducq 91bae572f9 fix "unknown argument '-Wl,--undefined=AUDITABLE_VERSION_INFO'" 2023-12-03 11:09:31 +08:00
Sebastien Bourdeauducq 301f9236e5 switch to nixpkgs cargo-xbuild (with workaround for rust nonsense) 2023-12-03 10:55:05 +08:00
Sebastien Bourdeauducq 55b36ee37e switch to new nixpkgs release 2023-12-03 10:45:47 +08:00
morgan 24c804e6f0 libcortex_a9: add interrupt exit support for interrupt_handler macro (#107)
Co-authored-by: morgan <mc@m-labs.hk>
Co-committed-by: morgan <mc@m-labs.hk>
2023-11-20 12:30:27 +08:00
Sebastien Bourdeauducq be672ab662 flake: update dependencies 2023-10-20 17:46:01 +08:00
mwojcik 0106430805 remove gpio reset 2023-10-18 17:33:19 +08:00
jmatyas c15b54f92b kasli-soc: add support for PHY_RST GPIO 2023-08-31 12:58:59 +02:00
Sebastien Bourdeauducq de42a5d1b2 flake: update to LLVM 14 2023-08-07 23:26:58 +08:00
Sebastien Bourdeauducq ff03bf92a3 flake: update dependencies 2023-08-07 23:23:02 +08:00
Sebastien Bourdeauducq f20c008264 flake: nixpkgs 23.05 2023-05-27 18:20:53 +08:00
Sebastien Bourdeauducq 67dbb5932f flake: update mkbootimage 2022-11-30 22:36:56 +08:00