Fix flash partitions.  Modify configurations