I added my quick howto to androidx86.org and copy it here. This howto
applies for Geode architecture optimization, but is quite generic so
it should be easy to modify this for every x86 kernel

* Checkout the cupcake branch.
* In the cupcake folder: cd kernel
* cp ../vendor/asus/eee_701/kernel.config .config
* make menuconfig or use someone elses config
* Next, make your changes to the config. Easiest thing to do is to use
no modules and compile everything in the kernel
   * General Setup->Processor type and features, select your processor
type (e.g. Geode LX)
   * Device drivers/sound support/alsa/PCI sound devices/CS65535/6
audio (for geode or take your sound chipset)
   * Device drivers/graphics support/Support for Framebuffer devices/
VESA VGA graphics support (works better than Geode framebuffer
support)
   * Device drivers/graphics support/console display driver support/
VGA 8x8 font
   * Device drivers/graphics support/console display driver support/
VGA 8x16 font
   * For geode: Bus Options/geode multi-function general purpose timer
MFGPT events
   * Device drivers/SATA and PATA drivers select your chipset (Geode:
CS5530/5/6 depending on chipset)
   * Also add support for your input devices (touchscreen, ...)
   * !!! Please other important stuff here !!!!!!!
* Now build the kernel with make bzImage
* If you get a compilation error in alarm.c, get the fix for kernel/
drivers/alarm.c (search android-porting or patches list for the file)
* If you selected modules above do a make modules
* cp arch/i386/boot/bzImage ../vendor/asus/eee_701/kernel
* rm ../vendor/asus/eee_701/kernel/modules/*
* If you built modules, do a find . -name *.ko -exec cp {} ../vendor/
asus/eee_701/kernel/modules/
* modify ../vendor/asus/eee_701/Android.mk, change "kernel_modules :=
" and the lines below to the list of your modules or leave blank if
none
* modify ../vendor/asus/eee_701/BoardConfig.mk and append to
BOARD_KERNEL_CMDLINE the part "vga=788"
* !!! Important step if you built before: rm out/target/product/
eee_701/root/lib/modules/* out/target/product/eee_701/installer/root/
lib/modules/*
* TARGET_ARCH=x86 TARGET_PRODUCT=eee_701 DISABLE_DEXPREOPT=true make -
j2 installer_img
* cd out/target/product/eee_701/installer/
* become root
* run Chris' make-live script to put it on a stick and try.

Good luck for those who want to try or help.

Jeroen

On Jan 19, 10:17 pm, Jeroen Ost <[email protected]> wrote:
> I am working on a port to AMDGeodelow power platform.
>
> So far I managed to get Android booting, with ethernet and sound, but
> theGeodeLX framebuffer driver takes a full second to refresh the
> screen. Also probably because of this, you don't see the Android logo
> during boot because there are too many screen updates.
> With the VESA framebuffer it works. Keyboard support is buggy at the
> moment (softkeyboard crashes) as reported elsewhere
>
> As a summary, what I did was
> - Follow instructions for eee701 port but compile own kernel
> - compile kernel forGeodeLX (default = 6x86)
> - add soundcard driver
> - add CS5350,-5 and -6 drivers for PATA
> - include realtek 8139 support
> - activate framebuffer support in kernel
>
> This is more or less extra from the kernel.config from eee701:
> CONFIG_MGEODE_LX=y
> CONFIG_GEODE_MFGPT_TIMER=y
> CONFIG_HW_RANDOM_GEODE=y
> CONFIG_PATA_CS5530=y
> CONFIG_PATA_CS5535=y
> CONFIG_PATA_CS5536=y
> CONFIG_SND_CS5535AUDIO=y
> CONFIG_X86_GENERICARCH=y
> CONFIG_8139TOO=y
> CONFIG_8139TOO_PIO=y
>
> important thing to note is that after compiling the kernel, the old
> modules from a previous build in /out/target/product/eee_701/root/lib/
> modules and installer/lib/modules are NOT cleaned up automatically and
> the fbcon.ko which is there will probably crash your kernel if you
> compiled fbcon in.
> Also you need to adapt Android.mk in vendor/asus/eee701 to include
> only the modules you need and nothing else.
>
> I'll write a completer howto later.
>
> Jeroen
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to