Difference between revisions of "Android Kernel Installation"

From eLinux.org
Jump to: navigation, search
(On a board using an SDCARD)
(add to category:android)
Line 31: Line 31:
  
 
Back to [[Android portal]]
 
Back to [[Android portal]]
 +
 +
[[Category:Android]]

Revision as of 19:21, 5 November 2009

How to use a new kernel with the emulator or on a product.

In general, this will be very product-specific.

With the G1/ADP1

On the ADP1, you can boot using a specific kernel using fastboot, which will send it to the board as part of the bootup sequence. Specify the kernel as one of the parameters to the 'fastboot boot' option. See http://www.gotontheinter.net/content/fastboot-cheat-sheet for details.

Also, you can install the kernel into a recovery image, and install the recovery image using the system recovery procedure.

You can create a "boot" image directly, and install that to the boot or recovery flash partition manually. This can be done either using a running kernel or using fastboot.


With the emulator

You can specify the kernel to use with the emulator using the '-kernel' command line option.

There are some interesting notes about using the emulator without specifying a AVD file at: http://groups.google.com/group/android-platform/browse_thread/thread/591290fde1e9865a

On a board using an SDCARD

For an OMAP EVM, using the Android image available from Mistral, place a new uImage on the SDCARD at the root the vfat partition. The bootloader will run the commands in the

Back to Android portal