[U-Boot] [PATCH v3 7/7] armv8: ls1043ardb_sdcard: prepare falcon boot

2017-09-28 Thread York Sun
CONFIG_SPL_LOAD_FIT=y CONFIG_SPL_OS_BOOT=y CONFIG_SPL_OF_LIBFDT=y Because environment variables are not avaiable during SPL stage for SD boot, set "boot_os=y" as default. Signed-off-by: York Sun Reviewed-by: Simon Glass --- Changes in v3: Drop defconfig change Not to enable falcon boot

[U-Boot] [PATCH v3 3/7] armv8: fsl-layerscape: Avoid running dram_init_banksize again

2017-09-28 Thread York Sun
gd->ram_size is reduced in this function to reserve secure memory. Avoid running this function again to further reduce memory size. This fixes issue for SPL boot with PPA image loaded in which case secure memory is incorrectly allocated due to repeated calling. Signed-off-by: York Sun Revie

[U-Boot] [PATCH v3 4/7] armv8: ls1043ardb: Use static DDR setting for SPL boot

2017-09-28 Thread York Sun
This board has soldered DDR chips. To reduce the SPL image size, use static DDR setting instead of dynamic DDR driver. Signed-off-by: York Sun --- Changes in v3: Minor cosmetic fix. Changes in v2: Drop checking secure boot in this patch after rebasing to latest mater. Recent change in SPL

[U-Boot] [PATCH v3 1/7] spl: fix assignment of board info to global data

2017-09-28 Thread York Sun
board info assignment is much earlier than proposed board_init_r(). Create a new function to fill gd->bd and call this function when needed. Signed-off-by: York Sun CC: Lokesh Vutla CC: Ravi Babu CC: Lukasz Majewski CC: Tom Rini --- Changes in v3: Create new function to fill gd->bd for spl

[U-Boot] [PATCH v3 2/7] cmd: spl: fix compiling error when CONFIG_CMD_SPL_WRITE_SIZE not defined

2017-09-28 Thread York Sun
CONFIG_CMD_SPL_WRITE_SIZE is used for writing parameters to non-volatile storage. So far it is only used for NAND. Fix compiling error when this macro is not used for SD. Signed-off-by: York Sun CC: Anatolij Gustschin --- Changes in v3: None Changes in v2: New patch to fix compiling error

Re: [U-Boot] [PATCH] armv8: ls1046ardb: disable PPA loading during SPL stage for SD boot

2017-09-25 Thread York Sun
On 09/18/2017 12:16 AM, Yangbo Lu wrote: > PPA loading during SPL stage is not required for nornal > SD boot scenario. > > Signed-off-by: Yangbo Lu > --- Applied to fsl-qoriq mater. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://li

Re: [U-Boot] [v2] armv8: ls1043a: disable IFC in SPL only when QSPI is used

2017-09-25 Thread York Sun
On 09/14/2017 07:09 PM, Yangbo Lu wrote: > Current u-boot disables IFC support for SD boot on all ls1043a > boards. Actually IFC only conflicts with QSPI on ls1043a hardware. > Only when QSPI is used, IFC should be disabled. Otherwise, > the u-boot with ls1043aqds_sdcard_ifc_defconfig would not wor

Re: [U-Boot] [PATCH] armv8: ls1043ardb: disable PPA loading during SPL stage for SD boot

2017-09-25 Thread York Sun
On 09/18/2017 12:16 AM, Yangbo Lu wrote: > PPA loading during SPL stage is not required for nornal > SD boot scenario. > > Signed-off-by: Yangbo Lu > --- Applied to fsl-qoriq mater. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://li

Re: [U-Boot] [PATCH][v3]board/ls2080ardb: Update board env based on SoC

2017-09-25 Thread York Sun
On 09/14/2017 09:49 PM, Priyanka Jain wrote: > As per current implementation, default value of board env is > based on board filename i.e ls2080ardb. > > With distro support changes, this env is used to decide upon > kernel dtb which is different for other SoCs (ls2088a, ls2081a) > combination sup

Re: [U-Boot] [PATCH] board/ls2080ardb: Add mcmemsize variable in default env

2017-09-25 Thread York Sun
On 08/29/2017 02:50 AM, Priyanka Jain wrote: > For most of ls2080ardb use-cases, mc private DRAM block is required > to be of 1.75GB. > Henc set mcmemsize=0x7000 in default env > > Signed-off-by: Priyanka Jain > --- Applied to fsl-qoriq mater. Thanks. York

Re: [U-Boot] [PATCH] armv8: fsl: i2c: Put I2C related code under CONFIG_SYS_I2C

2017-09-25 Thread York Sun
On 09/04/2017 03:15 AM, Sriram Dash wrote: > I2C code is put under CONFIG_SYS_I2C > > Signed-off-by: Sriram Dash > --- Applied to fsl-qoriq mater. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] armv8: fsl: ifc: Put IFC related code under CONFIG_FSL_IFC

2017-09-25 Thread York Sun
On 09/04/2017 03:14 AM, Sriram Dash wrote: > IFC code is put under CONFIG_FSL_IFC > > Signed-off-by: Sriram Dash > --- Applied to fsl-qoriq mater. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] pci: layerscape: Fixup iommu-map for LS208xA

