History log of /external/qemu/distrib/build-kernel.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8bb296a63c3f5e1d34be18216565e26e51c8b072 27-May-2014 David 'Digit' Turner <digit@google.com> build-kernel.sh: Support 'arm64' architecture.

This patch adds support for --arch=arm64 to the build-kernel.sh
script. Note that this requires android-goldfish-3.10 or higher,
and is currently limited to the 'defconfig' default config.

This is enough to build an AARCH64 kernel, but there is no guarantee
at this point that it can run under either QEMU or the Android emulator.

Change-Id: Idc3ecc3e3b9b8f06aeba9c4710903f55c64331df
/external/qemu/distrib/build-kernel.sh
b6bd3ac4d6576e6280469be01685747ffa255874 31-Jan-2014 David 'Digit' Turner <digit@google.com> build-kernel.sh: Update to support x86_64 kernels.

This updates the emulator kernel rebuild script in several ways:

- Support for --arch=x86_64 (need android-goldfish-3.10).
- Support for --gcc-version=<version>.
- Switch to GCC 4.7 by default, except for 2.6.29/x86 which doesn't build.
- Support for linux-3.10 x86 builds (config is i386_emu instead of goldfish).
- New naming: kernel-<version>-qemu-<arch> where <version> is the kernel
version, and <arch> is one of 'armv5, armv7, x86, x86_64 or mips'.

Note that putting the version number in the file name is important to
let the emulator adapt its kernel command-line to changes that appeared
recently (e.g. /dev/ttyS* -> /dev/ttyGF*).

I also checked that new kernels work in the following combinations:

android-goldfish-2.6.29 [arm, x86, mips]
android-goldfish-3.4 [arm, x86]

I could also build (but not run them yet):
android-goldfish-3.10 [x86, x86_64]

Change-Id: Ic66ca7a646f9cc3eb715a3c96ce3076cc17b6221
/external/qemu/distrib/build-kernel.sh
604a721180f17ec3c55b63cc3188097885603d4e 09-Apr-2013 Andrew Hsieh <andrewhsieh@google.com> Merge "build-kernel.sh: add ccache option"
84b2e58be9ca804fef3a9da630a96fbcc9890600 08-Apr-2013 Young-Ho Cha <ganadist@gmail.com> build-kernel.sh: apply --armv7 option when ARCH is arm

There is a bug that build script is trying with goldfish_armv7_defconfig,
when ARCH is not arm.

Change-Id: I6db744452c3f48e94e384605c59baf268f45b933
Signed-off-by: Young-Ho Cha <ganadist@gmail.com>
/external/qemu/distrib/build-kernel.sh
2905b20226f06f50140804fe130764e98f2bd975 04-Apr-2013 Young-Ho Cha <ganadist@gmail.com> build-kernel.sh: add ccache option

Change-Id: I103362f461db8c8a7a10b3833f73672331926dba
Signed-off-by: Young-Ho Cha <ganadist@gmail.com>
/external/qemu/distrib/build-kernel.sh
40c434bda53accf3e837866d64a5323ac571edc4 08-Apr-2013 Andrew Hsieh <andrewhsieh@google.com> Merge "build-kernel.sh: add savedefconfig option"
63e03bb38594807c04d9bb184e3204235916e689 04-Apr-2013 Young-Ho Cha <ganadist@gmail.com> ARM: build-kernel.sh: add --armv5 option

AOSP has dropped support for armv5, so use goldfish_armv7 as default
config
And add --armv5 option for backwards compatibility.

Change-Id: I19bf731eb3629250b98854648ec8320e2b9b3344
Signed-off-by: Young-Ho Cha <ganadist@gmail.com>
/external/qemu/distrib/build-kernel.sh
8621048ded576220927651915e2d6942096f31bc 04-Apr-2013 Young-Ho Cha <ganadist@gmail.com> build-kernel.sh: add savedefconfig option

add option --savedefconfig, and it should help to maintain kernel config easily.

Change-Id: Iddf670ca914756a2a2c6894e9c8b445928c84743
Signed-off-by: Young-Ho Cha <ganadist@gmail.com>
/external/qemu/distrib/build-kernel.sh
ebba0e7bc8fe2cddaf2c7fd13c04a00353793726 15-Jan-2013 David 'Digit' Turner <digit@android.com> build-kernel.sh: Add --verbose flag

