[U-Boot] [PATCH v2 03/16] arm: rockchip: Add common cru.h

2019-08-26 Thread Jagan Teki
Few of the rockchip family SoC atleast rk3288, rk3399 are sharing some cru register bits so adding common code between these SoC families would require to include both cru include files that indeed resulting function declarations error. So, create a common cru include as cru.h then include the

[U-Boot] [PATCH v2 01/16] rockchip: Add cpu-info

2019-08-26 Thread Jagan Teki
Add cpu information for rockchip soc. This would help to print the SoC family number, with associated temparature, clock and reason for reset etc. Signed-off-by: Jagan Teki --- arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/cpu-info.c | 16 2 files changed,

[U-Boot] [PATCH v2 06/16] wdt: designware: Simplify enable function

2019-08-26 Thread Jagan Teki
Simplify dw watchdog enable function by using proper macro and drop unwanted macros. Cc: Chin Liang See Cc: Andy Shevchenko Signed-off-by: Jagan Teki --- drivers/watchdog/designware_wdt.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

Re: [U-Boot] [PATCH] qemu-riscv64_smode, sifive-fu540: fix extlinux (define preboot)

2019-08-26 Thread David Abdurachmanov
On Mon, Aug 26, 2019 at 5:43 AM Bin Meng wrote: > > Hi David, > > On Thu, Aug 22, 2019 at 3:07 AM David Abdurachmanov > wrote: > > > > Commit 37304aaf60bf92a5dc3ef222ba520698bd862a44 removed preboot > > commands in RISC-V targets and broke extlinux support as reported > > by Fu Wei . > > I think

Re: [U-Boot] SPL building unwanted code

2019-08-26 Thread Tom Rini
On Thu, Aug 22, 2019 at 03:41:45PM -0500, Adam Ford wrote: > I have boards (omap3_logic and omap3_logic_somlv) which do not want > USB enabled for SPL yet SPL is showing USB chunks being compiled into > it. > > I had to create a patch [1] which disables the USB host controller > when in SPL, yet

Re: [U-Boot] [RFC/RESEND 01/22] arm: introduce ARCH_THUNDERX

2019-08-26 Thread Tim Harvey
On Wed, Jul 31, 2019 at 5:32 PM Suneel Garapati wrote: > > Hi Matthias, > > Hard deadline is Aug 15th, so you should see first series before that. > Suneel, Update? I'm really wishing my patches posted last March were considered instead of all of this waiting. Regards, Tim

[U-Boot] [PATCH v2 00/16] rk3399: Add redundant boot support

2019-08-26 Thread Jagan Teki
Boot redundancy is one of the key criteria for switch recovery or golden partition based on the bootcount value, which indeed very much needed in production systems on the fields. This patchset support redundant boot on Rockchip rk3399. To make full functional redundancy below features would

[U-Boot] [PATCH v2 05/16] wdt: designware: Simplify is_enabled function

2019-08-26 Thread Jagan Teki
Right now the designware is_enabled function is using numeric number to check whether watchdog is enabled or not, so use register macro and check the same. Cc: Chin Liang See Cc: Andy Shevchenko Signed-off-by: Jagan Teki --- drivers/watchdog/designware_wdt.c | 4 +--- 1 file changed, 1

[U-Boot] [PATCH v2 15/16] rockchip: rk3399: Add bootcount support

2019-08-26 Thread Jagan Teki
Add bootcount support for Rockchip rk3399. The bootcount value is preserved in PMU_SYS_REG0 register, this would help to support redundent boot. Once the redundant boot triggers, the altboot command will look for extlinux-rollback.conf on particular bootable partition which supposed to be a

Re: [U-Boot] [PATCH 1/1] x86: show UEFI images involved in crash

2019-08-26 Thread Heinrich Schuchardt
On 8/26/19 8:13 AM, Bin Meng wrote: Hi Heinrich, On Mon, Aug 26, 2019 at 1:55 AM Heinrich Schuchardt wrote: If a crash occurs, show the loaded UEFI images to facilitate analysis. This is an example output: => bootefi 0x100 Found 0 disks Hello world of bugs! Invalid Opcode (Undefined

[U-Boot] [PATCH v2 13/16] watchdog: Handle TPL build with watchdog disabled

2019-08-26 Thread Jagan Teki
This patch handle a checks to not enable watchdog in TPL, if TPL won't require to enable that. This is useful, in rockchip platforms where watchdog would require in SPL and U-Boot proper and optional to have it in TPL. So, without this check, the TPL build failed to get the watchdog_reset

[U-Boot] [PATCH v2 09/16] rockchip: dts: rk3399: Add u-boot, dm-pre-reloc for watchdog

2019-08-26 Thread Jagan Teki
Add u-boot,dm-pre-reloc property for watchdog in rk3399-u-boot.dtsi so-that SPL can access watchdog. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399-u-boot.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi index

[U-Boot] [PATCH 2/2] configs: am65x_hs_evm: Use FIT images when booting HS devices

2019-08-26 Thread Andrew F. Davis
HS devices use the FIT post processing step to authenticate boot images. Set the configured boot command to load FIT by default. Signed-off-by: Andrew F. Davis --- configs/am65x_hs_evm_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 1/2] configs: ti: Add environment support commands for FIT loading

2019-08-26 Thread Andrew F. Davis
Some parts of these commands can be reused, add them to common files. Signed-off-by: Andrew F. Davis --- include/configs/am65x_evm.h | 3 +++ include/configs/ti_armv7_common.h | 8 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/include/configs/am65x_evm.h

[U-Boot] [PATCH v2 02/16] rockchip: rk3288/rk3399: Enable DISPLAY_CPUINFO

2019-08-26 Thread Jagan Teki
RK3288 and RK3399 are now support cpu-info, so enable them by default. Signed-off-by: Jagan Teki --- configs/evb-rk3288_defconfig | 1 - configs/evb-rk3399_defconfig | 1 - configs/ficus-rk3399_defconfig | 1 - configs/firefly-rk3288_defconfig

[U-Boot] [PATCH v2 08/16] wdt: dw: Rename to dw_wdt.c

2019-08-26 Thread Jagan Teki
- use dw instead of designware for driver file since Linux following the same. - add CONFIG macro start with CONFIG_WDT since the driver mode wdt drivers follow this. Cc: Dinh Nguyen Cc: Chin-Liang See Signed-off-by: Jagan Teki --- common/board_f.c| 2 +-

[U-Boot] [PATCH v2 07/16] wdt: dw: Add driver-model support

2019-08-26 Thread Jagan Teki
Add driver-model code for designware watchdog. Cc: Chin Liang See Cc: Andy Shevchenko Signed-off-by: Jagan Teki --- drivers/watchdog/designware_wdt.c | 118 +- 1 file changed, 117 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/designware_wdt.c

[U-Boot] [PATCH v2 04/16] rockchip: Add rk3399 reset cause

2019-08-26 Thread Jagan Teki
Add reset cause for rk3399 in common cpu-info file. This would help to print the reset cause for various resets. Common code for various rockchip reset cause will add it in future. Signed-off-by: Jagan Teki --- arch/arm/include/asm/arch-rockchip/cru.h | 12 +++

[U-Boot] [DO NOT MERGE] [PATCH v2 16/16] rk3399: rockpro64: Enable bootcount

2019-08-26 Thread Jagan Teki
Enable bootcount support for Rockpro64 boards, this would help to use it for redundent boot. Signed-off-by: Jagan Teki --- configs/rockpro64-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rockpro64-rk3399_defconfig b/configs/rockpro64-rk3399_defconfig index

[U-Boot] [PATCH v2 12/16] spl: Add watchdog support fot TPL

2019-08-26 Thread Jagan Teki
Add support to build watchdog for TPL. Signed-off-by: Jagan Teki --- common/spl/Kconfig | 9 + drivers/Makefile | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 660aa66d84..d4c5956b18 100644 --- a/common/spl/Kconfig

[U-Boot] [PATCH v2 10/16] wdt: Kconfig: Add WDT_DW entry

2019-08-26 Thread Jagan Teki
Add Kconfig entry for CONFIG_WDT_DW, and it indeed depends on DM WDT. So, it can be avialable on particular board defconfig only if they switch to use DW driver model code. Signed-off-by: Jagan Teki --- drivers/watchdog/Kconfig | 8 scripts/config_whitelist.txt | 1 - 2 files

[U-Boot] [PATCH v2 11/16] wdt: Kconfig: Add TPL_WDT entry

2019-08-26 Thread Jagan Teki
Add missing Kconfig entry for TPL_WDT. Signed-off-by: Jagan Teki --- drivers/watchdog/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 8674633b90..7c7f0c67a0 100644 --- a/drivers/watchdog/Kconfig +++

[U-Boot] [DO NOT MERGE] [PATCH v2 14/16] rk3399: rockpro64: Enable watchdog

2019-08-26 Thread Jagan Teki
Enable watchdog in SPL and U-Boot proper for Rockpro64. Signed-off-by: Jagan Teki --- configs/rockpro64-rk3399_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/rockpro64-rk3399_defconfig b/configs/rockpro64-rk3399_defconfig index e05ea3e186..5ff38efa53 100644 ---

Re: [U-Boot] [PATCH 22/47] P1020: dts: Added PCIe DT nodes

2019-08-26 Thread Z.q. Hou
Hi Bin, Thanks a lot for your comments! > -Original Message- > From: Bin Meng > Sent: 2019年8月26日 22:50 > To: Z.q. Hou > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > ; Wolfgang Denk ; Priyanka > Jain ; Shengzhou Liu > Subject: Re: [U-Boot] [PATCH 22/47] P1020: dts: Added PCIe DT

Re: [U-Boot] [PATCH 13/47] powerpc: T102xRDB: Disable legacy PCIe driver when DM_PCI is enabled

2019-08-26 Thread Bin Meng
Hi Zhiqiang, On Tue, Aug 27, 2019 at 10:33 AM Z.q. Hou wrote: > > Hi Bin, > > Thanks a lot for your comments! > > > -Original Message- > > From: Bin Meng > > Sent: 2019年8月26日 22:49 > > To: Z.q. Hou > > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > > ; Wolfgang Denk ; Priyanka > > Jain

Re: [U-Boot] [PATCH 41/47] configs: P5040DS: Enable PCIe driver

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:31 PM Hou Zhiqiang wrote: > > Enable the DM PCIe driver in P5040DS defconfig. > > Signed-off-by: Hou Zhiqiang > --- > configs/P5040DS_NAND_defconfig | 4 > configs/P5040DS_SDCARD_defconfig | 4 > configs/P5040DS_SPIFLASH_defconfig | 4 >

[U-Boot] [ANN] U-Boot v2019.10-rc3 released

2019-08-26 Thread Tom Rini
Hey all, It's release day and here's v2019.10-rc3. We're well into what should be the stabilization period at this point. Going forward I am hoping for PRs that are bug fixes / regression fixes, Kconfig migrations or very self contained new boards and similar. If you have a series is "big" but

