Firefly Open Source Community

Title: Unable to boot with self-built Kernel [Print This Page]

Author: leonidosaurio    Time: 6/9/2017 07:46
Title: Unable to boot with self-built Kernel
Hi,
I am unable to boot a self-built kernel image in Ubuntu. I was able to successfully flash prebuilt images of Android 7.1, Ubuntu 16.04 and the Android-Ubuntu dual boot. Right now, RK3399 has Ubuntu 16.04 only.


When trying to flash new boot.img, system doesn't boot. I reused same ingredients as in prebuilt boot.img, just replacing kernel.img.
Find serial debug logs attached.

Any clue what I may be missing?

Regards,
-Leo M.

Logs_20170608.zip

20.07 KB, Down times: 4

Logs


Author: isle    Time: 6/9/2017 10:04
have you use the kernel in the gitlab?
Get the source code ːgit clone https://TeeFirefly@gitlab.com/TeeFirefly/linux-kernel.git.

cross compile tools ː git clone https://TeeFirefly@gitlab.com/TeeFirefly/prebuilts.git.
Author: leonidosaurio    Time: 6/10/2017 06:36
Yes, I've been using the gitlab kernel.

I cleaned my environment, used the CROSS_COMPILE path explicitly when issuing the 'make' command, and then used the ./arch/arm64/boot/Image + resource.img file, plus the RAMdisk from the prebuilt Ubuntu image. That worked for me now.

Thanks!




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1