Android Build no boot up

Hi!

I have a problem with Android build. I can compile Longan kernel and then compile Android from source without any error. I access Longan “longan/out directory” and extract the img file to flash it on M4Berry with PhoenixSuit. Once I flash the new ROM on M4Berry, the board fails to boot. Can anyone tell me if this has happened to them and what could be the cause?

Thanks you so much

Can you provide the compilation command? Also, how did you download the code?