artiq-zynq/src/runtime/src
mwojcik c834e4f503 enable network and mgmt during Rust panic, make RTIO PLL lock failure a panic
Closes #198 #200

Making it a soft panic makes it more involved with a bit of code duplication - setting up mgmt requires setting up the interface and sockets. Maybe can be done a bit cleaner.

```
[spaqin@hera:~/m-labs/artiq-zynq]$ artiq_sinara_tester
****** Sinara system tester ******
[...]
ConnectionRefusedError: [Errno 111] Connection refused

[spaqin@hera:~/m-labs/artiq-zynq]$ artiq_coremgmt -D 192.168.1.56 log
[     0.000067s]  INFO(runtime): NAR3/Zynq7000 starting...
[     0.005238s]  INFO(runtime): detected gateware: GenericMaster
[     0.016152s]  INFO(libboard_zynq::i2c): PCA9548 detected
[     0.023004s]  WARN(runtime): config initialization failed: SD error: Card initialization error: No card inserted, check if the card is inserted properly.
[     0.036730s]  WARN(runtime::rtio_clocking): error reading configuration. Falling back to default.
[     0.213000s] ERROR(runtime::rtio_clocking): RTIO PLL failed to lock
[     0.224443s]  INFO(libboard_zynq::i2c): PCA9548 detected
[     0.256197s]  INFO(runtime::comms): network addresses: MAC=e8-eb-1b-13-49-8b IPv4=192.168.1.56 IPv6-LL=fe80::eaeb:1bff:fe13:498b IPv6: no configured address
[     0.270183s] ERROR(runtime::comms): There has been an error configuring the device: RTIO PLL failed to lock. Only mgmt interface will be available.
[     4.000095s]  INFO(libboard_zynq::eth): eth: got Link { speed: S1000, duplex: Full }
[    33.148521s]  INFO(runtime::mgmt): received connection
```

Reviewed-on: #199
Co-authored-by: mwojcik <mw@m-labs.hk>
Co-committed-by: mwojcik <mw@m-labs.hk>
2022-10-21 17:56:34 +08:00
..
kernel enable network and mgmt during Rust panic, make RTIO PLL lock failure a panic 2022-10-21 17:56:34 +08:00
analyzer.rs runtime: modified protocols to use device endian 2021-01-22 13:36:38 +08:00
comms.rs enable network and mgmt during Rust panic, make RTIO PLL lock failure a panic 2022-10-21 17:56:34 +08:00
eh_artiq.rs fix previous commit 2022-03-26 20:08:11 +08:00
i2c.rs expose pca954x_select api (#167) 2022-03-02 10:52:27 +08:00
irq.rs updated zynq-rs and IRQ handling 2021-01-28 12:56:54 +08:00
main.rs match ident message with mainline 2022-10-21 12:08:11 +08:00
mgmt.rs Implement reboot for artiq_coremgmt 2022-10-07 18:31:11 +08:00
moninj.rs moninj: log link down at debug level 2022-05-25 10:37:38 +08:00
panic.rs enable network and mgmt during Rust panic, make RTIO PLL lock failure a panic 2022-10-21 17:56:34 +08:00
proto_async.rs runtime: modified protocols to use device endian 2021-01-22 13:36:38 +08:00
rpc.rs runtime: use &CSlice for lists 2022-03-10 16:30:34 +08:00
rtio_acp.rs implement rtio_get_destination_status (#177) 2022-03-25 18:20:05 +08:00
rtio_clocking.rs enable network and mgmt during Rust panic, make RTIO PLL lock failure a panic 2022-10-21 17:56:34 +08:00
rtio_csr.rs implement rtio_get_destination_status (#177) 2022-03-25 18:20:05 +08:00
rtio_mgt.rs update SEEN_ASYNC_ERRORS in destination_survey (#195) 2022-06-20 17:41:08 +08:00