we forded the brook and wandered up into the foothills , gathering such late summer plants as still lingered , together with the ripening berries of early autumn and the thick yellow shelf fungus that sprouted from the trunks of trees in the small shady glens .