Dunhuang manuscripts
The "Long Scroll of the Treatise on the Two Entrances and Four Practices" written by Tan Lin (曇林; 506–574), contains teachings which are attributed to Bodhidharma. The text is known from the Dunhuang manuscripts. The two entrances to enlightenment are the entrance of principle and the entrance of practice: