Re: [PATCH] mpc83xx_clk: always treat MPC83XX_CLK_PCI as invalid

2020-01-07 Thread Mario Six
On Thu, Dec 19, 2019 at 10:46 AM Rasmus Villemoes wrote: > > The current mpc83xx_clk driver is broken for any board for which > mpc83xx_has_pci() is true, i.e. anything not MPC8308: > > When is_clk_valid() reports that MPC83XX_CLK_PCI is valid, > init_all_clks() proceeds to call init_single_clk(),

Re: [PATCH] mpc83xx: set MPC83XX_GPIO_CTRLRS to 2 for MPC8309

2020-01-07 Thread Mario Six
On Thu, Dec 12, 2019 at 10:18 AM Rasmus Villemoes wrote: > > The MPC8309 has two gpio controllers (which is already correctly > reflected in its struct immap definition). > > Signed-off-by: Rasmus Villemoes > --- > arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 3 ++- > 1 file changed, 2 inserti

Re: [PATCH] mpc83xx: immap_83xx: add spi8xxx_t in immap for mpc8309

2020-01-07 Thread Mario Six
On Thu, Dec 12, 2019 at 9:35 AM Rasmus Villemoes wrote: > > Allow drivers/spi/mpc8xxx_spi.c to be built for an mpc8309 target. > > Signed-off-by: Rasmus Villemoes > --- > arch/powerpc/include/asm/immap_83xx.h | 3 +-- > arch/powerpc/include/asm/mpc8xxx_spi.h | 1 + > 2 files changed, 2 insertio

Re: [PATCH] powerpc: mpc83xx: convert CONFIG_FSL_ELBC to Kconfig

2020-01-07 Thread Mario Six
On Thu, Dec 12, 2019 at 9:11 AM Rasmus Villemoes wrote: > > This complements commit 068789773d0 which did the conversion for > mpc85xx. > > Signed-off-by: Rasmus Villemoes > --- > arch/powerpc/cpu/mpc83xx/Kconfig | 7 +++ > include/configs/MPC8313ERDB_NAND.h | 1 - > include/configs/MPC831

Re: [PATCH] mpc83xx: make ARCH_MPC8309 select SYS_FSL_ERRATUM_ESDHC111

2020-01-07 Thread Mario Six
On Wed, Dec 11, 2019 at 10:39 AM Rasmus Villemoes wrote: > > The mpc8309 is also affected by the "Manual Asynchronous CMD12 abort > operation causes protocol violations" erratum, though it is enumerated > as eSDHC16 in the errata sheet for mpc8309. > > Signed-off-by: Rasmus Villemoes > --- > arc

[NXP-IMX] please pull nxp-imx-1-8-2020

2020-01-07 Thread Peng Fan
Hi Stefano, Please pull NXP i.MX nxp-imx-1-8-2020 based on imx/master - Add i.MX8MP SoC and EVK board Update README for i.MX8MN EVK and fix mmc env Add pca9450 driver --

Re: [PATCH 11/16] lib: enable lzma decompression support for SPL build

2020-01-07 Thread Heinrich Schuchardt
On 1/8/20 4:01 AM, Weijie Gao wrote: This patch enables LZMA decompression support for SPL build Signed-off-by: Weijie Gao --- lib/Kconfig | 5 + lib/Makefile | 1 + 2 files changed, 6 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index 965cf7bc03..2f38e37802 100644 --- a/li

[PATCH v4] board/lx2160aqds: Update the DSPI status fixup

2020-01-07 Thread Xiaowei Bao
The dts node of the DSPI controller in kernel is spi instead of dspi, it is not correct if use "/soc/dspi@" to fix up the status of the dts in kernel, so, modify it to "/soc/spi@". The DSPI2 and I2C5 are muxed, and the status of DSPI2 node in kernel dts default value is okay, So set the status of

U-Boot: wandboard ethernet problem with newest mainline

2020-01-07 Thread Heiko Schocher
Hi Fabio! happy new year! Hope you are fine? I just builded the newest mainline U-Boot code for the wandboard, and I get: U-Boot SPL 2020.01-tbot-00271-gd8a3f52 (Jan 08 2020 - 06:33:42 +0100) Trying to boot from MMC1 U-Boot 2020.01-tbot-00271-gd8a3f52 (Jan 08 2020 - 06:33:42 +0100) CPU: Fr

[Patch v2] net: pfe_eth: Use spi_flash_read API to access flash memory

2020-01-07 Thread Kuldeep Singh
Current PFE firmware access spi-nor memory directly. New spi-mem framework does not support direct memory access. So, let's use spi_flash_read API to access memory instead of directly using it. Signed-off-by: Kuldeep Singh --- v2: Add return error code Some changes in displayed log drivers/net/

Re: [U-Boot] [PATCH v2] spl: Move check for SPL_LIBCOMMON support to header

2020-01-07 Thread Lokesh Vutla
On 08/01/20 5:06 AM, Andrew F. Davis wrote: > Print statements in SPL depend on lib/common support, due to this many > such print statements are ifdef'd. Instead of checking at each call site > move the check to the common.h header and remove these inline checks. > > Signed-off-by: Andrew F. Da

Re: [U-Boot] [PATCH] defconfigs: am335x_hs_evm: Sync HS and non-HS defconfigs

2020-01-07 Thread Lokesh Vutla
On 08/01/20 2:54 AM, Andrew F. Davis wrote: > Sync new additions to non-HS defconfig with HS defconfig. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [U-Boot] [PATCH] defconfigs: am43xx_hs_evm: Sync HS and non-HS defconfigs

2020-01-07 Thread Lokesh Vutla
On 08/01/20 2:57 AM, Andrew F. Davis wrote: > Sync new additions to non-HS defconfig with HS defconfig. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [U-Boot] [PATCH] defconfigs: Add a config for AM43xx High Security EVM with QSPI Boot support

2020-01-07 Thread Lokesh Vutla
On 08/01/20 4:24 AM, Andrew F. Davis wrote: > On AM43xx HS devices, QSPI boot is XIP and we use a single stage > bootloader. Add a defconfig for this. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > MAINTAINERS | 1

Re: [U-Boot] [PATCH] arm: mach-k3: security: Clean image out of cache before authentication

2020-01-07 Thread Lokesh Vutla
On 08/01/20 4:52 AM, Andrew F. Davis wrote: > On K3 systems U-Boot runs on both an R5 and a large ARM cores (usually > A53 or A72). The large ARMs are coherent with the DMA controllers and > the SYSFW that perform authentication. And previously the R5 core did > not enable caches. Now that R5 do

Re: [U-Boot] [PATCH] arm: mach-k3: Warn when node to disable is not found

2020-01-07 Thread Lokesh Vutla
On 08/01/20 4:42 AM, Andrew F. Davis wrote: > Not finding a node that we try to disable does not always need to be > fatal to boot but should at least print out a warning. Return error > from fdt_disable_node as it did fail to disable the node, but only > warn in the case of disabling the TRNG a

RE: [EXT] Re: [PATCH] net: pfe_eth: Use spi_flash_read API to access flash memory

2020-01-07 Thread Kuldeep Singh
Hi Frieder, > -Original Message- > From: Schrempf Frieder > Sent: Tuesday, January 7, 2020 4:28 PM > To: Kuldeep Singh ; u-boot@lists.denx.de > Cc: Yunfeng Ding ; joe.hershber...@ni.com > Subject: [EXT] Re: [PATCH] net: pfe_eth: Use spi_flash_read API to access > flash > memory > > Caut

[PATCH] arch: arm: rockchip: order the rk3399 entries alphabetically

2020-01-07 Thread Peter Robinson
Put the target entries for rk3399 devices in alphabetical order. Signed-off-by: Peter Robinson --- arch/arm/mach-rockchip/rk3399/Kconfig | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-rockchip/rk3399/Kconfig b/arch/arm/mach-rockchip/rk

RE: [PATCH 0/6] Clean up eSDHC periperhal clock code

2020-01-07 Thread Y.b. Lu
Hi Peng and Priyanka, Happy new year! Could you help to review this patch-set? It's related to MMC and QorIQ PowerPC/ARM. Thanks. Best regards, Yangbo Lu > -Original Message- > From: Y.b. Lu > Sent: Friday, December 20, 2019 11:56 AM > To: Yangbo Lu ; u-boot@lists.denx.de > Cc: Peng Fa

[PATCH] Revert "dm: core: Scan "/firmware" node by default"

2020-01-07 Thread Thirupathaiah Annapureddy
Subnodes under "/firmware" node are scanned twice in dm_scan_fdt_node and dm_extended_scan_fdt. This patch removes the double scanning. This reverts commit 1712ca21924bff678f19fd3141f435408d23bdbf. Signed-off-by: Thirupathaiah Annapureddy --- drivers/core/root.c | 8 +--- 1 file changed, 1

[PATCH 00/16] Refactor the architecture parts of mt7628

2020-01-07 Thread Weijie Gao
This patch series are divided into two parts: The main part is to rewrite the whole architecture code of mt7628: 1. Lock parts of the d-cache for initial stack so the rest of the code can be reimplemented in C. 2. Memory controller & DDR initialization have been fully written to support dete

[PATCH 07/16] sysreset: add reset controller based reboot driver

2020-01-07 Thread Weijie Gao
Some chips provide their sysreset function in reset controller, which is normally a bit written to 1 to perform the sysreset. This patch adds a new sysreset driver to take advantage of it. Signed-off-by: Weijie Gao --- drivers/sysreset/Kconfig | 6 drivers/sysreset/Makefile

[PATCH 15/16] mips: mtmips: enable SPL for all boards

2020-01-07 Thread Weijie Gao
This patch enables SPL for all mtmips boards. And also remove defconfig files which are intend to build ram bootable u-boot files. Signed-off-by: Weijie Gao --- arch/mips/mach-mtmips/Kconfig | 26 --- board/gardena/smart-gateway-mt7688/board.c| 2 + ...gardena-smart-gate

[PATCH 16/16] mips: mtmips: add support for mt7628-rfb

2020-01-07 Thread Weijie Gao
This patch adds support for mt7628 reference board Signed-off-by: Weijie Gao --- arch/mips/dts/Makefile| 1 + arch/mips/dts/mediatek,mt7628-rfb-u-boot.dtsi | 24 + arch/mips/dts/mediatek,mt7628-rfb.dts | 67 arch/mips/mach-mtmips/Kconfig

[PATCH 14/16] mips: mtmips: add SPL support

2020-01-07 Thread Weijie Gao
This patch adds SPL support for mtmips platform. The lowlevel architecture is split into SPL and the rest parts are built into a memory loadable u-boot image. The increment of size is very small (< 10 KiB) and the memory bootable u-boot (u-boot.img) is generated automatically so there is not need

[PATCH 13/16] tools: binman: add etype file for u-boot-lzma-img

