To the end of the chapter. From the beginning to the end of a proceeding. The allusion is to the custom of reading an entire chapter in the first and second lesson of the Church service. This is no longer a general rule in the Church of England.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894