Re: [U-Boot] UBIFS seeing corrupt blank pages when image flashed via u-boot

2014-01-13 Thread Calvin Johnson
Hi, On Fri, Jan 3, 2014 at 6:29 PM, Artem Bityutskiy wrote: > > Hi Pekon, > > On Fri, 2014-01-03 at 11:45 +, Gupta, Pekon wrote: > > *_Case-1_ Flashing UBIFS image from u-boot using 'nand write' utility* > > > > For a partially written erased-block.. > > (a) 1st page is written with 'erase-he

Re: [U-Boot] [PATCH] board: freescale: ls1012ardb: Add command to switch QSPI bank

2018-07-31 Thread Calvin Johnson
Hi York, > -Original Message- > From: York Sun > Sent: Tuesday, July 31, 2018 8:37 PM > To: Calvin Johnson ; Scott Wood > ; Calvin Johnson > Cc: Jagdish Gediya ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [U-Boot] [PATCH] board: freescale: ls1012ardb:

Re: [U-Boot] [Patch v2] fsl-layerscape: fdt: add IFC fixup if no IFC is avaliable in U-Boot

2016-05-03 Thread Calvin Johnson
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Scott Wood > Sent: Tuesday, May 03, 2016 10:02 AM > To: Qianyu Gong ; u-boot@lists.denx.de; york sun > > Cc: Mingkai Hu > Subject: Re: [U-Boot] [Patch v2] fsl-layerscape: fdt: add IFC fixup if no IFC >

Re: [U-Boot] [PATCH] armv8/ls2080ardb: Enable VID support

2016-02-05 Thread Calvin Johnson
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Prabhakar > Kushwaha > Sent: Friday, February 05, 2016 12:34 PM > To: york sun ; Harninder Rai ; > u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] armv8/ls2080ardb: Enable VID support > > > -Ori

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-08 Thread Calvin Johnson
Hi Denis, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang > Denk > Sent: Monday, February 08, 2016 5:53 PM > To: Bakhvalov, Denis (Nokia - PL/Wroclaw) > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] Problem with mounting a jffs2 partitio

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-25 Thread Calvin Johnson
Hi York, >-Original Message- >From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of york sun >Sent: Monday, October 24, 2016 9:45 PM >To: Prabhakar Kushwaha ; Pratiyush Srivastava >; u- >b...@lists.denx.de; Mingkai Hu >Cc: Hou Zhiqiang >Subject: Re: [U-Boot] [PATCH] armv8/ls10

Re: [U-Boot] [Patch V3 3/3] armv8/ls1043aqds: add QSPI boot support

2016-01-18 Thread Calvin Johnson
Hi Qianyu, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Qianyu > Gong > Sent: Thursday, January 14, 2016 9:57 AM > To: Scott Wood ; u-boot@lists.denx.de > Cc: b48...@freescale.com; Mingkai Hu ; > wenbin.s...@freescale.com > Subject: Re: [U-Boot] [P

Re: [U-Boot] [PATCH] ls2085a: Correct the model & board name of RDB and QDS

2016-01-21 Thread Calvin Johnson
Hi Ashish, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Ashish, > Kumar > Sent: Wednesday, January 20, 2016 12:33 PM > To: prabhakar.khusw...@nxp.com; u-boot@lists.denx.de > Subject: [U-Boot] [PATCH] ls2085a: Correct the model & board name of RDB >

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-27 Thread Calvin Johnson
Hi York, >-Original Message- >From: york sun >Sent: Wednesday, October 26, 2016 10:09 PM >To: Calvin Johnson ; Prabhakar Kushwaha >; Pratiyush >Srivastava ; u-boot@lists.denx.de; Mingkai Hu > >Cc: Hou Zhiqiang >Subject: Re: [PATCH] armv8/ls1043a: Add the OC

[U-Boot] [PATCH v2 00/13] LS1012A PFE driver patch series

2018-02-15 Thread Calvin Johnson
op of this base patch are now merged to this patch. 2. Platform changes are segregated into different patches. 3. Network enabled on 2g5rdb platform 4. Moved from legacy to new driver model. Calvin Johnson (12): drivers: net: phy: Fix aquantia compilation with DM drivers: net: pfe_eth: LS1012

[U-Boot] [PATCH v2 01/13] drivers: net: phy: Fix aquantia compilation with DM

2018-02-15 Thread Calvin Johnson
’ phydev->dev->name); ^~ Signed-off-by: Calvin Johnson --- Changes in v2: None --- drivers/net/phy/aquantia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c index ad12f6d..6678147 100644 --- a/drivers/net/phy/aqua

[U-Boot] [PATCH v2 09/13] board: freescale: ls1012a2g5rdb: enable network support on ls1012a2g5rdb

2018-02-15 Thread Calvin Johnson
This patch enables ethernet support for ls1012a2g5rdb. Signed-off-by: Calvin Johnson Signed-off-by: Bhaskar Upadhaya --- Changes in v2: -New patch added to series to enable ethernet support for ls1012a2g5rdb --- board/freescale/ls1012ardb/Kconfig | 14 ++ board/freescale/ls1012ardb

