Re: Re: [android-porting] virtual memory configure effect the Android boot

2010-07-23 Thread Subramani Venkatesh
if you do not change these address, you will have problems heap address which grows from top to bottom, however this is used for dynamic memory management in application, check TASK_UNMAPPED_BASE in your architecture.. 2010/7/22 wjyhbnu wjyh...@126.com: No, where is the Base heap address int

Re: [android-porting] virtual memory configure effect the Android boot

2010-07-23 Thread wjydlut
This is my define, what value I must give to TASK_UNMAPPED_BASE ? thanks! #define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) #define TASK_SIZE (UL(CONFIG_PAGE_OFFSET) - UL(0x0100)) #define TASK_UNMAPPED_BASE (UL(CONFIG_PAGE_OFFSET) / 3) Subramani Venkatesh wrote: if

Re: [android-porting] virtual memory configure effect the Android boot

2010-07-23 Thread wjydlut
This is my define, what value I must give to TASK_UNMAPPED_BASE if I configure virtual memory as 2G/2G? thanks! #define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET) #define TASK_SIZE (UL(CONFIG_PAGE_OFFSET) - UL(0x0100)) #define TASK_UNMAPPED_BASE (UL(CONFIG_PAGE_OFFSET)

[android-porting] virtual memory configure effect the Android boot

2010-07-22 Thread wjydlut
When I configure Linux kernel with --Kernel Features ---Memory split (3G/1G user/kernel split) The Android can boot proper. But if I configure Linux kernel with --Kernel Features ---Memory split (2G/2G user/kernel split) The Android boot failed with the following logs and restart. [

Re: [android-porting] virtual memory configure effect the Android boot

2010-07-22 Thread Subramani Venkatesh
Have you changed Base heap address in the kernel? -Subbu On Thu, Jul 22, 2010 at 5:31 PM, wjydlut wjyh...@126.com wrote: When I configure Linux kernel with --Kernel Features     ---Memory split (3G/1G user/kernel split) The Android can boot proper. But if I configure Linux kernel with