Can I set U-Boot to continue to retry NFS boot indefinitely?

Discussion about U-Boot and the kernel.

Can I set U-Boot to continue to retry NFS boot indefinitely?

Postby TheMightyMadman » Thu Jan 26, 2023 2:08 pm

Hi all,

I'm running a Yocto distribution on a Xilinx 7020 FPGA SoC, with TFTP for the firmware and NFS for the software.
I'm deploying firmware/software from a development PC to an embedded PC, which acts as TFTP/NFS server for the end devices.
I've got the end devices configured to reboot automatically when they detect a change in the NFS, to load new firmware/software.

Problems come about because remote deployment of the software takes up to 5 minutes from the development PC.
The end devices reboot, mount TFTP and NFS fine, but then go into a Kernel panic because the NFS volume is not ready to boot Linux properly in time. This prevents them from being able to be manually reset via serial/Ethernet SSH.

Is there a way for U-Boot to be configured to continue to retry an NFS boot indefinitely, instead of going into a Kernel panic?
Or, at least continually rebooting the system instead of going into a Kernel panic?

Many thanks,

Adam
TheMightyMadman
 
Posts: 1
Joined: Thu Jan 26, 2023 1:57 pm

Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 7 guests