2017-09-25 Thread York Sun
On 08/31/2017 12:59 AM, Bharat Bhushan wrote: > "pci: layerscape: Fixup device tree node for ls2088a" added > support for LS208xA devices but fixing iommu-map property > is missing. This patch adds support for fixing iommu-map. > > Signed-off-by: Bharat Bhushan > Signed-off-by: Ioana Ciornei > -

Re: [U-Boot] [PATCH 1/1] board/ls2081ardb: Update QSPI flash type from n25q512a to s25fs512s

2017-09-25 Thread York Sun
On 08/18/2017 02:47 AM, Santan Kumar wrote: > As per updated board design, different QSPI flash > is connected on boards, hence change QSPI flash type > from Micron n25q512a device to spansion s25fs512s > device in dts and config. > > Signed-off-by: Santan Kumar > Signed-off-by: Yogesh Ga

Re: [U-Boot] [PATCH 1/1] board/ls2080ardb: Remove CONFIG_DISPLAY_BOARDINFO_LATE

2017-09-25 Thread York Sun
On 08/18/2017 02:47 AM, Santan Kumar wrote: > CONFIG_DISPLAY_BOARDINFO_LATE config is used to delay > the prints of boardinfo late in cycle during uboot boot. > This feature is not required in case of QSPI_BOOT. > > Signed-off-by: Santan Kumar > Signed-off-by: Priyanka Jain > --- Applied to fsl

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Put SATA code under SATA configs

2017-09-25 Thread York Sun
On 08/17/2017 10:24 PM, Ashish Kumar wrote: > It is not necessary for every SoC to have 2 SATA controller. > So put SATA1, SATA2 code under respective defines. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Ashish Kumar > --- Applied to fsl-qoriq mater. Thanks. York ___

Re: [U-Boot] [PATCH] armv7: ls1021a: Fix marco CONFIG_LS102XA

2017-09-25 Thread York Sun
On 09/14/2017 12:53 PM, York Sun wrote: > Commit a8ecb39e accidentally reverted config macro CONFIG_ARCH_LS1021A > to CONFIG_LS102XA. > > Signed-off-by: York Sun > --- Applied to fsl-qoriq mater. York ___ U-Boot mailing list U-Boo

Re: [U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot

2017-09-25 Thread York Sun
d hooks to fsl-layerscape to enable falcon >> boot. > > I'm trying to do the same on imx6q board (armv7). > >> >> Signed-off-by: York Sun >> >> --- >> >> Changes in v2: >> Relace getenv_f() with env_g

[U-Boot] Please pull u-boot-fsl-qoriq master

2017-09-22 Thread York Sun
loading during SPL stage for SD boot armv8: ls1046ardb: disable PPA loading during SPL stage for SD boot York Sun (1): armv7: ls1021a: Fix marco CONFIG_LS102XA arch/arm/cpu/armv8/fsl-layerscape/soc.c| 8 +++- arch/arm/dts/fsl-ls2081a-rdb.dts | 4

Re: [U-Boot] [Patch v2] spl: Fix compiling warning on gunzip argument

2017-09-20 Thread York Sun
On 09/15/2017 08:21 AM, York Sun wrote: > common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’ > from incompatible pointer type [-Wincompatible-pointer-types] > src, &length)) > > Signed-off-by: York Sun > Reported-by: Heinrich Schuchardt >

Re: [U-Boot] [PATCH v2 1/7] spl: fix assignment of board info to global data

2017-09-20 Thread York Sun
On 09/18/2017 08:47 AM, York Sun wrote: > On 09/17/2017 10:55 AM, Simon Glass wrote: >> Hi York, >> >> On 14 September 2017 at 13:01, York Sun wrote: >>> This partially reverts commit 15eb1d43bf470b85e9031c2fce7e0ce7b27dd321 >>> which intended to move

Re: [U-Boot] [PATCH] armv8: ls1043ardb: disable PPA loading during SPL stage for SD boot

2017-09-18 Thread York Sun
On 09/18/2017 06:56 PM, Y.b. Lu wrote: > Hi York, > > Yes. We got below crash on ls1046ardb if we write ppa to SD card. > > => cpld reset sd > U-Boot SPL 2017.07-g25cd705 (Sep 15 2017 - 03:27:02) > Initializing DDRusing SPD > WARNING: Calling __hwconfig without a buffer and before environment

Re: [U-Boot] [PATCH v2 1/7] spl: fix assignment of board info to global data

2017-09-18 Thread York Sun
On 09/17/2017 10:55 AM, Simon Glass wrote: > Hi York, > > On 14 September 2017 at 13:01, York Sun wrote: >> This partially reverts commit 15eb1d43bf470b85e9031c2fce7e0ce7b27dd321 >> which intended to move assignment of board info earlier, into >> board_

Re: [U-Boot] [PATCH] armv8: ls1043ardb: disable PPA loading during SPL stage for SD boot

2017-09-18 Thread York Sun
On 09/18/2017 12:16 AM, Yangbo Lu wrote: > PPA loading during SPL stage is not required for nornal > SD boot scenario. > Once PPA is loaded during SPL boot, RAM version U-Boot won't load it again. It is used for falcon boot. Does it hurt anything? York __

[U-Boot] [Patch v2] spl: Fix compiling warning on gunzip argument

2017-09-15 Thread York Sun
common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’ from incompatible pointer type [-Wincompatible-pointer-types] src, &length)) Signed-off-by: York Sun Reported-by: Heinrich Schuchardt CC: Jean-Jacques Hiblot --- Change log v2: Update length after gunzip common

Re: [U-Boot] [PATCH] spl: Fix compiling warning on gunzip argument

