Difference between revisions of "Android Kernel Installation"

From eLinux.org
Jump to: navigation, search
(With the G1/ADP1: link to instructions for making and updating flash image for ADP1)
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
See http://www.gotontheinter.net/content/fastboot-cheat-sheet for details.
 
See http://www.gotontheinter.net/content/fastboot-cheat-sheet for details.
  
Also, you can install the kernel into a recovery image, and install
+
=== Installing a boot image ===
the recovery image using the system recovery procedure.
+
 
+
 
You can create a "boot" image directly, and install that
 
You can create a "boot" image directly, and install that
 
to the boot or recovery flash partition manually.  This
 
to the boot or recovery flash partition manually.  This
 
can be done either using a running kernel or using fastboot.
 
can be done either using a running kernel or using fastboot.
  
 +
See these instructions for doing that:
 +
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
 +
 +
Also, you can install the kernel into a recovery image, and install
 +
the recovery image using the system recovery procedure.
  
 
== With the emulator ==
 
== With the emulator ==
Line 26: Line 29:
  
 
== On a board using an SDCARD ==
 
== On a board using an SDCARD ==
 +
=== OMAP EVM ===
 
For an OMAP EVM, using the Android image available from Mistral, place a
 
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
 
new uImage on the SDCARD at the root the vfat partition.  The bootloader
will run the commands in the
+
will run the commands (from where??) to load the uImage and boot it.
 +
 
 +
Note that for the OMAP EVM, you need to have the board configured to
 +
boot from sdcard, rather than from flash.
  
Back to [[Android Portal]]
+
[[Category:Android]]

Latest revision as of 23:30, 22 September 2010

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.

Installing a boot image

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.

See these instructions for doing that: http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images

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

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

OMAP EVM

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 (from where??) to load the uImage and boot it.

Note that for the OMAP EVM, you need to have the board configured to boot from sdcard, rather than from flash.