Kernel not booting when supplying boot parameter mem

Arshad, Farrukh Farrukh_Arshad at mentor.com
Wed Dec 28 20:26:10 EST 2011


>> Please check if the following commit is already in your kernel:
>> ------
>>     powerpc: Fix memory limits when starting at a non-zero address

>>     memblock_enforce_memory_limit() takes the desired maximum quantity of memory
>>     to end up with, not an address above which memory will not be used.

Thanks Tiejun, This fix was not there in the kernel and with this fix my both kernels are loading when providing mem parameter in the kernel boot parmas.

Regards,
Farrukh Arshad


-----Original Message-----
From: tiejun.chen [mailto:tiejun.chen at windriver.com] 
Sent: Wednesday, December 28, 2011 11:19 AM
To: Arshad, Farrukh
Cc: linuxppc-dev at lists.ozlabs.org
Subject: Re: Kernel not booting when supplying boot parameter mem

Arshad, Farrukh wrote:
> Hi Tiejun,
> 
> Thanks for your response. Yes, I am running two kernels one on each core in SAMP configuration on P1022RDK board. Given is my memory partitioning. Core 0 is loading fine but Core 1 is not loading. CONFIG_RELOCATABLE is not set.
> 
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Core                      	| Base Address  	|    Size                 			| Uboot parameters					| Kernel Configuration									|
> -----------------------------|---------------------------|-------------------------------------|------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|
> Core 0 (MEL RT Kernel) 	| 0x0000,0000   		| 0x1000,0000 - 256 (MB)   	|bootm_low = 0x0000,0000, bootm_size = 0x1000,0000	| CONFIG_PHYSICAL_START = 0x0000,0000, CONFIG_KERNEL_START = 0xC000,0000	|
> Core 1 (LTIB Kernel)      	|0x1000,0000    		| 0x0800,0000 - 128 (MB)   	|bootm_low = 0x1000,0000, bootm_size = 0x0800,0000	| CONFIG_PHYSICAL_START = 0x1000,0000, CONFIG_KERNEL_START = 0xC000,0000	|
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 

Please check if the following commit is already in your kernel:
------
    powerpc: Fix memory limits when starting at a non-zero address

    memblock_enforce_memory_limit() takes the desired maximum quantity of memory
    to end up with, not an address above which memory will not be used.

Tiejun


More information about the Linuxppc-dev mailing list