Kernel not booting when supplying boot parameter mem

tiejun.chen tiejun.chen at windriver.com
Wed Dec 28 17:18:33 EST 2011


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