Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-31 Thread Dinh Nguyen
Hi Tom, On Thu, Aug 30, 2012 at 4:25 PM, Tom Rini tr...@ti.com wrote: On Thu, Aug 30, 2012 at 10:42:11PM +0200, Pavel Machek wrote: Hi! spl_ram_load_image... will I need to create some kind of #ifdef? Or would #ifdef BOOT_DEVICE_RAM do the trick? Good point, yes, we should

Re: [U-Boot] [PATCHv3] ARM: Add Altera SOCFPGA Cyclone5

2012-09-14 Thread Dinh Nguyen
Hi Marek, On Fri, 2012-09-14 at 19:02 +0200, Marek Vasut wrote: Dear dingu...@altera.com, From: Dinh Nguyen dingu...@altera.com Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. Applied on top of trini/WIP/spl-improvements v6 Test building edminiv2_config

Re: [U-Boot] [PATCHv2] socfpga: Move board/socfpga_cyclone5 to board/socfpga

2013-07-08 Thread Dinh Nguyen
Hi Albert, On Fri, 2013-07-05 at 23:04 +0200, ZY - albert.u.boot wrote: Hi dingu...@altera.com, On Tue, 2 Jul 2013 17:00:18 -0500, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com Because the SOCFPGA platform will include support for Cyclone V and Arria V FPGA parts

Re: [U-Boot] [RESEND PATCH v5 1/1] socfpga: Creating driver for Reset Manager

2013-08-06 Thread Dinh Nguyen
email address. Cc: Wolfgang Denk w...@denx.de CC: Pavel Machek pa...@denx.de Cc: Dinh Nguyen dingu...@altera.com Cc: Tom Rini tr...@ti.com Cc: Albert Aribaud albert.u.b...@aribaud.net --- Changes for v2: - Fixed the long subject of the patch - Consolidated the reset_manager structure

Re: [U-Boot] [RESEND PATCH v5 1/1] socfpga: Adding configuration for development kit

2013-08-06 Thread Dinh Nguyen
CC: Pavel Machek pa...@denx.de Cc: Dinh Nguyen dingu...@altera.com Cc: Tom Rini tr...@ti.com Cc: Albert Aribaud albert.u.b...@aribaud.net --- Changes for v2: - Fixed the word wrap issue within patch Changes for v3: - Fixed the long subject of the patch Changes for v4: - Added

Re: [U-Boot] [RESEND PATCH v6 1/2] socfpga: Adding System Manager driver

2013-08-06 Thread Dinh Nguyen
w...@denx.de CC: Pavel Machek pa...@denx.de Cc: Dinh Nguyen dingu...@altera.com Cc: Tom Rini tr...@ti.com Cc: Albert Aribaud albert.u.b...@aribaud.net --- Changes for v2: - Fixed the word wrap issue within patch Changes for v3: - Fixed the long subject of the patch - Fixed

Re: [U-Boot] [RESEND PATCH v5 2/2] socfpga: Adding pin mux handoff files

2013-08-06 Thread Dinh Nguyen
for v5: - Updated the license header for reset_manager.c - Updated the subject Re-org with latest changes on top. Acked-by: Dinh Nguyen dingu...@altera.com Dinh --- board/altera/socfpga/pinmux_config.c | 214 ++ board/altera/socfpga/pinmux_config.h

Re: [U-Boot] [PATCH v3] socfpga: Adding Freeze Controller driver

2013-09-23 Thread Dinh Nguyen
-by: Chin Liang See cl...@altera.com Cc: Wolfgang Denk w...@denx.de CC: Pavel Machek pa...@denx.de Cc: Dinh Nguyen dingu...@altera.com --- Changes for v3 - Removed unused macro in freeze_controller.h Changes for v2 - Removed FREEZE_CONTROLLER_FSM_HW - Removed the get_timer_count_masked

[U-Boot] [PATCH] net/designware: Add-on: Consecutive writes must have delay

2012-06-07 Thread Dinh Nguyen
This commit is an add-on to f6c4191f. There are a few other registers where consecutive writes must have a delay. Signed-off-by: Dinh Nguyen dingu...@altera.com --- drivers/net/designware.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/designware.c b

[U-Boot] [PATCH v2] net/designware: Consecutive writes to the same register to be avoided

2012-06-09 Thread Dinh Nguyen
448 Bit 4. Register 459 Bits 0-3. Reviewd-by: Matthew Gerlach mgerl...@altera.com Signed-off-by: Dinh Nguyen dingu...@altera.com --- drivers/net/designware.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c

Re: [U-Boot] [PATCH v5] socfpga: Add socfpga preloader signing to mkimage

2014-02-26 Thread Dinh Nguyen
Hi Charles, On 02/26/2014 01:42 AM, Charles Manning wrote: On Wednesday 26 February 2014 19:16:37 Michal Simek wrote: On 02/26/2014 02:17 AM, Charles Manning wrote: Like many platforms, the Altera socfpga platform requires that the preloader be signed in a certain way or the built-in boot ROM

Re: [U-Boot] [OT] CC:s in commits (was: [PATCH 1/2] socfpga: Adding Scan Manager driver)

