[U-Boot] rk3288: HDMI out causing boot hang

2019-09-12 Thread Jagan Teki
Hi All, Did anyone tried HDMI out on rk3288? Enabling HDMI out causing boot hang, during stdout initialization from console.c Enabled below configs and stdin/out/err environment to probe the DM_VIDEO, seems like the console initialization hangs during stdout initialization. Log: Model:

Re: [U-Boot] Tinker-rk3288 SPL broken with MMC timeout

2019-09-12 Thread Jagan Teki
On Thu, Sep 12, 2019 at 8:25 PM Tom Rini wrote: > > On Thu, Sep 12, 2019 at 08:55:24AM +0530, Jagan Teki wrote: > > > I have seen this even on v2019.07 release, and the only release that > > it got working with on v2019.01 (SPL, BROM_RETURN) > > > > Any idea? here is the log dump. > > > > U-Boot

[U-Boot] [PATCH] doc: driver-model: Update SPI migration status

2019-09-12 Thread Jagan Teki
Update SPI drivers, driver model conversion status for v2019.10 release. Signed-off-by: Jagan Teki --- doc/driver-model/migration.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/driver-model/migration.rst b/doc/driver-model/migration.rst index

Re: [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model

2019-09-12 Thread Jagan Teki
On Mon, Sep 9, 2019 at 1:13 PM Prabhakar Kushwaha wrote: > > > > -Original Message- > > From: Jagan Teki > > Sent: Monday, September 9, 2019 11:37 AM > > To: Xiaowei Bao > > Cc: Prabhakar Kushwaha ; w...@denx.de; > > Shengzhou Liu ; Ruchika Gupta > > ; s...@chromium.org; Chuanhua Han >

Re: [U-Boot] [PATCH v2 1/2] MTD: SPI: add missing SST26* flash IC protection ops

2019-09-12 Thread Jagan Teki
On Tue, Sep 10, 2019 at 1:03 AM Eugeniy Paltsev wrote: > > Commit c4e8862308d4 (mtd: spi: Switch to new SPI NOR framework) > performs switch from previous 'spi_flash' infrastructure without > proper testing/investigations which results in a regressions for > SST26 flash series. > > Add missing

Re: [U-Boot] [PATCH v2 2/2] efi_loader: device_path: show a host device in understandable form

2019-09-12 Thread AKASHI Takahiro
On Thu, Sep 12, 2019 at 11:50:04AM +0200, Heinrich Schuchardt wrote: > On 9/12/19 11:07 AM, AKASHI Takahiro wrote: > > On Thu, Sep 12, 2019 at 09:59:01AM +0200, Heinrich Schuchardt wrote: > >> On 9/12/19 6:52 AM, AKASHI Takahiro wrote: > >>> It would be better to give a user-friendly text to a

[U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-12 Thread megous
From: Ondrej Jirman The reverted patch causes linking error with disabled CONFIG_NET: cmd/built-in.o: In function `eth_env_get_enetaddr': u-boot-v2019.10/cmd/nvedit.c:363: undefined reference to `eth_parse_enetaddr' Function setup_environment() in board/sunxi/board.c calls

Re: [U-Boot] [PATCH v2 19/40] env: net: Move eth_parse_enetaddr() to net.c/h

2019-09-12 Thread Ondřej Jirman
On Thu, Sep 12, 2019 at 01:28:10PM -0600, Simon Glass wrote: > Hi, > > On Thu, 12 Sep 2019 at 12:28, Ondřej Jirman wrote: > > > > Hi, > > > > On Thu, Sep 12, 2019 at 12:22:15PM -0600, Simon Glass wrote: > > > Hi, > > > > > > On Thu, 12 Sep 2019 at 10:59, Ondřej Jirman wrote: > > > > > > > >

Re: [U-Boot] [PATCH] arm64: zynqmp: Define default SPL_TEXT_BASE address in Kconfig

2019-09-12 Thread Luca Ceresoli
Hi Michal, On 11/09/19 07:54, Michal Simek wrote: > Define default address via Kconfig. There is no need to change this address > for most of the boards but it is also possible. This one line save a lot of > lines in defconfigs that's why make sense to do it. > > The similar change has been done

Re: [U-Boot] Please pull pico-imx7d-2019.10-1 from https://github.com/OSSystems/u-boot

2019-09-12 Thread Joris Offouga
Hello, Just put CONFIG_DM_VIDEO in the defconfig Best regards, Joris Offouga Le 12/09/2019 à 23:18, Otavio Salvador a écrit : Hello, On Thu, Sep 12, 2019 at 5:20 PM Joris Offouga wrote: Can you test and apply my series in your pull request ? % grep CONFIG_VIDEO configs/pico-*7d*

Re: [U-Boot] Please pull pico-imx7d-2019.10-1 from https://github.com/OSSystems/u-boot

2019-09-12 Thread Otavio Salvador
Hello, On Thu, Sep 12, 2019 at 5:20 PM Joris Offouga wrote: > Can you test and apply my series in your pull request ? % grep CONFIG_VIDEO configs/pico-*7d* :( configs/pico-dwarf-imx7d_defconfig:CONFIG_VIDEO=y configs/pico-nymph-imx7d_defconfig:CONFIG_VIDEO=y Those also need

Re: [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit

2019-09-12 Thread Tom Rini
On Thu, Sep 12, 2019 at 10:31:39PM +0200, Heinrich Schuchardt wrote: > On 8/4/19 3:31 PM, Bin Meng wrote: > >On Sun, Aug 4, 2019 at 8:10 PM Heinrich Schuchardt > >wrote: > >> > >>Build GRUB UEFI target grubriscv64.efi. It is needed for running > >>test_efi_grub_net(). > >> > >>Signed-off-by:

Re: [U-Boot] [U-Boot-DM] Sample RAM disk image for powerpc based boards

2019-09-12 Thread Simon Glass
+Moving to normal mailing list as the -dm one isn't really used. +Marek Vasut do you think we could delete it or disable subscriptions? On Thu, 12 Sep 2019 at 07:22, Matt Sykes wrote: > > I am new to this and having a play to see how it all works, and have a board > up and running (UBoot,

Re: [U-Boot] [NXP-IMX] please pull nxp-imx-9-11-2019

2019-09-12 Thread Stefano Babic
Hi Peng, On 11/09/19 14:28, Peng Fan wrote: > Hi Stefano, > > Please pull nxp-imx-9-11-2019. This pull request was based on imx/master. > > But I also created a new branch based on origin/master, imx-master-9-11-2019 > and > CI is based the branch:

Re: [U-Boot] [PATCH 1/1] Dockerfile: build GRUB UEFI target for RISC-V 64bit

2019-09-12 Thread Heinrich Schuchardt
On 8/4/19 3:31 PM, Bin Meng wrote: On Sun, Aug 4, 2019 at 8:10 PM Heinrich Schuchardt wrote: Build GRUB UEFI target grubriscv64.efi. It is needed for running test_efi_grub_net(). Signed-off-by: Heinrich Schuchardt --- This patch applies to https://gitlab.denx.de/u-boot/gitlab-ci-runner ---

Re: [U-Boot] Please pull pico-imx7d-2019.10-1 from https://github.com/OSSystems/u-boot

2019-09-12 Thread Joris Offouga
Hi Otavio, Can you test and apply my series in your pull request ? https://patchwork.ozlabs.org/patch/1155917/ https://patchwork.ozlabs.org/patch/1155916/ https://patchwork.ozlabs.org/patch/1155914/ Best Regards, Joris Offouga Le jeu. 12 sept. 2019 à 21:38, Otavio Salvador

[U-Boot] [PATCH 1/1] drivers: mmc: Add sdhci driver for Broadcom iProc platform

2019-09-12 Thread Arun Parameswaran
Add SDHCI driver for iProc family of Broadcom devices. Signed-off-by: Corneliu Doban Signed-off-by: Pramod Kumar Signed-off-by: Pavithra Ravi Signed-off-by: Bharat Kumar Reddy Gooty Signed-off-by: Vladimir Olovyannikov Signed-off-by: Arun Parameswaran ---

[U-Boot] Saving u-boot environment on LS1046ardb QSPI bricks flash memory

2019-09-12 Thread Matthew Ratson
Hi there, I am currently working with a LS1046ardb development board from NXP/Layerscape. Using their provided firmware image from the primary QSPI memory bank, I have tried to flash my own compiled u-boot (using the ls1046ardb_qspi_defconfig file) onto the alternate memory bank. I have also

[U-Boot] Please pull pico-imx7d-2019.10-1 from https://github.com/OSSystems/u-boot

2019-09-12 Thread Otavio Salvador
Hello Stefano, The same patches I sent before are also online. See: The following changes since commit 333027284f9a591747ec469ede2b13b3fb8df65a: Merge branch 'nxp-imx-8-13' of https://github.com/MrVan/u-boot (2019-08-18 12:10:11 +0200) are available in the Git repository at:

[U-Boot] Please pull pico-imx6ul-2019.10-1 from https://github.com/OSSystems/u-boot

2019-09-12 Thread Otavio Salvador
Hello Stefano, The same patches I sent before are also online. See: The following changes since commit 333027284f9a591747ec469ede2b13b3fb8df65a: Merge branch 'nxp-imx-8-13' of https://github.com/MrVan/u-boot (2019-08-18 12:10:11 +0200) are available in the Git repository at:

Re: [U-Boot] [PATCH v2 19/40] env: net: Move eth_parse_enetaddr() to net.c/h

2019-09-12 Thread Simon Glass
Hi, On Thu, 12 Sep 2019 at 12:28, Ondřej Jirman wrote: > > Hi, > > On Thu, Sep 12, 2019 at 12:22:15PM -0600, Simon Glass wrote: > > Hi, > > > > On Thu, 12 Sep 2019 at 10:59, Ondřej Jirman wrote: > > > > > > Hello, > > > > > > On Thu, Aug 01, 2019 at 09:46:54AM -0600, Simon Glass wrote: > > > >

Re: [U-Boot] [PATCH v2 1/2] Revert "configs: Remove am335x_boneblack_defconfig"

2019-09-12 Thread Sam Protsenko
Hi Tom, On Thu, Sep 12, 2019 at 8:50 PM Sam Protsenko wrote: > > Commit 8fa7f65dd02c ("configs: Remove am335x_boneblack_defconfig") > removes defconfig for BeagleBone Black board, and it's advised to use > am335x_evm_defconfig for all AM335x boards. But it's impossible to store > environment in

[U-Boot] [PATCH] logos: Add the TechNexion's logo

2019-09-12 Thread Otavio Salvador
From: Fabio Estevam Add the TechNexion's logo from their internal U-Boot tree. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- tools/logos/technexion.bmp | Bin 0 -> 22390 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tools/logos/technexion.bmp

[U-Boot] [PATCH 4/5] pico-imx7d: Add instructions for booting in Falcon mode

2019-09-12 Thread Otavio Salvador
From: Fabio Estevam Improve the README by adding instructions on how to boot using Falcon mode, which allows the SPL to load the kernel directly, without using U-Boot proper. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- board/technexion/pico-imx7d/README | 91

[U-Boot] [PATCH 5/5] pico-imx7d: Provide a way to escape the Falcon mode

2019-09-12 Thread Otavio Salvador
From: Fabio Estevam When CONFIG_SPL_OS_BOOT is selected, it is still convenient to be able to escape from Falcon mode and boot to U-Boot proper. Add a mechanism that allows booting in U-Boot proper when the key 'c' is entered on console at boot time. Signed-off-by: Fabio Estevam

[U-Boot] [PATCH 2/5] pico-imx7d: Add DWARF baseboard support

2019-09-12 Thread Otavio Salvador
This add the boot menu option for the DWARF baseboard as well as a specific config file for users which wish to use it as a pre-defined board. Signed-off-by: Otavio Salvador --- configs/pico-dwarf-imx7d_defconfig | 68 ++ include/configs/pico-imx7d.h | 4 +-

[U-Boot] [PATCH 3/5] pico-imx7d: Add NYMPH baseboard support

2019-09-12 Thread Otavio Salvador
This add the boot menu option for the NYMPH baseboard as well as a specific config file for users which wish to use it as a pre-defined board. Signed-off-by: Otavio Salvador --- configs/pico-nymph-imx7d_defconfig | 68 ++ include/configs/pico-imx7d.h | 4 +-

[U-Boot] [PATCH 1/5] pico-imx7d: Sync pico-hobbit-imx7d_defconfig

2019-09-12 Thread Otavio Salvador
From: Fabio Berton Update pico-hobbit-imx7d_defconfig using pico-imx7d_defconfig as base to fix device tree file generation. With this all pico-imx7d are creating u-boot-dtb.img files. Signed-off-by: Fabio Berton Signed-off-by: Otavio Salvador --- configs/pico-hobbit-imx7d_defconfig | 2 +-

[U-Boot] [PATCH 5/5] pico-imx6ul: Provide a way to escape the Falcon mode

2019-09-12 Thread Otavio Salvador
From: Fabio Estevam When CONFIG_SPL_OS_BOOT is selected, it is still convenient to be able to escape from Falcon mode and boot to U-Boot proper. Add a mechanism that allows booting in U-Boot proper when the key 'c' is entered on console at boot time. Signed-off-by: Fabio Estevam

[U-Boot] [PATCH 3/5] pico-imx6ul: Add LCD support

2019-09-12 Thread Otavio Salvador
From: Fabio Estevam Add support for the VXT VL050-8048NT-C01 panel connected through the 24 bit parallel LCDIF interface. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- board/technexion/pico-imx6ul/pico-imx6ul.c | 55 +-

[U-Boot] [PATCH 4/5] pico-imx6ul: Update the Falcon mode instructions

2019-09-12 Thread Otavio Salvador
From: Fabio Estevam Sync the Falcon mode instructions with the ones fro pico-imx7d. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- board/technexion/pico-imx6ul/README | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 2/5] pico-imx6ul: Increase the CONFIG_ENV_OFFSET size

2019-09-12 Thread Otavio Salvador
From: Fabio Estevam U-Boot binary has grown in such a way that it goes beyond the reserved area for the environment variables. Running "saveenv" causes U-Boot to hang because of this overlap. Fix this problem by increasing the CONFIG_ENV_OFFSET size. Also, in order to prevent this same

[U-Boot] [PATCH 1/5] pico-imx6ul: Add DWARF baseboard support

2019-09-12 Thread Otavio Salvador
This add the boot menu option for the DWARF baseboard as well as a specific config file for users which wish to use it as a pre-defined board. Signed-off-by: Otavio Salvador --- configs/pico-dwarf-imx6ul_defconfig | 64 + include/configs/pico-imx6ul.h | 6 ++-

Re: [U-Boot] [PATCH v2 19/40] env: net: Move eth_parse_enetaddr() to net.c/h

2019-09-12 Thread Ondřej Jirman
Hi, On Thu, Sep 12, 2019 at 12:22:15PM -0600, Simon Glass wrote: > Hi, > > On Thu, 12 Sep 2019 at 10:59, Ondřej Jirman wrote: > > > > Hello, > > > > On Thu, Aug 01, 2019 at 09:46:54AM -0600, Simon Glass wrote: > > > This function fits better with the network subsystem, so move it. > > > >

Re: [U-Boot] [PATCH v2 19/40] env: net: Move eth_parse_enetaddr() to net.c/h

2019-09-12 Thread Simon Glass
Hi, On Thu, 12 Sep 2019 at 10:59, Ondřej Jirman wrote: > > Hello, > > On Thu, Aug 01, 2019 at 09:46:54AM -0600, Simon Glass wrote: > > This function fits better with the network subsystem, so move it. > > Unfortunately, this breaks builds without CONFIG_NET. Reverting it > fixes the issue. > >

Re: [U-Boot] [PATCH 1/2] Revert "configs: Remove am335x_boneblack_defconfig"

2019-09-12 Thread Sam Protsenko
On Thu, Sep 12, 2019 at 6:23 PM Sam Protsenko wrote: > > Commit 8fa7f65dd02c ("configs: Remove am335x_boneblack_defconfig") > removes defconfig for BeagleBone Black board, and it's advised to use > am335x_evm_defconfig for all AM335x boards. But it's impossible to use > am335x_evm_defconfig in

[U-Boot] [PATCH v2 2/2] configs: am335x_boneblack: Sync with am335x_evm

2019-09-12 Thread Sam Protsenko
Old am335x_boneblack defconfig doesn't have Driver Model enabled. Pull DM options from am335x_evm, along with some others, like ones for shrinking SPL, making am335x_boneblack defconfig as close as possible to am335x_evm. Main differences betweend am335x_boneblack and am335x_evm defconfigs: -

[U-Boot] [PATCH v2 1/2] Revert "configs: Remove am335x_boneblack_defconfig"

2019-09-12 Thread Sam Protsenko
Commit 8fa7f65dd02c ("configs: Remove am335x_boneblack_defconfig") removes defconfig for BeagleBone Black board, and it's advised to use am335x_evm_defconfig for all AM335x boards. But it's impossible to store environment in eMMC with am335x_evm_defconfig without modifications (NAND must be

[U-Boot] [PATCH 2/2] fs: fat: get_contents() always returns -1 for errors

2019-09-12 Thread Heinrich Schuchardt
If out of memory, return -1 and not -ENOMEM from get_contents(). Signed-off-by: Heinrich Schuchardt --- fs/fat/fat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fat/fat.c b/fs/fat/fat.c index b4e8083734..da822f4f38 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@

[U-Boot] [PATCH 1/2] fs: fat: treat invalid FAT clusters as errors

2019-09-12 Thread Heinrich Schuchardt
When hitting an invalid FAT cluster while reading a file always print an error message and return an error code. Signed-off-by: Heinrich Schuchardt --- fs/fat/fat.c | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/fs/fat/fat.c b/fs/fat/fat.c

[U-Boot] [PATCH 0/2] fs: fat: error handling in get_contents()

2019-09-12 Thread Heinrich Schuchardt
If a FAT entry is corrupted, reading a file should always lead to an error. get_contents() should always return -1 when an error occurs. Heinrich Schuchardt (2): fs: fat: treat invalid FAT clusters as errors fs: fat: get_contents() always returns -1 for errors fs/fat/fat.c | 32

[U-Boot] [PATCH 1/1] arm64: print instructions leading to exception

2019-09-12 Thread Heinrich Schuchardt
If an exception occurs in a loaded image and the relocation offset is unknown, it is helpful to know the instructions pointed to by the program counter. This patch adds the missing output. A possible output is: Code: 910c4021 aa1303e0 f9400662 d63f0040 (e7f7defb) The parentheses indicate the

Re: [U-Boot] [PATCH v2 19/40] env: net: Move eth_parse_enetaddr() to net.c/h

2019-09-12 Thread Ondřej Jirman
Hello, On Thu, Aug 01, 2019 at 09:46:54AM -0600, Simon Glass wrote: > This function fits better with the network subsystem, so move it. Unfortunately, this breaks builds without CONFIG_NET. Reverting it fixes the issue. LD u-boot cmd/built-in.o: In function `eth_env_get_enetaddr':

Re: [U-Boot] [PATCH v2] patman: Use the Change-Id, version, and prefix in the Message-Id

2019-09-12 Thread Simon Glass
On Tue, 3 Sep 2019 at 14:15, Douglas Anderson wrote: > > As per the centithread on ksummit-discuss [1], there are folks who > feel that if a Change-Id is present in a developer's local commit that > said Change-Id could be interesting to include in upstream posts. > Specifically if two commits

Re: [U-Boot] OMAP watchdog timer reset on BBB

2019-09-12 Thread Sam Protsenko
Hi Stefan, On Thu, Sep 12, 2019 at 5:38 PM Stefan Roese wrote: > > Hi Sam, > > On 12.09.19 15:45, Sam Protsenko wrote: > > Hi Suniel, > > > > After transition to DM WDT, watchdog timer on BeagleBone Black resets > > the board after 1 minute or so. I'm using this defconfig: [1]. After > >

Re: [U-Boot] [PATCH 1/2] Revert "configs: Remove am335x_boneblack_defconfig"

2019-09-12 Thread Sam Protsenko
The eMMC boot works fine, but "env save" fails with message: Saving Environment to FAT... Failed (1) That's because CONFIG_ENV_IS_IN_MMC=y is not enabled, which wouldn't work without CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT", because in include/configs/am335x_evm.h it defines eMMC environment

Re: [U-Boot] [PATCH 1/2] Revert "configs: Remove am335x_boneblack_defconfig"

2019-09-12 Thread Andre Heider
Hi, On 9/12/19 5:23 PM, Sam Protsenko wrote: Commit 8fa7f65dd02c ("configs: Remove am335x_boneblack_defconfig") removes defconfig for BeagleBone Black board, and it's advised to use am335x_evm_defconfig for all AM335x boards. But it's impossible to use am335x_evm_defconfig in eMMC use-case

Re: [U-Boot] [PATCH PATCH v4 04/15] spl: fit: allocate a temporary buffer to load the overlays

2019-09-12 Thread Jean-Jacques Hiblot
On 13/08/2019 11:33, Simon Glass wrote: Hi Jean-Jacques, On Mon, 5 Aug 2019 at 03:44, Jean-Jacques Hiblot wrote: If the node describing an overlay does not specify a load address, it will be loaded at the address previously used. Fixing it by allocating a temporary 64kB region that will be

[U-Boot] [PATCH 2/2] configs: am335x_boneblack: Sync with am335x_evm

2019-09-12 Thread Sam Protsenko
Old am335x_boneblack defconfig doesn't have Driver Model enabled. Pull DM options from am335x_evm, along with some others, like ones for shrinking SPL, making am335x_boneblack defconfig as close as possible to am335x_evm. Fixes: 8fa7f65dd02c ("configs: Remove am335x_boneblack_defconfig")

[U-Boot] [PATCH 1/2] Revert "configs: Remove am335x_boneblack_defconfig"

2019-09-12 Thread Sam Protsenko
Commit 8fa7f65dd02c ("configs: Remove am335x_boneblack_defconfig") removes defconfig for BeagleBone Black board, and it's advised to use am335x_evm_defconfig for all AM335x boards. But it's impossible to use am335x_evm_defconfig in eMMC use-case without modifications for BBB (NAND must be

Re: [U-Boot] [PATCH 2/4] habv4: tools: Avoid hardcoded CSF size for SPL targets

2019-09-12 Thread Breno Matheus Lima
Hi Peng, Em qua, 11 de set de 2019 às 22:07, Peng Fan escreveu: > > Hi Breno, > > > Subject: [PATCH 2/4] habv4: tools: Avoid hardcoded CSF size for SPL targets > > I saw this patch in imx/master, not in Tom's tree. But this patch breaks > build for other archs, such as arc and etc. > Thanks for

Re: [U-Boot] Tinker-rk3288 SPL broken with MMC timeout

2019-09-12 Thread Tom Rini
On Thu, Sep 12, 2019 at 08:55:24AM +0530, Jagan Teki wrote: > I have seen this even on v2019.07 release, and the only release that > it got working with on v2019.01 (SPL, BROM_RETURN) > > Any idea? here is the log dump. > > U-Boot TPL 2019.10-rc3-00297-g5ba8b12543 (Sep 12 2019 - 08:50:36) >

Re: [U-Boot] Why do we need both MDIO and MII commands

2019-09-12 Thread Tom Rini
On Wed, Sep 11, 2019 at 10:58:22PM +0300, Ramon Fried wrote: > Hi. > Marek raised this issue in IRC several weeks ago and I was wondering > the same. why do we support this two commands which accomplish > basically the same ? > > Can we ditch the mii comand and move the missing functionality to

[U-Boot] [PATCH 3/3] ubi: Add "skipcheck" command to set/clear this bit in the UBI volume hdr

2019-09-12 Thread Stefan Roese
U-Boot now supports the "skip_check" flag to optionally skip the CRC check at open time. Currently its only possible to set this bit upon UBI volume creation. But it might be very useful to also set this bit on already installed systems (e.g. field upgrade) to make also use of the boot-time

[U-Boot] [PATCH 2/3] ubi: Print skip_check in ubi_dump_vol_info()

2019-09-12 Thread Stefan Roese
It might be interesting, if "skip_check" is set of not, so lets print this flag in ubi_dump_vol_info() as well. Signed-off-by: Stefan Roese Cc: Quentin Schulz Cc: Boris Brezillon Cc: Heiko Schocher --- drivers/mtd/ubi/debug.c | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 1/3] ubi: provide a way to skip CRC checks

2019-09-12 Thread Stefan Roese
From: Quentin Schulz Some users of static UBI volumes implement their own integrity check, thus making the volume CRC check done at open time useless. For instance, this is the case when one use the ubiblock + dm-verity + squashfs combination, where dm-verity already checks integrity of the

Re: [U-Boot] OMAP watchdog timer reset on BBB

2019-09-12 Thread Stefan Roese
Hi Sam, On 12.09.19 15:45, Sam Protsenko wrote: Hi Suniel, After transition to DM WDT, watchdog timer on BeagleBone Black resets the board after 1 minute or so. I'm using this defconfig: [1]. After disabling CONFIG_WDT and CONFIG_WATCHDOG options the board doesn't reset. I guess it might be

Re: [U-Boot] Pull request: u-boot-rockchip-20190912

2019-09-12 Thread Tom Rini
e/u-boot/custodians/u-boot-x86 (2019-09-10 > 08:52:00 -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git > tags/u-boot-rockchip-20190912 > > for you to fetch changes up to 326b2624192336c99ba18d5151b51d0c

Re: [U-Boot] OMAP watchdog timer reset on BBB

2019-09-12 Thread Grygorii Strashko
CC: Lokesh On 12/09/2019 16:45, Sam Protsenko wrote: Hi Suniel, After transition to DM WDT, watchdog timer on BeagleBone Black resets the board after 1 minute or so. I'm using this defconfig: [1]. After disabling CONFIG_WDT and CONFIG_WATCHDOG options the board doesn't reset. I guess it might

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-09-12 Thread Igor Opaniuk
Hy Bryan, Breno, On Tue, Jul 30, 2019 at 5:33 PM Bryan O'Donoghue wrote: > > > > On 30/07/2019 15:26, Igor Opaniuk wrote: > > Anyway, let me go through this article one more time, > > and I'll get back to you. > > If I've understood you, you are using the same binary for serial > download and

[U-Boot] OMAP watchdog timer reset on BBB

2019-09-12 Thread Sam Protsenko
Hi Suniel, After transition to DM WDT, watchdog timer on BeagleBone Black resets the board after 1 minute or so. I'm using this defconfig: [1]. After disabling CONFIG_WDT and CONFIG_WATCHDOG options the board doesn't reset. I guess it might be happening on other boards using CONFIG_WDT_OMAP3 as

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-12 Thread Stefan Roese
Hi Ashish, On 12.09.19 07:03, Ashish Kumar wrote: Please suggest way forward. How to correct this issue? The first thigh would be to make sure the Linux driver works for all platforms and then do the porting to U-Boot. I will be out of office for 10 days. After that I can try to work on

Re: [U-Boot] [PATCH V2] ARM: dts: imx6q-logicpd: Add missing imx6q-logicpd-u-boot for SPL

2019-09-12 Thread Adam Ford
On Mon, Aug 19, 2019 at 8:22 AM Adam Ford wrote: > > On Wed, Aug 7, 2019 at 10:16 AM Adam Ford wrote: > > > > The SPL device tree is missing the entires for gpio1, uart1, usdhc1 and > > usdhc2. This creates the missing imx6q-logicpd-u-boot.dtsi file > > which will enable these functions so SPL

Re: [U-Boot] Regressions in MTD / SPI FLASH

2019-09-12 Thread Eugeniy Paltsev
Hi Vignesh, I doesn't have access to board with n25q512ax3 currently, however I can test this on Monday (16.09) --- Eugeniy Paltsev From: Vignesh Raghavendra Sent: Tuesday, September 10, 2019 15:27 To: Eugeniy Paltsev; Jagan Teki Cc:

[U-Boot] [PATCH] net: xilinx_axiemac: Fill the phy node pointer in phydev

2019-09-12 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch assings the phynode pointer to the phydev node as it is needed later in the corresponding phy driver to read phy properties from DT. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- This feature is present in these drivers:

Re: [U-Boot] [PATCH 0/3] Support distro boot in pico-imx7d BL33 case

2019-09-12 Thread Jun Nie
Peng Fan 于2019年9月11日周三 下午2:02写道: > > > > > -Original Message- > > From: Jun Nie > > Sent: 2019年9月9日 21:47 > > To: Peng Fan > > Cc: Stefano Babic ; Fabio Estevam ; > > Otavio Salvador ; Vanessa Maegima > > ; Bryan O'Donoghue > > ; U-Boot Mailing List > > Subject: Re: [PATCH 0/3] Support

[U-Boot] [PATCH] gpio: fix issue in set gpio output direction

2019-09-12 Thread Michal Simek
From: Ashok Reddy Soma This patch fixes zynq_gpio_direction() to call driver specific zynq_gpio_set_value function rather than top level gpio_set_value. Signed-off-by: Ashok Reddy Soma Signed-off-by: Michal Simek --- drivers/gpio/zynq_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH v4 17/17] arm: socfpga: agilex: Enable Agilex SoC build

2019-09-12 Thread Ley Foon Tan
Add build support for Agilex SoC. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v3: - Disable CONFIG_USE_TINY_PRINTF v2: - Remove IC_CLK define, use clock DM method to get i2c clock - Change CONFIG_ENV_SIZE to 4KB since CONFIG_SPI_FLASH_USE_4K_SECTORS is enabled. ---

[U-Boot] [PATCH v4 13/17] ddr: altera: agilex: Add SDRAM driver for Agilex

2019-09-12 Thread Ley Foon Tan
Add SDRAM driver for Agilex SoC. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- v4: - Fixed checkpatch warnings v3: - Use sdmmc_soc64.* - Change compatible string to use "intel" (intel,sdr-ctl-agilex). - Improve error handing if DDR size mismatched. ---

[U-Boot] [PATCH v4 07/17] arm: socfpga: Move Stratix10 and Agilex clock manager common code

2019-09-12 Thread Ley Foon Tan
Move Stratix10 and Agilex clock manager common code to new header file. Fixed CLKMGR_INTOSC_HZ to 400MHz instead of 460MHz. Signed-off-by: Ley Foon Tan --- .../include/mach/clock_manager_s10.h | 16 +++-- .../include/mach/clock_manager_soc64.h| 23 +++

[U-Boot] [PATCH v4 06/17] arm: socfpga: agilex: Add system manager support

2019-09-12 Thread Ley Foon Tan
Add system manager support for Agilex. Signed-off-by: Ley Foon Tan --- v3: - Change include filename to system_manager_soc64.h. - Move to use defines instead of struct. v2: - Include system_manager_s10_agilex_common.h in system_manager_agilex.h ---

[U-Boot] [PATCH v4 09/17] arm: socfpga: agilex: Add clock wrapper functions

2019-09-12 Thread Ley Foon Tan
Add clock wrapper functions call to clock DM functions to get clock frequency and used in cm_print_clock_quick_summary(). Signed-off-by: Ley Foon Tan --- v4: - Change to use SYSMGR_SOC64* prefix. v3: - Improved commit message. - Rename STRATIX10_* to SOCFPGA_SOC64_* - Include

[U-Boot] [PATCH v4 12/17] ddr: altera: Restructure Stratix 10 SDRAM driver

2019-09-12 Thread Ley Foon Tan
Restructure Stratix 10 SDRAM driver. Move common code to separate file, in preparation to support SDRAM driver for Agilex. Signed-off-by: Ley Foon Tan --- v4: - Change to use base address from DT. v3: - Change sdram_common.* to sdram_soc64.* --- drivers/ddr/altera/Makefile |

[U-Boot] [PATCH v4 10/17] arm: socfpga: agilex: Add CCU support for Agilex

2019-09-12 Thread Ley Foon Tan
Add Cache Coherency Unit (CCU) support for Agilex. CCU is to ensures consistency of shared data between multi masters in the system. Software need to initialize CCU's directories and coherency agent interfaces in CCU IP. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt ---

[U-Boot] [PATCH v4 14/17] board: intel: agilex: Add socdk board support for Intel Agilex SoC

2019-09-12 Thread Ley Foon Tan
Add socdk board support for Intel Agilex SoC Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- board/intel/agilex-socdk/MAINTAINERS | 7 +++ board/intel/agilex-socdk/Makefile| 7 +++ board/intel/agilex-socdk/socfpga.c | 7 +++ 3 files changed, 21 insertions(+)

[U-Boot] [PATCH v4 15/17] arm: socfpga: agilex: Add SPL for Agilex SoC

2019-09-12 Thread Ley Foon Tan
Add SPL support for Agilex SoC. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v4: - Move spl_early_init() to entry of board_init_f - Add socfpga_get_manager_addr(). - Remove SYSMGR_DMA and SYSMGR_DMA_PERIPH, already set in firewall_setup(). v2: - Change clock driver probing

[U-Boot] [PATCH v4 16/17] arm: dts: agilex: Add base dtsi and devkit dts

2019-09-12 Thread Ley Foon Tan
Add device tree files for Agilex SoC platform. Based on Linux Commit ID4b36daf9ada30. Signed-off-by: Ley Foon Tan --- v4: - Add u-boot,dm-pre-reloc to sysmgr node. v3: - Fixed bank 1 memory alias base address to 0x28000. - Rename STRATIX10_*_CLK to SOCFPGA_SOC64_*_CLK. - Include

[U-Boot] [PATCH v4 11/17] arm: agilex: Add clock handoff offset for Agilex

2019-09-12 Thread Ley Foon Tan
Add clock handoff offset for Agilex. Remove S10 prefix to avoid confusion. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/handoff_s10.h | 9 +++-- arch/arm/mach-socfpga/wrap_pll_config_s10.c | 5 +++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH v4 08/17] clk: agilex: Add clock driver for Agilex

2019-09-12 Thread Ley Foon Tan
Add clock manager driver for Agilex. Provides clock initialization and get_rate functions. Rename stratix10-clock.h to socfpga-soc64-clock.h. stratix10-clock.h is from Linux commit ID 89727949ea1e. Signed-off-by: Chee Hong Ang Signed-off-by: Ley Foon Tan --- v4: - Get address from DT.

[U-Boot] [PATCH v4 04/17] arm: socfpga: agilex: Add reset manager support

2019-09-12 Thread Ley Foon Tan
Add reset manager support for Agilex. Signed-off-by: Ley Foon Tan --- v3: - Add reset_manager_soc64.h - Convert to use defines instead of struct. --- arch/arm/mach-socfpga/include/mach/reset_manager.h| 2 ++ .../mach-socfpga/include/mach/reset_manager_agilex.h | 11 +++ 2 files

[U-Boot] [PATCH v4 05/17] arm: socfpga: Move Stratix10 and Agilex system manager common code

2019-09-12 Thread Ley Foon Tan
Move Stratix10 and Agilex system manager common code to system_manager_soc64.h. Signed-off-by: Ley Foon Tan --- v4: - Change prefix from SYSMGR_S10* to SYSMGR_SOC64*. v3: - Change filename to system_manager_soc64.h - Move to use defines instead of struct. v2: - Move common defines for Stratix

[U-Boot] [PATCH v4 03/17] arm: socfpga: Move Stratix10 and Agilex reset manager common code

2019-09-12 Thread Ley Foon Tan
Move Stratix10 and Agilex reset manager common code to reset_manager_soc64.h. Remove unused RSTMGR_XXX defines. Signed-off-by: Ley Foon Tan --- v4: - Change prefix from RSTMGR_S10* to RSTMGR_SOC64*. v3: - Add new reset_manager_soc64.h - Convert to use defines instead of struct. ---

[U-Boot] [PATCH v4 01/17] arm: socfpga: agilex: Add base address for Intel Agilex SoC

2019-09-12 Thread Ley Foon Tan
Add base address for Intel Agilex SoC. Reuse base_addr_s10.h for Agilex, only one base address is different from S10. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v2: - Reuse base_addr_s10.h and add #ifdef Agilex for SOCFPGA_FW_MPU_DDR_SCR_ADDRESS ---

[U-Boot] [PATCH v4 00/17] Add Intel Agilex SoC support

2019-09-12 Thread Ley Foon Tan
This is 4th version of patchset to add Intel Agilex SoC[1] support. Most of changes are related to _SOC64 prefix change and use base address from DT for managers access. Detail changelog can find in commit message. This patchset needs to apply after patchset in [2] for manager driver struct to

[U-Boot] [PATCH v4 02/17] arm: socfpga: Move firewall code to firewall file

2019-09-12 Thread Ley Foon Tan
Move firewall related code to new firewall.c, to share code in Stratix 10 and Agilex. SDMMC will transfer data to OCRAM in SPL. So, enable privilege for SDMMC to allow DMA transfer to OCRAM. Signed-off-by: Ley Foon Tan --- v4: - Move SYSMGR_DMA* to firewall.c v3: - Move SOCFPGA_FIREWALL_TCU

[U-Boot] Pull request for UEFI sub-system for v2019.10-rc4 (4)

2019-09-12 Thread Heinrich Schuchardt
The following changes since commit 2f760735c170c854ffca76be5607cec5c56fdc4f: Merge branch 'master' of git://git.denx.de/u-boot-sh (2019-09-07 13:49:39 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2019-10-rc4-4 for you to

Re: [U-Boot] [PATCH v2 2/2] efi_loader: device_path: show a host device in understandable form

2019-09-12 Thread Heinrich Schuchardt
On 9/12/19 11:07 AM, AKASHI Takahiro wrote: > On Thu, Sep 12, 2019 at 09:59:01AM +0200, Heinrich Schuchardt wrote: >> On 9/12/19 6:52 AM, AKASHI Takahiro wrote: >>> It would be better to give a user-friendly text to a host device >>> on sandbox instead of just dumping its guid. >>> >>> => host

Re: [U-Boot] [PATCH v2 2/3] efi_loader: disk: install FILE_SYSTEM_PROTOCOL only if available

2019-09-12 Thread AKASHI Takahiro
On Thu, Sep 12, 2019 at 11:43:07AM +0200, Heinrich Schuchardt wrote: > On 9/12/19 11:17 AM, AKASHI Takahiro wrote: > > On Thu, Sep 12, 2019 at 10:57:20AM +0200, Heinrich Schuchardt wrote: > >> On 9/12/19 6:51 AM, AKASHI Takahiro wrote: > >>> In the current implementation,

Re: [U-Boot] [PATCH v2 2/3] efi_loader: disk: install FILE_SYSTEM_PROTOCOL only if available

2019-09-12 Thread Heinrich Schuchardt
On 9/12/19 11:17 AM, AKASHI Takahiro wrote: > On Thu, Sep 12, 2019 at 10:57:20AM +0200, Heinrich Schuchardt wrote: >> On 9/12/19 6:51 AM, AKASHI Takahiro wrote: >>> In the current implementation, EFI_SIMPLEFILE_SYSTEM_PROTOCOL is always >>> installed to all the partitions even if some of them may

Re: [U-Boot] [PATCH v2 3/3] efi_loader: disk: install file system protocol to a whole disk

2019-09-12 Thread Heinrich Schuchardt
On 9/12/19 6:51 AM, AKASHI Takahiro wrote: > Currently, a whole disk without any partitions is not associated > with EFI_SIMPLE_FILE_SYSTEM_PROTOCOL. So even if it houses FAT > file system, there is a chance that we may not be able to access > it, particularly, when accesses are to be attempted

[U-Boot] [PATCH 0/4] arm: mxs: mxs_set_gpmiclk

2019-09-12 Thread Rasmus Villemoes
While trying to implement an mxs_set_gpmiclk() I stumbled on a few minor things. Rasmus Villemoes (4): arm: mxs: fix register definitions for clkctrl_gpmi and clkctrl_sspX arm: mxs: fix comments in arch_cpu_init to match the code arm: mxs: be more careful when enabling gpmi_clk arm: mxs:

[U-Boot] [PATCH 4/4] arm: mxs: implement mxs_set_gpmiclk

2019-09-12 Thread Rasmus Villemoes
This allows a board file to set the gpmiclk to something other than the default 24 MHz based on ref_xtal. I don't have an mx23-based board, but I believe there's a bug in the current mxs_get_gpmiclk: According to the data sheet, the gpmiclk can be derived from ref_io, not ref_cpu. Since other

[U-Boot] [PATCH 2/4] arm: mxs: fix comments in arch_cpu_init to match the code

2019-09-12 Thread Rasmus Villemoes
The comment says to clear the bypass bit, but in fact it sets it, thus selecting ref_xtal. And the next line of code does not set the divider to 12, but to (the reset value of) 1. Signed-off-by: Rasmus Villemoes --- arch/arm/cpu/arm926ejs/mxs/mxs.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[U-Boot] [PATCH 3/4] arm: mxs: be more careful when enabling gpmi_clk

2019-09-12 Thread Rasmus Villemoes
The data sheet says that the DIV field cannot change while the CLKGATE bit is set or modified. So do it a little more carefully, by first clearing the bit, waiting for that to appear, then setting the DIV field. Signed-off-by: Rasmus Villemoes --- arch/arm/cpu/arm926ejs/mxs/mxs.c | 5 - 1

[U-Boot] [PATCH 1/4] arm: mxs: fix register definitions for clkctrl_gpmi and clkctrl_sspX

2019-09-12 Thread Rasmus Villemoes
I tried clearing a bit by writing to hw_clkctrl_gpmi_clr, then busy-waiting for it to actually clear. My board hung. The data sheet agrees, these registers do not have _set, _clr, _tog, so fix up the definitions. git grep -E 'clkctrl_(gpmi|ssp[0-9])_' says that nobody uses those non-existing ops

Re: [U-Boot] [PATCH v3 0/3] spi: Split CONFIG_DM_SPI* to CONFIG_{SPL_TPL}DM_SPI*

2019-09-12 Thread Schrempf Frieder
On 12.09.19 11:03, Lukasz Majewski wrote: > Hi Frieder, > >> Hi Lukasz, >> >> On 10.09.19 12:22, Lukasz Majewski wrote: >>> Hi Frieder, >>> On Mon, 9 Sep 2019 11:11:50 + Schrempf Frieder wrote: > Hi Lukasz, > > On 05.09.19 20:09, Tom Rini wrote: >> On

Re: [U-Boot] [PATCH v2 2/3] efi_loader: disk: install FILE_SYSTEM_PROTOCOL only if available

2019-09-12 Thread AKASHI Takahiro
On Thu, Sep 12, 2019 at 10:57:20AM +0200, Heinrich Schuchardt wrote: > On 9/12/19 6:51 AM, AKASHI Takahiro wrote: > > In the current implementation, EFI_SIMPLEFILE_SYSTEM_PROTOCOL is always > > installed to all the partitions even if some of them may house no file > > system. > > > > With this

[U-Boot] [PATCH v1 5/5] colibri_t30: disable rs232 serial transceiver forceoff pins

2019-09-12 Thread Marcel Ziswiler
From: Marcel Ziswiler Use gpio_early_init_uart() function to disable RS232 serial transceiver ForceOFF# pins on Iris. Signed-off-by: Marcel Ziswiler --- board/toradex/colibri_t30/colibri_t30.c | 11 +++ 1 file changed, 11 insertions(+) diff --git

[U-Boot] [PATCH v1 4/5] apalis/colibri_t30: add note about colibri vs. nvidia uart mapping

2019-09-12 Thread Marcel Ziswiler
From: Marcel Ziswiler The following mapping is applicable for Apalis T30: Apalis UART1: NVIDIA UARTA Apalis UART2: NVIDIA UARTD Apalis UART3: NVIDIA UARTB Apalis UART4: NVIDIA UARTC The following mapping is applicable for Colibri T30: Colibri UART-A: NVIDIA UARTA Colibri UART-B: NVIDIA UARTD

[U-Boot] [PATCH v1 3/5] apalis/colibri_t30: avoid uart input from floating pins

2019-09-12 Thread Marcel Ziswiler
From: Marcel Ziswiler Avoid UART input from floating RX pins on UARTB and UARTC (Colibri T30) and UARTB, UARTC and UARTD (Apalis T30). Note: Floating pins may cause spurious break conditions potentially interrupting U-Boot's autoboot. Signed-off-by: Marcel Ziswiler ---

  1   2   >