[U-Boot] [PATCH v2 10/13] armv8: fsl-lsch2: add pfe macros and update ccsr_scfg structure

2018-02-15 Thread Calvin Johnson
SoC specific PFE macros are defined and structure ccsr_scfg is updated with members defined for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: None --- .../include/asm/arch-fsl-layerscape/immap_lsch2.h | 38 -- 1 file changed, 36

[U-Boot] [PATCH v2 11/13] armv8: fsl-lsch2: configure pfe's DDR and HDBUS interfaces and ECC

2018-02-15 Thread Calvin Johnson
1. Set AWCACHE0 attribute of PFE DDR and HDBUS master interfaces to bufferable. 2. Set RD/WR QoS for PFE DDR and HDBUS AXI master interfaces. 3. Disable ECC detection for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -Improved commit message to

[U-Boot] [PATCH v2 08/13] board: freescale: ls1012ardb: enable network support on ls1012ardb

2018-02-15 Thread Calvin Johnson
This patch enables ethernet support for ls1012ardb. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -split from original patch "board: freescale: ls1012a: enable network support on ls1012a platforms" --- board/freescale/ls1012ardb/Kconfig

[U-Boot] [PATCH v2 02/13] armv8: fsl-layerscape: Add support of GPIO structure

2018-02-15 Thread Calvin Johnson
From: Prabhakar Kushwaha Layerscape Gen2 SoC supports GPIO registers to control GPIO signals. Adding support of GPIO structure to access GPIO registers. Signed-off-by: Pratiyush Srivastava Signed-off-by: Prabhakar Kushwaha --- Changes in v2: None --- arch/arm/include/asm/arch-fsl-layerscape/i

[U-Boot] [PATCH v2 03/13] drivers: net: pfe_eth: LS1012A PFE driver introduction

2018-02-15 Thread Calvin Johnson
high level gemac initialization functions pfe_firmware.c: provides functions to load firmware into PFE internal processor engines. pfe_mdio.c: provides functions to initialize phy and mdio. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -fix RGMII TX-delay

[U-Boot] [PATCH v2 04/13] drivers: net: pfe_eth: provide pfe commands

2018-02-15 Thread Calvin Johnson
pfe_command provides command line support for several features that support pfe, like starting or stopping the pfe, checking the health of the processor engines and checking status of different units inside pfe. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in

[U-Boot] [PATCH v2 05/13] drivers: net: pfe_eth: LS1012A PFE headers

2018-02-15 Thread Calvin Johnson
Contains all the pfe header files. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -Add pfe_rx_done to clear bd after packet processing -remove unused code under CONFIG_UTIL_PE_DISABLED -Used BIT and GENMASK macros wherever applicable -Removed generic

[U-Boot] [PATCH v2 13/13] configs: ls1012a: add pfe configuration for LS1012A

2018-02-15 Thread Calvin Johnson
Add configurations for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -Moved SYS_LS_PFE_FW_ADDR from pfe Kconfig to board Kconfigs -Add "pfe stop" to ls1012a rdb, frdm and 2g5rdb config files --- configs/ls1012a2g5rdb_qspi_defconfig | 2 +

[U-Boot] [PATCH v2 07/13] board: freescale: ls1012afrdm: enable network support on ls1012afrdm

2018-02-15 Thread Calvin Johnson
This patch enables ethernet support for ls1012afrdm. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -split from original patch "board: freescale: ls1012a: enable network support on ls1012a platforms" --- board/freescale/ls1012afrdm/Kconfig

[U-Boot] [PATCH v2 12/13] armv8: layerscape: csu: enable ns access to PFE registers

2018-02-15 Thread Calvin Johnson
Enable all types of non-secure access to PFE block registers. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -Improved commit message to provide more description --- arch/arm/include/asm/arch-fsl-layerscape/ns_access.h | 2 ++ 1 file changed, 2 insertions

[U-Boot] [PATCH v2 06/13] board: freescale: ls1012aqds: enable network support on ls1012aqds

2018-02-15 Thread Calvin Johnson
This patch enables ethernet support for ls1012aqds. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -split from original patch "board: freescale: ls1012a: enable network support on ls1012a platforms" --- board/freescale/ls1012aqds/Kconfig

Re: [U-Boot] [PATCH v2 00/13] LS1012A PFE driver patch series

2018-02-15 Thread Calvin Johnson
Hi York, > -Original Message- > From: York Sun > Sent: Thursday, February 15, 2018 9:19 PM > To: Calvin Johnson ; u-boot@lists.denx.de > Cc: joe.hershber...@ni.com; Anji Jagarlmudi > Subject: Re: [PATCH v2 00/13] LS1012A PFE driver patch series > > On 02/15/2018

Re: [U-Boot] [PATCH] usb: dwc2: Reduce data buffer size to 16kB

2018-02-21 Thread Calvin Johnson
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Alexey > Brodkin > Sent: Wednesday, February 21, 2018 3:18 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Alexey Brodkin > > Subject: [U-Boot] [PATCH] usb: dwc2: Reduce data buffer size to 16kB > > I

