c. 1200, "fighting equipment, armor and weapons," probably from Old Norse gørvi (plural gørvar) "apparel, gear," related to görr, gørr, gerr "skilled, accomplished; ready, willing," and to gøra, gørva "to make, construct, build; set in order, prepare," a very frequent verb in Old Norse, used in a wide range of situations from writing a book to dressing meat.
This is from Proto-Germanic *garwjan "to make, prepare, equip" (source also of Old English gearwe "clothing, equipment, ornament," which may be the source of some uses; Old Saxon garwei; Dutch gaar "done, dressed;" Old High German garo "ready, prepared, complete," garawi "clothing, dress," garawen "to make ready;" German gerben "to tan"). Old English glossed Latin apparatus with gearcung.
From early 14c. as "wearing apparel, clothes, dress;" also "harness of a draught animal; equipment of a riding horse." From late 14c. as "equipment generally; tools, utensils," especially the necessary equipment for a certain activity, as the rigging of a sailing ship. It was used generically as an affix in 16c. canting slang for "thing, stuff, material."
Meaning "toothed wheel in machinery" is attested by 1520s; specific mechanical sense of "parts by which a motor communicates motion" is from 1814; specifically of a vehicle (bicycle, automobile, etc.) by 1888. Slang for "male sex organs" from 1670s.
Old English up, uppe, from Proto-Germanic *upp- "up" (source also of Old Frisian, Old Saxon up "up, upward," Old Norse upp; Danish, Dutch op; Old High German uf, German auf "up"; Gothic iup "up, upward," uf "on, upon, under;" Old High German oba, German ob "over, above, on, upon"), from PIE root *upo "under," also "up from under," hence also "over."
As a preposition, "to a higher place" from c. 1500; also "along, through" (1510s), "toward" (1590s). Often used elliptically for go up, come up, rise up, etc. Up the river "in jail" first recorded 1891, originally in reference to Sing Sing, which is up the Hudson from New York City. To drive someone up the wall (1951) is from the notion of the behavior of lunatics or caged animals. Insulting retort up yours (scil. ass) is attested by late 19c.
1550s, "to drive and catch (swans)," from up (adv.). Intransitive meaning "get up, rise to one's feet" (as in up and leave) is recorded from 1640s. Sense of "to move upward" is recorded from 1737. Meaning "increase" (as in up the price of oil) is attested from 1915. Compare Old English verb uppian "to rise up, swell." Related: Upped; upping. Upping block, used for mounting or dismounting horses, carriages, etc., is attested from 1796 (earlier was horsing-block, 1660s).