Re: [U-Boot] [PATCH v4 1/1] nvme: Fix PRP Offset Invalid

2019-08-26 Thread Tom Rini
On Thu, Aug 22, 2019 at 08:37:26PM -0700, Aaron Williams wrote: > When large writes take place I saw a Samsung EVO 970+ return a status > value of 0x13, PRP Offset Invalid. I tracked this down to the > improper handling of PRP entries. The blocks the PRP entries are > placed in cannot cross a

Re: [U-Boot] [PATCH 1/1] x86: show UEFI images involved in crash

2019-08-26 Thread Bin Meng
Hi Heinrich, On Tue, Aug 27, 2019 at 1:26 AM Heinrich Schuchardt wrote: > > On 8/26/19 8:13 AM, Bin Meng wrote: > > Hi Heinrich, > > > > On Mon, Aug 26, 2019 at 1:55 AM Heinrich Schuchardt > > wrote: > >> > >> If a crash occurs, show the loaded UEFI images to facilitate analysis. > >> > >>

Re: [U-Boot] [PATCH] cmd: host: fix seg fault at "host info"

2019-08-26 Thread Heinrich Schuchardt
On 8/22/19 9:47 AM, AKASHI Takahiro wrote: With the patch below applied, host_block_dev structure was switched to be placed in platdata rather than priv. The command "host info" must be aligned with this change. Otherwise, we will see "Segmentation Fault." Fixes: 8f994c860d91 ("sandbox: blk:

Re: [U-Boot] [PATCH] blk: Invalidate block cache when switching hwpart

2019-08-26 Thread Weijie Gao
On Mon, 2019-08-26 at 14:43 +0200, Felix Brack wrote: > Hello Weijie, > > On 26.08.19 10:19, Weijie Gao wrote: > > On Thu, 2019-08-22 at 15:58 +0200, Felix Brack wrote: > >> On 11.07.19 09:10, Weijie Gao wrote: > >> > >>> Some storage devices have multiple hw partitions and both address from >

Re: [U-Boot] [PATCH 22/22] imx: Add i.MX8MM EVK board support.

2019-08-26 Thread Peng Fan
> -Original Message- > From: Peng Fan > Sent: 2019年8月27日 9:10 > To: Schrempf Frieder ; lu...@denx.de; > sba...@denx.de; feste...@gmail.com > Cc: dl-uboot-imx ; u-boot@lists.denx.de > Subject: RE: [PATCH 22/22] imx: Add i.MX8MM EVK board support. > > > Subject: Re: [PATCH 22/22] imx: Add

Re: [U-Boot] [PATCH 25/47] P2020: dts: Added PCIe DT nodes

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:39 PM Hou Zhiqiang wrote: > > P2020 integrated 3 PCIe controllers, which is compatible with > the PCI Express™ Base Specification, Revision 1.0a, and this > patch is to add DT node for each PCIe controller. > > Signed-off-by: Hou Zhiqiang > --- >

Re: [U-Boot] [PATCH 24/47] configs: P1020RDB: Enable PCIe driver

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:41 PM Hou Zhiqiang wrote: > > Enable the DM PCIe driver in P1020RDB defconfig. > > Signed-off-by: Hou Zhiqiang > --- > configs/P1020RDB-PC_36BIT_NAND_defconfig | 4 > configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 4 >

Re: [U-Boot] [PATCH 22/47] P1020: dts: Added PCIe DT nodes

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:33 PM Hou Zhiqiang wrote: > > P1020 integrated 2 PCIe controllers, which is compatible with > the PCI Express™ Base Specification, Revision 1.0a, and this > patch is to add DT node for each PCIe controller. > > Signed-off-by: Hou Zhiqiang > --- >

Re: [U-Boot] [PATCH v2 01/26] tools: imx8m_image: align spl bin image size

2019-08-26 Thread Peng Fan
> Subject: Re: [PATCH v2 01/26] tools: imx8m_image: align spl bin image size > > On 19.08.19 11:42, Peng Fan wrote: > > The loader for the DDR firmware in drivers/ddr/imx/imx8m/helper.c uses > > a 4-byte-aligned address to load the firmware. In cases where OF is > > enabled in SPL the dtb will be

Re: [U-Boot] [PATCH 25/47] P2020: dts: Added PCIe DT nodes

2019-08-26 Thread Z.q. Hou
Hi Bin, Thanks a lot for your comments! > -Original Message- > From: Bin Meng > Sent: 2019年8月26日 22:50 > To: Z.q. Hou > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > ; Wolfgang Denk ; Priyanka > Jain ; Shengzhou Liu > Subject: Re: [U-Boot] [PATCH 25/47] P2020: dts: Added PCIe DT

Re: [U-Boot] [PATCH 25/47] P2020: dts: Added PCIe DT nodes

2019-08-26 Thread Z.q. Hou
Hi Bin, > -Original Message- > From: Bin Meng > Sent: 2019年8月27日 10:56 > To: Z.q. Hou > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > ; Wolfgang Denk ; Priyanka > Jain ; Shengzhou Liu > Subject: Re: [U-Boot] [PATCH 25/47] P2020: dts: Added PCIe DT nodes > > Hi Zhiqiang, > > On Tue,

Re: [U-Boot] [PATCH] ARM: dts: logicpd-som-lv: Fix i2c2 and i2c3 Pin mux

2019-08-26 Thread Tom Rini
On Tue, Aug 20, 2019 at 07:20:58AM -0500, Adam Ford wrote: > When the pinmux configuration was added, it was accidentally placed into > the omap3_pmx_wkup node when it should have been placed into the > omap3_pmx_core. This error was accidentally propagated to U-Boot by > me when I blindly

Re: [U-Boot] [PATCH 1/1] cmd: gpio: remove redundant assignment

2019-08-26 Thread Tom Rini
On Thu, Aug 22, 2019 at 10:19:41PM +0200, Heinrich Schuchardt wrote: > The assigned value NULL is overwritten before being used. Remove the > assignment. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [PATCH 1/1] dm: scsi: Scan the actual number of ports

2019-08-26 Thread Tom Rini
On Tue, Aug 20, 2019 at 04:47:42PM +, Park, Aiden wrote: > The scsi_scan_dev() is looping over the number of uc_plat->max_id. > The number of actual ports a AHCI controller has can be greater than > max_id. Update uc_plat->max_id to make SCSI scan all detected ports. > > Signed-off-by: Aiden

Re: [U-Boot] [PATCH] cmd: host: fix seg fault at "host info"

2019-08-26 Thread Bin Meng
On Thu, Aug 22, 2019 at 3:45 PM AKASHI Takahiro wrote: > > With the patch below applied, host_block_dev structure was switched > to be placed in platdata rather than priv. The command "host info" > must be aligned with this change. Otherwise, we will see "Segmentation > Fault." > > Fixes:

Re: [U-Boot] [PATCH 03/47] configs: T2080RDB: Enable PCIe driver

2019-08-26 Thread Bin Meng
Hi Zhiqiang, On Tue, Aug 27, 2019 at 10:05 AM Z.q. Hou wrote: > > Hi Bin, > > Thanks a lot for your comments! > > > -Original Message- > > From: Bin Meng > > Sent: 2019年8月26日 22:48 > > To: Z.q. Hou > > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > > ; Wolfgang Denk ; Priyanka > > Jain

Re: [U-Boot] [PATCH 1/1] x86: show UEFI images involved in crash

2019-08-26 Thread Bin Meng
Hi Heinrich, On Tue, Aug 27, 2019 at 10:43 AM Heinrich Schuchardt wrote: > > On 8/27/19 3:18 AM, Bin Meng wrote: > > Hi Heinrich, > > > > On Tue, Aug 27, 2019 at 1:26 AM Heinrich Schuchardt > > wrote: > >> > >> On 8/26/19 8:13 AM, Bin Meng wrote: > >>> Hi Heinrich, > >>> > >>> On Mon, Aug 26,

Re: [U-Boot] [PATCH 47/47] configs: MPC8548CDS: Enable PCIe driver

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:26 PM Hou Zhiqiang wrote: > > Enable the DM PCIe driver in MPC8548CDS defconfig. > > Signed-off-by: Hou Zhiqiang > --- > configs/MPC8548CDS_36BIT_defconfig | 4 > configs/MPC8548CDS_defconfig| 4 > configs/MPC8548CDS_legacy_defconfig | 4 > 3

Re: [U-Boot] [PATCH 38/47] configs: P4080DS: Enable PCIe driver

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:31 PM Hou Zhiqiang wrote: > > Enable the DM PCIe driver in P4080DS defconfig. > > Signed-off-by: Hou Zhiqiang > --- > configs/P4080DS_SDCARD_defconfig | 4 > configs/P4080DS_SPIFLASH_defconfig | 4 > configs/P4080DS_defconfig | 4 > 3 files

Re: [U-Boot] [PATCHv2 1/3] dm: pcie_fsl: Fix workaround of P4080 erratum A003

2019-08-26 Thread Bin Meng
Hi Prabhakar, On Mon, Aug 26, 2019 at 9:00 PM Bin Meng wrote: > > Hi Prabhakar, > > On Mon, Aug 26, 2019 at 5:10 PM Prabhakar Kushwaha > wrote: > > > > Dear Bin, > > > > > -Original Message- > > > From: Bin Meng > > > Sent: Monday, August 26, 2019 2:21 PM > > > To: Z.q. Hou > > > Cc:

Re: [U-Boot] [PATCH] mailmap: Update mail address

2019-08-26 Thread Tom Rini
On Fri, Aug 23, 2019 at 03:59:55PM +0200, Ricardo Ribalda Delgado wrote: > Update my email address from gmail to my domain. > > Signed-off-by: Ricardo Ribalda Delgado Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH] ARM: am3517-evm: Disable CONFIG_USB_EHCI_OMAP in SPL