Re: [U-Boot] [PATCH v2 00/13] LS1012A PFE driver patch series

2018-02-21 Thread Calvin Johnson
Hi Joe, > -Original Message- > From: Calvin Johnson [mailto:calvin.john...@nxp.com] > Sent: Thursday, February 15, 2018 7:47 PM > To: u-boot@lists.denx.de > Cc: joe.hershber...@ni.com; York Sun ; Anji Jagarlmudi > ; Calvin Johnson > Subject: [PATCH v2 00/13] LS1

Re: [U-Boot] [PATCH v2 00/13] LS1012A PFE driver patch series

2018-02-26 Thread Calvin Johnson
Hi Joe, > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@ni.com] > Sent: Tuesday, February 27, 2018 1:31 AM > To: Calvin Johnson > Cc: joe.hershber...@ni.com; u-boot@lists.denx.de; Anji Jagarlmudi > > Subject: Re: [U-Boot] [PATCH v2 00/13] LS1

Re: [U-Boot] [PATCH] board: freescale: ls1012a: fix RGMII TX-delay issue

2018-02-27 Thread Calvin Johnson
> -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@ni.com] > Sent: Tuesday, February 27, 2018 9:28 PM > To: Calvin Johnson > Cc: u-boot ; Joe Hershberger > ; Anji Jagarlmudi > Subject: Re: [U-Boot] [PATCH] board: freescale: ls1012a: fix RGMII TX-d

Re: [U-Boot] [PATCH v2 00/13] LS1012A PFE driver patch series

2018-02-27 Thread Calvin Johnson
> -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@ni.com] > Sent: Tuesday, February 27, 2018 9:18 PM > To: Calvin Johnson > Cc: joe.hershber...@ni.com; u-boot@lists.denx.de; Anji Jagarlmudi > ; York Sun > Subject: Re: [U-Boot] [PATCH v2 00/13] LS1

Re: [U-Boot] [PATCH v2 13/13] configs: ls1012a: add pfe configuration for LS1012A

2018-02-28 Thread Calvin Johnson
Hi Joe, > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@ni.com] > Sent: Wednesday, February 28, 2018 1:47 AM > To: Calvin Johnson > Cc: u-boot ; Joe Hershberger > ; Anji Jagarlmudi > Subject: Re: [U-Boot] [PATCH v2 13/13] configs: ls1012a: add

[U-Boot] [PATCH v3 00/13] LS1012A PFE driver patch series

2018-03-03 Thread Calvin Johnson
-Improved commit message to provide more description -Replaced magic numbers with proper definitions -Improved commit message to provide more description -Moved SYS_LS_PFE_FW_ADDR from pfe Kconfig to board Kconfigs -Add "pfe stop" to ls1012a rdb, frdm and 2g5rdb config files Calvin Jo

[U-Boot] [PATCH v3 01/13] drivers: net: phy: Fix aquantia compilation with DM

2018-03-03 Thread Calvin Johnson
’ phydev->dev->name); ^~ Signed-off-by: Calvin Johnson Acked-by: Joe Hershberger --- Changes in v3: None Changes in v2: None drivers/net/phy/aquantia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c index a

[U-Boot] [PATCH v3 03/13] drivers: net: pfe_eth: LS1012A PFE driver introduction

2018-03-03 Thread Calvin Johnson
high level gemac initialization functions pfe_firmware.c: provides functions to load firmware into PFE internal processor engines. pfe_mdio.c: provides functions to initialize phy and mdio. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger

[U-Boot] [PATCH v3 02/13] armv8: fsl-layerscape: Add support of GPIO structure

2018-03-03 Thread Calvin Johnson
From: Prabhakar Kushwaha Layerscape Gen2 SoC supports GPIO registers to control GPIO signals. Adding support of GPIO structure to access GPIO registers. Signed-off-by: Pratiyush Srivastava Signed-off-by: Prabhakar Kushwaha Signed-off-by: Calvin Johnson Acked-by: Joe Hershberger

[U-Boot] [PATCH v3 04/13] drivers: net: pfe_eth: provide pfe commands

2018-03-03 Thread Calvin Johnson
pfe_command provides command line support for several features that support pfe, like starting or stopping the pfe, checking the health of the processor engines and checking status of different units inside pfe. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe

[U-Boot] [PATCH v3 05/13] drivers: net: pfe_eth: LS1012A PFE headers

2018-03-03 Thread Calvin Johnson
Contains all the pfe header files. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v3: -Move pfe_eth header files to include/net/pfe_eth -Use BIT macro wherever applicable Changes in v2: -Add pfe_rx_done to clear bd after packet processing -remove unused

[U-Boot] [PATCH v3 08/13] board: freescale: ls1012ardb: enable network support on ls1012ardb

2018-03-03 Thread Calvin Johnson
This patch enables ethernet support for ls1012ardb. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger --- Changes in v3: -Update Kconfig -Update header file location to include/net/pfe_eth Changes in v2: -split from original patch "board: free

[U-Boot] [PATCH v3 07/13] board: freescale: ls1012afrdm: enable network support on ls1012afrdm

