Kernel build and image making

I have just got my hikey960 board recently. The latest pre-build debian works fine except HDMI.
How do I make HDMI work?
and I want to build my own linux kernel.
where is the latest kernel src code?
How to make my own kernel image and flash it when build is done?

Great thanks if anyone help.