Hello All,
I followed the recently updated procedure to build the AOSP and Kernel from source.
Step 1: Download the AOSP source:
$ repo init -u https://android.googlesource.com/platform/manifest -b master
$ git clone https://github.com/96boards-hikey/android-manifest.git -b hikey970_v1.0 .repo/local_manifests
$ repo sync -j$(nproc) -c
$ source build/envsetup.sh
$ lunch hikey970-userdebug
Step 2: Build Kernel
- Build ramdisk
- copy ramdisk to tools folder
- Modify the compilation script.
- build kernel
While building the kernel, I get the following error:
LD [M] net/netfilter/xt_LOG.ko
LD [M] net/netfilter/xt_addrtype.ko
Kernel Image build success!
CHK scripts/mod/devicetable-offsets.h
DTC arch/arm64/boot/dts/hisilicon/kirin970-hikey970.dtb
Hikey970 dtb build success!
Image-dtb build success!
./build_kernel.sh: line 62: mkbootimg: command not found
Boot Image build fail!
It seems that neither the Image.gz-dtb is being created nor the boot.img.
Can anyone please let me know where the problem might lie?
Thanks and regards,
Nishad