2020-01-07 Thread Weijie Gao
This patch adds etype u-boot-lzma-img for binman Signed-off-by: Weijie Gao --- tools/binman/etype/u_boot_lzma_img.py | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 tools/binman/etype/u_boot_lzma_img.py diff --git a/tools/binman/etype/u_boot_lzma_img.py b

[PATCH 10/16] mips: unconditionally enable u_boot_list section in u-boot-spl.lds

2020-01-07 Thread Weijie Gao
u_boot_list is not only used by DM, but also by some SPL image load methods such as spl_nor.c. This patch removes CONFIG_SPL_DM surrounding the u_boot_list section to make sure SPL image load methods can be correctly built into u-boot without DM enabled. Signed-off-by: Weijie Gao --- arch/mips/

[PATCH 09/16] mips: dts: rename mt7628a.dtsi to mt7628.dtsi

2020-01-07 Thread Weijie Gao
Actually mt7628a.dtsi can be used for both MT7628A/N/K, so just rename it to a common name. Signed-off-by: Weijie Gao --- arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +- arch/mips/dts/linkit-smart-7688.dts| 2 +- arch/mips/dts/{mt7628a.dtsi => mt7628.dtsi}| 2 +- 3 files c

[PATCH 12/16] Makefile: add support to generate LZMA compressed u-boot image

2020-01-07 Thread Weijie Gao
This patch adds support for generating LZMA compressed u-boot image. The compressed image can be used for SPL to reduce the size of the u-boot binary. Signed-off-by: Weijie Gao --- Makefile | 13 + 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index e20a206239..3

[PATCH 11/16] lib: enable lzma decompression support for SPL build

2020-01-07 Thread Weijie Gao
This patch enables LZMA decompression support for SPL build Signed-off-by: Weijie Gao --- lib/Kconfig | 5 + lib/Makefile | 1 + 2 files changed, 6 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index 965cf7bc03..2f38e37802 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -418,6 +418,11

[PATCH 08/16] mips: mtmips: rewrite lowlevel codes of mt7628

2020-01-07 Thread Weijie Gao
This patch rewrites the mtmips architecture with the following changes: 1. Move MT7628 soc parts into a subfolder. 2. Lock parts of D-Cache as temporary stack. 3. Reimplement DDR initialization in C language. 4. Reimplement DDR calibration in a clear logic. 5. Add full support for auto size detect

[PATCH 06/16] mips: start.S: avoid overwriting outside gd when clearing global data in stack

2020-01-07 Thread Weijie Gao
When setting up initial stack, global data will also be put in the stack, and being cleared. The assembler instructions for clearing gd is as follows: movet0, k0 1: PTR_S zero, 0(t0) blt t0, t1, 1b PTR_ADDIU t0, PTRSIZE t0 is the start address of gd, t1

[PATCH 03/16] mips: mtmips: add predefined i-cache/d-cache size and linesize

2020-01-07 Thread Weijie Gao
Both mt7620 and mt7628 has the same cache configuration. There is no need to use CONFIG_SYS_CACHE_SIZE_AUTO to probe it at runtime. Add them into Kconfig to reduce some code size. Signed-off-by: Weijie Gao --- arch/mips/mach-mtmips/Kconfig | 12 1 file changed, 12 insertions(+) di

[PATCH 01/16] configs: mtmips: add missing board selection for gardena-smart-gateway-mt7688

2020-01-07 Thread Weijie Gao
The two defconfig files for gardena-smart-gateway-mt7688 are missing CONFIG_BOARD_GARDENA_SMART_GATEWAY_MT7688. This will cause a compilation issue when adding a new board in front of gardena in Kconfig. This patch fixes this issue by adding this config to defconfig files. Signed-off-by: Weijie G

[PATCH 05/16] mips: add an option to support initialize SRAM for initial stack

2020-01-07 Thread Weijie Gao
Currently CONFIG_MIPS_INIT_STACK_IN_SRAM assumes the memory space for the initial stack can be used directly. However on some platform the SRAM needs initialization, e.g. lock cache. This patch adds an option to allow a new function mips_sram_init() being called before setup_stack_gd. Signed-off-

[PATCH 02/16] mips: add support to restore exception vector base before booting linux

2020-01-07 Thread Weijie Gao
In U-Boot the exception vector base will be moved to top of memory, to be used to display register dump when exception occurs. But some old linux kernel does not honor the base set in CP0_EBASE. A modified exception vector base will cause kernel crash. This patch adds an option to enable reset ex

[PATCH 04/16] mips: add an option to support customized get_tbclk()

2020-01-07 Thread Weijie Gao
Some systems boot up at a very low CPU frequency and set up a higher CPU frequency in lowlevel initialization. Currently get_tbclk() uses a fixed value (CONFIG_SYS_MIPS_TIMER_FREQ) for MIPS architercture, and CONFIG_SYS_MIPS_TIMER_FREQ is usually related to the higher CPU frequency. If udelay() is

RE: [PATCH v3] reset: socfpga: Poll for reset status after deassert reset

2020-01-07 Thread Tan, Ley Foon
> -Original Message- > From: Simon Glass > Sent: Wednesday, January 8, 2020 12:50 AM > To: Tan, Ley Foon > Cc: U-Boot Mailing List ; Marek Vasut > ; Simon Goldschmidt > ; Joe Hershberger > ; Ley Foon Tan ; See, > Chin Liang ; Chee, Tien Fong > > Subject: Re: [PATCH v3] reset: socfpga:

Re: [PATCH v6 001/102] binman: Add a library to access binman entries

