Gurukulam

In olden days whether study in gurukulam was offered for pupils of all varnas?. adiyen SriVaishnava dasan