[U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-20 Thread fenghua
From: David Feng 1. function board_init_f in board_f.c should firstly zero gd_t structure before it call initcall_run_list, otherwise the debug print will go run if DEBUG is defined. Because the printf function will use global data to determine whether serial port is initialized and coul

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-20 Thread Simon Glass
Hi David, On Tue, Aug 20, 2013 at 4:48 AM, wrote: > From: David Feng > > 1. function board_init_f in board_f.c should firstly zero gd_t structure >before it call initcall_run_list, otherwise the debug print will go run >if DEBUG is defined. Because the printf function will use global da

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-21 Thread FengHua
> -原始邮件- > 发件人: "Simon Glass" > 发送时间: 2013年8月21日 星期三 > 收件人: FengHua > 抄送: "U-Boot Mailing List" , "tr...@ti.com" > > 主题: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero > gd_t > > Hi David, &g

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-21 Thread Scott Wood
On Tue, 2013-08-20 at 23:27 -0600, Simon Glass wrote: > Hi David, > > On Tue, Aug 20, 2013 at 4:48 AM, wrote: > > diff --git a/common/board_r.c b/common/board_r.c > > index 86ca1cb..1b4bdd2 100644 > > --- a/common/board_r.c > > +++ b/common/board_r.c > > @@ -157,6 +157,13 @@ static int initr_rel

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-21 Thread FengHua
> -原始邮件- > 发件人: "Scott Wood" > 发送时间: 2013年8月22日 星期四 > 收件人: "Simon Glass" > 抄送: FengHua , "tr...@ti.com" , "U-Boot > Mailing List" > 主题: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero > gd_t &

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-22 Thread Tom Rini
.com" , > > "U-Boot > > Mailing List" > > ??: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and > > zero gd_t > > > > On Tue, 2013-08-20 at 23:27 -0600, Simon Glass wrote: > > > Hi David, > > > > >

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-22 Thread FengHua
t; , > > "U-Boot > > Mailing List" > > ??: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and > > zero gd_t > > > > On Tue, 2013-08-20 at 23:27 -0600, Simon Glass wrote: > > > Hi David, > > > > >

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-23 Thread Simon Glass
t; > ?: "Simon Glass" >> > ??: FengHua , "tr...@ti.com" , >> > "U-Boot >> > Mailing List" >> > ??: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc >> > and zero gd_t >> > >&g

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-23 Thread Scott Wood
gt;> > ?: "Scott Wood" > >> > : 2013???8???22??? ? > >> > ?: "Simon Glass" > >> > ??: FengHua , "tr...@ti.com" , > >> > "U-Boot > >> > Mailing List" > &g

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-23 Thread FengHua
> -原始邮件- > 发件人: "Scott Wood" > 发送时间: 2013年8月24日 星期六 > 收件人: "Simon Glass" > 抄送: FengHua , trini , u-boot > > 主题: Re: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and > zero gd_t > > On Fri, 2013-08-23 at 18:12

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-09-09 Thread Scott Wood
2013 at 09:31:35AM +0800, FengHua wrote: > > >> > > >> > > >> > > >> > -- > > >> > ?: "Scott Wood" > > >> > : 2013???8???22??? ? > > >> > ?????: "Simon Glass" > > >> &g

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-09-30 Thread Scott Wood
On Mon, 2013-09-09 at 20:54 -0500, Scott Wood wrote: > It seems the problem is that when rela is used, the linker *only* puts > the symbol in the rela struct. The value in the data section itself is > zero, which means we can't run without relocation even if the address > hasn't changed. > > Unle

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-01 Thread FengHua
> -原始邮件- > 发件人: "Scott Wood" > 发送时间: 2013年10月1日 星期二 > 收件人: "Simon Glass" > 抄送: trini , u-boot , FengHua > > 主题: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero > gd_t > > On Mon, 2013-09-09 at 20:54 -0500,

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-01 Thread Scott Wood
On Tue, 2013-10-01 at 19:05 +0800, FengHua wrote: > > > > -原始邮件- > > 发件人: "Scott Wood" > > 发送时间: 2013年10月1日 星期二 > > 收件人: "Simon Glass" > > 抄送: trini , u-boot , FengHua > > > > 主题: Re: [U-Boot] [PATCH v4 3/4] generic

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-01 Thread FengHua
> -原始邮件- > 发件人: "Scott Wood" > 发送时间: 2013年10月1日 星期二 > 收件人: FengHua > 抄送: "Simon Glass" , trini , u-boot > > 主题: Re: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and > zero gd_t > > On Tue, 2013-10-01 at 19:

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-02 Thread Scott Wood
On Wed, 2013-10-02 at 09:52 +0800, FengHua wrote: > > > > -原始邮件- > > 发件人: "Scott Wood" > > 发送时间: 2013年10月1日 星期二 > > 收件人: FengHua > > 抄送: "Simon Glass" , trini , u-boot > > > > 主题: Re: Re: [U-Boot] [PATCH v4 3/4] ge

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-02 Thread FengHua
> > > > > -原始邮件- > > > 发件人: "Scott Wood" > > > 发送时间: 2013年10月1日 星期二 > > > 收件人: FengHua > > > 抄送: "Simon Glass" , trini , u-boot > > > > > > 主题: Re: Re: [U-Boot] [PATCH v4 3/4] generic board