2018-03-03 Thread Calvin Johnson
This patch enables ethernet support for ls1012afrdm. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger --- Changes in v3: -Update Kconfig -Update header file location to include/net/pfe_eth -Prefix CONFIG_PFE_ to appropriate macros Changes in v2

[U-Boot] [PATCH v3 09/13] board: freescale: ls1012a2g5rdb: enable network support on ls1012a2g5rdb

2018-03-03 Thread Calvin Johnson
This patch enables ethernet support for ls1012a2g5rdb. Signed-off-by: Calvin Johnson Signed-off-by: Bhaskar Upadhaya --- Changes in v3: -Update Kconfig -Update header file location to include/net/pfe_eth -Prefix CONFIG_PFE_ to appropriate macros -Indent properly Changes in v2: -New patch

[U-Boot] [PATCH v3 11/13] armv8: fsl-lsch2: configure pfe's DDR and HDBUS interfaces and ECC

2018-03-03 Thread Calvin Johnson
1. Set AWCACHE0 attribute of PFE DDR and HDBUS master interfaces to bufferable. 2. Set RD/WR QoS for PFE DDR and HDBUS AXI master interfaces. 3. Disable ECC detection for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger --- Changes in v3

[U-Boot] [PATCH v3 06/13] board: freescale: ls1012aqds: enable network support on ls1012aqds

2018-03-03 Thread Calvin Johnson
This patch enables ethernet support for ls1012aqds. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v3: -Update Kconfig -Update header file location to include/net/pfe_eth -Cosmetic changes Changes in v2: -split from original patch "board: freescale: ls

[U-Boot] [PATCH v3 10/13] armv8: fsl-lsch2: add pfe macros and update ccsr_scfg structure

2018-03-03 Thread Calvin Johnson
SoC specific PFE macros are defined and structure ccsr_scfg is updated with members defined for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v3: -Use BIT macro wherever applicable Changes in v2: None .../include/asm/arch-fsl-layerscape/immap_lsch2

[U-Boot] [PATCH v3 12/13] armv8: layerscape: csu: enable ns access to PFE registers

2018-03-03 Thread Calvin Johnson
Enable all types of non-secure access to PFE block registers. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger --- Changes in v3: None Changes in v2: -Improved commit message to provide more description arch/arm/include/asm/arch-fsl-layerscape

[U-Boot] [PATCH v3 13/13] configs: ls1012a: add pfe configuration for LS1012A

2018-03-03 Thread Calvin Johnson
Add configurations for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v3: -Move PFE macros to Kconfig -Remove unused UTIL_PE_DISABLED config Changes in v2: -Moved SYS_LS_PFE_FW_ADDR from pfe Kconfig to board Kconfigs -Add "pfe stop" to ls1012a

Re: [U-Boot] [PATCH v3 00/13] LS1012A PFE driver patch series

2018-03-06 Thread Calvin Johnson
Hi Joe, Thanks for reviewing all the patches. > -Original Message- > From: Calvin Johnson [mailto:calvin.john...@nxp.com] > Sent: Saturday, March 3, 2018 11:14 PM > To: u-boot@lists.denx.de; Joe Hershberger > Cc: Anji Jagarlmudi ; York Sun ; > Calvin Johnson ;

Re: [U-Boot] [PATCH v3 00/13] LS1012A PFE driver patch series

2018-03-06 Thread Calvin Johnson
ect: Re: [U-Boot] [PATCH v3 00/13] LS1012A PFE driver patch series > > On Tue, Mar 6, 2018 at 10:28 AM, York Sun wrote: > > On 03/06/2018 06:28 AM, Calvin Johnson wrote: > >> Hi Joe, > >> > >> Thanks for reviewing all the patches. > > > > Joe, >

[U-Boot] [PATCH v4 00/13] LS1012A PFE driver patch series

2018-03-08 Thread Calvin Johnson
finitions -Improved commit message to provide more description -Moved SYS_LS_PFE_FW_ADDR from pfe Kconfig to board Kconfigs -Add "pfe stop" to ls1012a rdb, frdm and 2g5rdb config files Calvin Johnson (12): drivers: net: phy: Fix aquantia compilation with DM drivers: net: pfe_eth:

[U-Boot] [PATCH v4 01/13] drivers: net: phy: Fix aquantia compilation with DM

2018-03-08 Thread Calvin Johnson
’ phydev->dev->name); ^~ Signed-off-by: Calvin Johnson Acked-by: Joe Hershberger --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/net/phy/aquantia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/aquantia.c b/drivers/n

[U-Boot] [PATCH v4 03/13] drivers: net: pfe_eth: LS1012A PFE driver introduction

2018-03-08 Thread Calvin Johnson
high level gemac initialization functions pfe_firmware.c: provides functions to load firmware into PFE internal processor engines. pfe_mdio.c: provides functions to initialize phy and mdio. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger

[U-Boot] [PATCH v4 02/13] armv8: fsl-layerscape: Add support of GPIO structure

2018-03-08 Thread Calvin Johnson
From: Prabhakar Kushwaha Layerscape Gen2 SoC supports GPIO registers to control GPIO signals. Adding support of GPIO structure to access GPIO registers. Signed-off-by: Pratiyush Srivastava Signed-off-by: Prabhakar Kushwaha Signed-off-by: Calvin Johnson Acked-by: Joe Hershberger

[U-Boot] [PATCH v4 05/13] drivers: net: pfe_eth: LS1012A PFE headers

2018-03-08 Thread Calvin Johnson
Contains all the pfe header files. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger --- Changes in v4: None Changes in v3: -Move pfe_eth header files to include/net/pfe_eth -Use BIT macro wherever applicable Changes in v2: -Add pfe_rx_done to

[U-Boot] [PATCH v4 06/13] board: freescale: ls1012aqds: enable network support on ls1012aqds

2018-03-08 Thread Calvin Johnson
This patch enables ethernet support for ls1012aqds. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger --- Changes in v4: -Compile pfe driver conditionally with CONFIG_FSL_PFE Changes in v3: -Update Kconfig -Update header file location to include

[U-Boot] [PATCH v4 04/13] drivers: net: pfe_eth: provide pfe commands

2018-03-08 Thread Calvin Johnson
pfe_command provides command line support for several features that support pfe, like starting or stopping the pfe, checking the health of the processor engines and checking status of different units inside pfe. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe

[U-Boot] [PATCH v4 07/13] board: freescale: ls1012afrdm: enable network support on ls1012afrdm

2018-03-08 Thread Calvin Johnson
This patch enables ethernet support for ls1012afrdm. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger --- Changes in v4: -Compile pfe driver conditionally with CONFIG_FSL_PFE Changes in v3: -Update Kconfig -Update header file location to include

[U-Boot] [PATCH v4 11/13] armv8: fsl-lsch2: configure pfe's DDR and HDBUS interfaces and ECC

2018-03-08 Thread Calvin Johnson
1. Set AWCACHE0 attribute of PFE DDR and HDBUS master interfaces to bufferable. 2. Set RD/WR QoS for PFE DDR and HDBUS AXI master interfaces. 3. Disable ECC detection for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger --- Changes in v4: None

[U-Boot] [PATCH v4 13/13] configs: ls1012a: add pfe configuration for LS1012A

2018-03-08 Thread Calvin Johnson
Add configurations for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger --- Changes in v4: -Fix typo "ppfe stop" Changes in v3: -Move PFE macros to Kconfig -Remove unused UTIL_PE_DISABLED config Changes in v2: -Moved SYS_LS_PFE_FW

[U-Boot] [PATCH v4 12/13] armv8: layerscape: csu: enable ns access to PFE registers

2018-03-08 Thread Calvin Johnson
Enable all types of non-secure access to PFE block registers. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger --- Changes in v4: None Changes in v3: None Changes in v2: -Improved commit message to provide more description arch/arm/include/asm

[U-Boot] [PATCH v4 08/13] board: freescale: ls1012ardb: enable network support on ls1012ardb

2018-03-08 Thread Calvin Johnson
This patch enables ethernet support for ls1012ardb. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger --- Changes in v4: -Compile pfe driver conditionally with CONFIG_FSL_PFE Changes in v3: -Update Kconfig -Update header file location to include

[U-Boot] [PATCH v4 09/13] board: freescale: ls1012a2g5rdb: enable network support on ls1012a2g5rdb

2018-03-08 Thread Calvin Johnson
This patch enables ethernet support for ls1012a2g5rdb. Signed-off-by: Calvin Johnson Signed-off-by: Bhaskar Upadhaya Acked-by: Joe Hershberger --- Changes in v4: None Changes in v3: -Update Kconfig -Update header file location to include/net/pfe_eth -Prefix CONFIG_PFE_ to appropriate macros

[U-Boot] [PATCH v4 10/13] armv8: fsl-lsch2: add pfe macros and update ccsr_scfg structure

2018-03-08 Thread Calvin Johnson
SoC specific PFE macros are defined and structure ccsr_scfg is updated with members defined for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger --- Changes in v4: None Changes in v3: -Use BIT macro wherever applicable Changes in v2: None

Re: [U-Boot] [PATCH v8 1/3] Adding TCP and wget into u-boot

2018-03-17 Thread Calvin Johnson
Hi Duncan, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Joe > Hershberger > Sent: Friday, March 9, 2018 12:23 AM > To: Duncan Hare > Cc: Duncan Hare ; Joe Hershberger > ; Duncan Hare ; u-boot > > Subject: Re: [U-Boot] [PATCH v8 1/3] Adding TCP an

Re: [U-Boot] [PATCH v8 1/3] Adding TCP and wget into u-boot

2018-03-17 Thread Calvin Johnson
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of > d...@synoia.com > Sent: Thursday, March 8, 2018 10:14 AM > To: duncanch...@yahoo.com > Cc: Duncan Hare ; Joe Hershberger > ; u-boot@lists.denx.de > Subject: [U-Boot] [PATCH v8 1/3] Adding TCP and wget i

Re: [U-Boot] [PATCH v8 1/3] Adding TCP and wget into u-boot

