[U-Boot] [v2,2/2] armv7: ls102xa: not power down OCRAM1

2019-09-24 Thread Biwen Li
The patch always not power down OCRAM1 for wakeup source to wakeup system in deep sleep Signed-off-by: Biwen Li --- Change in v2: - split one patch to two patches - always not power down OCRAM1 arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c | 3 ++- 1 file changed, 2 insertions(+),

[U-Boot] [PATCH] mmc: am654_sdhci: Drop a redundant power_domain_on in probe

2019-09-24 Thread Lokesh Vutla
Power-domain is enabled by default in device_probe. am654 mmc driver is enabling power-domain again in probe. As the second call is redundant, drop power_domain_on from probe. Tested-by: Suman Anna Signed-off-by: Lokesh Vutla --- drivers/mmc/am654_sdhci.c | 13 - 1 file changed, 13

Re: [U-Boot] [PATCH RFT 0/3] spi-nor: spi-nor-ids: Fix 4 Byte addressing for n25q256 and n25q512*

2019-09-24 Thread Simon Goldschmidt
HI Vignesh, On Tue, Sep 24, 2019 at 9:59 AM Vignesh Raghavendra wrote: > > Hi Simon, > > On 24/09/19 12:32 PM, Simon Goldschmidt wrote: > > Hi Vignesh, > > > > On Tue, Sep 24, 2019 at 7:55 AM Vignesh Raghavendra wrote: > >> > >> This series removes SPI_NOR_4B_OPCODES flags from legacy variants

Re: [U-Boot] [PATCH RFT 0/3] spi-nor: spi-nor-ids: Fix 4 Byte addressing for n25q256 and n25q512*

2019-09-24 Thread Simon Goldschmidt
Hi Vignesh, On Tue, Sep 24, 2019 at 11:17 AM Vignesh Raghavendra wrote: > > > > On 24/09/19 2:13 PM, Simon Goldschmidt wrote: > > HI Vignesh, > > > > On Tue, Sep 24, 2019 at 9:59 AM Vignesh Raghavendra wrote: > >> > >> Hi Simon, > >> > >> On 24/09/19 12:32 PM, Simon Goldschmidt wrote: > >>> Hi

[U-Boot] [PATCH V3 2/4] sandbox64: enable command aes

2019-09-24 Thread Philippe Reynes
This commit add the support of command aes. Then, it may be used on pytest. Signed-off-by: Philippe Reynes --- configs/sandbox64_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig index 7aa2d38..1fea683 100644 ---

[U-Boot] [PATCH V3 3/4] cmd: aes: use map_sysmem when accessing memory

2019-09-24 Thread Philippe Reynes
The aes command used to segfault when accessing memory in sandbox. The pointer accesses should be mapped. Signed-off-by: Philippe Reynes --- cmd/aes.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/cmd/aes.c b/cmd/aes.c index 7ff4a71..8c61cee 100644 ---

[U-Boot] [PATCH V3 4/4] pytest: add a new test for aes

2019-09-24 Thread Philippe Reynes
This commit add a simple test to check that a text may be ciphered and unciphered. Each step are checked with the known result. Signed-off-by: Philippe Reynes --- test/py/tests/aes/iv128.bin | 1 + test/py/tests/aes/key128.bin| 1 + test/py/tests/aes/plaintext.bin | 1 +

[U-Boot] [PATCH V3 0/4] pytest: add a simple test to check the command aes

2019-09-24 Thread Philippe Reynes
This serie fix the command aes on sandbox and add a simple pytest for aes. The first and second patch enable the command aes on sandbox and sandbox64. Thr third patch fix the command aes on sandbox (adding map_sysmem to avoid a segfault), the forth patch add a simple pytest for the command aes.

[U-Boot] [PATCH v1 2/3] configs: dra7xx_evm: Add Kconfigs for SPL_DFU bootmode

2019-09-24 Thread Jean-Jacques Hiblot
From: Faiz Abbas Enable configs for supporting SPL_DFU bootmode. Signed-off-by: Faiz Abbas Signed-off-by: Jean-Jacques Hiblot --- configs/dra7xx_evm_defconfig| 6 ++ configs/dra7xx_hs_evm_defconfig | 6 ++ 2 files changed, 12 insertions(+) diff --git

[U-Boot] [PATCH v1 1/3] ARM: dts: dra7: Add usb peripheral nodes in spl

2019-09-24 Thread Jean-Jacques Hiblot
From: Faiz Abbas Add usb peripheral and usb phy nodes in spl to enable SPL_DFU bootmode. Signed-off-by: Faiz Abbas Signed-off-by: Jean-Jacques Hiblot --- arch/arm/dts/dra7-evm-u-boot.dtsi | 17 + arch/arm/dts/dra71-evm-u-boot.dtsi | 17 +

[U-Boot] [PATCH v1 3/3] configs: dra7xx_evm: Increase the size of SPL_MULTI_DTB_FIT