2020-01-07 Thread Simon Glass
On Tue, 7 Jan 2020 at 10:57, Stephen Warren wrote: > > On 1/7/20 10:32 AM, Stephen Warren wrote: > > On 12/7/19 6:08 PM, Bin Meng wrote: > >> On Sat, Dec 7, 2019 at 12:45 PM Simon Glass wrote: > >>> > >>> SPL and TPL can access information about binman entries using link-time > >>> symbols but th

Re: [PATCH] tegra: fdt: Add tegra186-u-boot.dtsi

2020-01-07 Thread Simon Glass
Hi Stephen, On Tue, 7 Jan 2020 at 11:18, Stephen Warren wrote: > > From: Stephen Warren > > All Tegra chips except Tegra186 have a tegraNNN-u-boot.dtsi. Duplicate > Tegra210's copy of this file for Tegra186. This ensures that a /binman node > exists in U-Boot's control DT. Subsequent to 3c10dc95

RE: [PATCH V2 1/3] imx8mn: evk: add README

2020-01-07 Thread Peng Fan
> Subject: Re: [PATCH V2 1/3] imx8mn: evk: add README > > Hi Peng, > > On Tue, Jan 7, 2020 at 10:10 PM Peng Fan wrote: > > > > Add a README for users to build a workable image. > > > > Signed-off-by: Peng Fan > > --- > > > > V2: > > Update README follow Fabio's comments > > Reviewed-by: Fabio

[PATCH] imx: imx8qxp_mek: update README

2020-01-07 Thread Peng Fan
Update README to use 4.19.35_1.1.0 released firmware images. Signed-off-by: Peng Fan --- board/freescale/imx8qxp_mek/README | 26 +++--- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/board/freescale/imx8qxp_mek/README b/board/freescale/imx8qxp_mek/README in

Re: [PATCH V2 2/3] imx: imx8mn_evk: add board_mmc_get_env_dev

2020-01-07 Thread Fabio Estevam
On Tue, Jan 7, 2020 at 10:10 PM Peng Fan wrote: > > Add board_mmc_get_env_dev, otherwise, > Loading Environment from MMC... > MMC Device 0 not found > *** Warning - No MMC card found, using default environment > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam

Re: [PATCH V2 3/3] imx: imx8mn: enable CONFIG_CMD_ERASEENV

2020-01-07 Thread Fabio Estevam
On Tue, Jan 7, 2020 at 10:11 PM Peng Fan wrote: > > enable CONFIG_CMD_ERASEENV to make it easy to erase env. > Use savedefconfig to generate new defconfig. > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam

Re: [PATCH 1/1] travis-ci: provide env__efi_fit_tftp_file

2020-01-07 Thread Stephen Warren
On 1/7/20 10:06 AM, Heinrich Schuchardt wrote: Provide dictionary env__efi_fit_tftp_file describing the file used for the UEFI FIT image test. Acked-by: Stephen Warren

Re: [PATCH V2 1/3] imx8mn: evk: add README

2020-01-07 Thread Fabio Estevam
Hi Peng, On Tue, Jan 7, 2020 at 10:10 PM Peng Fan wrote: > > Add a README for users to build a workable image. > > Signed-off-by: Peng Fan > --- > > V2: > Update README follow Fabio's comments Reviewed-by: Fabio Estevam > +Build U-Boot > + > +$ export CROSS_COMPILE=aarch64-poky-l

RE: [PATCHv3 2/3] configs: meson64: enable GIC support for G12A/G12B

2020-01-07 Thread Peng Fan
> Subject: Re: [PATCHv3 2/3] configs: meson64: enable GIC support for > G12A/G12B > > On 26/12/2019 12:33, Anand Moon wrote: > > Enable GIC support for G12A/G12B platform. Just wonder what is GIC support in U-Boot? Thanks, Peng. > > > > Signed-off-by: Anand Moon > > Reviewed-by: Neil Armstrong

RE: [PATCH 0/8] Add Support for MMC/SD in J721e

2020-01-07 Thread Peng Fan
> Subject: Re: [PATCH 0/8] Add Support for MMC/SD in J721e > > Hi, > > On 19/11/19 1:49 pm, Faiz Abbas wrote: > > The following patches add support for MMC/SD in J721e. Currently, SD > > card is capped at 25 MBps and eMMC is capped at 50 MBps. Support for > > higher speeds and eMMC boot support

Re: [PATCH 2/2] ARM: dts: imx6ul-14x14-evk: Pass the "broken-cd" property

2020-01-07 Thread Fabio Estevam
Hi Peng, On Tue, Jan 7, 2020 at 10:12 PM Peng Fan wrote: > Has this been in Kernel dts? I have sent a patch to add 'broken-cd' in the kernel dts: http://lists.infradead.org/pipermail/linux-arm-kernel/2020-January/703473.html

RE: [PATCH 2/2] ARM: dts: imx6ul-14x14-evk: Pass the "broken-cd" property

2020-01-07 Thread Peng Fan
Hi Fabio, > Subject: [PATCH 2/2] ARM: dts: imx6ul-14x14-evk: Pass the "broken-cd" > property > > imx6ul-14x14-evk does not have a GPIO dedicated for reading the card detect > pin on the eSDHC2 port. In such cases the "broken-cd" property must be > passed, otherwise the card cannot be detected. >

[PATCH V2 3/3] imx: imx8mn: enable CONFIG_CMD_ERASEENV

2020-01-07 Thread Peng Fan
enable CONFIG_CMD_ERASEENV to make it easy to erase env. Use savedefconfig to generate new defconfig. Signed-off-by: Peng Fan --- V2: None configs/imx8mn_ddr4_evk_defconfig | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/configs/imx8mn_ddr4_evk_defconfig b/con

[PATCH V2 1/3] imx8mn: evk: add README

2020-01-07 Thread Peng Fan
Add a README for users to build a workable image. Signed-off-by: Peng Fan --- V2: Update README follow Fabio's comments board/freescale/imx8mn_evk/README | 37 + 1 file changed, 37 insertions(+) create mode 100644 board/freescale/imx8mn_evk/README diff --

[PATCH V2 2/3] imx: imx8mn_evk: add board_mmc_get_env_dev

2020-01-07 Thread Peng Fan
Add board_mmc_get_env_dev, otherwise, Loading Environment from MMC... MMC Device 0 not found *** Warning - No MMC card found, using default environment Signed-off-by: Peng Fan --- V2: None board/freescale/imx8mn_evk/imx8mn_evk.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/f

Re: fitImage align 8-byte for ARM64【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2020-01-07 Thread Simon Glass
Hi Kever, On Tue, 7 Jan 2020 at 13:27, Tom Rini wrote: > > On Tue, Jan 07, 2020 at 09:25:53AM +0800, Kever Yang wrote: > > Hi Tom, Simon, > > > > > > On 2020/1/6 下午10:20, Tom Rini wrote: > > > On Mon, Jan 06, 2020 at 01:47:25PM +0100, Matthias Schoepfer wrote: > > > > > > > Hi! > > > > > > > > I

Re: [PATCH RESEND] usbtty: fix possible alignment issues

2020-01-07 Thread Tom Rini
On Wed, Jan 08, 2020 at 09:32:03AM +0900, Seung-Woo Kim wrote: > Hi, > > On 2020년 01월 07일 22:22, Tom Rini wrote: > > On Tue, Jan 07, 2020 at 02:25:02PM +0900, Seung-Woo Kim wrote: > > > ... > >> --- > >> drivers/serial/usbtty.c | 9 ++--- > >> 1 file changed, 6 insertions(+), 3 deletions(-)

Re: [PATCH RESEND] usbtty: fix possible alignment issues

2020-01-07 Thread Seung-Woo Kim
Hi, On 2020년 01월 07일 22:22, Tom Rini wrote: > On Tue, Jan 07, 2020 at 02:25:02PM +0900, Seung-Woo Kim wrote: > ... >> --- >> drivers/serial/usbtty.c | 9 ++--- >> 1 file changed, 6 insertions(+), 3 deletions(-) >> >> diff --git a/drivers/serial/usbtty.c b/drivers/serial/usbtty.c >> index f1c

Re: [PATCH] spl: fit: enable hash control even without signature

2020-01-07 Thread Tom Rini
On Tue, Dec 03, 2019 at 10:06:18PM +0100, Dario Binacchi wrote: > The function "fit_image_verify_with_data" that performs the integrity > protection of FIT images is already able to correctly manage the device > tree nodes that require signature and/or hash control. > Tests with device tree with o

[U-Boot] [PATCH v2] spl: Move check for SPL_LIBCOMMON support to header

2020-01-07 Thread Andrew F. Davis
Print statements in SPL depend on lib/common support, due to this many such print statements are ifdef'd. Instead of checking at each call site move the check to the common.h header and remove these inline checks. Signed-off-by: Andrew F. Davis Reviewed-by: Simon Glass --- common/common_fit.c

[U-Boot] [PATCH] arm: mach-k3: security: Clean image out of cache before authentication

2020-01-07 Thread Andrew F. Davis
On K3 systems U-Boot runs on both an R5 and a large ARM cores (usually A53 or A72). The large ARMs are coherent with the DMA controllers and the SYSFW that perform authentication. And previously the R5 core did not enable caches. Now that R5 does enable caching we need to be sure to clean out any o

[U-Boot] [PATCH] arm: mach-k3: Warn when node to disable is not found

2020-01-07 Thread Andrew F. Davis
Not finding a node that we try to disable does not always need to be fatal to boot but should at least print out a warning. Return error from fdt_disable_node as it did fail to disable the node, but only warn in the case of disabling the TRNG as this will not prevent boot. Signed-off-by: Andrew F.

[U-Boot] [PATCH] defconfigs: Add a config for AM43xx High Security EVM with QSPI Boot support

2020-01-07 Thread Andrew F. Davis
On AM43xx HS devices, QSPI boot is XIP and we use a single stage bootloader. Add a defconfig for this. Signed-off-by: Andrew F. Davis --- MAINTAINERS | 1 + configs/am43xx_hs_evm_qspi_defconfig | 65 2 files changed, 66 insertions(+) create

Re: Re: [PATCH v1 0/1] arm: Add support for SoC S5P4418

2020-01-07 Thread Stefan Bosch
Hi Lukasz, On 07.01.2020 11:57, Lukasz Majewski wrote: Hi Stefan, This patch adds support for SAMSUNG's ARM Cortex-A9 based S5P4418 SoC, especially FriendlyARM's NanoPi2 and NanoPC-T2 boards. It is based on https://github.com/friendlyarm/u-boot/tree/nanopi2-v2016.01. For v2016.01 I have also m

Re: Re: [PATCH v1 0/1] arm: Add support for SoC S5P4418

2020-01-07 Thread Stefan Bosch
Hi Tom, thanks a lot for your quick reply. On 06.01.2020 22:07, Tom Rini wrote: On Mon, Jan 06, 2020 at 09:58:47PM +0100, Stefan Bosch wrote: This patch adds support for SAMSUNG's ARM Cortex-A9 based S5P4418 SoC, especially FriendlyARM's NanoPi2 and NanoPC-T2 boards. It is based on https://git