2018-03-19 Thread Calvin Johnson
> > It would be good to have this cosmetic change into a separate patch. > > Ok. But at this stage I'm at the "Forgive me Lord for I know not what > I do" 😊 . Let me know, if you need steps to separate this out. To me, it is okay even If you keep this in the same patch. > > > /* Set IP hea

Re: [U-Boot] [PATCH 5/7] bootcount: add support for bootcounter on EXT filesystem

2017-10-27 Thread Calvin Johnson
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Martyn > Welch > Sent: Thursday, October 26, 2017 8:18 PM > diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt > index 5ee1601..b9580b9 100644 > --- a/scripts/config_whitelist.txt >

Re: [U-Boot] Commands to use U-boot in fpga

2017-10-28 Thread Calvin Johnson
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Lukasz > Majewski > Sent: Friday, October 27, 2017 5:18 PM > To: Ammu Lakshmy > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] Commands to use U-boot in fpga > > On Fri, 27 Oct 2017 16:45:16 +0530 >

[U-Boot] [PATCH 0/3] ls1012a: fix tftp failure

2017-11-21 Thread Calvin Johnson
This patch series fixes bug which fails tftp sometimes while using the pfe interfaces and also has some code clean up. Calvin Johnson (3): drivers: net: pfe_eth: add pfe_rx_done to clear bd after packet processing drivers: net: pfe_eth: use writel/readl to access hw bds drivers: net

[U-Boot] [PATCH 2/3] drivers: net: pfe_eth: use writel/readl to access hw bds

2017-11-21 Thread Calvin Johnson
writel/readl accessors should be used to access hardware buffer descriptors. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- drivers/net/pfe_eth/pfe_driver.c | 70 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a

[U-Boot] [PATCH 1/3] drivers: net: pfe_eth: add pfe_rx_done to clear bd after packet processing

2017-11-21 Thread Calvin Johnson
Create pfe_rx_done function to clear buffer descriptor after the packet is processed by the network stack. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- drivers/net/pfe_eth/pfe_driver.c | 35 ++- drivers/net/pfe_eth/pfe_eth.c| 1

[U-Boot] [PATCH 3/3] drivers: net: pfe_eth: cleanup typos and indent

2017-11-21 Thread Calvin Johnson
Typos are corrected. Some sentences are rephrased. Proper indentation added. Signed-off-by: Calvin Johnson --- drivers/net/pfe_eth/pfe_driver.c | 33 +++-- drivers/net/pfe_eth/pfe_eth.c| 12 ++-- 2 files changed, 21 insertions(+), 24 deletions(-) diff

[U-Boot] [PATCH 0/2] Remove unused pfe_eth code

2017-11-21 Thread Calvin Johnson
This patch series cleans up unused PFE code under CONFIG_PFE_WARN_WA and CONFIG_UTIL_PE_DISABLED. Calvin Johnson (2): drivers: net: pfe_eth: remove unused code under CONFIG_UTIL_PE_DISABLED drivers: net: pfe_eth: remove unused code under CONFIG_PFE_WARN_WA drivers/net/pfe_eth/pfe.c

[U-Boot] [PATCH 1/2] drivers: net: pfe_eth: remove unused code under CONFIG_UTIL_PE_DISABLED

2017-11-21 Thread Calvin Johnson
remove unused code under CONFIG_UTIL_PE_DISABLED Signed-off-by: Calvin Johnson --- drivers/net/pfe_eth/pfe.c | 98 -- drivers/net/pfe_eth/pfe_cmd.c | 16 +-- drivers/net/pfe_eth/pfe_driver.c | 15 -- drivers/net/pfe_eth/pfe_firmware.c

[U-Boot] [PATCH 2/2] drivers: net: pfe_eth: remove unused code under CONFIG_PFE_WARN_WA

2017-11-21 Thread Calvin Johnson
remove unused code under CONFIG_PFE_WARN_WA Signed-off-by: Calvin Johnson --- drivers/net/pfe_eth/pfe_cmd.c | 28 +--- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/drivers/net/pfe_eth/pfe_cmd.c b/drivers/net/pfe_eth/pfe_cmd.c index 03a2690..559f8f0

Re: [U-Boot] [PATCH 0/3] ls1012a: fix tftp failure

2017-11-22 Thread Calvin Johnson
Hi York, > -Original Message- > From: York Sun > Sent: Thursday, November 23, 2017 12:00 AM > To: Calvin Johnson ; u-boot@lists.denx.de > Cc: Anji Jagarlmudi ; Joe Hershberger > ; Prabhakar Kushwaha > > Subject: Re: [PATCH 0/3] ls1012a: fix tftp failure >

Re: [U-Boot] [PATCH V2 4/5] net: fec: sharing MDIO for two enet controllers

2018-03-22 Thread Calvin Johnson
Hi Joe, > >>> > >>> No, I think we can do this with adding new DM MDIO similar to DM PHY > which > >>> recently done. May be some sort of efforts but it is permanent. > >> We do not have that driver now, so could we first have this patch? When > >> DM MDIO ready, this piece code could be removed t

Re: [U-Boot] configs: ls1012a: add pfe configuration for LS1012A

2018-03-26 Thread Calvin Johnson
Thanks Joe for reviewing and merging the PFE driver patches. Calvin > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@ni.com] > Sent: Tuesday, March 27, 2018 12:56 AM > To: Calvin Johnson > Cc: u-boot > Subject: Re: configs: ls1012a: add pfe configu

Re: [U-Boot] [PATCH 3/4] elf: Add a very simple elf64 loader

2018-04-10 Thread Calvin Johnson
On Mon, Apr 09, 2018 at 11:28:30PM -0700, Bin Meng wrote: > This adds a very simple elf64 loader via program headers, similar > to load_elf_image_phdr() that we already have. > > Signed-off-by: Bin Meng > --- > > cmd/elf.c | 34 ++ > 1 file changed, 34 insertions

Re: [U-Boot] [PATCH] board: freescale: ls1012ardb: Add command to switch QSPI bank

2018-04-15 Thread Calvin Johnson
On Fri, Apr 13, 2018 at 12:18 AM, Jagdish Gediya wrote: > Add command "boot_bank X" to switch the boot bank to either > 1 or 2. Are these functions required as this can be handled by new env vars to switch banks? > > Signed-off-by: Jagdish Gediya > --- > board/freescale/ls1012ardb/ls1012ardb.c

Re: [U-Boot] [PATCH] board: freescale: ls1012ardb: Add command to switch QSPI bank

2018-04-19 Thread Calvin Johnson
On Thu, Apr 19, 2018 at 12:17 PM, Scott Wood wrote: > On Mon, 2018-04-16 at 08:40 +0530, Calvin Johnson wrote: >> On Fri, Apr 13, 2018 at 12:18 AM, Jagdish Gediya >> wrote: >> > Add command "boot_bank X" to switch the boot bank to either >> > 1 or 2.

Re: [U-Boot] [PATCH] board: freescale: ls1012ardb: Add command to switch QSPI bank

2018-04-19 Thread Calvin Johnson
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Friday, April 20, 2018 6:40 AM > To: Calvin Johnson > Cc: Jagdish Gediya ; U-Boot Mailing List b...@lists.denx.de>; Calvin Johnson ; York Sun > > Subject: Re: [U-Boot] [PATCH] board: fr

[U-Boot] [PATCH 0/9] LS1012A PFE driver patch series

2017-10-09 Thread Calvin Johnson
04305 Regards Calvin Calvin Johnson (9): drivers: net: pfe_eth: LS1012A PFE driver introduction drivers: net: pfe_eth: provide pfe commands drivers: net: pfe_eth: LS1012A PFE headers board: freescale: ls1012a: enable network support on ls1012a platforms armv8: fsl-lsch2: initialize pfe

[U-Boot] [PATCH 1/9] drivers: net: pfe_eth: LS1012A PFE driver introduction

2017-10-09 Thread Calvin Johnson
. pfe_eth.c: provides high level gemac, phy and mdio initialization functions. pfe_firmware.c: provides functions to load firmware into PFE internal processor engines. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- drivers/net/pfe_eth/Kconfig|8 + drivers/net

[U-Boot] [PATCH 2/9] drivers: net: pfe_eth: provide pfe commands

2017-10-09 Thread Calvin Johnson
pfe_command provides command line support for several features that support pfe like starting or stopping the pfe, checking the health of the processor engines and checking status of different unit inside pfe. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- drivers/net

[U-Boot] [PATCH 3/9] drivers: net: pfe_eth: LS1012A PFE headers

2017-10-09 Thread Calvin Johnson
Contains all the pfe header files. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- include/pfe_eth/pfe/cbus.h | 75 +++ include/pfe_eth/pfe/cbus/bmu.h | 40 include/pfe_eth/pfe/cbus/class_csr.h | 181

[U-Boot] [PATCH 4/9] board: freescale: ls1012a: enable network support on ls1012a platforms

2017-10-09 Thread Calvin Johnson
Ethernet support on all three LS1012A platforms(FRDM, QDS and RDB) is enabled with this patch. eth.c files for all 3 platforms contain board ethernet initialization function and also function to reset phy. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- board/freescale

[U-Boot] [PATCH 5/9] armv8: fsl-lsch2: initialize pfe gemac

2017-10-09 Thread Calvin Johnson
Call gemac_initialize to initialize both gemacs of pfe. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c b/arch/arm/cpu/armv8/fsl

[U-Boot] [PATCH 6/9] armv8: fsl-lsch2: add pfe macros and update ccsr_scfg structure

2017-10-09 Thread Calvin Johnson
SoC specific PFE macros are defined and structure ccsr_scfg is updated with members defined for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- .../include/asm/arch-fsl-layerscape/immap_lsch2.h | 38 -- 1 file changed, 36 insertions(+), 2

[U-Boot] [PATCH 7/9] armv8: fsl-lsch2: configure pfe's scfg & dcfg registers

