• Joined on 2021-07-22
mwojcik pushed to ident_variant at mwojcik/artiq-zynq 2022-10-21 11:55:35 +08:00
19e60073de kasli_soc: ident = variant name
a546d0f95b Implement reboot for artiq_coremgmt
d6ae646790 update dependencies
38f4d6cd2e flake: export packages
f3310324d7 update dependencies
Compare 19 commits »
mwojcik commented on pull request M-Labs/wfvm#15 2022-10-13 15:17:01 +08:00
guestfs-tools updates, flakify, Windows 11

Actually I would be very curious how you actually use it with flakes, as I can't get it to work. I'd be very grateful if you left me some more instructions maybe, either here or Mattermost. I got…

mwojcik commented on pull request M-Labs/wfvm#15 2022-10-13 14:05:36 +08:00
guestfs-tools updates, flakify, Windows 11

Looks good to me. Simple enough.

I'd just ask for updating README instructions with flake with at least a mention - maybe add demo-image derivation there too, although that's not entirely…

mwojcik pushed to pll_error at mwojcik/artiq-zynq 2022-10-12 16:31:31 +08:00
9facbf25cb fix warnings, give empty section if nothing found
3d53def05f better way of handling incorrect pc address
Compare 2 commits »
mwojcik commented on issue M-Labs/artiq-zynq#200 2022-10-10 17:01:57 +08:00
Nested panic with Core 0

Alright, that's some leftover garbage, having added some additional debugging info, the last call to that function yields:

[     2.986782s]  INFO(runtime::kernel::core1): __text_start: 0x0…
mwojcik commented on issue M-Labs/artiq-zynq#200 2022-10-10 16:20:46 +08:00
Nested panic with Core 0

@sb10q

If there's no kernel loaded (and the kernel is not the cause of panic), it panics here again.

Why would it take the second branch of the if in this case? It should only…

mwojcik pushed to pll_error at mwojcik/artiq-zynq 2022-10-10 16:09:36 +08:00
9026bff778 backtracing should be safe now
5329536814 check core before looking for kernel image
8a15bf145b better documentation for error led enabling
Compare 3 commits »
mwojcik pushed to pll_error at mwojcik/artiq-zynq 2022-10-05 17:27:06 +08:00
a036034c12 remove unnecessary MGMT_STARTED
mwojcik commented on pull request M-Labs/artiq-zynq#199 2022-10-05 17:25:42 +08:00
Soft panic for RTIO PLL reasons

No backtrace (as mentioned in #200 it causes a nested panic).

I don't understand why getting the backtrace would cause another panic - could you elaborate?

Backtrace calls libunwind…

mwojcik commented on pull request M-Labs/artiq-zynq#199 2022-10-05 17:07:22 +08:00
Soft panic for RTIO PLL reasons

getting eth settings sets up I2C to communicate with the ethernet controller;

I2C setup also resets GPIO: https://git.m-labs.hk/M-Labs/zynq-rs/src/branch/master/libboard_zynq/src/i2c/mod.rs#L57

mwojcik pushed to pll_error at mwojcik/artiq-zynq 2022-09-02 15:11:01 +08:00
5ebeb13537 rtio_clocking: panic at RTIO failed to lock
mwojcik commented on pull request M-Labs/artiq-zynq#199 2022-09-02 14:53:51 +08:00
Soft panic for RTIO PLL reasons

Now it's mixed in panic handler code.

coremgt:

[spaqin@hera:~/m-labs/artiq-zynq]$ artiq_coremgmt -D 192.168.1.56 log
[     0.000067s]  INFO(runtime): NAR3/Zynq7000 starting...
[    …
mwojcik pushed to pll_error at mwojcik/artiq-zynq 2022-09-02 14:50:47 +08:00
b23bc7fbeb soft_panic: log error message
10e6b1c2ad soft panic first in panic, more generic
Compare 2 commits »
mwojcik opened issue M-Labs/artiq-zynq#200 2022-09-02 12:22:56 +08:00
Nested panic with Core 0
mwojcik commented on pull request M-Labs/artiq-zynq#199 2022-09-02 10:03:54 +08:00
Soft panic for RTIO PLL reasons

...yeah of course, runtime has its own panic handler too (https://git.m-labs.hk/M-Labs/artiq-zynq/src/branch/master/src/runtime/src/panic.rs) and it already implements nested panic protection (in…

mwojcik commented on pull request M-Labs/artiq-zynq#199 2022-09-01 16:54:33 +08:00
Soft panic for RTIO PLL reasons

Hm, doesn't seem like multiple layers of panicking is supported in Rust.

At best probably the soft_panic function could be separated further - that is, not require anything besides maybe error…

mwojcik created pull request M-Labs/artiq-zynq#199 2022-09-01 12:07:18 +08:00
Soft panic for RTIO PLL reasons
mwojcik pushed to pll_error at mwojcik/artiq-zynq 2022-09-01 12:02:47 +08:00
ea72986792 soft_panic: print the reason
mwojcik pushed to pll_error at mwojcik/artiq-zynq 2022-09-01 11:51:52 +08:00
00c84c4f6e comms: add soft_panic setup
bd19c28b4e rtio_clocking: add error led support
Compare 2 commits »
mwojcik pushed to pll_error at mwojcik/artiq-zynq 2022-09-01 11:51:00 +08:00
c43d62bd23 comms: getting address disables the error led
89fbda606c comms: add soft_panic setup
e65ce924bb error_led aint a thing on kasli_soc
00a893111b rtio_clocking: add error led support
5a306ea278 rtio_clocking: soft panic if PLL fails to lock
Compare 9 commits »