[U-Boot] [PATCH 2/2 v2] mpc85xx/t104x: Add deep sleep framework support

York Sun yorksun at freescale.com
Tue Mar 11 17:03:37 CET 2014


On 03/10/2014 11:16 PM, Tang Yuantian-B29983 wrote:
>> -----Original Message-----
>> From: Sun York-R58495
>> Sent: Tuesday, March 11, 2014 1:45 AM
>> To: Tang Yuantian-B29983
>> Cc: u-boot at lists.denx.de; Li Yang-Leo-R58472; Jin Zhengxiong-R64188; Wood
>> Scott-B07421
>> Subject: Re: [PATCH 2/2 v2] mpc85xx/t104x: Add deep sleep framework
>> support
>>
>> On 02/28/2014 03:09 AM, Yuantian.Tang at freescale.com wrote:
>>> From: Tang Yuantian <yuantian.tang at freescale.com>
>>>
>>> When T104x soc wakes up from deep sleep, control is passed to the
>>> primary core that starts executing uboot. After re-initialized some IP
>>> blocks, like DDRC, kernel will take responsibility to continue to
>>> restore environment it leaves before.
>>>
>>> Signed-off-by: Tang Yuantian <Yuantian.Tang at freescale.com>
>>> ---
>>> v2:
>>> 	- added explaination for CONFIG_DEEP_SLEEP
>>> 	- fixed some issues
>>>
>>>  README                                 |  4 +++
>>>  arch/powerpc/cpu/mpc85xx/asm-offsets.c | 24 ++++++++++++++
>>
>> Please fix the out-of-tree compiling issue. You will see it if you run
>> make with O=<path> parameter.
>>
>> York
> 
> Could you be more specific? What *path* should I give?
> If I do the below, I got error:
> 
> $ make O=/home/tangyt/opensource/u-boot/
>   /home/tangyt/opensource/u-boot is not clean, please run 'make mrproper'
>   in the '/home/tangyt/opensource/u-boot' directory.
> make[1]: *** [prepare3] Error 1
> make: *** [sub-make] Error 2
> 

It is out-of-tree compiling. You should use a clean path.

cd <u-boot source)
mkdir ../build
make O=../build T1040QDS_config
make O=../build

You should add other flags you normally use.

York





More information about the U-Boot mailing list