2019-08-26 Thread Tom Rini
On Thu, Aug 22, 2019 at 04:44:03PM -0500, Adam Ford wrote: > Found accidentally in omap3_logic, CONFIG_USB_EHCI_OMAP adds some > code size to SPL, so this patch disables it on the am3517-evm to > reduce the code a bit since it's tight for space. > > Signed-off-by: Adam Ford > > diff --git

Re: [U-Boot] [PATCH] ARM: omap3_logic: Fix SPL boot failure when EHCI enabled

2019-08-26 Thread Tom Rini
On Thu, Aug 22, 2019 at 03:32:42PM -0500, Adam Ford wrote: > Some of the USB code is still being built into SPL even when the > SPL menu options have it explicitly disabled for SPL. Unit there is > a better solution, This patch undefines CONFIG_USB_EHCI_OMAP when > building SPL which reduces the

Re: [U-Boot] [PATCH] ARM: da850evm_direct_nor: Enable DM_GPIO

2019-08-26 Thread Tom Rini
On Sun, Aug 25, 2019 at 10:01:14AM -0500, Adam Ford wrote: > The SPI and NAND variants enable DM_GPIO, so this patch enables > DM_GPIO for the NOR / XIP version of the da850-evm. > > Signed-off-by: Adam Ford > > diff --git a/configs/da850evm_direct_nor_defconfig >

