ADXL345 device support in U-Boot for Beaglebone black

Need Complete steps for U-Boot
a) steps to pull U-boot and patch for Beagle Bone black
b) Steps to compile
c) Steps to prepare SD Card and load image to Beagle Bone Black.
d) Steps to add device tree configuration for ADXL345 device.

Could someone please help me out of these issues.


Pin Configuration of ADXL345