2017-10-09 Thread Calvin Johnson
Define init_pfe_scfg_dcfg_regs to configure scfg and dcfg registers of pfe. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- arch/arm/cpu/armv8/fsl-layerscape/soc.c| 18 ++ arch/arm/include/asm/arch-fsl-layerscape/soc.h | 3 +++ 2 files changed

[U-Boot] [PATCH 8/9] fsl: csu: enable ns access for PFE

2017-10-09 Thread Calvin Johnson
Enable non-secure access for PFE block. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- arch/arm/include/asm/arch-fsl-layerscape/ns_access.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-fsl-layerscape/ns_access.h b/arch/arm/include/asm

[U-Boot] [PATCH 9/9] configs: ls1012a: add pfe configuration for LS1012A

2017-10-09 Thread Calvin Johnson
Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- configs/ls1012afrdm_qspi_defconfig | 1 + configs/ls1012aqds_qspi_defconfig | 1 + configs/ls1012ardb_qspi_defconfig | 1 + drivers/net/Kconfig| 1 + drivers/net/Makefile | 1 + drivers

[U-Boot] [PATCH] board: freescale: ls1012a: fix RGMII TX-delay issue

2017-10-25 Thread Calvin Johnson
Recently logic to enable RGMII TX-delay was changed by commit 05b29aa0cb68 ("net: phy: realtek: fix enabling of the TX-delay for RTL8211F") Based on this, here we are enabling the TX-delay again using PHY_INTERFACE_MODE_RGMII_TXID. Signed-off-by: Calvin Johnson Signed-off-by:

Re: [U-Boot] [PATCH 0/3] ls1012a: fix tftp failure

2017-12-06 Thread Calvin Johnson
Hi Joe, > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@gmail.com] > Sent: Wednesday, December 06, 2017 2:35 AM > > > > Your PFE patch set is not fully reviewed or accepted. If I were you, I > would probably send v2 version to include all the chang

Re: [U-Boot] [PATCH 7/9] armv8: fsl-lsch2: configure pfe's scfg & dcfg registers

2017-12-06 Thread Calvin Johnson
Hi Poonam, > -Original Message- > From: Poonam Aggrwal > Sent: Friday, November 24, 2017 11:25 AM > To: Calvin Johnson ; u-boot@lists.denx.de > Cc: joe.hershber...@ni.com; Anji Jagarlmudi > Subject: RE: [U-Boot] [PATCH 7/9] armv8: fsl-lsch2: configure pfe's scf

Re: [U-Boot] [PATCH 1/9] drivers: net: pfe_eth: LS1012A PFE driver introduction

2018-01-25 Thread Calvin Johnson
Hi Joe, > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@ni.com] > Sent: Wednesday, December 06, 2017 1:44 AM > To: Calvin Johnson > Cc: u-boot ; Joe Hershberger > ; Anji Jagarlmudi > Subject: Re: [U-Boot] [PATCH 1/9] drivers: net: pfe_et

Re: [U-Boot] [PATCH] TCP and wget implementation. Patch V5, 3 of 3.

2018-01-28 Thread Calvin Johnson
Hi Duncan Hare, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of > d...@synoia.com > Sent: Monday, January 29, 2018 9:24 AM > To: duncanch...@yahoo.com > Cc: u-boot@lists.denx.de; Joe Hershberger ; > Maxime Ripard ; Jagan Teki > > Subject: [U-Boot] [P

Re: [U-Boot] [PATCH] sunxi: support fuse cmd to read/write fuse

2018-01-28 Thread Calvin Johnson
Hi, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Jun Nie > Sent: Monday, January 29, 2018 12:59 PM > To: André Przywara > Cc: U-Boot Mailing List ; Icenowy Zheng > ; 370719...@qq.com > Subject: Re: [U-Boot] [PATCH] sunxi: support fuse cmd to read/

Re: [U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-02-02 Thread Calvin Johnson
Hi, > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Stefan > Mavrodiev > Sent: Friday, February 2, 2018 7:24 PM > diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index > 95b7534..c934aed 100644 > --- a/drivers/net/phy/Kconfig > +++ b/drivers/net/phy/Kconfig > @@

Re: [U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-02-02 Thread Calvin Johnson
> Hi, > > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Stefan > > Mavrodiev > > Sent: Friday, February 2, 2018 7:24 PM > > > > > diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index > > 95b7534..c934aed 100644 > > --- a/drivers/net/phy/Kconfig > > +++ b/driv

Re: [U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-02-05 Thread Calvin Johnson
Hi, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > > On Mon, Feb 05, 2018 at 09:07:40AM +0100, Maxime Ripard wrote: > > On Sat, Feb 03, 2018 at 04:37:15AM +0000, Calvin Johnson wrote: > > > > Hi, > > > > > > > > &

Re: [U-Boot] [PATCH v1 2/4] Convert CONFIG_WATCHDOG_TIMEOUT_MSECS to Kconfig

2018-02-06 Thread Calvin Johnson
Hi, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Lukasz > Majewski > Sent: Wednesday, February 7, 2018 1:30 AM > +config WATCHDOG_TIMEOUT_MSECS > + int "Specify watchdog timeout in mili seconds" s/mili/milli Regards Calvin