flash-server not working as expected
I followed the README instructions and your guidance so far but was not able to reproduce a working flash server setup. Here is what I did:
I setup a Fedora IoT CM4 in a standard Fritz.box network (192.168.178.0/24) as the flash-server. I downloaded one of our firmware images based on F34 and the latest rpm-ostree-engine branch/custom image to that machine. I'm using the container image to run the server.
I followed the README instructions and configured both TFTP and DHCP in the server's firewall and did a reload.
The data files of the TFTP server are stored in /var/srv/containers/flash-server-data
. I ensured the correct SELinux labels of container_file_t
on all files and directories in that path and that user and group are root:root
.
The following command is used to start the server:
podman run -it --privileged --network=host --volume /var/srv/containers/flash-server-data:/data --workdir=/data rpm-ostree-engine rose-flash-server --if-name=eth0 --console=tty0
I can observe multiple reboots of the device, always into a rainbow screen (corresponding issue #81 (closed)). I currently don't have access to the serial port. After around 10 minutes and roughly 8 reboots the process seems to stop and no more reboots occur. The device then stays in the rainbow screen mode. Disconnecting power and restarting the device brings us back into the Raspberry Pi bootloader which awaits network boot since the eMMC is still empty. I continued to let the server and device to run for 40 more minutes without any change of that state to make sure it simply takes a bit of time.
The full log output after around 15 minutes can be found in rose-flash-server.1.log
Edit, previous log: rose-flash-server.log