2017-09-15 Thread York Sun
On 09/15/2017 08:10 AM, Jean-Jacques Hiblot wrote: > Hi York, > > > On 14/09/2017 21:41, York Sun wrote: >> common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’ >> from incompatible pointer type [-Wincompatible-pointer-types] >> src, &

Re: [U-Boot] [PATCH] spl: fit: Fixed incompatible type warning in spl_load_fit_image()

2017-09-15 Thread York Sun
On 09/15/2017 07:52 AM, Jean-Jacques Hiblot wrote: > Hi Tom, York > > > On 15/09/2017 14:53, Tom Rini wrote: >> On Fri, Sep 15, 2017 at 09:46:29AM +0200, Jean-Jacques Hiblot wrote: >> >>> Warning introduced in commit 7264f29 (spl: fit: Eanble GZIP support for >>> image decompression) >>> >>> Sign

Re: [U-Boot] [PATCH 1/4] arm64: ls1043ardb: Add sd_bootcmd for distro fallback in case of sdboot

2017-09-14 Thread York Sun
On 08/30/2017 03:43 AM, Shengzhou Liu wrote: > Signed-off-by: Shengzhou Liu > --- > include/configs/ls1043a_common.h | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/include/configs/ls1043a_common.h > b/include/configs/ls1043a_common.h > index f064d5c24a..9

Re: [U-Boot] [PATCH] armv8: ls1043a: disable IFC in SPL only when QSPI is used

2017-09-14 Thread York Sun
On 09/12/2017 11:03 PM, Yangbo Lu wrote: > SD boot couldn't work with ls1043aqds_sdcard_ifc_defconfig since > IFC in SPL is disabled. This patch is to fix this issue. You subject matches the change. But the commit message is confusing. Please rephrase it. York > > Signed-off-by: Yangbo Lu > -

Re: [U-Boot] [PATCH] FSL PCI: Configure PCIe reference ratio

2017-09-14 Thread York Sun
On 09/12/2017 10:56 AM, Joakim Tjernlund wrote: > Most FSL PCIe controllers expects 333 MHz PCI reference clock. > This clock is derived from the CCB but in many cases the ref. > clock is not 333 MHz and a divisor needs to be configured. > > This adds PEX_CCB_DIV #define which can be defined for e

Re: [U-Boot] [PATCH][v2]board/ls2080ardb: Update board env based on SoC

2017-09-14 Thread York Sun
On 09/05/2017 10:42 PM, Priyanka Jain wrote: > As per current implementation, default value of board env is > based on board filename i.e ls2080ardb. > > With distro support changes, this env is used to decide upon > kernel dtb which is different for other SoCs (ls2088a, ls2081a) > combination sup

Re: [U-Boot] [PATCH] armv8: Remove dependency of SERDES for LS CHASIS3

2017-09-14 Thread York Sun
On 09/04/2017 03:14 AM, Sriram Dash wrote: > Remove dependency of SYS_HAS_SERDES for Layerscape Chasis 3. > > Signed-off-by: Sriram Dash > --- > arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++-- > arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 ++ > arch/arm/cpu/armv8/fsl-layerscape/soc.c

Re: [U-Boot] [RESEND PATCH v3 1/7] armv8: lsch3: Add serdes and DDR voltage setup

2017-09-14 Thread York Sun
You have a lot of magic numbers and delays. See inline comments. On 09/03/2017 11:24 PM, Rajesh Bhagat wrote: > Adds SERDES voltage and reset SERDES lanes API and makes > enable/disable DDR controller support 0.9V API common. > > Signed-off-by: Ashish Kumar > Signed-off-by: Rajesh Bhagat > ---

Re: [U-Boot] [PATCH] board/ls2080ardb: Add mcmemsize variable in default env

2017-09-14 Thread York Sun
On 08/29/2017 02:50 AM, Priyanka Jain wrote: > For most of ls2080ardb use-cases, mc private DRAM block is required > to be of 1.75GB. > Henc set mcmemsize=0x7000 in default env > > Signed-off-by: Priyanka Jain > --- > include/configs/ls2080ardb.h |1 + > 1 files changed, 1 insertions(

Re: [U-Boot] [PATCH 1/3] armv8: fsl-layerscape: SPL size reduction

2017-09-14 Thread York Sun
On 08/29/2017 12:01 AM, Sumit Garg wrote: > Using changes in this patch we were able to reduce approx 4k > size of u-boot-spl.bin image. Following is breif description of > changes to reduce SPL size: > 1. Compile-off mp.c and libfdt.c in case of SPL build. > 2. Keep MMU and DCACHE specific variabl

Re: [U-Boot] [PATCH] LS2080A_SECURE_BOOT: Enable CONFIG_FSL_LS_PPA.

2017-09-14 Thread York Sun
On 08/28/2017 04:26 AM, Udit Agarwal wrote: > Add config CONFIG_FSL_LS_PPA and CONFIG_FSL_CAAM in > LS2080AQDS and LS2080ARDB secure boot defconfig. You also change other things. Please explain. > > Signed-off-by: Udit Agarwal > --- > configs/ls2080aqds_SECURE_BOOT_defconfig | 5 +++-- > con

Re: [U-Boot] [PATCH v2 2/2] LS1088A_QSPI: Add secure boot defconfigs for QSPI boot.

2017-09-14 Thread York Sun
On 08/25/2017 02:03 AM, Udit Agarwal wrote: > Add the secure boot defconfigs for QSPI boot on LS1088ARDB > and LS1088AQDS platforms. > > Signed-off-by: Udit Agarwal > --- > configs/ls1088aqds_qspi_SECURE_BOOT_defconfig | 32 > +++ > configs/ls1088ardb_qspi_SECURE_BOOT_

Re: [U-Boot] [PATCH v2 1/2] LS1088A_QSPI: SECURE_BOOT: Images validation

2017-09-14 Thread York Sun
On 08/25/2017 02:03 AM, Udit Agarwal wrote: > Validates PPA, MC, DPC, Bootscript, DPL and Kernel images in ESBC phase > using esbc_validate command. Add images validation in default environment > under mcinitcmd prior to MC initialization. > > Add header address for PPA to be validated during ESBC

Re: [U-Boot] [PATCH] armv8/ls1088a: configure PMU's PCTBENR to enable WDT

2017-09-14 Thread York Sun
The subject doesn't represent your change. Please revise. On 08/22/2017 03:47 AM, ying.zhang22...@nxp.com wrote: > From: Zhang Ying-22455 > > The SP805-WDT module on LS1088A requires configuration of PMU's > PCTBENR register to enable watchdog counter decrement and reset > signal generation. The

Re: [U-Boot] [PATCH 1/1] board/ls2081ardb: Update display information during boot

2017-09-14 Thread York Sun
On 08/18/2017 03:21 AM, Prabhakar Kushwaha wrote: > >> -Original Message- >> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Santan >> Kumar >> Sent: Friday, August 18, 2017 3:21 PM >> To: u-boot@lists.denx.de; York Sun >> Cc: Priya

Re: [U-Boot] [PATCH] PCI: layerscape: Make the pcie link up status judgement more specific

2017-09-14 Thread York Sun
On 08/15/2017 11:32 PM, Xiaowei Bao wrote: > Hi York, > > Yes, it is my mean, I am not brief enough to express, thank you correct me. Xiaowei, Please update his patch as discussed. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.d

Re: [U-Boot] [U-Boot, 08/14] usb: dwc3: Add helper functions to enable snooping and burst settings

2017-09-14 Thread York Sun
On 05/17/2017 05:05 AM, yinbo.zhu wrote: > From: Rajat Srivastava > > Adds helper functions to enable snooping and outstanding burst beat > settings. > > Signed-off-by: Rajat Srivastava > Signed-off-by: Rajesh Bhagat > --- Please re-submit this set. Some of them are accepted as separated patc

Re: [U-Boot] [PATCH] config: ls1012aqds: Add USB EHCI support for ls1012aqds

2017-09-14 Thread York Sun
On 09/14/2017 12:54 PM, York Sun wrote: > On 07/27/2017 03:05 AM, yinbo@nxp.com wrote: >> From: Rajesh Bhagat >> >> +#elif defined(CONFIG_LS102XA) || defined(CONFIG_ARCH_LS1012A) > > Please use CONFIG_ARCH_LS1021A, not CONFIG_LS102XA. > Never mind. This is

Re: [U-Boot] [PATCH] config: ls1012aqds: Add USB EHCI support for ls1012aqds

2017-09-14 Thread York Sun
On 07/27/2017 03:05 AM, yinbo@nxp.com wrote: > From: Rajesh Bhagat > > Add USB EHCI support for ls1012aqds platform > > Signed-off-by: Rajat Srivastava > Signed-off-by: Rajesh Bhagat > Signed-off-by: yinbo.zhu > --- > arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 1 + > incl

[U-Boot] [PATCH] armv7: ls1021a: Fix marco CONFIG_LS102XA

2017-09-14 Thread York Sun
Commit a8ecb39e accidentally reverted config macro CONFIG_ARCH_LS1021A to CONFIG_LS102XA. Signed-off-by: York Sun --- include/usb/ehci-ci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/usb/ehci-ci.h b/include/usb/ehci-ci.h index cd3eb47..59bfc14 100644 --- a

[U-Boot] [PATCH] spl: Fix compiling warning on gunzip argument

2017-09-14 Thread York Sun
common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’ from incompatible pointer type [-Wincompatible-pointer-types] src, &length)) Signed-off-by: York Sun Reported-by: Heinrich Schuchardt --- common/spl/spl_fit.c | 4 +++- 1 file changed, 3 insertions(+), 1 dele

