allow flash start address and firmware offset to be set on the command line (#4666)