Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-22 Thread Jian Luo
Hi Dinh, Hi Marek, any updates on this issue? Best regards, Jian Luo On 04.09.2015 16:32, Marek Vasut wrote: > On Friday, September 04, 2015 at 04:26:46 PM, Simon Glass wrote: >> On 4 September 2015 at 08:25, Marek Vasut wrote: >>> On Friday, September 04, 2015 at 04:16:21

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-04 Thread Simon Glass
On 4 September 2015 at 08:25, Marek Vasut wrote: > On Friday, September 04, 2015 at 04:16:21 PM, Simon Glass wrote: >> Hi, >> >> On 4 September 2015 at 01:36, Jian Luo wrote: >> > Hi Simon, >> > >> > On 04.09.2015 02:23, Simon Glass wrote: >> >> Hi, >>

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-04 Thread Marek Vasut
On Friday, September 04, 2015 at 04:16:21 PM, Simon Glass wrote: > Hi, > > On 4 September 2015 at 01:36, Jian Luo wrote: > > Hi Simon, > > > > On 04.09.2015 02:23, Simon Glass wrote: > >> Hi, > >> > >> On 3 September 2015 at 05:14, Marek Vasut wrote:

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-04 Thread Simon Glass
Hi, On 4 September 2015 at 01:36, Jian Luo wrote: > Hi Simon, > > > On 04.09.2015 02:23, Simon Glass wrote: >> Hi, >> >> On 3 September 2015 at 05:14, Marek Vasut wrote: >>> On Thursday, September 03, 2015 at 01:12:03 PM, Jian Luo wrote: On

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-04 Thread Marek Vasut
On Friday, September 04, 2015 at 04:26:46 PM, Simon Glass wrote: > On 4 September 2015 at 08:25, Marek Vasut wrote: > > On Friday, September 04, 2015 at 04:16:21 PM, Simon Glass wrote: > >> Hi, > >> > >> On 4 September 2015 at 01:36, Jian Luo wrote: >

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-04 Thread Jian Luo
Hi Simon, On 04.09.2015 02:23, Simon Glass wrote: > Hi, > > On 3 September 2015 at 05:14, Marek Vasut wrote: >> On Thursday, September 03, 2015 at 01:12:03 PM, Jian Luo wrote: >>> On 03.09.2015 12:46, Marek Vasut wrote: >>> > On Thursday, September 03, 2015 at 12:17:13 PM, Jian

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-03 Thread Marek Vasut
On Thursday, September 03, 2015 at 12:03:44 PM, Jian Luo wrote: > Hi! Hi! > On 03.09.2015 11:41, Marek Vasut wrote: > > On Wednesday, September 02, 2015 at 06:27:41 PM, Jian Luo wrote: > >> Hi! > >> > >> this error comes again. It isn't a compiler error after all. :( > >> > >> JTAG

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-03 Thread Marek Vasut
On Wednesday, September 02, 2015 at 06:27:41 PM, Jian Luo wrote: > Hi! > > this error comes again. It isn't a compiler error after all. :( > > JTAG inspection shows that the problem is located in > arch/arm/mach-socfpga/spl.c line94. > It seems that re-enable ECC on OCRAM can cause some strange

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-03 Thread Jian Luo
Hi! On 03.09.2015 11:41, Marek Vasut wrote: > On Wednesday, September 02, 2015 at 06:27:41 PM, Jian Luo wrote: >> Hi! >> >> this error comes again. It isn't a compiler error after all. :( >> >> JTAG inspection shows that the problem is located in >> arch/arm/mach-socfpga/spl.c line94. >> It

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-03 Thread Jian Luo
On 03.09.2015 12:09, Marek Vasut wrote: > On Thursday, September 03, 2015 at 12:03:44 PM, Jian Luo wrote: >> Hi! > > Hi! > >> On 03.09.2015 11:41, Marek Vasut wrote: >> > On Wednesday, September 02, 2015 at 06:27:41 PM, Jian Luo wrote: >> >> Hi! >> >> >> >> this error comes again. It isn't a

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-03 Thread Marek Vasut
On Thursday, September 03, 2015 at 12:17:13 PM, Jian Luo wrote: Hi! [...] > >> Yes, I can. But U-Boot can still have problem with other Image which > >> disables ECC. > >> I found another post related to this problem > >> https://lkml.org/lkml/2015/2/6/685 . > >> > >> Quote: To

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-03 Thread Marek Vasut
On Thursday, September 03, 2015 at 01:12:03 PM, Jian Luo wrote: > On 03.09.2015 12:46, Marek Vasut wrote: > > On Thursday, September 03, 2015 at 12:17:13 PM, Jian Luo wrote: > > > > Hi! > > > > [...] > > > >> >> Yes, I can. But U-Boot can still have problem with other Image > >> >>

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-03 Thread Jian Luo
On 03.09.2015 12:46, Marek Vasut wrote: > On Thursday, September 03, 2015 at 12:17:13 PM, Jian Luo wrote: > > Hi! > > [...] > >> >> Yes, I can. But U-Boot can still have problem with other Image which >> >> disables ECC. >> >> I found another post related to this problem >> >>

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-03 Thread Simon Glass
Hi, On 3 September 2015 at 05:14, Marek Vasut wrote: > On Thursday, September 03, 2015 at 01:12:03 PM, Jian Luo wrote: >> On 03.09.2015 12:46, Marek Vasut wrote: >> > On Thursday, September 03, 2015 at 12:17:13 PM, Jian Luo wrote: >> > >> > Hi! >> > >> > [...] >> > >> >>

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-02 Thread Jian Luo
Hi! this error comes again. It isn't a compiler error after all. :( JTAG inspection shows that the problem is located in arch/arm/mach-socfpga/spl.c line94. It seems that re-enable ECC on OCRAM can cause some strange value changes in SRAM. Disabling ECC might also cause value changes, which

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-31 Thread Jian Luo
Hi, On 28.08.2015 23:48, Marek Vasut wrote: On Friday, August 28, 2015 at 02:09:15 PM, Jian Luo wrote: Hi Marek, Hi, On 28.08.2015 14:01, Marek Vasut wrote: > On Friday, August 28, 2015 at 01:40:08 PM, Jian Luo wrote: snip >> "Security policy". :( > > But thunderbird works

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-31 Thread Marek Vasut
On Monday, August 31, 2015 at 03:00:22 PM, Jian Luo wrote: > Hi, Hi! > On 28.08.2015 23:48, Marek Vasut wrote: > > On Friday, August 28, 2015 at 02:09:15 PM, Jian Luo wrote: > >> Hi Marek, > > > > Hi, > > > >> On 28.08.2015 14:01, Marek Vasut wrote: > >> > On Friday, August 28, 2015 at

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-29 Thread Marek Vasut
On Saturday, August 29, 2015 at 01:21:31 AM, Simon Glass wrote: Hi, On 28 August 2015 at 02:41, Jian Luo jian.l...@boschrexroth.de wrote: gd-dm_root is not cleared in SPL after warm reset. This might cause DM initilazation failure. Signed-off-by: Jian Luo jian.l...@boschrexroth.de

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-29 Thread Simon Glass
Hi Marek, On 29 August 2015 at 08:46, Marek Vasut ma...@denx.de wrote: On Saturday, August 29, 2015 at 04:39:43 PM, Simon Glass wrote: Hi Marek, On 29 August 2015 at 01:56, Marek Vasut ma...@denx.de wrote: On Saturday, August 29, 2015 at 01:21:31 AM, Simon Glass wrote: Hi, On 28

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-29 Thread Simon Glass
Hi Marek, On 29 August 2015 at 09:45, Marek Vasut ma...@denx.de wrote: On Saturday, August 29, 2015 at 04:49:37 PM, Simon Glass wrote: Hi Marek, On 29 August 2015 at 08:46, Marek Vasut ma...@denx.de wrote: On Saturday, August 29, 2015 at 04:39:43 PM, Simon Glass wrote: Hi Marek, On 29

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-29 Thread Marek Vasut
On Saturday, August 29, 2015 at 04:39:43 PM, Simon Glass wrote: Hi Marek, On 29 August 2015 at 01:56, Marek Vasut ma...@denx.de wrote: On Saturday, August 29, 2015 at 01:21:31 AM, Simon Glass wrote: Hi, On 28 August 2015 at 02:41, Jian Luo jian.l...@boschrexroth.de wrote:

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-29 Thread Simon Glass
Hi Marek, On 29 August 2015 at 01:56, Marek Vasut ma...@denx.de wrote: On Saturday, August 29, 2015 at 01:21:31 AM, Simon Glass wrote: Hi, On 28 August 2015 at 02:41, Jian Luo jian.l...@boschrexroth.de wrote: gd-dm_root is not cleared in SPL after warm reset. This might cause DM

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-29 Thread Marek Vasut
On Saturday, August 29, 2015 at 04:49:37 PM, Simon Glass wrote: Hi Marek, On 29 August 2015 at 08:46, Marek Vasut ma...@denx.de wrote: On Saturday, August 29, 2015 at 04:39:43 PM, Simon Glass wrote: Hi Marek, On 29 August 2015 at 01:56, Marek Vasut ma...@denx.de wrote: On Saturday,

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-29 Thread Marek Vasut
On Saturday, August 29, 2015 at 06:54:54 PM, Simon Glass wrote: Hi Marek, Hi Simon, [...] Does that mean it skips crt0.S? How come global_data is not zeroed there? No, it does not mean it skips crt0.S . After the warm reset, the bootrom jumps onto the reset vector, so crt0.S

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-28 Thread Jian Luo
Hi Marek, On 28.08.2015 11:24, Marek Vasut wrote: On Friday, August 28, 2015 at 10:41:50 AM, Jian Luo wrote: gd-dm_root is not cleared in SPL after warm reset. This might cause DM initilazation failure. Signed-off-by: Jian Luo jian.l...@boschrexroth.de Hi! ---

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-28 Thread Marek Vasut
On Friday, August 28, 2015 at 12:27:18 PM, Jian Luo wrote: Hi Marek, On 28.08.2015 11:24, Marek Vasut wrote: On Friday, August 28, 2015 at 10:41:50 AM, Jian Luo wrote: gd-dm_root is not cleared in SPL after warm reset. This might cause DM initilazation failure. Signed-off-by: Jian

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-28 Thread Jian Luo
On 28.08.2015 12:30, Marek Vasut wrote: On Friday, August 28, 2015 at 12:27:18 PM, Jian Luo wrote: Hi Marek, On 28.08.2015 11:24, Marek Vasut wrote: On Friday, August 28, 2015 at 10:41:50 AM, Jian Luo wrote: gd-dm_root is not cleared in SPL after warm reset. This might cause DM

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-28 Thread Marek Vasut
On Friday, August 28, 2015 at 10:41:50 AM, Jian Luo wrote: gd-dm_root is not cleared in SPL after warm reset. This might cause DM initilazation failure. Signed-off-by: Jian Luo jian.l...@boschrexroth.de Hi! --- arch/arm/mach-socfpga/spl.c | 6 ++ 1 file changed, 6 insertions(+)

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-28 Thread Marek Vasut
On Friday, August 28, 2015 at 01:40:08 PM, Jian Luo wrote: On 28.08.2015 12:30, Marek Vasut wrote: On Friday, August 28, 2015 at 12:27:18 PM, Jian Luo wrote: Hi Marek, On 28.08.2015 11:24, Marek Vasut wrote: On Friday, August 28, 2015 at 10:41:50 AM, Jian Luo wrote: gd-dm_root is not

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-28 Thread Jian Luo
Hi Marek, On 28.08.2015 14:01, Marek Vasut wrote: On Friday, August 28, 2015 at 01:40:08 PM, Jian Luo wrote: snip Security policy. :( But thunderbird works ? Can't you just copy the SMTP settings from thunderbird into gitconfig ? :) I tried w/o success. Might try again another

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-28 Thread Simon Glass
Hi, On 28 August 2015 at 02:41, Jian Luo jian.l...@boschrexroth.de wrote: gd-dm_root is not cleared in SPL after warm reset. This might cause DM initilazation failure. Signed-off-by: Jian Luo jian.l...@boschrexroth.de --- arch/arm/mach-socfpga/spl.c | 6 ++ 1 file changed, 6

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-28 Thread Marek Vasut
On Friday, August 28, 2015 at 02:09:15 PM, Jian Luo wrote: Hi Marek, Hi, On 28.08.2015 14:01, Marek Vasut wrote: On Friday, August 28, 2015 at 01:40:08 PM, Jian Luo wrote: snip Security policy. :( But thunderbird works ? Can't you just copy the SMTP settings from