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 PM, Simon Glass wr

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: > >> > Hi Simon, > >> > > >> > On 04.09.2015

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, >> >> >> >> On 3 September 2015 at 05:14, Marek

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: > >>> On Thursday, September 03, 2015 at 01

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 03.09.2015 12:46, Marek Vasut wrote: > On Th

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 Luo wrote: >>>

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! >> > >> > [...] >> > >> >> >> Yes, I can. Bu

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 > >> >> whi

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 >> >> https://lkml.or

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 initi

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 c

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 inspec

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 seems

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 v

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 I

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 01:40:

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-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 rese

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 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 wrote: >> > On Saturday, August 29, 2015 at 04:39:43 PM, Simon Glass wrote: >> >> Hi Marek, >> >> >> >> On 29 Augu

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 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 wrote: > >> > On Saturday, August 2

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 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 wrote: >> > On Saturday, August 29, 2015 at 01:21:31 AM, Simon Glass wrote: >> > > Hi, >> > > >> > > On 28 August

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 wrote: > > On Saturday, August 29, 2015 at 01:21:31 AM, Simon Glass wrote: > > > Hi, > > > > > > On 28 August 2015 at 02:41, Jian Luo wrote: > > > > gd->dm_root is not cleared

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 wrote: > > On Saturday, August 29, 2015 at 01:21:31 AM, Simon Glass wrote: > > Hi, > > > > On 28 August 2015 at 02:41, Jian Luo wrote: > > > gd->dm_root is not cleared in SPL after warm reset. > > > This might cause DM initilazation failure. > >

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 wrote: > > gd->dm_root is not cleared in SPL after warm reset. > > This might cause DM initilazation failure. > > > > Signed-off-by: Jian Luo > > --- > > > > arch/arm/mach-socfpga/sp

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 wrote: > gd->dm_root is not cleared in SPL after warm reset. > This might cause DM initilazation failure. > > Signed-off-by: Jian Luo > --- > arch/arm/mach-socfpga/spl.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/mach-socfpga

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 settin

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 anot

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: > >>

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 initilazatio

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. > >> > >> Sign

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 Hi! --- arch/arm/mach-socfpga/spl.c | 6 ++ 1 file ch

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 Hi! > --- > arch/arm/mach-socfpga/spl.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/ar

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

2015-08-28 Thread Jian Luo
gd->dm_root is not cleared in SPL after warm reset. This might cause DM initilazation failure. Signed-off-by: Jian Luo --- arch/arm/mach-socfpga/spl.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-socfpga/spl.c b/arch/arm/mach-socfpga/spl.c index 13ec24b..59fe1f2 10064