[U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot

2017-09-14 Thread York Sun
Add jump_to_image_linux() for arm64. Add "noreturn" flag to armv8_switch_to_el2(). Add hooks to fsl-layerscape to enable falcon boot. Signed-off-by: York Sun --- Changes in v2: Relace getenv_f() with env_get_f() after rebasing to latet master. .../arm/cpu/armv8/fsl-laye

[U-Boot] [PATCH v2 7/7] armv8: ls1043ardb_sdcard: Enable falcon boot

2017-09-14 Thread York Sun
Update defconfig to enable falcon boot, add needed macros to board header file. Because environment variables are not avaiable during SPL stage for SD boot, set "boot_os=y" as default. Signed-off-by: York Sun --- Changes in v2: None configs/ls1043ardb_sdcard_defconfig | 6 +

[U-Boot] [PATCH v2 6/7] armv8: ls1043ardb: Enable spl_board_init() function

2017-09-14 Thread York Sun
CONFIG_SPL_BOARD_INIT is used for SPL boot. Enable it in defconfig for LS1043ARDB SPL targets. Signed-off-by: York Sun --- Changes in v2: None configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_nand_defconfig | 1 + configs

[U-Boot] [PATCH v2 0/7] Enable falcon boot for LS1043ARDB

2017-09-14 Thread York Sun
ix gd->ram_size error after rebasing to latest mater. Drop checking secure boot in this patch after rebasing to latest mater. Recent change in SPL makes the image size bigger. Relace getenv_f() with env_get_f() after rebasing to latet master. York Sun (7): spl: fix assignment of board info t

[U-Boot] [PATCH v2 3/7] armv8: fsl-layerscape: Avoid running dram_init_banksize again

2017-09-14 Thread York Sun
gd->ram_size is reduced in this function to reserve secure memory. Avoid running this function again to further reduce memory size. This fixes issue for SPL boot with PPA image loaded in which case secure memory is incorrectly allocated due to repeated calling. Signed-off-by: York

[U-Boot] [PATCH v2 4/7] armv8: ls1043ardb: Use static DDR setting for SPL boot

2017-09-14 Thread York Sun
This board has soldered DDR chips. To reduce the SPL image size, use static DDR setting instead of dynamic DDR driver. Signed-off-by: York Sun --- Changes in v2: Drop checking secure boot in this patch after rebasing to latest mater. Recent change in SPL makes the image size bigger. board

[U-Boot] [PATCH v2 1/7] spl: fix assignment of board info to global data

2017-09-14 Thread York Sun
assignment is much earlier than board_init_r(). Moving such assignment to board_init_r() would be moving it later. Signed-off-by: York Sun CC: Lokesh Vutla CC: Ravi Babu CC: Lukasz Majewski CC: Tom Rini --- Changes in v2: New patch to fix spl after rebasing to latest master. common/spl/spl.c | 8

[U-Boot] [PATCH v2 2/7] cmd: spl: fix compiling error when CONFIG_CMD_SPL_WRITE_SIZE not defined

2017-09-14 Thread York Sun
CONFIG_CMD_SPL_WRITE_SIZE is used for writing parameters to non-volatile storage. So far it is only used for NAND. Fix compiling error when this macro is not used for SD. Signed-off-by: York Sun CC: Anatolij Gustschin --- Changes in v2: New patch to fix compiling error after rebasing to

Re: [U-Boot] [PATCH 04/15] spl: fit: simplify logic for FDT loading for non-OS boots

2017-09-14 Thread York Sun
On 09/13/2017 03:11 PM, Dr. Philipp Tomsich wrote: > York, > >> On 13 Sep 2017, at 23:24, York Sun wrote: >> >> On 09/13/2017 02:21 PM, Dr. Philipp Tomsich wrote: >>> York, >>> >>>> On 13 Sep 2017, at 23:16, York Sun wrote: >>>

Re: [U-Boot] [U-Boot, v2, 3/5] spl: fit: Eanble GZIP support for image decompression

2017-09-14 Thread York Sun
On 09/13/2017 09:27 PM, Heinrich Schuchardt wrote: > On 09/13/2017 11:07 PM, York Sun wrote: >> On 09/13/2017 01:38 PM, Heinrich Schuchardt wrote: >>> On 08/08/2017 01:16 AM, York Sun wrote: >>>> Add Kconfig option SPL_GZIP and SPL_ZLIB to enable gunzip support for

Re: [U-Boot] [PATCH 04/15] spl: fit: simplify logic for FDT loading for non-OS boots

2017-09-13 Thread York Sun
On 09/13/2017 02:21 PM, Dr. Philipp Tomsich wrote: > York, > >> On 13 Sep 2017, at 23:16, York Sun wrote: >> >> On 09/13/2017 12:30 PM, Philipp Tomsich wrote: >>> To better support bootin through an ATF or OPTEE, we need to >>> streamline some of th

Re: [U-Boot] [PATCH 04/15] spl: fit: simplify logic for FDT loading for non-OS boots

2017-09-13 Thread York Sun
On 09/13/2017 12:30 PM, Philipp Tomsich wrote: > To better support bootin through an ATF or OPTEE, we need to > streamline some of the logic for when the FDT is appended to an image: > depending on the image type, we'd like to append the FDT not at all > (the case for the OS boot), to the 'firmware

Re: [U-Boot] [U-Boot, v2, 3/5] spl: fit: Eanble GZIP support for image decompression

2017-09-13 Thread York Sun
On 09/13/2017 01:38 PM, Heinrich Schuchardt wrote: > On 08/08/2017 01:16 AM, York Sun wrote: >> Add Kconfig option SPL_GZIP and SPL_ZLIB to enable gunzip support for >> SPL boot, eg. falcon boot compressed kernel image. >> >> Signed-off-by: York Sun >> Reviewed-b

Re: [U-Boot] [PATCH 1/3] armv8: ls1088a: fix the MMU table for pcie config space

2017-09-12 Thread York Sun
On 09/03/2017 08:05 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > The pcie config space of ls1088a is different from ls2080a. > > Signed-off-by: Hou Zhiqiang > --- Applied to fsl-qoriq master. Thanks. York ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] [PATCH v5 6/9] armv7: Add workaround for USB erratum A-009008

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > USB High Speed (HS) EYE Height Adjustment > USB HS speed eye diagram fails with the default value at > many corners, particularly at a high temperature > > Optimal eye at TXREFTUNE value to 0x9 is observed, change > set the same value. > > Signed-off-by:

Re: [U-Boot] [PATCH v5 5/9] armv8: Add workaround for USB erratum A-009007

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Rx Compliance tests may fail intermittently at high > jitter frequencies using default register values. > > Program register USB_PHY_RX_OVRD_IN_HI in certain sequence > to make the Rx compliance test pass. > > Signed-off-by: Sriram Dash > Signed-off-by:

Re: [U-Boot] [PATCH v5 3/9] armv8: Add workaround for USB erratum A-009798

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > The default setting for USB High Speed Squelch Threshold results > in a threshold close to or lower than 100mV. This leads to Receiver > Compliance test failure for a 100mV threshold. > > Shift the threshold from ~100mV towards ~130mV by setting SQRXTUNE >

Re: [U-Boot] [PATCH v5 7/9] armv7: Add workaround for USB erratum A-009798

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > The default setting for USB High Speed Squelch Threshold results > in a threshold close to or lower than 100mV. This leads to Receive > Compliance test failure for a 100mV threshold. > > Shift the threshold from ~100mV towards ~130mV by setting SQRXTUNE >

Re: [U-Boot] [PATCH v5 9/9] armv7: Add workaround for USB erratum A-009007

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Rx Compliance tests may fail intermittently at high > jitter frequencies using default register values > > Program register USB_PHY_RX_OVRD_IN_HI in certain sequence > to make the Rx compliance test pass. > > Signed-off-by: Sriram Dash > Signed-off-by: R

Re: [U-Boot] [PATCH v5 2/9] armv8: Add workaround for USB erratum A-009008

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > USB High Speed (HS) EYE Height Adjustment > USB HS speed eye diagram fails with the default value at > many corners, particularly at a high temperature > > Optimal eye at TXREFTUNE value to 0x9 is observed, change > set the same value. > > Signed-off-by:

Re: [U-Boot] [PATCH v5 8/9] armv7: Add workaround for USB erratum A-008997

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Low Frequency Periodic Singaling (LFPS) Peak-to-Peak Differential > Output Voltage Test Compliance fails using default transmitter settings > > Change config of transmitter signal swings by setting register > PCSTXSWINGFULL to 0x47 to pass compliance tests

Re: [U-Boot] [PATCH v5 4/9] armv8: Add workaround for USB erratum A-008997

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Low Frequency Periodic Signaling(LFPS) Peak-to-Peak Differential > Output Voltage Test Compliance fails using default transmitter > settings > > Change config of transmitter signal swings by setting register > PCSTXSWINGFULL to 0x47 to pass compliance test

Re: [U-Boot] [PATCH v3 1/2] armv8: fsl-layerscape: Support to add RGMII for ls1088aqds

2017-09-12 Thread York Sun
On 08/31/2017 04:07 AM, Ashish Kumar wrote: > This patch adds support for RGMII protocol > > NXP's LDPAA2 support RGMII protocol. LS1088A is the > first Soc supporting both RGMII and SGMII. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Amrita Kumari > Signed-off-by: Ashish Kumar > ---

Re: [U-Boot] [PATCH 3/3] armv8: ls1088a: Enable PCIe in defconfigs

2017-09-12 Thread York Sun
On 09/03/2017 08:05 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Enabled PCIe support and PCI command feature. > > Signed-off-by: Hou Zhiqiang > --- Applied to fsl-qoriq master. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https:/

Re: [U-Boot] [PATCH v3 2/2] armv8: ls1088aqds: Add support of EC1 and EC2

2017-09-12 Thread York Sun
On 08/31/2017 04:07 AM, Ashish Kumar wrote: > From: Prabhakar Kushwaha > > EC1 and EC2 are RGMII interface on ls1088aqds platform. > This patch add support of RGMII with PHY and MDIO > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Amrita Kumari > Signed-off-by: Ashish Kumar > --- > v3:

Re: [U-Boot] [PATCH v5 1/9] armv8: Add scfg_clrsetbits_32(), scfg_clrbits_32()

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Some erratum patch might need it to program registers. > > Signed-off-by: Ran Wang > --- > Change in v4: > New patch file Applied to fsl-qoriq master. Thanks. York ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH 2/3] armv8: ls1088a: add PCIe dts node

2017-09-12 Thread York Sun
On 09/03/2017 08:05 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Signed-off-by: Hou Zhiqiang > --- Applied to fsl-qoriq master. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Fix MC reserved memory calculation

2017-09-12 Thread York Sun
On 09/07/2017 01:17 PM, York Sun wrote: > In case high region memory doesn't have enough space for Management > Complex (MC), the return value should indicate a failure so the > caller can handle it accordingly. > > Signed-off-by: York Sun > Reported-by: Ebony Zhu >

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Add back L3 flushing for all exception levels

2017-09-12 Thread York Sun
On 09/10/2017 09:48 PM, York Sun wrote: > CCN-504 HPF registers were believed to be accessible only from EL3. > However, recent tests proved otherwise. Remove checking for exception > level to re-enable L3 cache flushing for all levels. > > Signed-off-by: York Sun > --- Ap

Re: [U-Boot] [PATCH v5 2/3] armv8: ls1088ardb: Add support for LS1088ARDB platform

2017-09-12 Thread York Sun
On 08/31/2017 03:43 AM, Ashish Kumar wrote: > LS1088A is an ARMv8 implementation. The LS1088ARDB is an evaluatoin > platform that supports the LS1088A family SoCs. This patch add basic > support of the platform. > > Signed-off-by: Alison Wang > Signed-off-by: Prabhakar Kushwaha > Signed-off-by:

Re: [U-Boot] [PATCH] armv8: fsl: Use correct conditional compile for ls1012a

2017-09-12 Thread York Sun
On 08/27/2017 07:57 PM, Ran Wang wrote: > According current code base, CONFIG_LS1012A should be > CONFIG_ARCH_LS1012A, or function fsl_fdt_disable(blob) will be > wrongly called to disable all dwc3 USB nodes on LS1012A, which > cause Linux USB function stop working at all. > > Signed-off-by: Ran W

Re: [U-Boot] [PATCH v5 1/3] armv8: ls1088a: Add NXP LS1088A SoC support

2017-09-12 Thread York Sun
On 08/31/2017 03:43 AM, Ashish Kumar wrote: > The QorIQ LS1088A processor is built on the Layerscape > architecture combining eight ARM A53 processor cores > with advanced, high-performance datapath acceleration > and networks, peripheral interfaces required for > networking, wireless infrastructur

Re: [U-Boot] [PATCH] armv8: fsl-lsch3: Make CCN-504 related code conditional

2017-09-12 Thread York Sun
On 08/17/2017 10:24 PM, Ashish Kumar wrote: > LS2080 family has CCN-504 cache coherent interconnet. > Other SoCs from LSCH3 may have differnt interconnect like > LS1088. > > Signed-off-by: Ashish Kumar > Signed-off-by: Prabhakar Kushwaha > --- Revised commit message. Applied to fsl-qoriq master

Re: [U-Boot] [PATCH v5 3/3] armv8: ls1088aqds: Add support of LS1088AQDS

2017-09-12 Thread York Sun
On 08/31/2017 03:43 AM, Ashish Kumar wrote: > This patch add support of LS1088AQDS platform. > > The LS1088A QorIQTM Development System (QDS) is a > high-performance computing, evaluation, and > development platform that supports the LS1088A QorIQ Architecture > processor. > > Signed-off-by: Prab

Re: [U-Boot] [PATCH][v2]drivers:net:fsl-mc: Update MC address calculation

2017-09-12 Thread York Sun
On 08/24/2017 04:14 AM, Priyanka Jain wrote: > Update MC address calculation as per MC design requirement > of address as least significant 512MB address > of MC private allocated memory, i.e. address should point > to end address masked with 512MB offset in private DRAM block. > > Signed-off-by:

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Fix final MMU table for QSPI and IFC

2017-09-12 Thread York Sun
On 08/29/2017 06:42 AM, Suresh Gupta wrote: > For QSPI and IFC addresses execution shouldn't be allowed > when u-boot running from DDR. Revise the MMU final table > to enforce execute-never bits. > > Signed-off-by: Suresh Gupta > --- Applied to fsl-qoriq master. Thanks. York __

Re: [U-Boot] [PATCH v3 5/5] spl: fit: Add booting OS first

2017-09-12 Thread York Sun
On 08/15/2017 11:15 AM, York Sun wrote: > If CONFIG_SPL_OS_BOOT is enabled, boot OS if kernel image is found > in FIT structure. > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > > --- > This presums the kernel image doesn't exist in a FIT image intended

Re: [U-Boot] [PATCH v3 3/5] spl: fit: Eanble GZIP support for image decompression

2017-09-12 Thread York Sun
On 08/15/2017 11:15 AM, York Sun wrote: > Add Kconfig option SPL_GZIP and SPL_ZLIB to enable gunzip support for > SPL boot, eg. falcon boot compressed kernel image. > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > > --- > > Changes in v3: > Replace ifdef wi

Re: [U-Boot] [PATCH v3 4/5] spl: fit: Support both external and embedded data

2017-09-12 Thread York Sun
On 08/15/2017 11:15 AM, York Sun wrote: > SPL supports U-Boot image in FIT format which has data outside of > FIT structure. This adds support for embedded data for normal FIT > images. > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > > --- > > Changes

Re: [U-Boot] [PATCH v3 1/5] tools: pblimage: Fix address calculation

2017-09-12 Thread York Sun
On 08/15/2017 11:15 AM, York Sun wrote: > The image size should be added to the initial pbl command, not bit > "ORed". > > Signed-off-by: York Sun > --- > > Changes in v3: None > Changes in v2: None > Applied to fsl-qoriq master. York _

Re: [U-Boot] [PATCH v3 2/5] cmd: spl: Fix compiling warning

2017-09-12 Thread York Sun
On 08/15/2017 11:15 AM, York Sun wrote: > Fix warning "cast from pointer to integer of different size". > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > --- > > Changes in v3: None > Changes in v2: None Applied to fsl-qoriq master. York ___

Re: [U-Boot] [PATCH v3 3/3] LS2080ARDB: Secure Boot defconfig for QSPI boot.

2017-09-12 Thread York Sun
On 08/15/2017 09:45 PM, Sumit Garg wrote: > From: Udit Agarwal > > Add the secure boot defconfig for QSPI boot on LS2088ARDB > platform. > > Signed-off-by: Udit Agarwal > --- > > Changes in v3: > Rebasing of the patch on top commit. > This patch supersedes https://patchwork.ozlabs.org/patch/76

Re: [U-Boot] [PATCH v3 2/3] LS2080ARDB: QSPI boot: Secure Boot image validation

