Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-19 Thread Chin Liang See
Hi Marek, On Wed, 2014-09-17 at 14:39 +0200, ma...@denx.de wrote: On Wednesday, September 17, 2014 at 02:00:42 PM, Chin Liang See wrote: On Wed, 2014-09-17 at 13:52 +0200, ma...@denx.de wrote: On Wednesday, September 17, 2014 at 01:29:15 PM, Chin Liang See wrote: 3. MMC is not enabled

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-19 Thread Chin Liang See
Dear Wolfgang, On Wed, 2014-09-17 at 16:11 +0200, ZY - wd wrote: Dear Chin Liang See, In message 1410952049.7769.11.ca...@clsee-virtualbox.altera.com you wrote: Hmmm... actually I can get it works well for my Altera dev kit. The get_dram_size would take in the argument

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-19 Thread Chin Liang See
Hi guys, On Fri, 2014-09-19 at 04:32 -0500, Chin Liang See wrote: Hi Marek, On Wed, 2014-09-17 at 14:39 +0200, ma...@denx.de wrote: On Wednesday, September 17, 2014 at 02:00:42 PM, Chin Liang See wrote: On Wed, 2014-09-17 at 13:52 +0200, ma...@denx.de wrote: On Wednesday, September

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-19 Thread Marek Vasut
On Friday, September 19, 2014 at 12:36:41 PM, Chin Liang See wrote: Hi guys, On Fri, 2014-09-19 at 04:32 -0500, Chin Liang See wrote: Hi Marek, On Wed, 2014-09-17 at 14:39 +0200, ma...@denx.de wrote: On Wednesday, September 17, 2014 at 02:00:42 PM, Chin Liang See wrote: On Wed,

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-19 Thread Marek Vasut
On Friday, September 19, 2014 at 11:44:48 AM, Chin Liang See wrote: Dear Wolfgang, On Wed, 2014-09-17 at 16:11 +0200, ZY - wd wrote: Dear Chin Liang See, In message 1410952049.7769.11.ca...@clsee-virtualbox.altera.com you wrote: Hmmm... actually I can get it works well for my Altera

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-19 Thread Marek Vasut
On Friday, September 19, 2014 at 01:12:23 PM, Marek Vasut wrote: On Friday, September 19, 2014 at 11:44:48 AM, Chin Liang See wrote: Dear Wolfgang, On Wed, 2014-09-17 at 16:11 +0200, ZY - wd wrote: Dear Chin Liang See, In message

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-18 Thread Pavel Machek
Hi! What board are doing your testing on? The Arrow Sockit? I have board similar to SocKit, yes. I also see this error print: U-Boot 2014.10-rc2-00139-g70e9e3e-dirty (Sep 16 2014 - 16:26:56) CPU: Altera SoCFPGA Platform BOARD: Altera SoCFPGA Cyclone5 Board Watchdog enabled

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Chin Liang See
On Wed, 2014-09-17 at 01:52 +0200, ma...@denx.de wrote: On Wednesday, September 17, 2014 at 12:29:54 AM, Dinh Nguyen wrote: [...] Yes, tracked it down to get_ram_size(). I forced gd-ram_size to 1GB and it works fine for me now. I'll try to spend some cycles to debug the problem.

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Chin Liang See
On Mon, 2014-09-15 at 13:05 +0200, ma...@denx.de wrote: This entire RFC series is the first stab at making SoCFPGA usable with mainline U-Boot again. There are still some bits missing, but in general, this allows me to use mainline U-Boot on my SoCFPGA systems. The big missing part is the SPL

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Marek Vasut
On Wednesday, September 17, 2014 at 01:29:15 PM, Chin Liang See wrote: [...] A quick test from my side and result as below: 1. SDRAM access is working where I can read and write to few spots. :) SOCFPGA_CYCLONE5 # md 0 :

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Chin Liang See
On Wed, 2014-09-17 at 13:52 +0200, ma...@denx.de wrote: On Wednesday, September 17, 2014 at 01:29:15 PM, Chin Liang See wrote: [...] A quick test from my side and result as below: 1. SDRAM access is working where I can read and write to few spots. :) SOCFPGA_CYCLONE5 # md 0

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Marek Vasut
On Wednesday, September 17, 2014 at 02:00:42 PM, Chin Liang See wrote: On Wed, 2014-09-17 at 13:52 +0200, ma...@denx.de wrote: On Wednesday, September 17, 2014 at 01:29:15 PM, Chin Liang See wrote: [...] A quick test from my side and result as below: 1. SDRAM access is working

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Marek Vasut
On Wednesday, September 17, 2014 at 01:07:29 PM, Chin Liang See wrote: On Wed, 2014-09-17 at 01:52 +0200, ma...@denx.de wrote: On Wednesday, September 17, 2014 at 12:29:54 AM, Dinh Nguyen wrote: [...] Yes, tracked it down to get_ram_size(). I forced gd-ram_size to 1GB and it

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Wolfgang Denk
Dear Chin Liang See, In message 1410952049.7769.11.ca...@clsee-virtualbox.altera.com you wrote: Hmmm... actually I can get it works well for my Altera dev kit. The get_dram_size would take in the argument PHYS_SDRAM_1_SIZE. From here, the function will ensure the memory specified can read and

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Pavel Machek
Hi! On Mon 2014-09-15 13:05:53, Marek Vasut wrote: This entire RFC series is the first stab at making SoCFPGA usable with mainline U-Boot again. There are still some bits missing, but in general, this allows me to use mainline U-Boot on my SoCFPGA systems. The big missing part is the SPL

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Dinh Nguyen
On 09/16/2014 08:18 AM, Pavel Machek wrote: Hi! On Mon 2014-09-15 13:05:53, Marek Vasut wrote: This entire RFC series is the first stab at making SoCFPGA usable with mainline U-Boot again. There are still some bits missing, but in general, this allows me to use mainline U-Boot on my SoCFPGA

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: On 09/16/2014 08:18 AM, Pavel Machek wrote: Hi! On Mon 2014-09-15 13:05:53, Marek Vasut wrote: This entire RFC series is the first stab at making SoCFPGA usable with mainline U-Boot again. There are still some bits

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread dinguyen
On Tue, 16 Sep 2014, Marek Vasut wrote: On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: On 09/16/2014 08:18 AM, Pavel Machek wrote: Hi! On Mon 2014-09-15 13:05:53, Marek Vasut wrote: This entire RFC series is the first stab at making SoCFPGA usable with

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread dinguyen
On Tue, 16 Sep 2014, Marek Vasut wrote: On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: On 09/16/2014 08:18 AM, Pavel Machek wrote: Hi! On Mon 2014-09-15 13:05:53, Marek Vasut wrote: This entire RFC series is the first stab at making SoCFPGA usable with

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 11:35:38 PM, dinguyen wrote: On Tue, 16 Sep 2014, Marek Vasut wrote: On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: On 09/16/2014 08:18 AM, Pavel Machek wrote: Hi! On Mon 2014-09-15 13:05:53, Marek Vasut wrote: This entire

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Marek Vasut
On Tuesday, September 16, 2014 at 11:29:45 PM, dinguyen wrote: On Tue, 16 Sep 2014, Marek Vasut wrote: On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: On 09/16/2014 08:18 AM, Pavel Machek wrote: Hi! On Mon 2014-09-15 13:05:53, Marek Vasut wrote: This entire

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Dinh Nguyen
On 09/16/2014 04:46 PM, Marek Vasut wrote: On Tuesday, September 16, 2014 at 11:35:38 PM, dinguyen wrote: On Tue, 16 Sep 2014, Marek Vasut wrote: On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: On 09/16/2014 08:18 AM, Pavel Machek wrote: Hi! On Mon 2014-09-15 13:05:53,

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Dinh Nguyen
On 09/16/2014 04:55 PM, Marek Vasut wrote: On Tuesday, September 16, 2014 at 11:29:45 PM, dinguyen wrote: On Tue, 16 Sep 2014, Marek Vasut wrote: On Tuesday, September 16, 2014 at 06:28:52 PM, Dinh Nguyen wrote: On 09/16/2014 08:18 AM, Pavel Machek wrote: Hi! On Mon 2014-09-15 13:05:53,

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Marek Vasut
On Wednesday, September 17, 2014 at 12:29:54 AM, Dinh Nguyen wrote: [...] Yes, tracked it down to get_ram_size(). I forced gd-ram_size to 1GB and it works fine for me now. I'll try to spend some cycles to debug the problem. Hm, how much DRAM can the SoCFPGA chip drive in total ?

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-16 Thread Wolfgang Denk
Dear Marek, In message 201409162355.1.ma...@denx.de you wrote: ... For the get_ram_size(), the read from the unpopulated DRAM space contains zeroes ... nitpick Reading from non-existent memory is not guaranteed to return zeroes, nor any other

[U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-15 Thread Marek Vasut
This entire RFC series is the first stab at making SoCFPGA usable with mainline U-Boot again. There are still some bits missing, but in general, this allows me to use mainline U-Boot on my SoCFPGA systems. The big missing part is the SPL generation, which still needs a lot of additional work.