[U-Boot] [PATCH] defconfigs: am43xx_hs_evm: Sync HS and non-HS defconfigs

2020-01-07 Thread Andrew F. Davis
Sync new additions to non-HS defconfig with HS defconfig. Signed-off-by: Andrew F. Davis --- configs/am43xx_hs_evm_defconfig | 15 +++ 1 file changed, 15 insertions(+) diff --git a/configs/am43xx_hs_evm_defconfig b/configs/am43xx_hs_evm_defconfig index d399ab7ed3..0255bcd994 100644

[U-Boot] [PATCH] defconfigs: am335x_hs_evm: Sync HS and non-HS defconfigs

2020-01-07 Thread Andrew F. Davis
Sync new additions to non-HS defconfig with HS defconfig. Signed-off-by: Andrew F. Davis --- configs/am335x_hs_evm_defconfig | 13 ++--- configs/am335x_hs_evm_uart_defconfig | 13 ++--- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/configs/am335x_hs_evm_def

Re: fitImage align 8-byte for ARM64【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2020-01-07 Thread Tom Rini
On Tue, Jan 07, 2020 at 09:25:53AM +0800, Kever Yang wrote: > Hi Tom, Simon, > > > On 2020/1/6 下午10:20, Tom Rini wrote: > > On Mon, Jan 06, 2020 at 01:47:25PM +0100, Matthias Schoepfer wrote: > > > > > Hi! > > > > > > I have had trouble booting a fitImage packed kernel for dragonboard410c, > >

Re: [U-Boot] [PATCH 1/2] imx: add imx8x capricorn giedi board

2020-01-07 Thread Fabio Estevam
Hi Anatolij, On Tue, Jan 7, 2020 at 4:32 PM Anatolij Gustschin wrote: > I got them from i.MX8QXP Capricorn SoM vendor, here the SCFW blob > is very old. I don't have more details about ATF and imx-seco > currently. While my tests with v2020.01 release I've commented > out the build_info() call

Re: [U-Boot] [PATCH 1/2] imx: add imx8x capricorn giedi board

2020-01-07 Thread Anatolij Gustschin
Hi Fabio, On Tue, 7 Jan 2020 14:54:55 -0300 Fabio Estevam feste...@gmail.com wrote: > Hi Anatolij, > > On Tue, Oct 22, 2019 at 5:35 AM Anatolij Gustschin wrote: > > > > Add support for i.MX8X based Capricorn Giedi SoM. > > > > Supported interfaces: GPIO, ENET, eMMC, I2C, UART. > > > > Console o

[PATCH 8/8] bcm968360bg: add initial support

2020-01-07 Thread Philippe Reynes
This add the initial support of the broadcom reference board bcm968360bg with a bcm68360 SoC. This board has 512 MB of RAM, 256 MB of flash (nand), 2 USB port, 1 UART, and 4 ethernet ports. Signed-off-by: Philippe Reynes --- arch/arm/Kconfig | 1 + arch/arm/dts/Makefil

[PATCH 3/8] spi: bcm63xx-hsspi: allow to use this driver on arm bcm68360

2020-01-07 Thread Philippe Reynes
This IP is also used on some arm SoC, so we allow to use it on arm bcm68360 too. Signed-off-by: Philippe Reynes --- drivers/spi/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index fae2040..73d1a69 100644 --- a/drivers/spi/

[PATCH 5/8] led: bcm6858: allow to use this driver on arm bcm68360

2020-01-07 Thread Philippe Reynes
This IP is also used on some arm SoC, so we allow to use it on arm bcm68360 too. Signed-off-by: Philippe Reynes --- drivers/led/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig index 5643939..6675934 100644 --- a/drivers/led/Kc

[PATCH 6/8] gpio: bcm6345: allow to use this driver on arm bcm68360

2020-01-07 Thread Philippe Reynes
This IP is also used on some arm SoC, so we allow to use it on arm bcm68360 too. Signed-off-by: Philippe Reynes --- drivers/gpio/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 1de6f52..4e5a707 100644 --- a/drivers/g

[PATCH 4/8] nand: brcmnand: add bcm68360 support

2020-01-07 Thread Philippe Reynes
This adds the nand support for chipset bcm68360. Signed-off-by: Philippe Reynes --- drivers/mtd/nand/raw/Kconfig | 6 ++ drivers/mtd/nand/raw/brcmnand/Makefile| 1 + drivers/mtd/nand/raw/brcmnand/bcm68360_nand.c | 123 ++ 3 files changed, 130

[PATCH 7/8] gpio: do not include on ARCH_BCM68360

2020-01-07 Thread Philippe Reynes
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include for arch bcm68360. Signed-off-by: Philippe Reynes --- arch/arm/include/asm/gpio.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/inc

[PATCH 2/8] watchdog: bcm6345: allow to use this driver on arm bcm68360

2020-01-07 Thread Philippe Reynes
This IP is also used on some arm SoC, so we allow to use it on arm bcm68360 too. Signed-off-by: Philippe Reynes --- drivers/watchdog/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 8c16d69..2b8064d 100644 ---

[PATCH 1/8] bcm68360: add initial support

2020-01-07 Thread Philippe Reynes
This add the initial support of the broadcom bcm68360 SoC family. Signed-off-by: Philippe Reynes --- arch/arm/Kconfig | 6 ++ arch/arm/dts/bcm68360.dtsi | 217 + 2 files changed, 223 insertions(+) create mode 100644 arch/arm/dts/bcm68360.d

