Knights created on the field of battle. The king or general cut off the point of their flag, and made it square, so as to resemble a banner. Hence knights bannerets are called Knights of the Square Flag.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Knights Bannerets from Fact Monster: