The "friend" meaning of the slang word chum originates from the nickname for a "chamber mate" or room mate at a boarding school.