Re: [U-Boot] [PATCH] ARM: da850evm_nand: Enable Ethernet

2019-08-26 Thread Tom Rini
On Sun, Aug 25, 2019 at 09:34:49AM -0500, Adam Ford wrote: > The NAND configuration has had the ethernet missing, so this patch > enables the on-board ethernet interface. > > Signed-off-by: Adam Ford > > diff --git a/configs/da850evm_nand_defconfig b/configs/da850evm_nand_defconfig > index

Re: [U-Boot] [PATCH 25/47] P2020: dts: Added PCIe DT nodes

2019-08-26 Thread Bin Meng
Hi Zhiqiang, On Tue, Aug 27, 2019 at 10:52 AM Z.q. Hou wrote: > > Hi Bin, > > Thanks a lot for your comments! > > > -Original Message- > > From: Bin Meng > > Sent: 2019年8月26日 22:50 > > To: Z.q. Hou > > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > > ; Wolfgang Denk ; Priyanka > > Jain

Re: [U-Boot] [PATCH 30/47] powerpc: P2041RDB: Disable legacy PCIe driver when DM_PCI is enabled

2019-08-26 Thread Z.q. Hou
Hi Bin, Thanks a lot for your comments! > -Original Message- > From: Bin Meng > Sent: 2019年8月26日 22:50 > To: Z.q. Hou > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > ; Wolfgang Denk ; Priyanka > Jain ; Shengzhou Liu > Subject: Re: [U-Boot] [PATCH 30/47] powerpc: P2041RDB: Disable

Re: [U-Boot] [PATCH 22/47] P1020: dts: Added PCIe DT nodes

2019-08-26 Thread Z.q. Hou
Hi Bin, > -Original Message- > From: Bin Meng > Sent: 2019年8月27日 10:59 > To: Z.q. Hou > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > ; Wolfgang Denk ; Priyanka > Jain ; Shengzhou Liu > Subject: Re: [U-Boot] [PATCH 22/47] P1020: dts: Added PCIe DT nodes > > Hi Zhiqiang, > > On Tue,

Re: [U-Boot] [PATCH 35/47] configs: P3041DS: Enable PCIe driver

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:32 PM Hou Zhiqiang wrote: > > Enable the DM PCIe driver in P3041DS defconfig. > > Signed-off-by: Hou Zhiqiang > --- > configs/P3041DS_NAND_defconfig | 4 > configs/P3041DS_SDCARD_defconfig | 4 > configs/P3041DS_SPIFLASH_defconfig | 4 >

Re: [U-Boot] [PATCH 34/47] powerpc: corenet_ds: Disable legacy PCIe driver when DM_PCI is enabled

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:29 PM Hou Zhiqiang wrote: > > Disable legacy PCIe driver and unused PCIe macros when DM_PCI enabled. > > Signed-off-by: Hou Zhiqiang > --- > include/configs/corenet_ds.h | 63 > +--- > 1 file changed, 19 insertions(+), 44

Re: [U-Boot] [PATCH 31/47] configs: P2041RDB: Enable PCIe driver

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:43 PM Hou Zhiqiang wrote: > > Enable the DM PCIe driver in P2041RDB defconfig. > > Signed-off-by: Hou Zhiqiang > --- > configs/P2041RDB_NAND_defconfig | 4 > configs/P2041RDB_SDCARD_defconfig | 4 > configs/P2041RDB_SPIFLASH_defconfig | 4 >

Re: [U-Boot] [PATCH 30/47] powerpc: P2041RDB: Disable legacy PCIe driver when DM_PCI is enabled

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:44 PM Hou Zhiqiang wrote: > > Disable legacy PCIe driver and unused PCIe macros when DM_PCI enabled. > > Signed-off-by: Hou Zhiqiang > --- > include/configs/P2041RDB.h | 55 > +- > 1 file changed, 15 insertions(+), 40

Re: [U-Boot] [PATCH 26/47] configs: P2020RDB: Enable PCIe driver

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:40 PM Hou Zhiqiang wrote: > > Enable the DM PCIe driver in P2020RDB defconfig. > > Signed-off-by: Hou Zhiqiang > --- > configs/P2020RDB-PC_36BIT_NAND_defconfig | 4 > configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 4 >

Re: [U-Boot] [PATCH v2 00/26] i.MX8MM support

2019-08-26 Thread Peng Fan
> Subject: Re: [PATCH v2 00/26] i.MX8MM support > > On 19.08.19 11:42, Peng Fan wrote: > > V2: > > Fixed comments from Lukasz and Frieder > > This set has 26 patches, while the previous version had 22. You should > document all changes here, so one can easily figure out which patches were >

Re: [U-Boot] [PATCH 22/22] imx: Add i.MX8MM EVK board support.

2019-08-26 Thread Peng Fan
> Subject: Re: [PATCH 22/22] imx: Add i.MX8MM EVK board support. > > On 15.08.19 02:57, Peng Fan wrote: > >> Subject: Re: [PATCH 22/22] imx: Add i.MX8MM EVK board support. > >> > >> On 09.08.19 06:15, Peng Fan wrote: > >>> Add board and SoC dts > >>> Add ddr training code > >>> support

Re: [U-Boot] [PATCH 13/47] powerpc: T102xRDB: Disable legacy PCIe driver when DM_PCI is enabled

