How to change the kernel and device tree for rpb?

How I can generate linux kernel and device tree for Hikey960 ?
And how I can flash on hikey ?