2019-09-24 Thread Jean-Jacques Hiblot
From: Faiz Abbas Expand SPL_MULTI_DTB_FIT to accommodate usb peripheral nodes being added to support SPL_DFU bootmode. Signed-off-by: Faiz Abbas Signed-off-by: Jean-Jacques Hiblot --- configs/dra7xx_evm_defconfig| 2 +- configs/dra7xx_hs_evm_defconfig | 2 +- 2 files changed, 2

Re: [U-Boot] [PATCH] cmd: part: number: return hexadecimal value

2019-09-24 Thread Eugeniu Rosca
On Fri, Sep 20, 2019 at 10:21:29AM -0400, Tom Rini wrote: [..] > Reviewed-by: Tom Rini On Tue, Sep 24, 2019 at 09:24:57AM +0300, Igor Opaniuk wrote: [..] > Reviewed-by: Igor Opaniuk Thank you for the swift reviews! -- Best Regards, Eugeniu ___

Re: [U-Boot] [PATCH RFT 0/3] spi-nor: spi-nor-ids: Fix 4 Byte addressing for n25q256 and n25q512*

2019-09-24 Thread Vignesh Raghavendra
Hi Simon, On 24/09/19 12:32 PM, Simon Goldschmidt wrote: > Hi Vignesh, > > On Tue, Sep 24, 2019 at 7:55 AM Vignesh Raghavendra wrote: >> >> This series removes SPI_NOR_4B_OPCODES flags from legacy variants of >> n25q256* and n25q512* and adds entries for newer variants of those >> flashes that

Re: [U-Boot] [PATCH RFT 0/3] spi-nor: spi-nor-ids: Fix 4 Byte addressing for n25q256 and n25q512*

2019-09-24 Thread Vignesh Raghavendra
On 24/09/19 2:13 PM, Simon Goldschmidt wrote: > HI Vignesh, > > On Tue, Sep 24, 2019 at 9:59 AM Vignesh Raghavendra wrote: >> >> Hi Simon, >> >> On 24/09/19 12:32 PM, Simon Goldschmidt wrote: >>> Hi Vignesh, >>> >>> On Tue, Sep 24, 2019 at 7:55 AM Vignesh Raghavendra wrote: This

Re: [U-Boot] [PATCH RFT 0/3] spi-nor: spi-nor-ids: Fix 4 Byte addressing for n25q256 and n25q512*

2019-09-24 Thread Tudor.Ambarus
Hi, Simon, On 09/24/2019 10:02 AM, Simon Goldschmidt wrote: > External E-Mail > > > Hi Vignesh, > > On Tue, Sep 24, 2019 at 7:55 AM Vignesh Raghavendra wrote: >> >> This series removes SPI_NOR_4B_OPCODES flags from legacy variants of >> n25q256* and n25q512* and adds entries for newer

[U-Boot] [v2, 1/2] armv7: ls102xa: add errata ID A-008646 for workaround

2019-09-24 Thread Biwen Li
The patch adds errata ID A-008646 for workaround Signed-off-by: Biwen Li --- Change in v2: - split one patch to two patches arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c

Re: [U-Boot] [PATCH V2 1/2] power: domain: add dev_power_domain_on

2019-09-24 Thread Lokesh Vutla
On 17/09/19 2:59 PM, Peng Fan wrote: > Add this new API to power on multiple domains attached > to a device. > > Signed-off-by: Peng Fan > --- > [..snip..] > + */ > +#if (CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)) && \ > + CONFIG_IS_ENABLED(POWER_DOMAIN) > +int

Re: [U-Boot] [PATCH RFT 0/3] spi-nor: spi-nor-ids: Fix 4 Byte addressing for n25q256 and n25q512*

2019-09-24 Thread Simon Goldschmidt
Hi Tudor, On Tue, Sep 24, 2019 at 11:23 AM wrote: > > Hi, Simon, > > On 09/24/2019 10:02 AM, Simon Goldschmidt wrote: > > External E-Mail > > > > > > Hi Vignesh, > > > > On Tue, Sep 24, 2019 at 7:55 AM Vignesh Raghavendra wrote: > >> > >> This series removes SPI_NOR_4B_OPCODES flags from legacy

Re: [U-Boot] [EXT] [PATCH 2/2] spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*

2019-09-24 Thread Simon Goldschmidt
Hi, On Mon, Sep 23, 2019 at 12:49 PM Simon Goldschmidt wrote: > > Hi , > > On Mon, Sep 23, 2019 at 11:38 AM wrote: > > > > Hi, Simon, > > > > On 09/23/2019 12:30 PM, Simon Goldschmidt wrote: > > > How would I dump the SFDP tables? > > > > this should do it. Make sure SPI_FLASH_SFDP_SUPPORT is

[U-Boot] [PATCH V3 1/4] sandbox: enable command aes

2019-09-24 Thread Philippe Reynes
This commit enable the command aes on sandbox. Then, it may be used on pytest. Signed-off-by: Philippe Reynes --- configs/sandbox_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index f77b9e8..4b9cce5 100644 ---

