[ME9210] U-Boot / Is it possible to adding a condition or test in the bootscript?

Hello,

I want to know if it is possible to add a condition or test in the file bootscript.

Because when the first boot we remove the partition 4 and resize partition 3.

If we need to flash the modules I want to test if the partition 4 is present or not. If it is not present I do not try to remove it.

Currently with no test, crash and stop reading the script if the partition 4 is absent.

thank you for your help

are you refering to an example like given in:

http://www.digi.com/support/kbase/kbaseresultdetl?id=3173

e.g. in your script your add/remove a partition with “intnvram set partition” …?