I'm trying to add a kernel module to the android kernel for my Nexus 7 (flo). So I built the kernel and copied the zImage to the following location
/source_tree_location/device/asus/flo-kernel/kernel
in the android source tree (I am trying to build JB). The kernel image is generated without any issues.
Then I extracted the binaries for the hardware using the scripts provided by Qualcomm, Broadcom, asus. Source build/envsetup.sh, chose the target as aosp_flo_userdebug and built the source tree.This too builds without a problem
Then I flashed the image using fastboot:
fastboot flashall
from the root location of the source tree. But my device doesn't boot. It seems to go into a bootloop with it only going till the Google logo
Is there anything I am doing wrong?