Steps to create an SD card that when booted, will perform an automatic Firmware Update.
-
Create a bootable sd-card
- Using a flashing utility (like Balena or WinDiskImager)
- Using WBM via Administration>Create Image
-
Boot the PFC from this sd-card
-
Shell into the PFC as root user
- Type the following command in the shell:
/etc/init.d/cpsd2intern makelink
Now the SD card will copy itself at every boot into the PFC’s flash!
-
Power off/on to test the function (with inserted sd-card)
The progress of firmware update displayed via LED’s U1 to U4
YELLOW: Copy process is active(approx. 1 minute)
GREEN: Successfully done!
RED: Finished with ERROR!
-
The image is copied into flash. now remove the sd-card and test if the PFC is rebooting from internal flash.