How do small farmers in Palampur manage to fulfill their capital requirements

How do small farmers in Palampur manage to fulfill their capital requirements. What is the capital needed for?

In early 19th century, indigo and opium were two major commercial crops grown in India.