BeagleBone green wireless image

Hi,
I want to build the image for Beaglebone green wireless image from the start.
As I am totally new to beaglebone so don’t know from where to get the whole source code and how to proceed further.
Please help me in the same.