2019-08-26 Thread Z.q. Hou
Hi Bin, Thanks a lot for your comments! > -Original Message- > From: Bin Meng > Sent: 2019年8月26日 22:49 > To: Z.q. Hou > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > ; Wolfgang Denk ; Priyanka > Jain ; Shengzhou Liu > Subject: Re: [U-Boot] [PATCH 13/47] powerpc: T102xRDB: Disable

Re: [U-Boot] [PATCH 08/47] configs: T4240RDB: Enable PCIe driver

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:34 PM Hou Zhiqiang wrote: > > Enable the DM PCIe driver in T4240RDB defconfig. > > Signed-off-by: Hou Zhiqiang > --- > configs/T4240RDB_SDCARD_defconfig | 4 > configs/T4240RDB_defconfig| 4 > 2 files changed, 8 insertions(+) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 14/47] configs: T1024RDB: Enable PCIe driver

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:29 PM Hou Zhiqiang wrote: > > Enable the DM PCIe driver in T1024RDB defconfig. > > Signed-off-by: Hou Zhiqiang > --- > configs/T1024RDB_NAND_defconfig | 4 > configs/T1024RDB_SDCARD_defconfig | 4 > configs/T1024RDB_SPIFLASH_defconfig | 4 >

Re: [U-Boot] [PATCH 03/47] configs: T2080RDB: Enable PCIe driver

2019-08-26 Thread Bin Meng
Hi Zhiqiang, On Tue, Aug 27, 2019 at 11:09 AM Z.q. Hou wrote: > > Hi Bin, > > > -Original Message- > > From: Bin Meng > > Sent: 2019年8月27日 10:51 > > To: Z.q. Hou > > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > > ; Wolfgang Denk ; Priyanka > > Jain ; Shengzhou Liu > > Subject: Re:

Re: [U-Boot] [PATCH 19/47] configs: T1042D4RDB: Enable PCIe driver

2019-08-26 Thread Bin Meng
On Tue, Jul 23, 2019 at 9:28 PM Hou Zhiqiang wrote: > > Enable the DM PCIe driver in T1042D4RDB defconfig. > > Signed-off-by: Hou Zhiqiang > --- > configs/T1042D4RDB_NAND_defconfig | 4 > configs/T1042D4RDB_SDCARD_defconfig | 4 > configs/T1042D4RDB_SPIFLASH_defconfig | 4 >

Re: [U-Boot] [PATCH] cmd: pci: Adjust display of digits for 64bit address and size

2019-08-26 Thread Tom Rini
On Fri, Aug 23, 2019 at 10:56:55AM +0900, Kunihiko Hayashi wrote: > The command "pci bar" and "pci region" display the address and size in > 16 characters including "0x", so the command can only display > 14 hexadecimal digits if the number of digits in the address and size is > less than 14. >

Re: [U-Boot] [PATCH] vexpress/aemv8a: drop CONFIG_ARMV8_SWITCH_TO_EL1

2019-08-26 Thread Tom Rini
On Wed, Aug 21, 2019 at 06:29:10PM +0100, Sudeep Holla wrote: > To support KVM, we need to drop at EL2 and not EL1 before we boot Linux > kernel. This causes issues on platform with VHE and secondaries booting > at EL2 via TF-A PSCI CPU_ON call. > > Cc: Ryan Harkin > Cc: Liviu Dudau > Cc:

Re: [U-Boot] [PATCH] ARM: vexpress_*_defconfig: replace earlyprintk with earlycon

2019-08-26 Thread Tom Rini
On Wed, Aug 21, 2019 at 06:29:09PM +0100, Sudeep Holla wrote: > earlyprintk no longer works on arm64 platforms. Replace it with earlycon > which works fine. > > Cc: Ryan Harkin > Cc: Liviu Dudau > Cc: Linus Walleij > Signed-off-by: Sudeep Holla > Reviewed-by: Peng Fan > Reviewed-by: Ryan

Re: [U-Boot] [PATCH 1/1] tools: remove easylogo and include/video_logo.h

2019-08-26 Thread Tom Rini
On Thu, Aug 22, 2019 at 12:32:42PM +0200, Heinrich Schuchardt wrote: > include/video_logo.h once was created via the tool easylogo and than used > in cpu/mpc8xx/video.c to display Tux. video_logo.h has been replaced by > include/linux_logo.h and is not needed anymore. > > Delete the include and

Re: [U-Boot] [PATCH] Kconfig: Varios: Fix more SPL, TPL dependencies

2019-08-26 Thread Tom Rini
On Sat, Aug 24, 2019 at 01:50:34PM -0500, Adam Ford wrote: > Several options are presenting themselves on a various boards > where the options are clearly not used. (ie, SPL/TPL options > when SPL or TPL are not defined) > > This patch is not attempting to be a complete list of items, but >

Re: [U-Boot] [PATCH] MAINTAINERS,board/siemens: update maintainer

2019-08-26 Thread Tom Rini
On Fri, Aug 23, 2019 at 04:11:45PM +0200, Samuel Egli wrote: > Signed-off-by: Samuel Egli > Acked-by: Roger Meier > Cc: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2] board_f: reserve noncached space below malloc area

2019-08-26 Thread Tom Rini
On Fri, Aug 16, 2019 at 09:57:44AM -0700, Vikas Manocha wrote: > Noncached area at present is being initialized to random space after malloc > area. It works in most the cases as it goes to stack area & stack is not > overwriting it being far from it. > > Signed-off-by: Vikas Manocha Applied

Re: [U-Boot] [PATCH] board: ti: am43xx_evm_usbboot: Enable DM for USB, fix SPL build errors

