[PATCH v2 1/2] arm: socfpga: checks if FPGA is in user mode before enabling FPGA bridge

2020-08-18 Thread Ooi, Joyce
From: Joyce Ooi This patch adds a checking to ensure that FPGA is in user mode before enabling FPGA bridge to prevent unexpected behavior or error. Signed-off-by: Joyce Ooi --- v2: this patch is added in patch version 2 --- arch/arm/mach-socfpga/misc_gen5.c | 43 ++-

[PATCH v2 2/2] configs: socfpga: add CONFIG_BOOTCOMMAND for cyclone5

2020-08-18 Thread Ooi, Joyce
From: Joyce Ooi Add CONFIG_BOOTCOMMAND in cyclone5 defconfig to run fatscript and enable FPGA bridge when FPGA is in user mode. The fatscript executes the Intel FPGA u-boot script if it's available so that customers can add any customization (such as configuring registers) without modifying the c

[PATCH v2 0/2] arm: socfpga: enable CONFIG_BOOTCOMMAND for cyclone5

2020-08-18 Thread Ooi, Joyce
From: Joyce Ooi This patch series enables CONFIG_BOOTCOMMAND in cyclone5 defconfig to execute Intel FPGA u-boot script if it's available and enable FPGA bridge when FPGA is in user mode. v2: add u-boot script and add checking if FPGA is in user mode Joyce Ooi (2): arm: socfpga: checks if FPGA

RE: [PATCH] configs: socfpga: add CONFIG_BOOTCOMMAND for cyclone5

2020-08-13 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut > Sent: Thursday, August 6, 2020 5:56 PM > To: Ooi, Joyce ; Simon Goldschmidt > ; Tan, Ley Foon > ; See, Chin Liang ; > Nguyen, Dinh > Cc: u-boot@lists.denx.de; Chang, Rebecca Swee Fun > ; Lim, Elly Siew Chin >

[PATCH v2] configs: socfpga: add kernel parameter for immediate reboot

2020-08-06 Thread Ooi, Joyce
From: Joyce Ooi Add Linux kernel line parameters for socfpga soc64 U-Boot. The "panic=-1" indicates the reset should occur immediately (without a delay). Signed-off-by: Joyce Ooi --- v2: fix typo in commit message --- include/configs/socfpga_soc64_common.h | 2 +- 1 file changed, 1 insertion(+

[PATCH] configs: socfpga: add kernel parameter for immediate reboot

2020-08-06 Thread Ooi, Joyce
From: Joyce Ooi Add Linux kernel line parameters for socfpga soc64 U-Boot. The "panic=-1" indicates the reset should occue immediately (without a delay). Signed-off-by: Joyce Ooi --- include/configs/socfpga_soc64_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/incl

[PATCH] configs: socfpga: add CONFIG_BOOTCOMMAND for cyclone5

2020-08-06 Thread Ooi, Joyce
From: Joyce Ooi Add CONFIG_BOOTCOMMAND in cyclone5 defconfig to run fatscript and enable FPGA bridge Signed-off-by: Joyce Ooi --- configs/socfpga_cyclone5_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/socfpga_cyclone5_defconfig b/configs/socfpga_cyclo

[PATCH] arm: socfpga: increase QSPI kernel Image size for Stratix10 and Agilex

2020-03-08 Thread Ooi, Joyce
From: Joyce Ooi This patch increases the allocated kernel Image size to 32MB for QSPI for Stratix10 and Agilex as the latest kernel size has increased. Signed-off-by: Joyce Ooi --- include/configs/socfpga_agilex_socdk.h|8 include/configs/socfpga_stratix10_socdk.h |8 -

[U-Boot] [PATCH] board: altera: stratix10: add fitImage to support secure boot

2019-11-21 Thread Ooi, Joyce
FitImage files are added to load Linux kernel image and U-boot image for Stratix10 Secure Boot. Signed-off-by: Ooi, Joyce --- board/altera/stratix10-socdk/its/kernel-sign.its | 51 board/altera/stratix10-socdk/its/uboot-sign.its | 41 +++ 2 files

[U-Boot] [PATCH] arm: socfpga: add kernel parameter for immediate reboot

2019-11-21 Thread Ooi, Joyce
Add Linux kernel line parameters for Stratix10 U-Boot. The "panic=-1" indicates the reset should occur immediately (without a delay) Signed-off-by: Thor Thayer Signed-off-by: Ooi, Joyce --- include/configs/socfpga_stratix10_socdk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[U-Boot] [PATCH] arm: dts: Stratix10: change pad skew values for EMAC0 PHY driver

2019-11-21 Thread Ooi, Joyce
-off-by: Ooi, Joyce --- arch/arm/dts/socfpga_stratix10_socdk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts b/arch/arm/dts/socfpga_stratix10_socdk.dts index 8c7b422..b7b48a5 100755 --- a/arch/arm/dts/socfpga_stratix10_socdk.dts +++ b

[U-Boot] [PATCH] spi: cadence_qspi_apb: fix QSPI write issues

2019-11-21 Thread Ooi, Joyce
: Ooi, Joyce --- drivers/spi/cadence_qspi_apb.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index 55a7501..ab14a5f 100644 --- a/drivers/spi/cadence_qspi_apb.c +++ b/drivers/spi/cadence_qspi_apb.c @@ -676,6 +676,10 @@ int

[U-Boot] [PATCH] arm: socfpga: stratix10: Add alias for gmac0 in S10 dts

2019-11-21 Thread Ooi, Joyce
Add 'ethernet0' as alias for 'gmac0' in S10 device tree. Signed-off-by: Chee Hong Ang Signed-off-by: Ooi, Joyce --- arch/arm/dts/socfpga_stratix10_socdk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts b/arch/arm/dts/socfpga

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2019-02-13 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Friday, February 1, 2019 4:21 PM > To: Ooi, Joyce ; Joe Hershberger > > Cc: See, Chin Liang ; Ong, Hean Loong > ; Priyanka Jain ; u- > b...@lists.denx.de; Tan, Ley Foon ; Chee, Tien Fong &

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2019-01-31 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Saturday, January 26, 2019 4:34 PM > To: Ooi, Joyce ; Joe Hershberger > > Cc: See, Chin Liang ; Ong, Hean Loong > ; Priyanka Jain ; u- > b...@lists.denx.de; Tan, Ley Foon ; Chee, Tien Fong &

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2019-01-25 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Friday, January 4, 2019 10:56 PM > To: Ooi, Joyce ; Joe Hershberger > > Cc: See, Chin Liang ; Ong, Hean Loong > ; Priyanka Jain ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATC

Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2019-01-23 Thread Ooi, Joyce
> -Original Message- > From: Simon Goldschmidt [mailto:simon.k.r.goldschm...@gmail.com] > Sent: Friday, January 4, 2019 5:46 PM > To: Ooi, Joyce > Cc: Marek Vasut ; Michal Simek ; > Siva Durga Prasad Paladugu ; u- > b...@lists.denx.de; Chee, Tien Fong ; See, Chin &

Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2019-01-04 Thread Ooi, Joyce
> -Original Message- > From: Simon Goldschmidt [mailto:simon.k.r.goldschm...@gmail.com] > Sent: Saturday, December 29, 2018 5:04 AM > To: Marek Vasut ; Ooi, Joyce ; Michal > Simek ; Siva Durga Prasad Paladugu > > Cc: u-boot@lists.denx.de; Chee, Tien Fong ; See, > C

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2019-01-04 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Friday, December 28, 2018 6:08 PM > To: Ooi, Joyce ; Joe Hershberger > > Cc: See, Chin Liang ; Ong, Hean Loong > ; Priyanka Jain ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATC

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2018-12-28 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Friday, December 28, 2018 6:06 PM > To: Ooi, Joyce ; Joe Hershberger > > Cc: See, Chin Liang ; Ong, Hean Loong > ; Priyanka Jain ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATC

Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2018-12-28 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Friday, December 28, 2018 6:05 PM > To: Ooi, Joyce ; Michal Simek > ; Siva Durga Prasad Paladugu > > Cc: u-boot@lists.denx.de; See, Chin Liang ; Chee, > Tien Fong ; Tan, Ley Foon > >

Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2018-12-27 Thread Ooi, Joyce
Hi Marek, Any comments about this? Thanks, Joyce Ooi > -Original Message- > From: Ooi, Joyce > Sent: Saturday, December 8, 2018 4:18 PM > To: Marek Vasut ; Michal Simek ; > Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Ooi, Joyce ; See, Chin Liang > ;

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2018-12-27 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, December 27, 2018 2:55 AM > To: Ooi, Joyce ; Joe Hershberger > > Cc: See, Chin Liang ; Ong, Hean Loong > ; Priyanka Jain ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATC

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2018-12-27 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, December 27, 2018 4:21 PM > To: Ooi, Joyce ; Joe Hershberger > > Cc: See, Chin Liang ; Ong, Hean Loong > ; Priyanka Jain ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATC

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2018-12-26 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, December 27, 2018 2:55 AM > To: Ooi, Joyce ; Joe Hershberger > > Cc: See, Chin Liang ; Ong, Hean Loong > ; Priyanka Jain ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATC

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2018-12-25 Thread Ooi, Joyce
Adding Marek. > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Ooi, Joyce > Sent: Tuesday, November 27, 2018 5:40 PM > To: Joe Hershberger > Cc: Ong, Hean Loong ; Priyanka Jain > ; See, Chin Liang ; u- > b...@lists.denx.de &

[U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2018-12-08 Thread Ooi, Joyce
datas, and then concatenating them. Signed-off-by: Ooi, Joyce --- lib/rsa/rsa-mod-exp.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/rsa/rsa-mod-exp.c b/lib/rsa/rsa-mod-exp.c index 9d78aa1..3eace38 100644 --- a/lib/rsa/rsa-mod-exp.c +++ b/lib/rsa/rsa-mod-exp.c

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2018-11-27 Thread Ooi, Joyce
Hi Joe, Any comments/feedback on this v3 patch? Thanks. Regards, Joyce Ooi > -Original Message- > From: Ooi, Joyce > Sent: Friday, November 9, 2018 6:16 PM > To: Joe Hershberger > Cc: Grygorii Strashko ; Neil Armstrong > ; Mario Six ; Florian Fainelli > ; Priya

[U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2018-11-09 Thread Ooi, Joyce
This adds support for TSE PCS (Triple Speed Ethernet Physical Coding Sublayer) that uses SGMII adapter when the phy-mode in device tree is set to sgmii. Signed-off-by: Ooi, Joyce --- arch/arm/mach-socfpga/include/mach/misc.h |3 + arch/arm/mach-socfpga/misc_s10.c |6 + drivers

[U-Boot] [PATCH v2] net: phy: add TSE PCS support to dwmac-socfpga

2018-10-17 Thread Ooi, Joyce
This adds support for TSE PCS (Triple Speed Ethernet Physical Coding Sublayer) that uses SGMII adapter when the phy-mode in device tree is set to sgmii. Signed-off-by: Ooi, Joyce --- arch/arm/mach-socfpga/include/mach/misc.h | 1 + arch/arm/mach-socfpga/misc.c | 5 + arch/arm

[U-Boot] [PATCH] arm: socfpga: stratix10: add sgmii in phymode setup

2018-09-25 Thread Ooi, Joyce
Additional sgmii phymode is added in socfpga_phymode_setup() along with a minor fix for maximum number of GMACs. Signed-off-by: Ooi, Joyce --- arch/arm/mach-socfpga/misc_s10.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-socfpga/misc_s10.c b/arch

[U-Boot] [PATCH] net: phy: add TSE PCS support to dwmac-socfpga

2018-09-25 Thread Ooi, Joyce
This adds support for TSE PCS that uses SGMII adapter when the phy-mode in device tree is set to sgmii. Signed-off-by: Ooi, Joyce --- drivers/net/Makefile | 3 +- drivers/net/designware.c | 5 ++ drivers/net/designware.h | 1 + drivers/net/dwmac_socfpga.c| 121