Re: [PATCH] omap34xx: SPL: enable MMC raw boot with u-boot.img

2020-01-07 Thread Denis 'GNUtoo' Carikli
On Sun, 10 Nov 2019 01:48:17 +0100 Denis 'GNUtoo' Carikli wrote: > The following commit enabled raw SPL booting: > 22d90d560a omap3: Use raw SPL by default for mmc1 > but it was reverted by the following commit: > 821c89d38c Revert "omap3: Use raw SPL by default for mmc1" > because SPL is una

Re: [PULL] u-boot-atmel-2020.04-a

2020-01-07 Thread Tom Rini
On Tue, Jan 07, 2020 at 12:40:12PM +, eugen.hris...@microchip.com wrote: > Hi Tom, > > Please pull tag u-boot-atmel-2020.04-a , the first set of new features > for the 2020.04 cycle. > > This feature set is a patch series from Tudor Ambarus which includes > parsing of the spi flash SFDP pa

Re: [GIT PULL] Pull request: u-boot-imx u-boot-imx-20200107

2020-01-07 Thread Tom Rini
in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-20200107 > > for you to fetch changes up to b6e7ef4bf71bc0927dea35fdec0a653a82ae57a7: > > ARM: mxs: spl_boot.c: make early_delay more robust (2020-01-07 > 10:26:57 +0100

[PATCH] Makefile: Let mrproper remove flash.bin and flash.log

2020-01-07 Thread Fabio Estevam
In order to generate a bootable U-Boot binary for i.MX8QXP MEK we need to run: $ make imx8qxp_mek_defconfig $ make flash.bin The resultant flash.bin and flash.log are not removed after running 'make mrproper'. Include these files into the CLEAN_FILES list entry so that they can be properly delet

[PATCH] tegra: fdt: Add tegra186-u-boot.dtsi

2020-01-07 Thread Stephen Warren
From: Stephen Warren All Tegra chips except Tegra186 have a tegraNNN-u-boot.dtsi. Duplicate Tegra210's copy of this file for Tegra186. This ensures that a /binman node exists in U-Boot's control DT. Subsequent to 3c10dc95bdd0 ("binman: Add a library to access binman entries") this appears to be r

Re: [RFC PATCH] Revert "arm: Show cache warnings in U-Boot proper only"

2020-01-07 Thread Andre Przywara
On Mon, 6 Jan 2020 11:01:21 -0500 Tom Rini wrote: Hi Tom, thanks for chiming in on this! > On Thu, Dec 19, 2019 at 12:32:09PM +, Andre Przywara wrote: > > On Thu, 19 Dec 2019 12:43:35 +0100 > > Marek Vasut wrote: > > > > Hi Marek, > > > > > On 12/19/19 12:36 PM, Andre Przywara wrote:

Re: [PATCH v6 001/102] binman: Add a library to access binman entries

2020-01-07 Thread Stephen Warren
On 1/7/20 10:32 AM, Stephen Warren wrote: On 12/7/19 6:08 PM, Bin Meng wrote: On Sat, Dec 7, 2019 at 12:45 PM Simon Glass wrote: SPL and TPL can access information about binman entries using link-time symbols but this is not available in U-Boot proper. Of course it could be made available,

Re: [U-Boot] [PATCH 1/2] imx: add imx8x capricorn giedi board

2020-01-07 Thread Fabio Estevam
Hi Anatolij, On Tue, Oct 22, 2019 at 5:35 AM Anatolij Gustschin wrote: > > Add support for i.MX8X based Capricorn Giedi SoM. > > Supported interfaces: GPIO, ENET, eMMC, I2C, UART. > > Console output: > > U-Boot SPL 2019.10-00178-g6e34009eee (Oct 21 2019 - 18:16:42 +0200) > Trying to boot from

Re: [PATCH v2 2/2] Port to new board "VoCore2"

2020-01-07 Thread Mauro Condarelli
Thanks Daniel. On 1/7/20 4:58 PM, Daniel Schwierzeck wrote: > On Tue, Jan 7, 2020 at 3:30 PM Mauro Condarelli wrote: > ... >> I also have problems with entropy pool in Linux, do you happen to know >> if (and how) MT7628 supports HWRNG? > what problems exactly? Currently it takes a LOT of time to

Re: [PATCH v6 001/102] binman: Add a library to access binman entries

2020-01-07 Thread Stephen Warren
On 12/7/19 6:08 PM, Bin Meng wrote: On Sat, Dec 7, 2019 at 12:45 PM Simon Glass wrote: SPL and TPL can access information about binman entries using link-time symbols but this is not available in U-Boot proper. Of course it could be made available, but the intention is to just read the device

Re: [PATCH 00/20] Add i.MXRT family support

2020-01-07 Thread Giulio Benetti
Hi Stefano, Simon, All, On 1/3/20 12:39 PM, Stefano Babic wrote: Hi Giulio, On 04/12/19 18:44, Giulio Benetti wrote: This patchset add support for i.MXRT family starting from i.MXRT1050 SoC. It provides: - i.MXRT1050 SoC entry - i.MXRT pinctrl driver - i.MXRT serial driver tweaking - i.MXRT sd

Pull request for UEFI sub-system for efi-2020-04-rc1

2020-01-07 Thread Heinrich Schuchardt
The following changes since commit 5a8fa095cb848c60c630a83edf30d4fc46101e90: Merge branch 'next' (2020-01-06 17:07:49 -0500) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-04-rc1 for you to fetch changes up to 7d6f16fbde9a03adc

Re: [PATCH 1/3] dtimg/am57xx_evm_defconfig: Rename dtimg to adtimg

2020-01-07 Thread Eugeniu Rosca
Hi Simon, On Tue, Jan 07, 2020 at 09:49:45AM -0700, Simon Glass wrote: > On Tue, 24 Dec 2019 at 09:51, Eugeniu Rosca wrote: > > > > Rename the existing 'dtimg' command to 'adtimg', in order to: > > - Suggest the Android origins and scope > > - Be consistent with the upcoming 'abootimg' command

[PATCH 1/1] travis-ci: provide env__efi_fit_tftp_file

2020-01-07 Thread Heinrich Schuchardt
Provide dictionary env__efi_fit_tftp_file describing the file used for the UEFI FIT image test. Signed-off-by: Heinrich Schuchardt --- v3: do not supply 'fn' do not use a function to supply env__efi_fit_tftp_file v2: remove quotes around tftp_dir --- py/travis-ci/u_boot_b

Re: [PATCH 1/3] dtimg/am57xx_evm_defconfig: Rename dtimg to adtimg

2020-01-07 Thread Simon Glass
On Tue, 24 Dec 2019 at 09:51, Eugeniu Rosca wrote: > > Rename the existing 'dtimg' command to 'adtimg', in order to: > - Suggest the Android origins and scope > - Be consistent with the upcoming 'abootimg' command (naming >suggested by Simon [*]) > > The change in _not_ backward compatible,

Re: [PATCH v3] reset: socfpga: Poll for reset status after deassert reset

2020-01-07 Thread Simon Glass
Hi Ley, On Mon, 6 Jan 2020 at 01:09, Ley Foon Tan wrote: > > In Cyclone 5 SoC platform, the first USB probing is failed but second > probing is success. DWC2 USB driver read gsnpsid register right after > de-assert reset, but controller is not ready yet and it returns gsnpsid 0. > Polling reset s

Re: [PATCH] dm: Add a debug message when devices are skipped pre-reloc

2020-01-07 Thread Simon Glass
On Tue, 24 Dec 2019 at 21:52, Sean Anderson wrote: > > This adds a message to lists_bind_fdt when it skips initializing a device > pre-relocation. I've had a couple errors where a device didn't initialize > properly because one of its dependencies was missing. > > Signed-off-by: Sean Anderson > -

Re: [PATCH 2/2] imx: add imx8x based deneb board

2020-01-07 Thread Anatolij Gustschin
Hi Stefano, On Tue, 7 Jan 2020 16:37:43 +0100 Anatolij Gustschin ag...@denx.de wrote: > Add support for Capricorn Deneb SoM variant. This is also v2 patch, here is the changelog. Changes in v2: - rebased on master branch, v2020.01 release - moved environment related config macros to defconfi

Re: [PATCH 1/2] imx: add imx8x capricorn giedi board

2020-01-07 Thread Anatolij Gustschin
Hi Stefano, On Tue, 7 Jan 2020 16:37:42 +0100 Anatolij Gustschin ag...@denx.de wrote: > Add support for i.MX8X based Capricorn Giedi SoM. > > Supported interfaces: GPIO, ENET, eMMC, I2C, UART. > ... > --- Actually, this is v2 series, I forgot to tag it before resending, sorry. Here is the chan

Re: [PATCH v2 2/2] Port to new board "VoCore2"

2020-01-07 Thread Daniel Schwierzeck
On Tue, Jan 7, 2020 at 3:30 PM Mauro Condarelli wrote: > ... > I also have problems with entropy pool in Linux, do you happen to know > if (and how) MT7628 supports HWRNG? what problems exactly? On a embedded device you usually can only add randomness from interrupts sources to the entropy pool

[PATCH 2/2] imx: add imx8x based deneb board

2020-01-07 Thread Anatolij Gustschin
Add support for Capricorn Deneb SoM variant. Signed-off-by: Anatolij Gustschin --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8-deneb.dts | 10 +++ arch/arm/mach-imx/imx8/Kconfig | 5 ++ board/siemens/capricorn/Kconfig | 13 board/siemens/capricorn/MAI

[PATCH 1/2] imx: add imx8x capricorn giedi board

2020-01-07 Thread Anatolij Gustschin
Add support for i.MX8X based Capricorn Giedi SoM. Supported interfaces: GPIO, ENET, eMMC, I2C, UART. Console output: U-Boot SPL 2020.01-3-gfd1c98f (Jan 07 2020 - 15:51:25 +0100) Trying to boot from MMC1 Load image from MMC/SD 0x3e400 U-Boot 2020.01-3-gfd1c98f (Jan 07 2020 - 15:5

RE: [PATCH v2 18/19] i2c: stm32: Update to use standard enums for speed

2020-01-07 Thread Patrick DELAUNAY
Hi Simon, > From: U-Boot On Behalf Of Simon Glass > Sent: vendredi 3 janvier 2020 23:27 > > Update this driver to use the new standard enums for speed. > > Note: This driver needs to move to driver model. This driver i2c/stm32f7_i2c.c is already a driver model (I think this note is a copy pas

Re: [PATCH v2 2/2] Port to new board "VoCore2"

2020-01-07 Thread Mauro Condarelli
On 1/7/20 2:21 PM, Stefan Roese wrote: > Hi Mauro, > > On 27.12.19 14:25, Mauro Condarelli wrote: >> Small patch series to add support for VoCore/VoCore2 board. >> >> VoCore is open hardware and runs OpenWrt/LEDE. >> It has WIFI, USB, UART, 20+ GPIOs but is only one inch square. >> It will help

  1   2   >