"The kernel image is not raw format: Invalid Parameter" flashing ARM-TF+Android for Hikey960


I have the master branch of android https://android.googlesource.com/platform/manifest -b master
I have the hikey kernel from google https://android.googlesource.com/kernel/hikey-linaro
I am building my own ARM-TF. Commit details are below,

l-loader : testing/hikey960_v1.2
arm-trusted-firmware : integration
OpenPlatfomrPkg : testing/hikey960_v1.3.4
uefi-tools : master (pulled on August 31 2017)
edk2 : testing/hikey960_v2.5

Added dtb image creation entry in hikey_defconfig following https://android-review.googlesource.com/#/c/kernel/hikey-linaro/+/501533/
After compiling the kernel copied /hikeyKernel/hikey-linaro/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dtb to android as hi3660-hikey960.dtb-4.9
and /android/hikeyKernel/hikey-linaro/arch/arm64/boot/Image.gz-dtb as Image.gz-hikey960-4.9 to android. Then compiled android. Then after flushing hikey960 with ptable-aosp-32g.img, sec_xloader.img, l-loader.bin, fip.bin, boot.img, dt.img, system.img, cache.img, userdata.img getting kernel image is not in raw format.

.[Bds]Booting Boot from SD
[Bds]Booting Grub
[Bds]Booting Android Boot
add-symbol-file /home/dhiman/colossus5/simAsTpm/edk2/Build/HiKey960/DEBUG_GCC5/AARCH64/EmbeddedPkg/Application/AndroidBoot/AndroidBootApp/DEBUG/AndroidBootApp.dll 0xB9B07000
Loading driver at 0x000B9B06000 EntryPoint=0x000B9B07000 AndroidBootApp.efi
The kernel image is not raw format: Invalid Parameter
ERROR: Device Tree header not valid (err:-9)
Failed to get attached FDT from the end of raw kernel: Invalid Parameter
Failed to boot from partition: Invalid Parameter
Error: Image at 000B9B06000 start failed: Invalid Parameter

also getting the below error which I am not understanding

    Ftw: Workspace or Spare block does not exist!
    Error: Image at 000BF034000 start failed: Invalid Parameter

I am using the below process to get the dtb and Image.gz from hikey kernel to android and building the bootimage

Building the kernel
Run the following commands:
git clone https://android.googlesource.com/kernel/hikey-linaro
cd hikey-linaro
git checkout -b android-hikey-linaro-4.9 origin/android-hikey-linaro-4.9
make ARCH=arm64 hikey960_defconfig
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- -j24

Update the kernel in the boot image.
    Copy hi3660-hikey960.dtb (arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dtb) to the hikey-kernel directory as file: hi3660-hikey960.dtb-4.9
    Copy the Image file (arch/arm64/boot/Image.gz) to the hikey-kernel directory as file: Image.gz-hikey960-4.9

Make the boot image:
make bootimage -j24

https://source.android.com/setup/devices - Link I am using

Q1. What could be the problem?
Q2. Is there anyway to make the console logging more verbose in Hikey960?