9.3. Running the upgrade

The romwrite command also performs several checks to ensure the update is suitable. These include downgrading and checking the machine type matches the image.

Warning

Overriding any warnings may result in an inoperable system, so be sure you understand any warnings before continuing with the upgrade.

Example 9.2. The romwrite command producing warnings

>(tftpboot)eb110atx-romwrite-v173.bin
............................boot: booting 'able app1'
ROM Write: Version 1.00
(c) 2002, 2003 Simtec Electronics

Replacing current version 174 with image version 173
warning: Image version 173 is lower than running version 174
Image release number is 2003062801
warning: Image release 2003062801 is lower than running release 2003071701
warning: machine 3 is not supported by image
Warnings detected, proceed with upgrade (yes to continue) ? no
Upgraded cancelled by user input
>

The romwrite command may fail at the “Erasing Device” stage if the system supports physical non-volatile storage protection. This feature is currently present on all Simtec Electronics boards except the EB110ATX

A successful flash operation will result in a message asking the user to reset the platform. Until the system is reset, the old version of ABLE is still running.

Example 9.3. The romwrite command completing successfully

>shadow
shadowing ABLE into main memory
>(tftpboot)able.bast
............................boot: booting 'able app1'
ROM Write: Version 1.00
(c) 2002, 2003 Simtec Electronics

Replacing current version 174 with image version 220
Image release number is 2003091701
Machine is BAST
Flash: SST 39LF160 [0x00BF, 0x2782]
Initialising programmer:
Erasing device: done
Writing data: ............. done
Verifying data: ......................... done
Finishing operation:  done
Done! - Please Reset machine
>