[U-Boot] [PATCH v1 0/3] Add support for DFU boot to DRA7-based EVMs

2019-09-24 Thread Jean-Jacques Hiblot
The purpose of this series is to provide the SPL with ability to boot u-boot from DFU. The DRA7x can download the SPL over the USB1 port when configured in the USB peripheral boot mode. Details on how this can be acheived with the EVMs can found here http://www.ti.com/lit/an/sprac33/sprac33.pdf

Re: [U-Boot] envtools with tools-only_defconfig fails to build after v2019.10-rc1

2019-09-24 Thread Pierre-Jean Texier
Hi Vagrant, Le 24/09/2019 à 04:04, Vagrant Cascadian a écrit : I've been unable to successfully run "make envtools" on recent versions of u-boot, and finally got a chance to git bisect it. It looks like commit 9fb625ce05539fe6876a59ce1dcadb76b33c6f6e, introduced after 2019.10-rc1, breaks

Re: [U-Boot] [PATCH RFT 3/3] spi-nor: spi-nor-ids: Add entries for newer variants of n25q256* and n25q512*

2019-09-24 Thread Simon Goldschmidt
+Tudor Ambarus (from discussion in https://patchwork.ozlabs.org/patch/1160501/) On Tue, Sep 24, 2019 at 1:47 PM Simon Goldschmidt wrote: > > On Tue, Sep 24, 2019 at 7:55 AM Vignesh Raghavendra wrote: > > > > Newer variants of n25q256* and n25q512* flashes support 4 Byte > > addressing opcodes.

[U-Boot] [PATCH v2 6/6] config: enable DFU over USB on Raspberry Pi4 boards

2019-09-24 Thread Marek Szyprowski
Enable support for DFU over USB. This requires to enable USB gadget, DWC2 UDC OTG driver and DFU command. DFU entities are defined for the following firmware objects: u-boot.bin, uboot.env, config.txt, cmdline.txt and zImage/Image.gz. Signed-off-by: Marek Szyprowski Reviewed-by: Lukasz Majewski

[U-Boot] [PATCH v2 5/6] usb: dwc2_udc_otg: add bcm2835 SoC (Raspberry Pi4) support

2019-09-24 Thread Marek Szyprowski
Broadcom 2835 SoC requires special conversion of physical memory addresses for DMA purpose, so add needed wrappers to dwc2_udc_otg driver. Also extend the list of compatible devices with 'brcm,bcm2835-usb' entry. This allows to use USB gadget drivers (i.e. DFU) on Raspberry Pi4 boards.

[U-Boot] [PATCH] LS1043A: Add bugfix for IFC beyond 4 GiB

2019-09-24 Thread georg.kirschb...@siemens.com
From b5691db49dc3844b650f78634c35f091df906095 Mon Sep 17 00:00:00 2001 From: Georg Kirschbaum Date: Fri, 13 Sep 2019 14:45:30 +0200 Subject: [PATCH] LS1043A: Add bugfix for IFC beyond 4 GiB IFC region 2 [0x62000, 0x7) was not usable because the MMU entries were missing. In case of

[U-Boot] [PATCH] Revert "ARM: tegra: reserve unmapped RAM so EFI doesn't use it"

2019-09-24 Thread Mian Yousaf Kaukab
This reverts commit 0797f7f0b7e1d7853e2842ddc235ffef139fa792. Tegra specific solution is not required any more as efi core has been made aware of ram_top with the following commit: 7b78d6438a efi_loader: Reserve unaccessible memory Signed-off-by: Mian Yousaf Kaukab ---

Re: [U-Boot] [EXT] [PATCH 2/2] spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*

2019-09-24 Thread Tudor.Ambarus
Hi, Simon, On 09/23/2019 12:30 PM, Simon Goldschmidt wrote: cut >>> > Subject: [EXT] [PATCH 2/2] spi-nor: spi-nor-ids: Disable >>> > SPI_NOR_4B_OPCODES for n25q512* and n25q256* >>> > >>> > Caution: EXT Email >>> > >>> > Not all variants of n25q256* and n25q512* support

Re: [U-Boot] [PATCH RFT 3/3] spi-nor: spi-nor-ids: Add entries for newer variants of n25q256* and n25q512*

2019-09-24 Thread Simon Goldschmidt
On Tue, Sep 24, 2019 at 7:55 AM Vignesh Raghavendra wrote: > > Newer variants of n25q256* and n25q512* flashes support 4 Byte > addressing opcodes. Add entries for the same. These flashes Bit 6 set in > 5th byte of READ ID response. > > Signed-off-by: Vignesh Raghavendra > --- >

Re: [U-Boot] [EXT] [PATCH 2/2] spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*

2019-09-24 Thread Vignesh Raghavendra
Simon, On 24-Sep-19 5:15 PM, Simon Goldschmidt wrote: > Hi Tudor, > > On Tue, Sep 24, 2019 at 1:36 PM wrote: >> [...] Simon, Could you provide dump of SFDP tables and all the 6 bytes READ ID of the flash that you have? >>> >>> I have a n251256a with JEDEC ID 20, ba, 19, 10,

Re: [U-Boot] [PATCH RFT 3/3] spi-nor: spi-nor-ids: Add entries for newer variants of n25q256* and n25q512*

2019-09-24 Thread Tudor.Ambarus
Hi, Simon, On 09/24/2019 02:47 PM, Simon Goldschmidt wrote: > External E-Mail > > > On Tue, Sep 24, 2019 at 7:55 AM Vignesh Raghavendra wrote: >> >> Newer variants of n25q256* and n25q512* flashes support 4 Byte >> addressing opcodes. Add entries for the same. These flashes Bit 6 set in >> 5th

Re: [U-Boot] [EXT] [PATCH 2/2] spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*

2019-09-24 Thread Simon Goldschmidt
Hi Tudor, On Tue, Sep 24, 2019 at 1:36 PM wrote: > > Hi, Simon, > > On 09/23/2019 12:30 PM, Simon Goldschmidt wrote: > > cut > > >>> > Subject: [EXT] [PATCH 2/2] spi-nor: spi-nor-ids: Disable > >>> > SPI_NOR_4B_OPCODES for n25q512* and n25q256* > >>> > > >>> > Caution: EXT Email

Re: [U-Boot] [EXT] [PATCH 2/2] spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*

2019-09-24 Thread Simon Goldschmidt
Hi Vignesh, On Tue, Sep 24, 2019 at 1:54 PM Vignesh Raghavendra wrote: > > Simon, > > On 24-Sep-19 5:15 PM, Simon Goldschmidt wrote: > > Hi Tudor, > > > > On Tue, Sep 24, 2019 at 1:36 PM wrote: > >> > [...] > > > Simon, > Could you provide dump of SFDP tables and all the 6 bytes

[U-Boot] [PATCH v2 4/6] dfu: mmc: remove file size limit for io operations

2019-09-24 Thread Marek Szyprowski
Add support for operations on files larger than CONFIG_SYS_DFU_MAX_FILE_SIZE. The buffered io mechanism is still used for aggregating io requests, so for files up to CONFIG_SYS_DFU_MAX_FILE_SIZE nothing is changed and they will be handled in a single filesystem call. Signed-off-by: Marek

[U-Boot] [PATCH v2 0/6] Raspberry Pi4: add support for DFU over USB

2019-09-24 Thread Marek Szyprowski
Hi All! This patchset enables support for DFU over USB protocol on Raspberry Pi4 board. The board has DWC2 UDC controller connected to the USB-C power connector. Enabling DFU on it, make the u-boot development much more convenient, as one no longer needs to swap SD-card between RPi4 board and

[U-Boot] [PATCH v2 2/6] fat: write: fix broken write at non-zero file offset

2019-09-24 Thread Marek Szyprowski
Handling of the start file offset was broken in the current code. Although the code skipped the needed clusters, it then tried to continue write with current cluster set to EOF, what caused assertion. It also lacked adjusting filesize in case of writing at the end of file and adjusting in-cluster

Re: [U-Boot] [PATCH V2 2/2] core: device: use dev_power_domain_on

2019-09-24 Thread Lokesh Vutla
On 17/09/19 2:59 PM, Peng Fan wrote: > When multiple power domains attached to a device, need power on > them all, so use dev_power_domain_on to do that. > > Signed-off-by: Peng Fan > --- > > V2: > use dev_power_domain_on in patch 1/2 > > drivers/core/device.c | 6 +++--- > 1 file changed,

Re: [U-Boot] [PATCH v2 0/3] imx6ull: Fix missing initial output from UART

2019-09-24 Thread Igor Opaniuk
Hi Stefano, On Wed, Jul 24, 2019 at 6:10 PM Igor Opaniuk wrote: > > For Colibri iMX6ULL we have to set pinmux for uart configuration ASAP > (ideally before relocation) to get serial console working. Without this > we miss almost the half of output (U-boot version, CPU defails, > Reset cause,

[U-Boot] [PATCH v2 3/6] dfu: mmc: rearrange the code

2019-09-24 Thread Marek Szyprowski
Rename functions for bufferred file io operations to make them easier to understand. Also add missing file offset argument to them (currently unused). All this is a preparation to remove predefined file size limit (CONFIG_SYS_DFU_MAX_FILE_SIZE) for DFU read/write operations. Signed-off-by: Marek

[U-Boot] [PATCH v2 1/6] fat: write: fix broken write to fragmented files

2019-09-24 Thread Marek Szyprowski
The code for handing file overwrite incorrectly assumed that the file on disk is always contiguous. This resulted in corrupting disk structure every time when write to existing fragmented file happened. Fix this by adding proper check for cluster discontinuity and adjust chunk size on each partial

Re: [U-Boot] [PATCH v4 01/15] video: bmp: check resolutions of panel/bitmap

2019-09-24 Thread Yannick FERTRE
Hello Heinrich, Thank for your review. You're right my patch does not allow to properly protect the framebuffer. I will push a new patch which check the bitmap size and exit in case of size error. Yannick Fertré On 9/17/19 11:12 PM, Heinrich Schuchardt wrote: > On 9/13/19 11:47 AM, Yannick

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

2019-09-24 Thread Eugeniy Paltsev
Hi Vignesh, sorry for delay, I was pretty busy with another project :( I've tried to test SPI with CONFIG_SPI_FLASH_SFDP_SUPPORT enabled, however it doesn't seem to work. CONFIG_SPI_FLASH_SFDP_SUPPORT enabled: -->8 AXS#

[U-Boot] [PATCH v2] Update MAINTAINERS to include environment files

2019-09-24 Thread Joe Hershberger
To be maintained by me (Joe) and Wolfgang Denx Signed-off-by: Joe Hershberger --- Changes in v2: - Remove Wolfgang from listed maintainer MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e752e4b3de..384ac26048 100644 --- a/MAINTAINERS

Re: [U-Boot] ROCK64 fails to boot using U-Boot TPL

2019-09-24 Thread Matwey V. Kornilov
Simon, maybe you'll describe a way to obtain SD card image which you use? For the case if anybody wants to reproduce the issue in situ? сб, 21 сент. 2019 г. в 20:15, Matwey V. Kornilov : > > сб, 21 сент. 2019 г. в 16:38, Simon South : > > > > On 2019-09-21 8:29 a.m., Matwey V. Kornilov wrote: > >

Re: [U-Boot] ROCK64 fails to boot using U-Boot TPL

2019-09-24 Thread Matwey V. Kornilov
24.09.2019 20:54, Simon South пишет: > On 2019-09-24 12:54 p.m., Matwey V. Kornilov wrote: >> Simon, maybe you'll describe a way to obtain SD card image which you >> use? For the case if anybody wants to reproduce the issue in situ? > > Sure---I'd love for other people to test this, and it's

Re: [U-Boot] [PATCH 3/7] cmd: bootimg: Add bootimg command

2019-09-24 Thread Sam Protsenko
Hi Igor, On Mon, Sep 23, 2019 at 11:36 PM Igor Opaniuk wrote: > > Hi Simon, > > On Fri, Sep 20, 2019 at 8:45 PM Simon Glass wrote: > > > > Hi, > > > > On Thu, 19 Sep 2019 at 12:28, Sam Protsenko > > wrote: > > > > > > This command can be used to extract fields and image payloads from > > >

Re: [U-Boot] ROCK64 fails to boot using U-Boot TPL

2019-09-24 Thread Simon South
On 2019-09-24 2:35 p.m., Matwey V. Kornilov wrote> How do you take NetBSD image? I've been building my own images from NetBSD-CURRENT, following the guides [1][2]. There was until recently a buffer-alignment issue in NetBSD's EFI bootloader that prevented it from working with the current

Re: [U-Boot] [PATCH] Revert "ARM: tegra: reserve unmapped RAM so EFI doesn't use it"

2019-09-24 Thread Heinrich Schuchardt
On 9/24/19 5:10 PM, Mian Yousaf Kaukab wrote: This reverts commit 0797f7f0b7e1d7853e2842ddc235ffef139fa792. Tegra specific solution is not required any more as efi core has been made aware of ram_top with the following commit: 7b78d6438a efi_loader: Reserve unaccessible memory Signed-off-by:

Re: [U-Boot] [PATCH] Revert "ARM: tegra: reserve unmapped RAM so EFI doesn't use it"

2019-09-24 Thread Stephen Warren
On 9/24/19 9:10 AM, Mian Yousaf Kaukab wrote: This reverts commit 0797f7f0b7e1d7853e2842ddc235ffef139fa792. Tegra specific solution is not required any more as efi core has been made aware of ram_top with the following commit: 7b78d6438a efi_loader: Reserve unaccessible memory Tested-by:

Re: [U-Boot] ROCK64 fails to boot using U-Boot TPL

2019-09-24 Thread Simon South
On 2019-09-24 12:54 p.m., Matwey V. Kornilov wrote: Simon, maybe you'll describe a way to obtain SD card image which you use? For the case if anybody wants to reproduce the issue in situ? Sure---I'd love for other people to test this, and it's pretty easy since it doesn't require anything

Re: [U-Boot] [PATCH RFT 0/3] spi-nor: spi-nor-ids: Fix 4 Byte addressing for n25q256 and n25q512*

2019-09-24 Thread Eugeniy Paltsev
Hi Vignesh, I've check this patches on top of 31e086e460f. The read/write/erase seems to work. However, as I can see 'sf protect lock' doesn't work - it finish successfully but the area remains unlocked. As I remember It worked with old u-boot spi-nor code, but I need to check it. ---

Re: [U-Boot] [PATCH V2 2/2] core: device: use dev_power_domain_on

2019-09-24 Thread Lokesh Vutla
On 17/09/19 2:59 PM, Peng Fan wrote: > When multiple power domains attached to a device, need power on > them all, so use dev_power_domain_on to do that. > > Signed-off-by: Peng Fan > --- > > V2: > use dev_power_domain_on in patch 1/2 > > drivers/core/device.c | 6 +++--- > 1 file changed,

Re: [U-Boot] [PATCH V2 1/2] power: domain: add dev_power_domain_on

2019-09-24 Thread Lokesh Vutla
On 17/09/19 2:59 PM, Peng Fan wrote: > Add this new API to power on multiple domains attached > to a device. > > Signed-off-by: Peng Fan Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > > V2: > New patch > > drivers/power/domain/power-domain-uclass.c | 19

Re: [U-Boot] [PATCH] cmd: part: number: return hexadecimal value

2019-09-24 Thread Igor Opaniuk
On Fri, Sep 20, 2019 at 4:59 PM Eugeniu Rosca wrote: > > From: Roman Stratiienko > > At this point we are using part number sub-command to retrieve UUID > of the partition using it's name. > > e.g.: > part number mmc $mmcdev system_a system_a_index > part uuid mmc $mmcdev:${system_a_index}

Re: [U-Boot] [PATCH 3/7] cmd: bootimg: Add bootimg command

2019-09-24 Thread Igor Opaniuk
Hi Simon, On Fri, Sep 20, 2019 at 8:45 PM Simon Glass wrote: > > Hi, > > On Thu, 19 Sep 2019 at 12:28, Sam Protsenko > wrote: > > > > This command can be used to extract fields and image payloads from > > Android Boot Image. It can be used for example to implement boot flow > > where dtb is

[U-Boot] am335x_evm SPL no longer fits

2019-09-24 Thread Jonathan Gray
As of v2019.10-rc3 am335x_evm builds fail here as SPL doesn't fit. v2019.10-rc2 builds. v2019.10-rc4 still fails: LD spl/u-boot-spl arm-none-eabi-ld.bfd: u-boot-spl section `.u_boot_list' will not fit in region `.sram' arm-none-eabi-ld.bfd: region `.sram' overflowed by 100 bytes I

Re: [U-Boot] [PATCH RFT 0/3] spi-nor: spi-nor-ids: Fix 4 Byte addressing for n25q256 and n25q512*

2019-09-24 Thread Simon Goldschmidt
Hi Vignesh, On Tue, Sep 24, 2019 at 7:55 AM Vignesh Raghavendra wrote: > > This series removes SPI_NOR_4B_OPCODES flags from legacy variants of > n25q256* and n25q512* and adds entries for newer variants of those > flashes that support 4 Byte opcodes. > > I don't have the flash devices. So its

Re: [U-Boot] envtools with tools-only_defconfig fails to build after v2019.10-rc1

2019-09-24 Thread Tom Rini
On Tue, Sep 24, 2019 at 01:15:34PM +0200, Pierre-Jean Texier wrote: > Hi Vagrant, > > Le 24/09/2019 à 04:04, Vagrant Cascadian a écrit : > >I've been unable to successfully run "make envtools" on recent versions > >of u-boot, and finally got a chance to git bisect it. > > > >It looks like commit

Re: [U-Boot] envtools with tools-only_defconfig fails to build after v2019.10-rc1

2019-09-24 Thread Tom Rini
On Tue, Sep 24, 2019 at 08:29:51PM +, Joe Hershberger wrote: > Hi Tom, > > On Tue, Sep 24, 2019 at 2:52 PM Tom Rini wrote: > > > > On Tue, Sep 24, 2019 at 01:15:34PM +0200, Pierre-Jean Texier wrote: > > > Hi Vagrant, > > > > > > Le 24/09/2019 à 04:04, Vagrant Cascadian a écrit : > > > >I've

Re: [U-Boot] envtools with tools-only_defconfig fails to build after v2019.10-rc1

2019-09-24 Thread Tom Rini
On Tue, Sep 24, 2019 at 10:28:07PM +0200, Pierre-Jean Texier wrote: > Hi Tom, > > Le 24/09/2019 à 21:52, Tom Rini a écrit : > >Looks like we also need to change travis/gitlab to building "tools-al > Already in the series [1]. > In fact, I added a step for building "envtools" with the command: >

Re: [U-Boot] help with serial on the rockchip64

2019-09-24 Thread Simon South
On 2019-09-24 5:41 p.m., Sérgio de Almeida Lenzi wrote: D:0x805 Y In LPDDR3 333MHz > ... This is output from Rockchip's binary-only loader, which always resets the UART speed to 1.5Mbps. But it should be running before the U-Boot SPL, not after it. How are you building the microSD-card

Re: [U-Boot] [PATCH v2 2/6] fat: write: fix broken write at non-zero file offset

2019-09-24 Thread Lukasz Majewski
Hi Marek, > Handling of the start file offset was broken in the current code. > Although the code skipped the needed clusters, it then tried to > continue write with current cluster set to EOF, what caused > assertion. It also lacked adjusting filesize in case of writing at > the end of file and

Re: [U-Boot] [PATCH] mmc: am654_sdhci: Drop a redundant power_domain_on in probe

2019-09-24 Thread Peng Fan
> Subject: [PATCH] mmc: am654_sdhci: Drop a redundant power_domain_on in > probe > > Power-domain is enabled by default in device_probe. am654 mmc driver is > enabling power-domain again in probe. As the second call is redundant, drop > power_domain_on from probe. > > Tested-by: Suman Anna >

Re: [U-Boot] help with serial on the rockchip64

2019-09-24 Thread Sérgio de Almeida Lenzi
Em ter, 2019-09-24 às 18:08 -0400, Simon South escreveu: > This is output from Rockchip's binary-only loader, which always resets the > UART speed to 1.5Mbps. But it should be running before > the U-Boot SPL, not after it. I use NetBSD-9 and pkgsrc to build the u-bootThe NetBSD builds a fat32

Re: [U-Boot] envtools with tools-only_defconfig fails to build after v2019.10-rc1

2019-09-24 Thread Joe Hershberger
Hi Tom, On Tue, Sep 24, 2019 at 2:52 PM Tom Rini wrote: > > On Tue, Sep 24, 2019 at 01:15:34PM +0200, Pierre-Jean Texier wrote: > > Hi Vagrant, > > > > Le 24/09/2019 à 04:04, Vagrant Cascadian a écrit : > > >I've been unable to successfully run "make envtools" on recent versions > > >of u-boot,

Re: [U-Boot] envtools with tools-only_defconfig fails to build after v2019.10-rc1

2019-09-24 Thread Pierre-Jean Texier
Hi Tom, Le 24/09/2019 à 21:52, Tom Rini a écrit : Looks like we also need to change travis/gitlab to building "tools-al Already in the series [1]. In fact, I added a step for building "envtools" with the command: $: make tools-only_config envtools I preferred not to use "tools-all" in order

Re: [U-Boot] envtools with tools-only_defconfig fails to build after v2019.10-rc1

2019-09-24 Thread Tom Rini
On Tue, Sep 24, 2019 at 08:59:34PM +, Joe Hershberger wrote: > On Tue, Sep 24, 2019 at 3:45 PM Tom Rini wrote: > > > > On Tue, Sep 24, 2019 at 08:29:51PM +, Joe Hershberger wrote: > > > Hi Tom, > > > > > > On Tue, Sep 24, 2019 at 2:52 PM Tom Rini wrote: > > > > > > > > On Tue, Sep 24,

[U-Boot] help with serial on the rockchip64

2019-09-24 Thread Sérgio de Almeida Lenzi
Hello... I am having problem with the insane 1,500,000 bps baud rate serial2 port in rockchip64 I manage to configure the file in configs/rock64-rk3328_defconfig and change it from 150 to 115200.. The ship starts to boot in 115200 than it writes on the serial line: U-Boot SPL 2017.09 (Sep

Re: [U-Boot] help with serial on the rockchip64

2019-09-24 Thread Sergio de Almeida Lenzi
Em ter, 2019-09-24 às 18:08 -0400, Simon South escreveu: > This is output from Rockchip's binary-only loader, which always resets the > UART speed to 1.5Mbps. But it should be running before > the U-Boot SPL, not after it. I use NetBSD-9 and pkgsrc to build the u-boot The NetBSD builds a fat32

Re: [U-Boot] [PATCH v2 4/6] dfu: mmc: remove file size limit for io operations

2019-09-24 Thread Lukasz Majewski
Hi Marek, > Add support for operations on files larger than > CONFIG_SYS_DFU_MAX_FILE_SIZE. The buffered io mechanism is still used > for aggregating io requests, so for files up to > CONFIG_SYS_DFU_MAX_FILE_SIZE nothing is changed and they will be > handled in a single filesystem call. >

Re: [U-Boot] [PATCH v2 3/6] dfu: mmc: rearrange the code

2019-09-24 Thread Lukasz Majewski
Hi Marek, > Rename functions for bufferred file io operations to make them easier > to understand. Also add missing file offset argument to them > (currently unused). All this is a preparation to remove predefined > file size limit (CONFIG_SYS_DFU_MAX_FILE_SIZE) for DFU read/write > operations.

Re: [U-Boot] [PATCH V2 2/2] core: device: use dev_power_domain_on

2019-09-24 Thread Peng Fan
Hi Lokesh, > Subject: Re: [PATCH V2 2/2] core: device: use dev_power_domain_on > > > > On 17/09/19 2:59 PM, Peng Fan wrote: > > When multiple power domains attached to a device, need power on them > > all, so use dev_power_domain_on to do that. > > > > Signed-off-by: Peng Fan > > --- > > > >

Re: [U-Boot] envtools with tools-only_defconfig fails to build after v2019.10-rc1

2019-09-24 Thread Joe Hershberger
On Tue, Sep 24, 2019 at 3:45 PM Tom Rini wrote: > > On Tue, Sep 24, 2019 at 08:29:51PM +, Joe Hershberger wrote: > > Hi Tom, > > > > On Tue, Sep 24, 2019 at 2:52 PM Tom Rini wrote: > > > > > > On Tue, Sep 24, 2019 at 01:15:34PM +0200, Pierre-Jean Texier wrote: > > > > Hi Vagrant, > > > > > >

Re: [U-Boot] armv7: ls102xa: Fix endianness of SCFG_SPARECR8

2019-09-24 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Monday, September 16, 2019 1:31 PM >To: albert.u.b...@aribaud.net; Ran Wang ; York Sun > >Cc: u-boot@lists.denx.de >Subject: [U-Boot] armv7: ls102xa: Fix endianness of SCFG_SPARECR8 Fix endianness means fixing endianness but

Re: [U-Boot] [PATCH V2 2/2] core: device: use dev_power_domain_on

2019-09-24 Thread Lokesh Vutla
Hi Peng, On 25/09/19 6:56 AM, Peng Fan wrote: > Hi Lokesh, > >> Subject: Re: [PATCH V2 2/2] core: device: use dev_power_domain_on >> >> >> >> On 17/09/19 2:59 PM, Peng Fan wrote: >>> When multiple power domains attached to a device, need power on them >>> all, so use dev_power_domain_on to do

Re: [U-Boot] [PATCH v2] armv8: ls1028a: add more personalities support

2019-09-24 Thread Andy Tang
Hi Priyanka, Please see my reply inline. > -Original Message- > From: Priyanka Jain > Sent: 2019年9月25日 13:05 > To: Andy Tang ; Priyanka Jain > Cc: Andy Tang ; u-boot@lists.denx.de > Subject: RE: [U-Boot] [PATCH v2] armv8: ls1028a: add more personalities > support > > > >

Re: [U-Boot] [v2,2/2] armv7: ls102xa: not power down OCRAM1

2019-09-24 Thread Priyanka Jain
>-Original Message- >From: Biwen Li >Sent: Tuesday, September 24, 2019 12:49 PM >To: albert.u.b...@aribaud.net; Prabhakar X >; Rajesh Bhagat ; >Priyanka Jain ; Ran Wang ; >Leo Li ; Jagdish Gediya >Cc: u-boot@lists.denx.de; Biwen Li >Subject: [v2,2/2] armv7: ls102xa: not power down

Re: [U-Boot] [PATCH v1] armv8: fsl-layerscape: LS1044A/1048A: enable Only 1x 10GE port

2019-09-24 Thread Priyanka Jain
>-Original Message- >From: Pramod Kumar >Sent: Wednesday, September 18, 2019 4:52 PM >To: u-boot@lists.denx.de >Cc: York Sun ; Jagdish Gediya >; Priyanka Jain ; Pramod >Kumar >Subject: [PATCH v1] armv8: fsl-layerscape: LS1044A/1048A: enable Only 1x >10GE port > >LS1044A/1048A is LS1088

Re: [U-Boot] [RFC 06/15] secure boot: rename CONFIG_SECURE_BOOT

2019-09-24 Thread Priyanka Jain
>-Original Message- >From: Stefano Babic >Sent: Thursday, September 19, 2019 8:40 PM >To: Tom Rini ; AKASHI Takahiro >; Priyanka Jain ; >Stefano Babic >Cc: xypron.g...@gmx.de; ag...@csgraf.de; u-boot@lists.denx.de >Subject: Re: [U-Boot] [RFC 06/15] secure boot: rename

Re: [U-Boot] [v2, 1/2] armv7: ls102xa: add errata ID A-008646 for workaround

2019-09-24 Thread Priyanka Jain
>-Original Message- >From: Biwen Li >Sent: Tuesday, September 24, 2019 12:49 PM >To: albert.u.b...@aribaud.net; Prabhakar X >; Rajesh Bhagat ; >Priyanka Jain ; Ran Wang ; >Leo Li ; Jagdish Gediya >Cc: u-boot@lists.denx.de; Biwen Li >Subject: [v2,1/2] armv7: ls102xa: add errata ID

Re: [U-Boot] [PATCH v2] armv8: ls1028a: add more personalities support

2019-09-24 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Yuantian Tang >Sent: Wednesday, September 18, 2019 2:21 PM >To: Prabhakar Kushwaha >Cc: Andy Tang ; u-boot@lists.denx.de >Subject: [U-Boot] [PATCH v2] armv8: ls1028a: add more personalities support > Please update subject to be more

Re: [U-Boot] [PATCH v2] armv8: ls1028a: add more personalities support

2019-09-24 Thread Priyanka Jain
>-Original Message- >From: Andy Tang >Sent: Wednesday, September 25, 2019 11:06 AM >To: Priyanka Jain >Cc: u-boot@lists.denx.de >Subject: RE: [U-Boot] [PATCH v2] armv8: ls1028a: add more personalities >support > >Hi Priyanka, > >Please see my reply inline. > >> -Original