Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Unable to boot with self-built Kernel

18

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
18

Unable to boot with self-built Kernel

Posted at 6/9/2017 07:46:52      View:2988 | Replies:2        Print      Only Author   [Copy Link] 1#
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

Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 6/9/2017 10:04:33        Only Author  2#
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.
Reply

Use props Report

18

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
18
Posted at 6/10/2017 06:36:03        Only Author  3#
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!
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list