2019-08-26 Thread Tom Rini
On Fri, Aug 23, 2019 at 02:06:34PM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > To address the following warning message: > > = WARNING == > This board does not use CONFIG_DM_USB. Please update > the board to use CONFIG_DM_USB before the

Re: [U-Boot] [PATCH 03/47] configs: T2080RDB: Enable PCIe driver

2019-08-26 Thread Z.q. Hou
Hi Bin, Thanks a lot for your comments! > -Original Message- > From: Bin Meng > Sent: 2019年8月26日 22:48 > To: Z.q. Hou > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > ; Wolfgang Denk ; Priyanka > Jain ; Shengzhou Liu > Subject: Re: [U-Boot] [PATCH 03/47] configs: T2080RDB: Enable PCIe

Re: [U-Boot] [PATCH 1/1] x86: show UEFI images involved in crash

2019-08-26 Thread Heinrich Schuchardt
On 8/27/19 3:18 AM, Bin Meng wrote: Hi Heinrich, On Tue, Aug 27, 2019 at 1:26 AM Heinrich Schuchardt wrote: On 8/26/19 8:13 AM, Bin Meng wrote: Hi Heinrich, On Mon, Aug 26, 2019 at 1:55 AM Heinrich Schuchardt wrote: If a crash occurs, show the loaded UEFI images to facilitate analysis.

Re: [U-Boot] [PATCH 34/47] powerpc: corenet_ds: Disable legacy PCIe driver when DM_PCI is enabled

2019-08-26 Thread Z.q. Hou
Hi Bin, Thanks a lot for your comments! > -Original Message- > From: Bin Meng > Sent: 2019年8月26日 22:50 > To: Z.q. Hou > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > ; Wolfgang Denk ; Priyanka > Jain ; Shengzhou Liu > Subject: Re: [U-Boot] [PATCH 34/47] powerpc: corenet_ds: Disable

[U-Boot] [PATCHv3] armv8: fsl-layerscape: Fix a typo of Layerscape PCIe config entry

