My colleague solved this problem and made emulator support 1024 * 600
screen. Before, I searched groups and found nothing about it. So I am
sharing our solution with others:

1.modify memory.h and change 2M to 4M
~/android1.6r1/kernel/arch/arm/include/asm/memory.h
#ifndef CONSISTENT_DMA_SIZE
//#define CONSISTENT_DMA_SIZE SZ_2M
#define CONSISTENT_DMA_SIZE SZ_4M
#endif

2.compile linux kernel
make ARCH=arm CROSS_COMPILE=<android source path>/prebuilt/linux-x86/
toolchain/arm-eabi-4.4.0/bin/arm-eabi- goldfish_defconfig
make ARCH=arm CROSS_COMPILE=<android source path>/prebuilt/linux-x86/
toolchain/arm-eabi-4.4.0/bin/arm-eabi- zImage

3.use new kernel to start up emulator

If anything wrong here, please let us know.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to