2014-01-13 Thread Dinh Nguyen
Hi Wolfgang, On Mon, 2014-01-13 at 22:08 +0100, ZY - wd wrote: Dear Albert, In message 20140113173924.684ce548@lilith you wrote: Actually these Cc will be helpful when using git send-email. It will auto cc to these mailing list when the patch is send out for review (instead

Re: [U-Boot] [PATCH 2/3] arm: socfpga: config: Enable USB support

2014-09-23 Thread Dinh Nguyen
On Sun, 21 Sep 2014, Marek Vasut wrote: Enable support for the DWC2 USB controller. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Cc: Wolfgang Denk w

Re: [U-Boot] [PATCH 1/3] usb: dwc2: Add driver for Synopsis DWC2 USB IP block

2014-09-23 Thread Dinh Nguyen
-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Cc: Wolfgang Denk w...@denx.de Cc: Pavel Machek pa...@denx.de --- README| 3 + drivers/usb

Re: [U-Boot] [PATCH 2/3] arm: socfpga: config: Enable USB support

2014-09-23 Thread Dinh Nguyen
On Tue, Sep 23, 2014 at 2:55 PM, Dinh Nguyen dingu...@opensource.altera.com wrote: On Sun, 21 Sep 2014, Marek Vasut wrote: Enable support for the DWC2 USB controller. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert

Re: [U-Boot] [PATCH 50/51] arm: socfpga: Split SoCFPGA configuration

2014-09-24 Thread Dinh Nguyen
(socfpga_cyclone5.h), but there are more to come. This is necessary due to various features of the boards, which unfortunatelly cannot be autodetected. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert Aribaud albert.u.b

Re: [U-Boot] [PATCH 1/3] usb: dwc2: Add driver for Synopsis DWC2 USB IP block

2014-09-26 Thread Dinh Nguyen
On 09/26/2014 02:29 AM, Marek Vasut wrote: On Tuesday, September 23, 2014 at 11:59:28 PM, Dinh Nguyen wrote: btw. please try to trim down the content of the patch when replying only to the relevant part, so others don't have to look up the relevant bits among billions of lines

Re: [U-Boot] [SoCFPGA] next steps

2014-10-08 Thread Dinh Nguyen
Hi Marek, On 10/7/14, 7:45 AM, Marek Vasut wrote: Hey, given that we now have most of the u-boot socfpga stuff in mainline, I decided it would be a good idea to list what we're still missing and we should also decide how to move on now. Thanks for all of your hard work on this!

Re: [U-Boot] [PATCH] arm: socfpga: Zap CONFIG_EPHY[01]_PHY_ADDR macro

2014-10-22 Thread Dinh Nguyen
Hi Marek, On 10/22/14, 1:18 PM, Marek Vasut wrote: This is not used anywhere, remove it. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Vince Bridgers vbrid...@altera.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc

Re: [U-Boot] u-boot-socfpga repository

2014-09-11 Thread Dinh Nguyen
On Thu, Sep 11, 2014 at 2:46 AM, Wolfgang Denk w...@denx.de wrote: Dear Michal, In message 54112b64.5010...@monstr.eu you wrote: I am not sure if you need to have separate repo to work like this. I am keeping zynq patches in my microblaze repo and sending pull request to Albert (or Tom

Re: [U-Boot] u-boot-socfpga repository

2014-09-11 Thread Dinh Nguyen
On Wed, Sep 10, 2014 at 6:33 PM, Marek Vasut ma...@denx.de wrote: Hello, I'd be interested in maintaining u-boot-socfpga repository. So far, we don't have a repo for this platform and there is a large flurry of patches flying around without any kind of central point for them. I'd like to get

Re: [U-Boot] u-boot-socfpga repository

2014-09-11 Thread Dinh Nguyen
On 09/11/2014 11:51 AM, Marek Vasut wrote: On Thursday, September 11, 2014 at 06:14:55 PM, Dinh Nguyen wrote: On Thu, Sep 11, 2014 at 2:46 AM, Wolfgang Denk w...@denx.de wrote: Dear Michal, In message 54112b64.5010...@monstr.eu you wrote: I am not sure if you need to have separate repo

Re: [U-Boot] u-boot-socfpga repository

2014-09-11 Thread Dinh Nguyen
On 09/11/2014 12:14 PM, Tom Rini wrote: On Thu, Sep 11, 2014 at 11:14:55AM -0500, Dinh Nguyen wrote: On Thu, Sep 11, 2014 at 2:46 AM, Wolfgang Denk w...@denx.de wrote: Dear Michal, In message 54112b64.5010...@monstr.eu you wrote: I am not sure if you need to have separate repo to work like

Re: [U-Boot] u-boot-socfpga repository

2014-09-12 Thread Dinh Nguyen
On 09/12/2014 12:25 AM, Wolfgang Denk wrote: Dear Dinh, In message 54122de5.1080...@opensource.altera.com you wrote: Understood...You have just lit a fire in our arses! We have added a resource internally, Vince Bridgers, to help us upstream more u-boot support. Also, now that Linux

Re: [U-Boot] u-boot-socfpga repository

2014-09-12 Thread Dinh Nguyen
On 09/12/2014 02:46 PM, Wolfgang Denk wrote: Dear Dinh, In message 54133b22.2090...@opensource.altera.com you wrote: So I suggest we create u-boot-socfpga now, as this will be needed in any case when any significant amount of patches is coming in for mainline. For now, we assing Marek as

Re: [U-Boot] u-boot-socfpga repository

2014-09-12 Thread Dinh Nguyen
On 09/12/2014 04:05 PM, David Hawkins wrote: Hi guys, I'm going to jump in here with an end-user's perspective, along with an offer of assistance/contribution. I'm interested in using Altera's SOCs in my designs. Altera guys - if you look over on the Altera Forum, you will see that I am

Re: [U-Boot] u-boot-socfpga repository

2014-09-12 Thread Dinh Nguyen
On 09/12/2014 05:14 PM, Wolfgang Denk wrote: Dear Dinh, In message 54136276.6040...@opensource.altera.com you wrote: To get patches or new code into U-Boot mainline, these have to be submitted to the U-Boot mailing list (among other purposes for archival and that they get stored in the

Re: [U-Boot] u-boot-socfpga repository

2014-09-14 Thread Dinh Nguyen
Hi David, On 9/13/14, 12:24 PM, David Hawkins wrote: Hi Dinh, Up until now I have avoided any SoC development kits as I considered the software support to not have matured enough. I consider mature code to be code that I can checkout from mainline, where mainline is U-Boot via the Denx

Re: [U-Boot] u-boot-socfpga repository

2014-09-14 Thread Dinh Nguyen
Hi Wolfgang, On 9/12/14, 5:51 PM, Wolfgang Denk wrote: Dear Dinh, In message 541373ad.4020...@opensource.altera.com you wrote: Then I vote for myself as the custodian for u-boot-socfpga. By the way, May I ask what made you change your mind like that? First you wrote that Vince was

Re: [U-Boot] [PATCH 01/35] net: Remove unused CONFIG_DW_SEARCH_PHY from configs

2014-09-15 Thread Dinh Nguyen
On 09/15/2014 06:05 AM, Marek Vasut wrote: From: Pavel Machek pa...@denx.de Remove this symbol from configs, since it's unused. Signed-off-by: Pavel Machek pa...@denx.de Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc

Re: [U-Boot] [PATCH 03/35] net: dwc: Fix cache alignment issues

2014-09-15 Thread Dinh Nguyen
from it. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Cc: Wolfgang Denk w...@denx.de Cc: Pavel Machek pa...@denx.de Cc: Joe Hershberger joe.hershber

Re: [U-Boot] [PATCH 05/35] mmc: dw_mmc: cleanups

2014-09-15 Thread Dinh Nguyen
...@denx.de Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Cc: Wolfgang Denk w...@denx.de Cc: Pavel Machek pa...@denx.de Cc: Pantelis Antoniou pa...@antoniou

Re: [U-Boot] [PATCH 10/35] arm: socfpga: Add watchdog disable for socfpga

2014-09-15 Thread Dinh Nguyen
On 09/15/2014 06:06 AM, Marek Vasut wrote: From: Pavel Machek pa...@denx.de This adds watchdog disable. It is neccessary for running Linux kernel. Signed-off-by: Pavel Machek pa...@denx.de Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu

Re: [U-Boot] [PATCH 13/35] arm: socfpga: clock: Drop nonsense inlining from clock manager code

2014-09-15 Thread Dinh Nguyen
On 09/15/2014 06:06 AM, Marek Vasut wrote: The inlining is done by GCC whe needed, there is no need to do it s/whe/when. Acked-by: Dinh Nguyen dingu...@opensource.altera.com thanks... explicitly. Furthermore, the inline keyword does not force-inline the code, but is only a hint

Re: [U-Boot] [PATCH 14/35] arm: socfpga: clock: Add missing stubs into board file

2014-09-15 Thread Dinh Nguyen
On 09/15/2014 06:06 AM, Marek Vasut wrote: Add some stub defines, which are used by the clock code, but are missing from the auto-generated header file for the SoCFPGA family. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com

Re: [U-Boot] [PATCH 15/35] arm: socfpga: clock: Add code to read clock configuration

2014-09-15 Thread Dinh Nguyen
. Signed-off-by: Pavel Machek pa...@denx.de Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Cc: Wolfgang Denk w...@denx.de Cc: Pavel Machek pa...@denx.de

Re: [U-Boot] [PATCH 16/35] arm: socfpga: clock: Trim down code duplication

2014-09-16 Thread Dinh Nguyen
On 09/15/2014 06:06 AM, Marek Vasut wrote: Pull out functions to read frequency of Main clock VCO and PLL clock VCO as the code is duplicated multiple times. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert Aribaud

Re: [U-Boot] [PATCH 17/35] arm: socfpga: mmc: Pick the clock from clock manager

2014-09-16 Thread Dinh Nguyen
Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Cc: Wolfgang Denk w...@denx.de Cc: Pavel Machek pa...@denx.de --- drivers/mmc/socfpga_dw_mmc.c | 15 +++ 1 file changed

Re: [U-Boot] [PATCH 18/35] arm: socfpga: timer: Pull the timer reload value from config file

2014-09-16 Thread Dinh Nguyen
...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Cc: Wolfgang Denk w...@denx.de Cc: Pavel Machek pa...@denx.de --- arch/arm/cpu/armv7/socfpga/timer.c | 2 ++ include/configs/socfpga_cyclone5.h | 2 -- 2 files changed, 2

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 04/35] net: dwc: Make the cache handling less cryptic

2014-09-16 Thread Dinh Nguyen
the correctness of the code is easier to inspect. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Cc: Wolfgang Denk w...@denx.de Acked-by: Pavel Machek pa...@denx.de

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 07/34] zynq: Add UART0, UART1 configs support

2013-11-05 Thread Dinh Nguyen
On 11/5/13 11:46 AM, Jagannadha Sutradharudu Teki wrote: Zynq uart controller support two serial ports like CONFIG_ZYNQ_SERIAL_UART0 and CONFIG_ZYNQ_SERIAL_UART1 enabled both so-that the respective board will define these macros based on their usage. Signed-off-by: Jagannadha Sutradharudu

Re: [U-Boot] [PATCH 10/34] spi: Add zynq qspi controller driver

2013-11-05 Thread Dinh Nguyen
On 11/5/13 11:46 AM, Jagannadha Sutradharudu Teki wrote: Zynq qspi controller driver supports single bus with singe chipselect. Zynq qspi can be operated in below connection modes - single qspi - dual qspi, with dual stacked - dual qspi, with dual parallel Signed-off-by: Jagannadha

Re: [U-Boot] [PATCH 10/34] spi: Add zynq qspi controller driver

2013-11-05 Thread Dinh Nguyen
On 11/5/13 11:46 AM, Jagannadha Sutradharudu Teki wrote: Zynq qspi controller driver supports single bus with singe chipselect. Zynq qspi can be operated in below connection modes - single qspi - dual qspi, with dual stacked - dual qspi, with dual parallel Signed-off-by: Jagannadha

Re: [U-Boot] [PATCH 07/34] zynq: Add UART0, UART1 configs support

2013-11-05 Thread Dinh Nguyen
On 11/5/13 11:46 AM, Jagannadha Sutradharudu Teki wrote: Zynq uart controller support two serial ports like CONFIG_ZYNQ_SERIAL_UART0 and CONFIG_ZYNQ_SERIAL_UART1 enabled both so-that the respective board will define these macros based on their usage. Signed-off-by: Jagannadha Sutradharudu

Re: [U-Boot] [PATCH 07/34] zynq: Add UART0, UART1 configs support

2013-11-06 Thread Dinh Nguyen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 11/6/13 12:45 AM, Michal Simek wrote: On 11/06/2013 05:17 AM, Dinh Nguyen wrote: On 11/5/13 11:46 AM, Jagannadha Sutradharudu Teki wrote: Zynq uart controller support two serial ports like CONFIG_ZYNQ_SERIAL_UART0

Re: [U-Boot] [PATCH] Separate EBV Socrates board from Altera Cyclone 5 board

2013-11-12 Thread Dinh Nguyen
On Tue, Nov 12, 2013 at 9:17 AM, Michal Simek mon...@monstr.eu wrote: On 11/12/2013 03:46 PM, Chin Liang See wrote: Hi all, On Tue, 2013-11-12 at 11:17 +0100, Michal Simek wrote: On 11/12/2013 10:56 AM, Detlev Zundel wrote: Hi Michal, On 11/11/2013 09:33 PM, Tom Rini wrote: On

Re: [U-Boot] [PATCHv8] ARM: Add Altera SOCFPGA Cyclone5

2012-10-04 Thread Dinh Nguyen
Hi Albert, On Thu, 2012-10-04 at 21:54 +0200, ZY - albert.u.boot wrote: Hi dingu...@altera.com, On Thu, 4 Oct 2012 10:46:02 -0600, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. Signed-off-by: Dinh

Re: [U-Boot] [PATCH 0/2] socfpga/spl: Cleanup

2012-10-23 Thread Dinh Nguyen
Hi Vikram, On Tue, 2012-10-23 at 15:49 +0530, Vikram Narayanan wrote: Cleanups for SPL/socfpga. Cc: Dinh Nguyen dingu...@altera.com Vikram Narayanan (2): arm/socfpga: Remove timer_init from spl_board_init socfpga/spl: Remove malloc.h Do you need to split up the patches? Otherwise

[U-Boot] socfpga: mainline cannot boot linux

2014-11-06 Thread Dinh Nguyen
Hi Marek, Have you been able to successfully boot Linux using the mainline uboot? I cannot seem to be able to boot linux on the C5 SocDK. It starts to boot linux, but then reboots after a bit back into u-boot. So I commented out #define CONFIG_HW_WATCHDOG in include/configs/socfpga_cyclone5.h.

Re: [U-Boot] socfpga: mainline cannot boot linux

2014-11-06 Thread Dinh Nguyen
On 11/06/2014 05:40 PM, Anatolij Gustschin wrote: Hi Dinh, On Thu, 6 Nov 2014 17:03:48 -0600 Dinh Nguyen dingu...@opensource.altera.com wrote: Hi Marek, Have you been able to successfully boot Linux using the mainline uboot? I cannot seem to be able to boot linux on the C5 SocDK

Re: [U-Boot] [PATCH 1/4 v4] spi: Add Cadence QSPI DM driver used by SoCFPGA

2014-11-07 Thread Dinh Nguyen
+CC: Graham Moore On 11/07/2014 09:26 AM, Stefan Roese wrote: Hi Dinh, Hi Vince! a quick question for you: On 07.11.2014 16:04, Marek Vasut wrote: snip diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c new file mode 100644 index 000..00a115f ---

Re: [U-Boot] [PATCH 2/4 v4] arm: socfpga: dts: Add Cadence QSPI DT node to socfpga.dtsi

2014-11-10 Thread Dinh Nguyen
+CC: Graham Moore On 11/10/2014 04:47 AM, Pavel Machek wrote: On Fri 2014-11-07 18:26:05, Stefan Roese wrote: Hi Simon, On 07.11.2014 18:21, Simon Glass wrote: + qspi: spi@ff705000 { + compatible = cadence,qspi; + #address-cells =

Re: [U-Boot] RFC Pin Configuration Device Tree Bindings for Altera Arria10 SOCFPGA

2014-12-03 Thread Dinh Nguyen
+CC: Matthew Gerlach Not sure why the original submitter was left on this response. On 12/3/14, 11:36 AM, Simon Glass wrote: Hi, On 3 December 2014 at 06:48, Pavel Machek pa...@ucw.cz wrote: Hi! Altera Arria10 SOCFPGA Pin Configuration Bindings This document describes device tree

Re: [U-Boot] [PATCH v2 18/19] dm: socfpga: Move driver model CONFIGs to Kconfig

2015-02-06 Thread Dinh Nguyen
Hi Simon, On 02/05/2015 10:41 PM, Simon Glass wrote: Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None configs/socfpga_socrates_defconfig | 3 +++ include/configs/socfpga_common.h

Re: [U-Boot] [PATCHv1 08/22] arm: socfpga: spl: Add call to timer_init

2015-02-04 Thread Dinh Nguyen
On 1/14/15 5:45 PM, Marek Vasut wrote: On Wednesday, January 14, 2015 at 05:40:48 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Signed-off-by: Dinh Nguyen dingu...@opensource.altera.com You might want to check common/spl/spl.c , which

Re: [U-Boot] [PATCHv1 13/22] arm: socfpga: spl: Add s_init

2015-02-05 Thread Dinh Nguyen
On 01/14/2015 05:54 PM, Marek Vasut wrote: On Wednesday, January 14, 2015 at 05:40:53 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com s_init will map SDRAM to 0x0. Signed-off-by: Dinh Nguyen dingu...@opensource.altera.com Hi! [...] +void

Re: [U-Boot] [PATCHv1 15/22] arm: socfpga: spl: add relocate_stack_to_sdram to lowlevel_init.S

2015-01-15 Thread Dinh Nguyen
Hi Marek, On 01/14/2015 05:58 PM, Marek Vasut wrote: On Wednesday, January 14, 2015 at 05:40:55 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Add a function to relocate the stack from OCRAM to SDRAM. Hi, is this functionality really needed

Re: [U-Boot] [PATCHv1 15/22] arm: socfpga: spl: add relocate_stack_to_sdram to lowlevel_init.S

2015-01-15 Thread Dinh Nguyen
On 01/15/2015 04:00 PM, Marek Vasut wrote: On Thursday, January 15, 2015 at 08:19:15 PM, Dinh Nguyen wrote: Hi Marek, Hi Dinh, On 01/14/2015 05:58 PM, Marek Vasut wrote: On Wednesday, January 14, 2015 at 05:40:55 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu

Re: [U-Boot] [PATCHv1 01/22] arm: socfpga: spl: Add main sdram code

2015-01-20 Thread Dinh Nguyen
On 01/14/2015 05:34 PM, Marek Vasut wrote: On Wednesday, January 14, 2015 at 05:40:41 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Hi! This adds the code to configure the SDRAM controller that is found in the SoCFGPA Cyclone5 and Arria5

Re: [U-Boot] [PATCH 04/12] arm: socfpga: Add USB and UDC support for Cyclone V DK

2015-01-17 Thread Dinh Nguyen
USB port and SD card must be installed for this to work. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Cc: Dinh Nguyen dingu...@opensource.altera.com Cc: Pavel Machek pa...@denx.de Cc: Stefan Roese s...@denx.de Cc: Vince Bridgers vbrid

Re: [U-Boot] [PATCH 05/12] arm: socfpga: Drop cyclone5 suffix from board file name

2015-01-17 Thread Dinh Nguyen
On 12/31/14 1:14 PM, Marek Vasut wrote: Drop the _cyclone5 suffix from socfpga_cyclone5.c since this file will contain Arria 5 support as well. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Cc: Dinh Nguyen dingu...@opensource.altera.com Cc: Pavel

Re: [U-Boot] [PATCH 01/12] arm: socfpga: Minor coding style fix

2015-01-17 Thread Dinh Nguyen
On 12/31/14 1:14 PM, Marek Vasut wrote: Replace multiple spaces with a single tab. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Cc: Dinh Nguyen dingu...@opensource.altera.com Cc: Pavel Machek pa...@denx.de Cc: Stefan Roese s...@denx.de Cc

Re: [U-Boot] [PATCH 03/12] arm: socfpga: Sync Cyclone V DK PLL configuration

2015-01-17 Thread Dinh Nguyen
rework. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Cc: Dinh Nguyen dingu...@opensource.altera.com Cc: Pavel Machek pa...@denx.de Cc: Stefan Roese s...@denx.de Cc: Vince Bridgers vbrid...@opensource.altera.com --- board/altera/socfpga/pll_config.h

Re: [U-Boot] [PATCH 10/12] dt: socfpga: Import and enable Arria V DK DTS

2015-01-17 Thread Dinh Nguyen
Cc: Dinh Nguyen dingu...@opensource.altera.com Cc: Pavel Machek pa...@denx.de Cc: Stefan Roese s...@denx.de Cc: Vince Bridgers vbrid...@opensource.altera.com --- arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_arria5.dtsi | 34 arch/arm/dts

Re: [U-Boot] [PATCH 06/12] arm: socfpga: Add Altera Arria V DK support

2015-01-17 Thread Dinh Nguyen
On 12/31/14 1:14 PM, Marek Vasut wrote: Add support for the Altera Arria V development kit. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Cc: Dinh Nguyen dingu...@opensource.altera.com Cc: Pavel Machek pa...@denx.de Cc: Stefan Roese s...@denx.de

Re: [U-Boot] [PATCH 12/12] arm: socfpga: Zap board_early_init_f()

2015-01-17 Thread Dinh Nguyen
On 12/31/14 1:15 PM, Marek Vasut wrote: Zap this unused empty function, no point in having it. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Cc: Dinh Nguyen dingu...@opensource.altera.com Cc: Pavel Machek pa...@denx.de Cc: Stefan Roese s

Re: [U-Boot] [PATCH 11/12] arm: socfpga: Zap checkboard()

2015-01-17 Thread Dinh Nguyen
On 12/31/14 1:14 PM, Marek Vasut wrote: Since all boards now have a DT, instead of hard-coding the board name into the U-Boot binary, read the board name from DT model property. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Cc: Dinh Nguyen dingu

Re: [U-Boot] [PATCH 02/12] arm: socfpga: Sync Cyclone V DK pinmux configuration

2015-01-17 Thread Dinh Nguyen
On 12/31/14 1:14 PM, Marek Vasut wrote: Sync SoCFPGA Cyclone V development kit pinmux configuration with Rocketboard U-Boot v2013.01.01-114-g9381569 (ACDS14.1_REL_GSRD_PR). Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Cc: Dinh Nguyen dingu

Re: [U-Boot] DWC2 driver issues

2015-02-19 Thread Dinh Nguyen
On Thu, 19 Feb 2015, Marek Vasut wrote: +cc: John Youn John took over the maintainership of the DWC2 driver in linux as Paul Zimmerman is no longer at Synopsys. On Monday, February 16, 2015 at 07:28:45 PM, Stephen Warren wrote: Marek, Hello Stephen, Following on from my Google+ post

Re: [U-Boot] [PATCHv1 13/22] arm: socfpga: spl: Add s_init

2015-02-09 Thread Dinh Nguyen
On 02/07/2015 07:34 AM, Marek Vasut wrote: On Thursday, February 05, 2015 at 10:16:59 PM, Dinh Nguyen wrote: On 01/14/2015 05:54 PM, Marek Vasut wrote: [...] + /* + * Private components security + * U-Boot : configure private timer, global timer and cpu + * component access

Re: [U-Boot] [PATCH v2 18/19] dm: socfpga: Move driver model CONFIGs to Kconfig

2015-02-09 Thread Dinh Nguyen
On 02/09/2015 01:29 AM, Stefan Roese wrote: Hi, (added Marek to Cc) On 07.02.2015 01:11, Simon Glass wrote: Hi Dinh, On 6 February 2015 at 16:36, Dinh Nguyen dingu...@opensource.altera.com wrote: Hi Simon, On 02/05/2015 10:41 PM, Simon Glass wrote: Remove driver model CONFIGs from

Re: [U-Boot] [PATCHv2 17/20] arm: socfpga: spl: Add SDRAM check

2015-03-09 Thread Dinh Nguyen
On 3/4/15 7:21 AM, Marek Vasut wrote: On Monday, March 02, 2015 at 05:28:05 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Signed-off-by: Dinh Nguyen dingu...@opensource.altera.com --- arch/arm/cpu/armv7/socfpga/spl.c | 8 1 file

Re: [U-Boot] [PATCHv2 02/20] arm: socfpga: spl: Add SRAM section

2015-03-09 Thread Dinh Nguyen
On 3/5/15 2:59 PM, Marek Vasut wrote: On Wednesday, March 04, 2015 at 10:34:30 PM, Dinh Nguyen wrote: On 03/04/2015 01:39 PM, Marek Vasut wrote: On Wednesday, March 04, 2015 at 07:52:04 PM, Dinh Nguyen wrote: On 03/04/2015 06:39 AM, Marek Vasut wrote: On Monday, March 02, 2015 at 05:27:50

Re: [U-Boot] [PATCHv3 17/17] arm: socfpga: fix uart0 pin mux configuration

2015-03-31 Thread Dinh Nguyen
On 3/31/15 3:48 PM, Pavel Machek wrote: On Mon 2015-03-30 17:01:18, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com commit 07d30b6c3129 arm: socfpga: Sync Cyclone V DK pinmux configuration incorrectly set the muxing for UART0 on the Cyclone V DK

Re: [U-Boot] [PATCHv2 02/20] arm: socfpga: spl: Add SRAM section

2015-03-04 Thread Dinh Nguyen
On 03/04/2015 06:39 AM, Marek Vasut wrote: On Monday, March 02, 2015 at 05:27:50 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Add a section of SRAM to the SPL linker file. Signed-off-by: Dinh Nguyen dingu...@opensource.altera.com Hi! Can

Re: [U-Boot] [PATCHv2 02/20] arm: socfpga: spl: Add SRAM section

2015-03-04 Thread Dinh Nguyen
On 03/04/2015 01:39 PM, Marek Vasut wrote: On Wednesday, March 04, 2015 at 07:52:04 PM, Dinh Nguyen wrote: On 03/04/2015 06:39 AM, Marek Vasut wrote: On Monday, March 02, 2015 at 05:27:50 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Add

Re: [U-Boot] [PATCHv1 01/22] arm: socfpga: spl: Add main sdram code

2015-02-23 Thread Dinh Nguyen
On 2/23/15 10:57 AM, Marek Vasut wrote: On Monday, February 23, 2015 at 05:39:53 PM, Dinh Nguyen wrote: On 2/23/15 10:37 AM, Dinh Nguyen wrote: On 2/15/15 5:25 PM, Pavel Machek wrote: Hi! +#if ENABLE_BRINGUP_DEBUGGING Could we get rid of this for initial merge? Yeah, it can be removed

Re: [U-Boot] [PATCHv2 15/20] arm: socfpga: spl: adjust SPL_MALLOC_SIZE to 256

2015-03-27 Thread Dinh Nguyen
Hi Marek, On 03/04/2015 07:16 AM, Marek Vasut wrote: On Monday, March 02, 2015 at 05:28:03 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Signed-off-by: Dinh Nguyen dingu...@opensource.altera.com Why did you do this change please ? Sorry

Re: [U-Boot] [PATCH v2 0/6] ARM: socfpga: refactoring, move files to arch/arm/mach-socfpga

2015-05-07 Thread Dinh Nguyen
On 5/7/15 6:06 AM, Marek Vasut wrote: On Thursday, May 07, 2015 at 01:03:28 PM, Pavel Machek wrote: On Thu 2015-05-07 12:19:38, Marek Vasut wrote: On Thursday, May 07, 2015 at 06:15:51 AM, Masahiro Yamada wrote: Hi Marek, Hi! 2015-05-07 12:25 GMT+09:00 Marek Vasut ma...@denx.de: On

Re: [U-Boot] [PATCHv3 15/17] arm: socfpga: spl: update pll_config for dev kit

2015-04-15 Thread Dinh Nguyen
On 04/02/2015 08:54 PM, Marek Vasut wrote: On Tuesday, March 31, 2015 at 12:01:16 AM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com This sets the CPU clocks to 925MHz and DDR to 400MHz, and the correct CONFIG_HPS_MAINPLLGRP_VCO_NUMER should be 79

Re: [U-Boot] [U-boot][PATCH 0/2] drivers/ddr/altera: Add the DDR controller driver for SoCFPGA

2015-04-17 Thread Dinh Nguyen
On 4/16/15 1:32 AM, Marek Vasut wrote: On Wednesday, April 15, 2015 at 11:14:50 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Hello, The following 2 patches adds the DDR controller driver that is in the Altera SoCFPGA platform. This driver

Re: [U-Boot] [PATCHv3 10/17] arm: socfpga: spl: Add s_init stub

2015-04-13 Thread Dinh Nguyen
On 04/11/2015 11:57 AM, Marek Vasut wrote: On Tuesday, April 07, 2015 at 04:31:43 PM, Dinh Nguyen wrote: On Fri, 3 Apr 2015, Marek Vasut wrote: On Tuesday, March 31, 2015 at 12:01:11 AM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Add a stub

Re: [U-Boot] [PATCH RESEND 1/3] driver/ddr/altera: Add DDR driver for Altera's SDRAM controller

2015-04-17 Thread Dinh Nguyen
Hi Pavel, On 04/17/2015 07:31 AM, Pavel Machek wrote: Hi! +#ifndef _SDRAM_H_ +#define _SDRAM_H_ + +#ifndef __ASSEMBLY__ + +/* function declaration */ You can delete this comment. Ok... +#define \ +SDR_CTRLGRP_MPTHRESHOLDRST_0_THRESHOLDRSTCYCLES_31_0_LSB 0 +#define \

Re: [U-Boot] [PATCHv3 01/17] arm: socfpga: spl: Add main sdram code

2015-04-06 Thread Dinh Nguyen
Hi Marek, On Thu, Apr 2, 2015 at 9:00 PM, Marek Vasut ma...@denx.de wrote: On Tuesday, March 31, 2015 at 08:41:46 AM, Wolfgang Denk wrote: Dear dingu...@opensource.altera.com, In message 1427752878-18426-2-git-send-email-dingu...@opensource.altera.com you wrote: ... +/* Register:

Re: [U-Boot] [PATCHv3 10/17] arm: socfpga: spl: Add s_init stub

2015-04-07 Thread Dinh Nguyen
On Fri, 3 Apr 2015, Marek Vasut wrote: On Tuesday, March 31, 2015 at 12:01:11 AM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Add a stub s_init function in the board file. Why do you add this stub function ? The commit message should

Re: [U-Boot] [PATCHv3 13/17] arm: socfpga: spl: add board_init_f to SPL

2015-04-07 Thread Dinh Nguyen
On Fri, 3 Apr 2015, Marek Vasut wrote: On Tuesday, March 31, 2015 at 11:07:57 PM, Pavel Machek wrote: Hi! On Mon 2015-03-30 17:01:14, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Remap SDRAM to 0x0, and clear OCRAM's ECC in board_init_f

Re: [U-Boot] [PATCHv4 1/3] driver/ddr/altera: Add DDR driver for Altera's SDRAM controller

2015-06-09 Thread Dinh Nguyen
On 6/9/15 6:55 AM, Pavel Machek wrote: Hi! +struct sdram_prot_rule { +uint64_tsdram_start; /* SDRAM start address */ +uint64_tsdram_end; /* SDRAM end address */ +uint32_trule; /* SDRAM protection rule number: 0-19 */ +int valid; /* Rule

Re: [U-Boot] [PATCHv3 2/3] driver/ddr/altera/: Add the sdram calibration portion

2015-05-29 Thread Dinh Nguyen
On 05/28/2015 01:18 PM, Marek Vasut wrote: On Thursday, May 28, 2015 at 05:41:26 PM, Dinh Nguyen wrote: On 05/25/2015 08:23 AM, Wolfgang Denk wrote: Dear Pavel, In message 20150525123750.GD9943@amd you wrote: + ** All global variables that are explicitly initialized (including

Re: [U-Boot] [PATCHv3 2/3] driver/ddr/altera/: Add the sdram calibration portion

2015-05-28 Thread Dinh Nguyen
On 05/25/2015 08:23 AM, Wolfgang Denk wrote: Dear Pavel, In message 20150525123750.GD9943@amd you wrote: + ** All global variables that are explicitly initialized (including ** + ** explicitly initialized to zero), are only initialized once, during ** + ** configuration

Re: [U-Boot] [PATCHv3 2/3] driver/ddr/altera/: Add the sdram calibration portion

2015-05-28 Thread Dinh Nguyen
On 05/25/2015 08:23 AM, Wolfgang Denk wrote: Dear Pavel, In message 20150525123750.GD9943@amd you wrote: + ** All global variables that are explicitly initialized (including ** + ** explicitly initialized to zero), are only initialized once, during ** + ** configuration

Re: [U-Boot] [PATCHv3 2/3] driver/ddr/altera/: Add the sdram calibration portion

2015-05-21 Thread Dinh Nguyen
On 5/21/15 6:35 PM, Marek Vasut wrote: On Monday, May 18, 2015 at 09:36:48 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com This patch adds the DDR calibration portion of the Altera SDRAM driver. Signed-off-by: Dinh Nguyen dingu

Re: [U-Boot] [PATCH 000/172] socfpga: SPL and DDR init

2015-08-03 Thread Dinh Nguyen
to start picking it up so it can land in 2015.10 . Reviews and comments are welcome. Thank you so much for putting this series together! For the whole series: Acked-by: Dinh Nguyen dingu...@opensource.altera.com Dinh ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH 05/15] ddr: altera: sequencer: Wrap ac_rom_init and inst_rom_init

2015-08-03 Thread Dinh Nguyen
/polution/pollution Acked-by: Dinh Nguyen dingu...@opensource.altera.com Thanks, Dinh ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 01/15] ddr: altera: sequencer: Move qts-generated files to board dir

2015-08-03 Thread Dinh Nguyen
/altera = board/altera/socfpga/qts}/sequencer_defines.h (100%) Acked-by: Dinh Nguyen dingu...@opensource.altera.com Thanks, Dinh ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 02/15] ddr: altera: sequencer: Clean up mach/sdram.h

2015-08-03 Thread Dinh Nguyen
(-) Acked-by: Dinh Nguyen dingu...@opensource.altera.com Thanks, Dinh ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 03/15] ddr: altera: sequencer: Zap unused params and macros

2015-08-03 Thread Dinh Nguyen
/sequencer.h | 31 -- 2 files changed, 5 insertions(+), 75 deletions(-) Acked-by: Dinh Nguyen dingu...@opensource.altera.com Thanks, Dinh ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 06/15] ddr: altera: sequencer: Wrap RW_MGR_* macros

2015-08-03 Thread Dinh Nguyen
the nasty QTS generated macros in board files and reducing the polution of the namespace. s/polution/pollution Acked-by: Dinh Nguyen dingu...@opensource.altera.com Thanks, Dinh ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

  1   2   3   4   5   >