Patchwork [U-Boot] Add _end for the end of u-boot image for SMDK6400

login
register
mail settings
Submitter seedshope
Date May 1, 2011, 4:56 p.m.
Message ID <1304268966-25640-1-git-send-email-bocui107@gmail.com>
Download mbox | patch
Permalink /patch/93569/
State Superseded
Headers show

Comments

seedshope - May 1, 2011, 4:56 p.m.
From: seedshope <bocui107@gmail.com>

Since we rename _end to __bss_end__, But we need add _end symbol for
the end of u-boot image.

Signed-off-by: Zhong Hongbo <bocui107@gmail.com>
Wolfgang Denk - May 1, 2011, 6:49 p.m.
Dear seedshope,

In message <1304268966-25640-1-git-send-email-bocui107@gmail.com> you wrote:
> From: seedshope <bocui107@gmail.com>
> 
> Since we rename _end to __bss_end__, But we need add _end symbol for
> the end of u-boot image.
> 
> Signed-off-by: Zhong Hongbo <bocui107@gmail.com>

Why are you sending the same patch twice?

Best regards,

Wolfgang Denk
Zhong Hongbo - May 2, 2011, 6:28 a.m.
On 05/02/2011 02:49 AM, Wolfgang Denk wrote:
> Dear seedshope,
> 
> In message <1304268966-25640-1-git-send-email-bocui107@gmail.com> you wrote:
>> From: seedshope <bocui107@gmail.com>
>>
>> Since we rename _end to __bss_end__, But we need add _end symbol for
>> the end of u-boot image.
>>
>> Signed-off-by: Zhong Hongbo <bocui107@gmail.com>
> 
> Why are you sending the same patch twice?

Hi Wolfgang,

Sorry, My Email have some issue. Now it have already fix it.

Thanks,
seedshope
> 
> Best regards,
> 
> Wolfgang Denk
>
Minkyu Kang - May 16, 2011, 10:14 a.m.
Dear Zhong Hongbo,

On 2 May 2011 15:28, Zhong Hongbo <hongbo.zhong@windriver.com> wrote:
> On 05/02/2011 02:49 AM, Wolfgang Denk wrote:
>> Dear seedshope,
>>
>> In message <1304268966-25640-1-git-send-email-bocui107@gmail.com> you wrote:
>>> From: seedshope <bocui107@gmail.com>
>>>
>>> Since we rename _end to __bss_end__, But we need add _end symbol for
>>> the end of u-boot image.
>>>
>>> Signed-off-by: Zhong Hongbo <bocui107@gmail.com>
>>

applied to u-boot-samsung

Thanks
Minkyu Kang

Patch

diff --git a/nand_spl/board/samsung/smdk6400/u-boot.lds b/nand_spl/board/samsung/smdk6400/u-boot.lds
index 0153e0e..23c9913 100644
--- a/nand_spl/board/samsung/smdk6400/u-boot.lds
+++ b/nand_spl/board/samsung/smdk6400/u-boot.lds
@@ -67,6 +67,8 @@  SECTIONS
 	*(.dynsym)
 	}
 
+	_end = .;	
+
 	.bss __rel_dyn_start (OVERLAY) : {
 	__bss_start = .;
 	*(.bss)