This adds a --verbose flag to build-kernel.sh to dump the
actual compiler commands being used during the build.

Change-Id: I3aa7d9e7a45ea13d08b517b3c17f73697f9fe73f
/external/qemu/distrib/build-kernel.sh
9bc2c5eba30c83bf3a1ae78f99a79eb763fd267b 05-Jun-2012 Bhanu Chetlapalli <bhanu@mips.com> [MIPS] Copy vmlinux to kernel-qemu

MIPS Qemu kernel build does not generate a compressed z/bzImage.

Change-Id: I74bb4a85c034f0b72fa2e81f13f79c140c01eabe
Signed-Off-By: Bhanu Chetlapalli <bhanu@mips.com>
/external/qemu/distrib/build-kernel.sh
9ada5ea3626964561ed983c64cf04bcdf44e6806 30-May-2012 Andrew Hsieh <andrewhsieh@google.com> Fixed prebuilt path and toolchain names

1) Use "prebuilts" instead of "prebuilt" to legalize BUILD_TOP
2) Update CROSSTOOLCHAIN and CROSSPREFIX for all arch
3) Add -fno-pic because some toolchain (eg. x86 and mips)
in prebuilts/gcc are NDK-compatible (ie. enforces -fpic, etc)

Verified to build working kernel-goldfish for all arch

Change-Id: I93ac8f0beeaae14aa4575629fd8eaf4af73ef7ce
/external/qemu/distrib/build-kernel.sh
77a5ed00afb5ef40081a59dabf3c90734d12f439 30-May-2012 Andrew Hsieh <andrewhsieh@google.com> Merge "[MIPS] Add MIPS support to build-kernel.sh"
88f828e91ff4f13fb3d4f873fc0eedd6ef49a156 22-May-2012 Bhanu Chetlapalli <bhanu@mips.com> [MIPS] Add MIPS support to build-kernel.sh

Enables building of mips goldfish kernel

Signed-Off-By: Bhanu Chetlapalli <bhanu@mips.com>
/external/qemu/distrib/build-kernel.sh
0621eeb599686e1d7dea3bf39ae8057bec574e0d 21-Apr-2012 H.J. Lu <hongjiu.lu@intel.com> Replace i686-android-linux with i686-linux-android

Author: "H.J. Lu" <hongjiu.lu@intel.com>
/external/qemu/distrib/build-kernel.sh
bc9cbbe2a02d84d57854c211449f6491a6140eab 14-Dec-2011 David 'Digit' Turner <digit@google.com> kernel: update build-kernel.sh script for x86

This updates the build-kernel.sh script to be able to rebuild
the x86 goldfish kernel from sources using our NDK-compatible
toolchain. This is needed because the toolchain is configured
with -mfpmath=sse and -fpic by default, which we need to disable.

Because the kernel build system doesn't allow us to provide extra
compiler flags easily, we create a "magic" wrapper toolchain to
do it for us (see toolbox.sh)

Change-Id: Ie868497dc5543d1149c51f354daa567863b638dc
/external/qemu/distrib/build-kernel.sh
6f0425a8f6d386d7ca10e69ad90cbd5d5c5228a9 03-Nov-2011 Andrew Hsieh <andrewhsieh@google.com> Fixed build-kernel.sh to set ZIMAGE when --cross is specified

Change-Id: I039cd6072795781a55d1f1280f9c2cf2d706b457
/external/qemu/distrib/build-kernel.sh
fe6c89d7d8684c112db7da6bbea12284c4896f3a 09-Mar-2011 David 'Digit' Turner <digit@android.com> Improve emulator kernel rebuild script.

- Add support for building on darwin-x86
- Automatically finds the cross-toolchain (arch-dependent) if --cross=<prefix> is not used.
- Add "Auto-config: <option>" message to indicate what was automatically configured
- Select appropriate names for output files
- Print their name on the terminal in case of success

Change-Id: I908392083bf724a426d5029dc0a7dd29e045c7a4
/external/qemu/distrib/build-kernel.sh
5c25d3d60c64efb11709b625714ca1dac7c043f4 05-Mar-2011 David 'Digit' Turner <digit@android.com> Add kernel-rebuilding script for the emulator.

Supports both arm and x86.

Change-Id: Ib4665eece4433f0a611b5420ef29785eeb26de1a
/external/qemu/distrib/build-kernel.sh