2017-09-12 Thread York Sun
On 08/15/2017 09:45 PM, Sumit Garg wrote: > From: Udit Agarwal > > Adds header address for PPA to be validated during ESBC phase for > ARCH_LS2088 and QSPI_BOOT. > > Moves sec_init prior to ppa_init as for validation of PPA, sec must > be initialised before the PPA is initialised. > > Signed-of

Re: [U-Boot] [PATCH v3 1/3] SECURE_BOOT: Unify memory map for Layerscape based platforms

2017-09-12 Thread York Sun
On 08/15/2017 09:45 PM, Sumit Garg wrote: > Unify memory map for Layerscape based platforms. This patch includes > changes in bootscript, bootscript header and PPA header addresses > change as per unified memory map. > > Signed-off-by: Sumit Garg > Tested-by: Vinitha Pillai > --- > > Changes in

Re: [U-Boot] [Patch v2] QE: Set QE_IRAM_READY after uploading firmware

2017-09-12 Thread York Sun
On 08/13/2017 07:39 PM, Zhao Qiang wrote: > QE_IRAM_READY should be set only after successfully uploading the > firmware. > > Signed-off-by: Zhao Qiang > --- > Changes for v2: > - modify commit msg to make it more understandable Applied to fsl-qoriq master. Thanks. York __

Re: [U-Boot] [PATCH v5 1/3] armv8:fsl-layerscape: Consolidate registers space defination for CCI-400 bus

2017-09-12 Thread York Sun
On 08/10/2017 10:39 PM, Ashish Kumar wrote: > CoreLink Cache Coherent Interconnect (CCI) is ARM BUS which > provides full cache coherency between two clusters of multi-core > CPUs and I/O coherency for devices and I/O masters. > > This patch add new CONFIG defination "SYS_FSL_HAS_CCI400" and > mov

[U-Boot] Please pull u-boot-fsl-qoriq master

2017-09-12 Thread York Sun
memory map for Layerscape based platforms Suresh Gupta (1): armv8: fsl-layerscape: Fix final MMU table for QSPI and IFC Udit Agarwal (2): LS2080ARDB: QSPI boot: Secure Boot image validation armv8: LS2080ARDB: Add secure boot defconfig for QSPI boot. York Sun (7): tools

[U-Boot] [PATCH] armv8: fsl-layerscape: Add back L3 flushing for all exception levels

2017-09-10 Thread York Sun
CCN-504 HPF registers were believed to be accessible only from EL3. However, recent tests proved otherwise. Remove checking for exception level to re-enable L3 cache flushing for all levels. Signed-off-by: York Sun --- arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 4 1 file changed, 4

[U-Boot] [PATCH] armv8: fsl-layerscape: Fix MC reserved memory calculation

2017-09-07 Thread York Sun
In case high region memory doesn't have enough space for Management Complex (MC), the return value should indicate a failure so the caller can handle it accordingly. Signed-off-by: York Sun Reported-by: Ebony Zhu --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 15 --- 1 file ch

Re: [U-Boot] [PATCH 3/3] armv8: ls1088a: Enable PCIe in defconfigs

2017-09-07 Thread York Sun
On 09/03/2017 08:05 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Enabled PCIe support and PCI command feature. > > Signed-off-by: Hou Zhiqiang > --- > configs/ls1088aqds_qspi_defconfig| 4 > configs/ls1088aqds_sdcard_qspi_defconfig | 4 > configs/ls1088ardb_qspi_defcon

Re: [U-Boot] [PATCH v5 2/3] armv8: ls1088ardb: Add support for LS1088ARDB platform

2017-09-07 Thread York Sun
On 08/31/2017 03:43 AM, Ashish Kumar wrote: > LS1088A is an ARMv8 implementation. The LS1088ARDB is an evaluatoin > platform that supports the LS1088A family SoCs. This patch add basic > support of the platform. > > Signed-off-by: Alison Wang > Signed-off-by: Prabhakar Kushwaha > Signed-off-by:

Re: [U-Boot] [Patch v2] configs: SECURE_BOOT: Enable CONFIG_CMD_EXT4_WRITE

2017-09-07 Thread York Sun
On 09/06/2017 09:10 PM, Sumit Garg wrote: >> -Original Message- >> From: York Sun >> Sent: Wednesday, September 06, 2017 9:47 PM >> To: Sumit Garg ; u-boot@lists.denx.de >> Cc: Ruchika Gupta ; Prabhakar Kushwaha >> ; tr...@konsulko.com >> Su

Re: [U-Boot] [PATCH 1/1] armv8: ls1012a: Memory Map modification of kernel, env

2017-09-06 Thread York Sun
On 09/01/2017 02:54 AM, Bhaskar Upadhaya wrote: > This patch adjusts memory map for images on LS1012A > as per below memory map: > Image Flash Offset > RCW+PBI 0x > Boot firmware (U-Boot) 0x0010

Re: [U-Boot] [Patch v2] configs: SECURE_BOOT: Enable CONFIG_CMD_EXT4_WRITE

2017-09-06 Thread York Sun
On 08/25/2017 03:03 AM, Sumit Garg wrote: > As part of chain of trust with confidentiality along with distro > boot, linux kernel image needs to be stored in encrypted form on > ext4 boot partition. So enable CONFIG_CMD_EXT4_WRITE in case of > Secure boot. > > Signed-off-by: Sumit Garg > --- > >

<    2   3   4   5   6   7   8   9   10   11   >