[llvmlinux] Android Kernel Package

Tinti viniciustinti at gmail.com
Tue Nov 12 00:47:12 UTC 2013

On Mon, Nov 11, 2013 at 10:00 PM, Charlebois, Mark <mcharleb at quicinc.com>wrote:

>  We don't currently host any binaries on the project.
> I don't know what hardware you are trying to run Android on... Nexus
> devices? If so, there already is a Makefile to build the Android kernel for
> Nexus 7.

By the way, we may have Nexus 4 too or even Galaxy S3. Last time I tried
with Behan it was not working but I have not tried anymore ...
Nexus 7 (2012) has worked more than once.

> We have to package the kernel into a boot.img and I don't know if we have
> done that. We would need a ramdisk for the device and or an existing
> boot.img to unpack and repack.

We did. By using mkbootimg, unpackimg and abootimg we can do that.

Can Linaro build and host the binaries if you have an automated script? You
> may have to pull a boot.img off of a Nexus device unless you want to build
> a boot.img from source.

You can load a specific boot.img via fastboot.
> Mark
> Sent from my HTC One™ X smartphone


> ----- Reply message -----
> From: "Renato Golin" <renato.golin at linaro.org>
> To: "Compiling the Linux Kernel with Clang/LLVM" <
> llvmlinux at lists.linuxfoundation.org>
> Subject: [llvmlinux] Android Kernel Package
> Date: Mon, Nov 11, 2013 15:35
>  Hi Folks,
>  I know you guys have buildbots and stuff, but I couldn't find a place
> where I could download the Android kernel zip, so I can flash a phone and
> boot to terminal. Or maybe that's asking too much for the moment... :D
>  Basically, what I need is a Clang-compiled Android kernel that I can at
> least boot on some (any) device. The idea being that, once we have that on
> one device, we'll be able to run other tests with it, and eventually adding
> other Clang-compiled Android pieces to it, incrementally.
>  I'd also want to incrementally add new devices, so that other people
> could test at home, or at their offices, CI systems, etc.
>  I'm asking you guys because:
>  1. I don't have the expertise for building the Android kernel for
> specific devices
>  2. You guys already have patches that make the kernel compile at all
> (right?)
>  3. Checking out from a tree with the patches applied is ok, but would be
> good to know after which merge from AOSP, the tree is compiling, and I'm
> assuming the buildbots will tell you that.
>  Did I get it right? Or am I just making things up?
>  Let me know,
> --renato
> _______________________________________________
> LLVMLinux mailing list
> LLVMLinux at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux

Simplicity is the ultimate sophistication
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20131111/52683f8b/attachment-0001.html>

More information about the LLVMLinux mailing list