2019-08-26 Thread Z.q. Hou
From: Hou Zhiqiang The correct config entry is CONFIG_PCIE_LAYERSCAPE and this typo results in skipping the fixup of Linux PCIe DT nodes. Also enable the fixup when Layerscape Gen4 controller driver is enabled. Fixes: 4da0e52c9dc0 (armv8: fsl-layerscape: fix config dependency for layerscape

[U-Boot] [PATCH] rockchip: rk3399: dts: add boot order for rockpro64

2019-08-26 Thread Kever Yang
The rk3399 rockpro64 board can boot from emmc and sdcard. TODO: add spiflash as boot device. Signed-off-by: Kever Yang --- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/rk3399-rockpro64-u-boot.dtsi

Re: [U-Boot] Regression after "distro: not taint environment variables if possible"

2019-08-26 Thread Tom Rini
On Wed, Jul 10, 2019 at 01:46:57PM +0200, Nuno Gonçalves wrote: > Hi, > > I found out that my Beaglebone didn't boot after: > > https://github.com/u-boot/u-boot/commit/13dd6665ed18f72380ca596931d609bc108d4b82 > > I digged out the reason that this patch makes devnum a local variable, > and it

Re: [U-Boot] [PATCH] fat: FAT filesystem premature release of info struct.

2019-08-26 Thread Tom Rini
On Tue, Aug 20, 2019 at 10:18:30PM +0200, Martin Vystrčil wrote: > File was found on specified location. Info about file was read, > but then immediately destroyed using 'free' call. As a result > file size was set to 0, hence fat process didn't read any data. > > Premature 'free' call removed.

Re: [U-Boot] Pull request: u-boot-riscv/master

2019-08-26 Thread Tom Rini
On Mon, Aug 26, 2019 at 04:25:31PM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull some riscv updates: > > - Support SPL and OpenSBI (FW_DYNAMIC firmware) boot. > - Fix qemu kconfig build warning. > > https://travis-ci.org/rickchen36/u-boot-riscv/builds/576608303 > > Thanks > Rick

Re: [U-Boot] [PATCH 22/47] P1020: dts: Added PCIe DT nodes

2019-08-26 Thread Bin Meng
Hi Zhiqiang, On Tue, Aug 27, 2019 at 10:46 AM Z.q. Hou wrote: > > Hi Bin, > > Thanks a lot for your comments! > > > -Original Message- > > From: Bin Meng > > Sent: 2019年8月26日 22:50 > > To: Z.q. Hou > > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > > ; Wolfgang Denk ; Priyanka > > Jain

Re: [U-Boot] [PATCH 03/47] configs: T2080RDB: Enable PCIe driver

2019-08-26 Thread Z.q. Hou
Hi Bin, > -Original Message- > From: Bin Meng > Sent: 2019年8月27日 10:51 > To: Z.q. Hou > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > ; Wolfgang Denk ; Priyanka > Jain ; Shengzhou Liu > Subject: Re: [U-Boot] [PATCH 03/47] configs: T2080RDB: Enable PCIe driver > > Hi Zhiqiang, > > On

[U-Boot] [PATCH 12/38] x86: spi: Add a driver for the Intel Fast SPI interface

2019-08-26 Thread Simon Glass
This provides access to SPI flash both through a read-only memory map and with operations to erase and write flash. It supports 4KB or 64KB erase sizes. This driver is used by Apollolake. Signed-off-by: Simon Glass --- drivers/mtd/spi/Kconfig | 9 + drivers/mtd/spi/Makefile

[U-Boot] [PATCH 03/38] dm: gpio: Allow control of GPIO uclass in SPL

2019-08-26 Thread Simon Glass
At present if CONFIG_SPL_GPIO_SUPPORT is enabled then the GPIO uclass is included in SPL/TPL without any control for boards. Some boards may want to disable this to reduce code size where GPIOs are not needed in SPL or TPL. Add a new Kconfig option to permit this. Default it to 'y' so that

[U-Boot] [PATCH 01/38] binman: Pass the toolpath to binman from the main Makefile

2019-08-26 Thread Simon Glass
Pass in the toolpath in case binman needs to use tools compiled in the U-Boot tools/ directory. Signed-off-by: Simon Glass --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index df4a54e204..4413605175 100644 --- a/Makefile +++ b/Makefile @@ -1190,6 +1190,7

[U-Boot] [PATCH 06/38] spl: Correct priority selection for image loaders

2019-08-26 Thread Simon Glass
At present the name of the image comes first in the linker-list symbol used. This means that the name of the function sets the sort order, which is not the intention. Update it to put the board device type first, then the priority. This produces the expected behaviour. Signed-off-by: Simon Glass

[U-Boot] [PATCH 08/38] spl: handoff: Correct Kconfig condition for SPL and TPL

2019-08-26 Thread Simon Glass
At present these options can be enabled when bloblist is not enabled for SPL or TPL. This is incorrect as SPL handoff requires bloblist. Fix it. Signed-off-by: Simon Glass --- common/spl/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/spl/Kconfig

[U-Boot] [PATCH 05/38] serial: ns16550: Allow serial to enabled/disabled in SPL

2019-08-26 Thread Simon Glass
At present this driver uses the wrong condition for including the code and drivers in SPL/TPL. Update it so that the code is only included if DM_SERIAL is enabled for SPL/TPL. Signed-off-by: Simon Glass --- drivers/serial/ns16550.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[U-Boot] [PATCH 07/38] spl: Avoid checking for Ctrl-C in SPL with print_buffer()

2019-08-26 Thread Simon Glass
We don't have a console in SPL so it doesn't make sense to check for Ctrl-C when printing a memory dump. Skip this so that print_buffer() can be used in SPL. Signed-off-by: Simon Glass --- lib/display_options.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/display_options.c

[U-Boot] [PATCH 15/38] x86: sysreset: Allow reset driver to be included in SPL/TPL

2019-08-26 Thread Simon Glass
At present this driver is always included in SPL and TPL, if U-Boot proper enables it. Update the Makefile to provide full control using the existing Kconfig options. Signed-off-by: Simon Glass --- drivers/sysreset/Kconfig | 12 drivers/sysreset/Makefile | 2 +- 2 files changed,

[U-Boot] [PATCH 27/38] x86: Add binman symbols to the image

2019-08-26 Thread Simon Glass
It is useful in SPL and TPL to access symbols from binman, such as the position and size of an entry in the ROM. Collect these symbols together in the SPL binaries. Signed-off-by: Simon Glass --- arch/x86/cpu/u-boot-spl.lds | 6 ++ 1 file changed, 6 insertions(+) diff --git

[U-Boot] [PATCH 35/38] x86: Add more comments to the start-up code

2019-08-26 Thread Simon Glass
The full start-up sequence (TPL->SPL->U-Boot) can be a bit confusing since each phase has its own 'start' file. Add comments to explain this. Signed-off-by: Simon Glass --- arch/x86/cpu/start.S | 12 arch/x86/cpu/start_from_spl.S | 5 +++-- arch/x86/cpu/start_from_tpl.S

[U-Boot] [PATCH 29/38] x86: spl: Use hang() instead of a while() loop

2019-08-26 Thread Simon Glass
Use the standard hang() function when booting fails since this implements the defined U-Boot behaviour for this situation. Signed-off-by: Simon Glass --- arch/x86/lib/spl.c | 3 +-- arch/x86/lib/tpl.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/x86/lib/spl.c

[U-Boot] [PATCH 21/38] x86: Move common fsp functions into a common file

2019-08-26 Thread Simon Glass
Some of this file can be shared between FSP1 and FSP2. Move it into a shared file. Signed-off-by: Simon Glass --- arch/x86/include/asm/fsp/fsp_support.h | 17 arch/x86/include/asm/fsp1/fsp_support.h | 10 --- arch/x86/lib/fsp/Makefile | 1 +

[U-Boot] [PATCH 36/38] x86: Add support for booting from Fast SPI

2019-08-26 Thread Simon Glass
Most x86 CPUs use a mechanism where the SPI flash is mapped into the very top of 32-bit address space, so that it can be executed in place and read simply by copying from memory. For an 8MB ROM the mapping starts at 0xff80. However some recent Intel CPUs do not use a simple 1:1 memory map.

[U-Boot] [PATCH 22/38] x86: fsp: Move common support functions into a common file

2019-08-26 Thread Simon Glass
Some of this file can be shared between FSP1 and FSP2. Move it into a shared file. Signed-off-by: Simon Glass --- arch/x86/lib/fsp/Makefile | 1 + arch/x86/lib/fsp/fsp_support.c | 176 arch/x86/lib/fsp1/fsp_support.c | 167

[U-Boot] [PATCH 33/38] x86: fsp: Allow the HOBs to be used after relocation

2019-08-26 Thread Simon Glass
Allocate memory for the HOBs and copy them before relocation. This ensures that they can still be accessed after relocation. This is needed when relocating the HOB within U-Boot. Signed-off-by: Simon Glass --- arch/x86/cpu/cpu.c | 6 ++

  1   2   3   >