Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-07 Thread Zhong Hongbo
On 07/07/2012 03:29 PM, Andreas Bießmann wrote: > Dear Zhong Hongbo, > > Am Freitag, 6. Juli 2012 schrieb Zhong Hongbo : > > On 07/06/2012 09:57 PM, Andreas Bießmann wrote: > > Dear Zhong Hongbo, > > > > On 06.07.2012 15:50, Zhong Hongbo wrote: > >> On 07/06/2012 09:23 PM, And

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-07 Thread Andreas Bießmann
Dear Zhong Hongbo, Am Freitag, 6. Juli 2012 schrieb Zhong Hongbo : On 07/06/2012 09:57 PM, Andreas Bießmann wrote: > Dear Zhong Hongbo, > > On 06.07.2012 15:50, Zhong Hongbo wrote: >> On 07/06/2012 09:23 PM, Andreas Bießmann wrote: >>> On 06.07.2012 14:20, Zhong Hongbo wro

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-06 Thread Zhong Hongbo
On 07/06/2012 11:26 PM, Albert ARIBAUD wrote: > Hi Zhong Hongbo, > > On Fri, 06 Jul 2012 22:04:21 +0800, Zhong Hongbo > wrote: >> On 07/06/2012 09:57 PM, Andreas Bießmann wrote: >>> Dear Zhong Hongbo, >>> >>> On 06.07.2012 15:50, Zhong Hongbo wrote: On 07/06/2012 09:23 PM, Andreas Bießmann w

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-06 Thread Albert ARIBAUD
Hi Zhong Hongbo, On Fri, 06 Jul 2012 22:04:21 +0800, Zhong Hongbo wrote: > On 07/06/2012 09:57 PM, Andreas Bießmann wrote: > > Dear Zhong Hongbo, > > > > On 06.07.2012 15:50, Zhong Hongbo wrote: > >> On 07/06/2012 09:23 PM, Andreas Bießmann wrote: > >>> On 06.07.2012 14:20, Zhong Hongbo wrote: >

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-06 Thread Zhong Hongbo
On 07/06/2012 09:57 PM, Andreas Bießmann wrote: > Dear Zhong Hongbo, > > On 06.07.2012 15:50, Zhong Hongbo wrote: >> On 07/06/2012 09:23 PM, Andreas Bießmann wrote: >>> On 06.07.2012 14:20, Zhong Hongbo wrote: From: Zhong Hongbo In currently, when __bss_start is equal to __bss_end_

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-06 Thread Andreas Bießmann
Dear Zhong Hongbo, On 06.07.2012 15:50, Zhong Hongbo wrote: > On 07/06/2012 09:23 PM, Andreas Bießmann wrote: >> On 06.07.2012 14:20, Zhong Hongbo wrote: >>> From: Zhong Hongbo >>> >>> In currently, when __bss_start is equal to __bss_end__, >>> The bss loop will clear all the things in memory spa

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-06 Thread Zhong Hongbo
On 07/06/2012 09:23 PM, Andreas Bießmann wrote: > On 06.07.2012 14:20, Zhong Hongbo wrote: >> From: Zhong Hongbo >> >> In currently, when __bss_start is equal to __bss_end__, >> The bss loop will clear all the things in memory space. >> >> But just only when __bss_end__ greater than __bss_start__,

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-06 Thread Andreas Bießmann
On 06.07.2012 14:20, Zhong Hongbo wrote: > From: Zhong Hongbo > > In currently, when __bss_start is equal to __bss_end__, > The bss loop will clear all the things in memory space. > > But just only when __bss_end__ greater than __bss_start__, > we do the clear bss section operation. > > Signed-

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-06 Thread Zhong Hongbo
On 07/06/2012 01:44 PM, Albert ARIBAUD wrote: > Hi Zhong, > > On Thu, 5 Jul 2012 22:35:15 +0800, Zhong Hongbo wrote: >> From: Zhong Hongbo >> >> In currently, when __bss_start is equal to __bss_end__, >> The bss loop will clear all the things in memory space. >> >> But just only when __bss_end_

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-06 Thread Zhong Hongbo
On 07/05/2012 11:52 PM, Andreas Bießmann wrote: > On 05.07.2012 17:38, Andreas Bießmann wrote: > > > >>> -clbss_l:strr2, [r0]/* clear loop... >>> */ >>> +clbss_l: >>> + cmp r1, r0 >>> + bls clbss_end >>> + str r2, [r0]

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-06 Thread Zhong Hongbo
Hi Andreas, On 07/05/2012 11:38 PM, Andreas Bießmann wrote: > Dear Zhong Hongbo, > > this is arm related and should therefore apply to all the different > arch/arm/cpu/*/start.S (as long as they have SPL support). Ok, I will do it. Thanks for your advise. > > On 05.07.2012 16:35, Zhong Hongbo w

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-05 Thread Albert ARIBAUD
Hi Zhong, On Thu, 5 Jul 2012 22:35:15 +0800, Zhong Hongbo wrote: > From: Zhong Hongbo > > In currently, when __bss_start is equal to __bss_end__, > The bss loop will clear all the things in memory space. > > But just only when __bss_end__ greater than __bss_start__, > we do the clear bss sect

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-05 Thread Andreas Bießmann
On 05.07.2012 17:38, Andreas Bießmann wrote: >> -clbss_l:str r2, [r0]/* clear loop...*/ >> +clbss_l: >> +cmp r1, r0 >> +bls clbss_end >> +str r2, [r0]/* clear loop...*/ >> add r0, r0, #4 >> -

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-05 Thread Andreas Bießmann
Dear Zhong Hongbo, this is arm related and should therefore apply to all the different arch/arm/cpu/*/start.S (as long as they have SPL support). On 05.07.2012 16:35, Zhong Hongbo wrote: > From: Zhong Hongbo > > In currently, when __bss_start is equal to __bss_end__, > The bss loop will clear a