Hello,
I wrote this post to explain the solution to a problem that has cost us some time.
Hopefully this is of some help to someone.
Summary:
In our json configuration file, Kasli requires an external 10 MHz clock.
We mistakenly thought that our system would use the internal clock by default.
When the external clock was not connected, Kasli did not boot properly and was not accessible via Ethernet.
After the external clock was connected, Sinara booted properly.
Symptoms:
We were unable to establish a network connection to the Sinara system via the SFP0 port (ping did not respond).
Of course, the computers used to test the connection had a static IP address within the subnet defined in the json configuration file.
The LED on the SFP0 port did not blink when an Ethernet cable was connected.
The LED labeled "Error" was active.
When we booted the system and read the UART output, we received the following. (Connect therefore to the serial port of Kasli at 115200bps 8-N-1. We used FLTerm to read the output.)
__ __ _ ____ ____
| \/ (_) ___| ___ / ___|
| |\/| | \___ \ / _ \| |
| | | | |___) | (_) | |___
|_| |_|_|____/ \___/ \____|
MiSoC Bootloader
Copyright (c) 2017-2021 M-Labs Limited
Bootloader CRC passed
Gateware ident 6.7665.83af3b75;
Initializing SDRAM...
Read leveling scan:
Module 1:
00000000000001111111111100000000
Module 0:
00000000000001111111111110000000
Read leveling: 18+-5 18+-6 done
SDRAM initialized
Memory test passed
Booting from flash...
Starting firmware.
[ 0.000009s] INFO(runtime): ARTIQ runtime starting...
[ 0.003931s] INFO(runtime): software ident 6.7665.83af3b75;
[ 0.010211s] INFO(runtime): gateware ident 6.7665.83af3b75;
[ 0.016504s] INFO(runtime): log level set to INFO by default
[ 0.022229s] INFO(runtime): UART log level set to INFO by default
[ 0.139771s] INFO(runtime::rtio_clocking): using internal RTIO clock (by default)
panic at src/libcore/result.rs:945:5: cannot initialize Si5324: "Si5324 misses clock input signal"
backtrace for software version 6.7665.83af3b75;
0x4004ef10
0x400203ec
0x40003460
0x400473f0
0x4004e644
halting.
use `artiq_coremgmt config write -s panic_reset 1` to restart instead
Solution:
So we reread the json configuration file and noticed the line
"ext_ref_frequency": 10e6
From this we concluded that the system needs an external clock of 10 MHz.
After applying the external 10 MHz clock signal to the SMA connector of the Kasli (turn Sinara off for this action), all symptoms described above disappeared.