How to flash custom kernel to Edge 2?

I have managed to compile the kernel, but how to flash it to the device?

I use Linux and have fastboot ready.

  Image:  resource.img (with rk3588s-khadas-edge2.dtb logo.bmp logo_kernel.bmp) is ready
  Image:  boot.img (with Image  resource.img) is ready
  Image:  zboot.img (with Image.lz4  resource.img) is ready

Which of these images to flash to device? What fastboot commands to use?

Please check here:

http://docs.khadas.com/products/sbc/edge2/configurations/upgrade-linux-kernel

This is for GNU/Linux install.

How to do it on Android?

@peerchemist Edge2 Build Android [Khadas Docs]


Edge2 Install OS into eMMC via USB Flash Tool [Khadas Docs]