I guess you could take as a base workflow, how it’s done on the ground of the hut in this course:
https://cgcookie.com/lessons/ground-detail
It’s not too complex really, it’s molding a mesh to conform to a pile and adding a texture, be it procedural or image.