Updating a running system (the easy way), Updating a running system manually – Digi 9P 9360/9750 User Manual
Page 51

5 1
A d v a n c e d T o p i c s
Updating a running system (the easy way)
On a running system, that is a system able to start the boot loader, U-Boot contains pre-
defined macros that can update the on-module flash memory.
Power up (or reset) the target. After 2-4 seconds, the boot loader messages appear on the
serial port. Hit any key to interrupt the auto-boot process. You can break into the U-Boot
command line interface by pressing any key.
There are 3 main flash partitions: U-Boot, kernel image, and a root file system. To update
a partition using a TFTP server, run one or more of the following macros from the U-Boot
prompt:
You can also copy the images onto a vfat formatted usb-stick, connect it to the target, and
run one or more of these macros from the U-Boot prompt:
Updating a running system manually
Advanced users may want to have more control over the flash update process. In this case,
use the steps below to update an image on a running system. It is presumed you are using
the memory layout as described in Appendix A of this document.
.
If the boot loader is corrupted, you have to first use a debugger to restore
the boot loader which then can be used to restore the remaining images.
#
run update_uboot_tftp
#
run update_kernel_tftp
#
run update_rootfs_tftp
#
run update_uboot_usb
#
run update_kernel_usb
#
run update_rootfs_usb
For more information about the use of U-Boot commands, refer Appendix A or
the related documentation in Appendix B.