The only free and comprehensive online etymological dictionary of the Spanish language
firme (Adjective) "firm"

12th cent. From Vulgar Latin firmis 'id.,' from Latin firmus "strong." From Proto-Italic *fermo- 'id.' From Proto-Indo-European *dher-mo- "hold." From the root *dher- "to hold."

Romance: Western Vulgar Latin: Portuguese firme, Catalan ferm, French ferme, Italian fermo; Eastern Vulgar Latin: Romanian ferm; Sardinian: fírmu

Indo-European: Indo-Iranian: Sanskrit dhárman- "support," "hold," "law"