Commit Graph

663 Commits

Author SHA1 Message Date
=
d49d66f150 switching to forked core_io 2024-07-21 14:42:38 +08:00
=
4b456ac054 fix hash 2024-07-21 14:33:10 +08:00
=
1f8918d852 replace fatfs 2024-07-21 14:30:30 +08:00
=
86013384f6 remove core_io dependency from fatfs 2024-07-21 14:09:08 +08:00
ea0e1cf3ca WIP 2024-07-19 18:10:23 +08:00
f6e82db00b WIP 2024-07-19 18:06:49 +08:00
f4b7eb13e7 WIP 2024-07-19 17:49:07 +08:00
65dae32acc WIP 2024-07-19 17:18:56 +08:00
4f48238624 Update flake.nix 2024-07-19 17:02:41 +08:00
7da03ee6e1 Update Cargo.lock 2024-07-19 17:01:57 +08:00
6b4e6a68bf use forked core_io 2024-07-19 16:53:45 +08:00
3e23b6720b use forked core_io 2024-07-19 15:49:49 +08:00
4c5c4a0e8b Update .cargo/config 2024-07-19 10:54:28 +08:00
4200b7caa1 Update libcortex_a9/src/lib.rs 2024-07-19 10:27:59 +08:00
41fef76da2 Update libcortex_a9/src/lib.rs 2024-07-19 10:26:51 +08:00
b2b3e5c933 flake: update dependencies 2024-07-09 17:03:22 +02:00
0efbbe39fe llvm: patch for artiq-zynq release-7 2024-06-06 14:06:56 +08:00
51b8111e79 flake: move to nixos 24.05 2024-05-28 17:37:50 +08:00
46dc25b89e add LLVM copy from nixpkgs 2024-05-24 10:57:12 +08:00
731684abb4 flake: switch to nixpkgs master, update dependencies 2024-05-09 10:02:43 +08:00
195a21fe78 use nix format for arm gnu toolchain 2024-03-25 17:20:19 +08:00
96cefe6f06 update fsbl source 2024-03-25 17:16:56 +08:00
7c58c0cf43 abort: rename to exception_vectors 2024-03-07 12:26:28 +08:00
9005b73316 experiment: add set_vector_table example 2024-03-07 12:03:49 +08:00
b1994dbe16 abort: support custom exception vector table addr 2024-03-07 12:03:29 +08:00
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
298f64a2f9 boot: enable FIQ
asm: add FIQ enable instruction
2024-02-02 16:34:28 +08:00
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
a43b8bf64e mkbootimage: work around buffer overflow 2023-12-03 16:16:22 +08:00
91bae572f9 fix "unknown argument '-Wl,--undefined=AUDITABLE_VERSION_INFO'" 2023-12-03 11:09:31 +08:00
301f9236e5 switch to nixpkgs cargo-xbuild (with workaround for rust nonsense) 2023-12-03 10:55:05 +08:00
55b36ee37e switch to new nixpkgs release 2023-12-03 10:45:47 +08:00
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
be672ab662 flake: update dependencies 2023-10-20 17:46:01 +08:00
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
de42a5d1b2 flake: update to LLVM 14 2023-08-07 23:26:58 +08:00
ff03bf92a3 flake: update dependencies 2023-08-07 23:23:02 +08:00
f20c008264 flake: nixpkgs 23.05 2023-05-27 18:20:53 +08:00
67dbb5932f flake: update mkbootimage 2022-11-30 22:36:56 +08:00
dab5c6f070 flake: NixOS 22.11, update dependencies 2022-11-30 22:29:58 +08:00
0a3a777652 Fix soft_rst bit, add reboot function 2022-10-07 12:57:56 +08:00
92b3f3e1dd panic: turn on error_led for kasli_soc 2022-08-26 17:22:42 +08:00
f586ba5a13 experiments: add error led test for kasli_soc 2022-08-26 17:22:42 +08:00
42cc256812 add error led 2022-08-26 17:22:42 +08:00
043a152b91 szl: change CPU frequency of Kasli-SoC to 1 GHz 2022-07-20 15:16:15 +08:00
6cd32f6ee0 flake: update dependencies 2022-05-31 21:02:28 +08:00
605c8f73a6 mutex: add async version of lock 2022-05-25 10:22:16 +08:00
56c27e98e4 config: add "fat_lfn" feature 2022-04-07 15:44:07 +08:00
f496da4f3e config: create config dir if not present 2022-04-06 16:17:35 +08:00