Unpack and Pack mdm9607-boot.img

I am working on Quecopen and want to modify Device tree for UART pins.
I see this in the document but I can’t unpack .img file.

How to Unpack and Pack boot.img file.

Hi, which document is it?
To modify the device tree you should modify kernel source code.