Re: [U-Boot] [PATCH v3 033/108] x86: power: Add an ACPI PMC uclass

2019-11-01 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > Intel x86 SoCs have a power manager/controller which handles several > power-related aspects of the platform. Add a uclass for this, with a few > useful operations. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Rename power-mgr

Re: [U-Boot] [PATCH v3 032/108] x86: Quieten TPL's jump_to_image_no_args()

2019-11-01 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > We already a message indicating that U-Boot is about to jump to SPL, so > make this one a debug() to reduce code size. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > > arch/x86/lib/tpl.c | 2 +- > 1 fil

Re: [U-Boot] [PATCH v3 031/108] x86: Don't print CPU info in TPL

2019-11-01 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > We don't need to do this and it is done (in more detail) in U-Boot proper. > Drop this to save code space. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > > arch/x86/lib/tpl.c | 5 - > 1 file changed

[U-Boot] [PATCH] configs: Rename roc-rk3399-pc -> roc-pc-rk3399 defconfig

2019-11-01 Thread Jagan Teki
roc-rk3399-pc_defconfig is committed in below commit <8a681f4c5aa15db51ad0209734859c9fe7c29cfd> ("rockchip: rk3399: Add ROC-RK3399-PC support") which doesn't follow the existing defconfigs on rk3399. So, rename as followed with other rk3399 defconfigs. Cc: Levin Du Signed-off-by: Jagan Teki -

Re: [U-Boot] [PATCH v3 014/108] spi: Add support for memory-mapped flash

2019-11-01 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:33 AM Simon Glass wrote: > > On x86 platforms the SPI flash can be mapped into memory so that the > contents can be read with normal memory accesses. > > Add a new SPI method to find the location of the SPI flash in memory. This > differs from the existing device-tree "m

Re: [U-Boot] [PATCH v3 013/108] x86: spi: Add helper functions for Intel Fast SPI

2019-11-01 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:33 AM Simon Glass wrote: > > Most x86 CPUs use a mechanism where the SPI flash is mapped into the very > top of 32-bit address space, so that it can be executed in place and read > simply by copying from memory. For an 8MB ROM the mapping starts at > 0xff80. > > Howe

Re: [U-Boot] [PATCH] buildman: Fix problem with non-existent output directories

2019-11-01 Thread Bin Meng
On Sat, Nov 2, 2019 at 5:48 AM Tom Rini wrote: > > Now that we have buildman telling genboards.cfg to use an output > directory we need to ensure that it exists. > > Cc: Bin Meng > Cc: Simon Glass > Fixes: bc750bca1246 ("tools: buildman: Honor output directory when generating > boards.cfg") > S

Re: [U-Boot] Please pull u-boot-video

2019-11-01 Thread Anatolij Gustschin
On Fri, 1 Nov 2019 17:48:27 -0400 Tom Rini tr...@konsulko.com wrote: ... > > https://gitlab.denx.de/u-boot/custodians/u-boot-video.git > > tags/video-for-2020.01-rc1 > > Can you please check your project settings? I think there's something > set such that this is private, not public, and I h

Re: [U-Boot] [PATCH 21/30] liebherr: Drop duplicate dm.h inclusion

2019-11-01 Thread Lukasz Majewski
On Sun, 27 Oct 2019 09:54:01 -0600 Simon Glass wrote: > We only need to include this header once. Drop the duplicate. > > Signed-off-by: Simon Glass > --- > > board/liebherr/display5/display5.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/board/liebherr/display5/display5.c > b/boa

Re: [U-Boot] [PATCH] azure: Update the script to prepend PATH not override PATH

2019-11-01 Thread Tom Rini
On Fri, Nov 01, 2019 at 02:55:33PM -0400, Tom Rini wrote: > Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace > it") we need to prepend the PATH with our additional binaries and not > replace the value fully as doing so breaks virtualenv. > > Signed-off-by: Tom Rini Appli

Re: [U-Boot] [PATCH 0/3] arm: dts: ti: sync cpsw/mdio/phy with latest linux 1 - drop phy_id

2019-11-01 Thread Tom Rini
On Fri, Nov 01, 2019 at 10:05:04PM +0530, Lokesh Vutla wrote: > Tom, > > On 04/09/19 2:08 PM, Lokesh Vutla wrote: > > > > > > On 31/08/19 1:00 PM, Grygorii Strashko wrote: > >> Synchronize CPSW/MDIO/PHY DT nodes with latest linux - replace deprecated > >> phy_id property with phy-handle. > > >

Re: [U-Boot] Please pull u-boot-video

2019-11-01 Thread Tom Rini
On Thu, Oct 31, 2019 at 02:35:03PM +0100, Anatolij Gustschin wrote: > Hi Tom, > > please pull this build issue fix. gitlab CI and Travis builds were okay. > > Travis-CI: https://travis-ci.org/vdsao/u-boot-video/builds/605380757 > > Thanks, > Anatolij > > The following changes since commit 4123

Re: [U-Boot] Pull request for UEFI sub-system for efi-2020-01-rc2

2019-11-01 Thread Tom Rini
On Thu, Oct 31, 2019 at 05:46:42PM +0100, Heinrich Schuchardt wrote: > The following changes since commit ffc379b42c85466e1dd4c8fee8268801f26d2ab8: > > Merge tag 'mips-pull-2019-10-25' of git://git.denx.de/u-boot-mips > (2019-10-25 20:07:24 -0400) > > are available in the Git repository at: >

Re: [U-Boot] Please pull u-boot-dm

2019-11-01 Thread Tom Rini
On Tue, Oct 29, 2019 at 05:35:08PM -0600, Simon Glass wrote: > Hi Tom, > > Test results here: > > https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/1131 > > > The following changes since commit ffc379b42c85466e1dd4c8fee8268801f26d2ab8: > > Merge tag 'mips-pull-2019-10-25' of git:

[U-Boot] [PATCH] buildman: Fix problem with non-existent output directories

2019-11-01 Thread Tom Rini
Now that we have buildman telling genboards.cfg to use an output directory we need to ensure that it exists. Cc: Bin Meng Cc: Simon Glass Fixes: bc750bca1246 ("tools: buildman: Honor output directory when generating boards.cfg") Signed-off-by: Tom Rini --- tools/buildman/control.py | 2 ++ 1

[U-Boot] [PATCH] azure: Update the script to prepend PATH not override PATH

2019-11-01 Thread Tom Rini
Similar to 90d3d78a1c68 ("gitlab-ci: Prepend to PATH rather than replace it") we need to prepend the PATH with our additional binaries and not replace the value fully as doing so breaks virtualenv. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [U-Boot] [PATCH] azure: Update for python3 and current pytest

2019-11-01 Thread Tom Rini
On Fri, Nov 01, 2019 at 09:33:49AM -0400, Tom Rini wrote: > On Fri, Nov 01, 2019 at 09:33:23AM -0400, Tom Rini wrote: > > > Similar to the rework for GitLab-CI and Travis-CI, rework the Azure > > Pipeline to use python3 and requirements.txt to install the necessary > > modules. > > > > Signed-off

Re: [U-Boot] [PATCH v2 0/6] net: ti: set of fixes and improvements

2019-11-01 Thread Lokesh Vutla
On 01/11/19 10:07 PM, Lokesh Vutla wrote: > Joe, Tom, > > On 19/09/19 1:46 PM, Grygorii Strashko wrote: >> Hi All, >> >> This series introduces set of fixes and improvements for TI CPSW and AM654x >> CPSW networking drivers. >> >> Patch 1 - Enables support of 10Mbit link speeds for TI CPSW drive

Re: [U-Boot] [PATCH v2 0/6] net: ti: set of fixes and improvements

2019-11-01 Thread Lokesh Vutla
Joe, Tom, On 19/09/19 1:46 PM, Grygorii Strashko wrote: > Hi All, > > This series introduces set of fixes and improvements for TI CPSW and AM654x > CPSW networking drivers. > > Patch 1 - Enables support of 10Mbit link speeds for TI CPSW driver. > Patch 3 - Adds support of standard Ethernet "max-

Re: [U-Boot] [PATCH 0/3] arm: dts: ti: sync cpsw/mdio/phy with latest linux 1 - drop phy_id

2019-11-01 Thread Lokesh Vutla
Tom, On 04/09/19 2:08 PM, Lokesh Vutla wrote: > > > On 31/08/19 1:00 PM, Grygorii Strashko wrote: >> Synchronize CPSW/MDIO/PHY DT nodes with latest linux - replace deprecated >> phy_id property with phy-handle. > > For the series: > Reviewed-by: Lokesh Vutla It's been there for long time and

Re: [U-Boot] [RFC PATCH 00/29] arm: Introduce Marvell/Cavium OcteonTX

2019-11-01 Thread Tim Harvey
On Thu, Oct 31, 2019 at 3:42 PM Suneel Garapati wrote: > > > > > > > > > > > > I was able to functionally test mmc/i2c/gpio/pci/nic(BGX/RGX) and they > > > > were all functioning well. > > > > > > > > When I enable SATA I find that it crashes on init: > > > > GW6300-D1> sata info > > > > Target s

[U-Boot] Please pull ARC fixes for v2020.01-rc2

2019-11-01 Thread Alexey Brodkin
Hi Tom, The following changes since commit 82679624f9aa6d1be733c46f3555d5166b6f5b72: Merge branch '2019-10-30-master-imports' (2019-11-01 09:23:21 -0400) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-boot-arc.git tags/arc-fixes-for-2020.01-rc2 for you to

[U-Boot] [PATCH v3 3/5] net: mdio-uclass: Add helper functions for scanning the MDIO bus

2019-11-01 Thread Alex Marginean
The patch introduces dm_mdio_phy_scan which is a DM wrapper over phy_find_by_mask. It also updates dm_eth_phy_connect to scan a MDIO bus for PHYs if the ethernet node contains a mdio-handle property. Signed-off-by: Alex Marginean --- include/miiphy.h | 14 net/mdio-uclass.c | 57 +

[U-Boot] [PATCH v3 1/5] net: mdio-uclass: rename arguments of dm_mdio_phy_connect for clarity

2019-11-01 Thread Alex Marginean
Renamed dm_mdio_phy_connect arguments dev to mdiodev and addr to phyaddr for a bit more clarity and consistency with the following patches. Also use NULL instead of 0 on error return path. Signed-off-by: Alex Marginean --- include/miiphy.h | 6 +++--- net/mdio-uclass.c | 10 +- 2 files

[U-Boot] [PATCH v3 5/5] drivers: net: fsl_enetc: use the new MDIO DM helper functions

2019-11-01 Thread Alex Marginean
Uses the new dm_eth_phy_connect helper to connect to the PHY to simplify the code. Signed-off-by: Alex Marginean --- drivers/net/fsl_enetc.c | 52 +++-- drivers/net/fsl_enetc.h | 1 + 2 files changed, 10 insertions(+), 43 deletions(-) diff --git a/drivers/ne

[U-Boot] [PATCH v3 4/5] doc: bindings: add mdio-handle property to ethernet nodes

2019-11-01 Thread Alex Marginean
Adds an optional mdio-handle property which identifies a MDIO bus which can be scanned to find the relevant PHY. The property is ignored if phy-handle is also present. Signed-off-by: Alex Marginean --- doc/device-tree-bindings/net/ethernet.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH] azure: Update for python3 and current pytest

2019-11-01 Thread Tom Rini
Similar to the rework for GitLab-CI and Travis-CI, rework the Azure Pipeline to use python3 and requirements.txt to install the necessary modules. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.azure-pipelines.yml

[U-Boot] [PATCH v3 0/5] Add helper function for linking a DM Eth device to a PHY

2019-11-01 Thread Alex Marginean
The patch set introduces dm_eth_phy_connect which takes in an ethernet device and uses DT information to find the associated PHY and connect the Ethernet interface to it. This should simplify similar code in ethernet drivers. A new binding is introduced for scanning an MDIO bus, useful if the bus

Re: [U-Boot] [PATCH] Makefile: Fix printing problem in size_check on overflow

2019-11-01 Thread Tom Rini
On Wed, Oct 23, 2019 at 03:39:41PM -0400, Tom Rini wrote: > When we have an excess size growth, fix the "limit" printf call to pass > in just the limit variable rather than the string bytes to the format > character. > > Signed-off-by: Tom Rini > Reviewed-by: Simon Goldschmidt Applied to u-boo

Re: [U-Boot] [PATCH] gpio: da8xx_gpio: Fix the _gpio_direction_output function

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 01:52:28PM +0530, Keerthy wrote: > _gpio_direction_output function currently calls gpio_set_value > with the wrong gpio number. gpio_set_value in the uclass driver > expects a different gpio number and the _gpio_direction_output > is currently providing the number specific

Re: [U-Boot] [PATCH] dts: Kconfig: Fix help for SPL_OF_CONTROL

2019-11-01 Thread Tom Rini
On Tue, Oct 22, 2019 at 11:50:19AM -0300, Walter Lozano wrote: > As initially this feature was implemented as a negative CONFIG and > later it was redesigned to be positive the help text should be > updated to reflect this change. > > This commit updates the help text to match the current impleme

[U-Boot] [PATCH v3 2/5] net: mdio-uclass: add dm_eth_phy_connect helper function

2019-11-01 Thread Alex Marginean
The function connects an ethernet device to a PHY using DT information. This API is only available for eth devices with an associated device tree node. Signed-off-by: Alex Marginean --- include/miiphy.h | 12 net/mdio-uclass.c | 72 +++ 2 fil

Re: [U-Boot] [PATCHv3 10/13] test/py: Rework test.py to be a different kind of wrapper

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:25AM -0400, Tom Rini wrote: > Now that we have moved to being based on pytest for python3 we need to > make our test.py wrapper more robust in terms of only calling python3 > rather than possibly finding and using python2. To do this, change from > execvp()'ing pytes

Re: [U-Boot] [PATCH] azure: Update for python3 and current pytest

2019-11-01 Thread Tom Rini
On Fri, Nov 01, 2019 at 09:33:23AM -0400, Tom Rini wrote: > Similar to the rework for GitLab-CI and Travis-CI, rework the Azure > Pipeline to use python3 and requirements.txt to install the necessary > modules. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.a

Re: [U-Boot] [PATCHv3 03/13] test/py: Split mark to multiple lines

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:18AM -0400, Tom Rini wrote: > We inconsistently note multiple dependencies today in our tests, > sometimes with a single line that declares multiple and sometimes > multiple single lines. Current pytest seems to fail on the single line > format so change to multiple

Re: [U-Boot] [PATCH v2 2/2] test: provide test for errno_str()

2019-11-01 Thread Tom Rini
On Tue, Oct 15, 2019 at 09:46:04PM +0200, Heinrich Schuchardt wrote: > Provide a unit test for errno_str(). Test that known and unknown error > numbers are handled correctly. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signatur

Re: [U-Boot] [PATCH 1/1] lib: errno: avoid error format-overflow

2019-11-01 Thread Tom Rini
On Sun, Oct 06, 2019 at 01:58:57PM +0200, Heinrich Schuchardt wrote: > In cmd/regulator.c an error occurs with GCC 9.2.1 if CONFIG_ERRNO_STR is > not defined: > > cmd/regulator.c: In function ‘failure’: > cmd/regulator.c:20:2: error: ‘%s’ directive argument is null > [-Werror=format-overflow=] >

Re: [U-Boot] [RFC/RFT U-Boot PATCH] image: Add Image.gz parsing support in booti.

2019-11-01 Thread David Abdurachmanov
On Fri, Oct 11, 2019 at 12:23 AM Atish Patra wrote: > > Add gz parsing logic so that booti can parse both Image > and Image.gz to boot Linux. Currently, it is difficult to calculate > a safe address for every board where the Image.gz can be decompressed. > It is also not possible to figure out the

Re: [U-Boot] [PATCH] dts: fix MULTI_DTB_FIT compression choice prompt

2019-11-01 Thread Tom Rini
On Mon, Oct 07, 2019 at 03:05:47PM +0300, Baruch Siach wrote: > This choice is not about SPL for which we have a separate choice. > > Fixes: 95f4bbd581 ("lib: fdt: Allow LZO and GZIP DT compression in U-Boot") > Cc: Marek Vasut > Signed-off-by: Baruch Siach Applied to u-boot/master, thanks! -

Re: [U-Boot] [PATCHv3 08/13] test/py: test_efi_selftest.py: Updates for python 3 support

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:23AM -0400, Tom Rini wrote: > - In python 3 you must use raw strings for regex as other forms are > deprecated and would require further changes to the pattern here. > In one case this lets us have a simpler match pattern. > - As strings are now Unicode our comple

Re: [U-Boot] [PATCH 1/1] lib: errno: sync error codes

2019-11-01 Thread Tom Rini
On Sun, Oct 06, 2019 at 01:22:21PM +0200, Heinrich Schuchardt wrote: > Macro ERRNO_MSG() ignores the error number but we should still use the same > constants as in include/linux/errno.h. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [U-Boot] [PATCHv3 07/13] test/py: test_ut.py: Ensure we use bytes

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:22AM -0400, Tom Rini wrote: > In the case of some unit tests we are working with providing a fake > flash device that we have written some text strings in to. In this case > we want to tell Python to encode things to bytes for us. > > Reviewed-by: Stephen Warren >

Re: [U-Boot] [PATCHv3 13/13] test/py: Use raw strings more to avoid deprecation warnings

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:28AM -0400, Tom Rini wrote: > We have two further uses of raw string usage in the test/py codebase > that are used under CI. The first of which is under the bind test and > is a direct update. The second of which is to strip VT100 codes from > the match buffer. Whi

Re: [U-Boot] [PATCHv3 04/13] test/py: Fix pytest4 deprecation warnings

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:19AM -0400, Tom Rini wrote: > From: Marek Vasut > > Fix the following spit from pytest: > > u-boot/test/py/conftest.py:438: RemovedInPytest4Warning: MarkInfo objects are > deprecated as they contain merged marks which are hard to deal with correctly. > Please us

Re: [U-Boot] [PATCH v2 1/2] lib: errno: check for unsupported error number

2019-11-01 Thread Tom Rini
On Tue, Oct 15, 2019 at 09:46:03PM +0200, Heinrich Schuchardt wrote: > If errno_str() is called with an unsupported error number, do not return a > random pointer but a reasonable text. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCHv3 11/13] test/py: Update docs, add requirements.txt for pip

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:26AM -0400, Tom Rini wrote: > To be more closely aligned with Python community best practices, we need > to better document our usage of pip and make use of a requirements.txt > file that shows the versions of the tools that we are using. This will > aide in ensuring

Re: [U-Boot] [PATCH] lib: time: Add microsecond timer

2019-11-01 Thread Tom Rini
On Tue, Oct 15, 2019 at 10:43:41PM +0200, Marek Vasut wrote: > Add get_timer_us(), which is useful e.g. when we need higher > precision timestamps. > > Signed-off-by: Marek Vasut > Cc: Tom Rini > Cc: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signa

Re: [U-Boot] [PATCH] nvme: flush dcache on both r/w, and the prp list

2019-11-01 Thread Tom Rini
On Wed, Oct 16, 2019 at 11:22:50PM +0200, Patrick Wildt wrote: > It's possible that the data cache for the buffer still holds data > to be flushed to memory, since the buffer was probably used as stack > before. Thus we need to make sure to flush it also on reads, since > it's possible that the c

Re: [U-Boot] [PATCH v2] NVMe: do PCI enumerate before nvme scan

2019-11-01 Thread Tom Rini
On Thu, Oct 03, 2019 at 11:10:57AM +0200, Patrick Wildt wrote: > Make sure that the PCI busses are enumerated before trying to > find a NVMe device. > > Signed-off-by: Patrick Wildt > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH 2/2] tiny-printf: Support vsnprintf()

2019-11-01 Thread Tom Rini
On Wed, Oct 02, 2019 at 10:55:07AM -0400, Simon South wrote: > Add a simple implementation of this function, to allow logging to be > enabled in the SPL or TPL for systems that rely on the tiny printf() > implementation. > > To keep the code size small, > > - The function is built only when logg

Re: [U-Boot] [PATCHv3 09/13] test/py: Update test_fs to decode check_output calls

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:24AM -0400, Tom Rini wrote: > The check_output function from the subprocess Python module by default > returns data as encoded bytes and leaves decoding to the application. > Given our uses of the call, it makes the most sense to immediately > decode the results. > >

Re: [U-Boot] [PATCH 1/1] disk: part_dos: correctly detect DOS PBR

2019-11-01 Thread Tom Rini
On Tue, Oct 15, 2019 at 08:43:42PM +0200, Heinrich Schuchardt wrote: > The signature 0x55 0xAA in bytes 510 and 511 of the first sector can either > indicate a DOS partition table of the first sector of a FAT file system. > > The current code tries to check if the partition table is valid by look

Re: [U-Boot] [PATCH v2] cmd: avb: Support A/B slots

2019-11-01 Thread Tom Rini
On Mon, Oct 21, 2019 at 01:55:16PM +0300, Sam Protsenko wrote: > Add optional parameter to 'avb verify' sub-command, so that user is able > to specify which slot to use, in case when user's partitions are > slotted. If that parameter is omitted, the behavior of 'avb verify' will > be the same as b

Re: [U-Boot] [PATCH 1/1] virtio: pci: use correct type in virtio_pci_bind()

2019-11-01 Thread Tom Rini
On Wed, Oct 16, 2019 at 12:59:49PM +0200, Heinrich Schuchardt wrote: > For printing as %u we should use an unsigned int. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCHv3 02/13] gitlab-ci: Prepend to PATH rather than replace it

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:17AM -0400, Tom Rini wrote: > Currently we set the entire PATH rather than prepend the new paths that > we need to have searched. This however breaks parts of the "virtualenv" > that was have set up and need to use as that also will be modifying > PATH. To fix this,

Re: [U-Boot] [PATCH v3] ata: ahci allow 64-bit DMA for SATA

2019-11-01 Thread Tom Rini
On Mon, Oct 14, 2019 at 11:21:09AM +0200, Roman Kapl wrote: > Allow 64-bit DMA on AHCI. If not supported by the host controller, at > least print a message and fail. > > Signed-off-by: Roman Kapl Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCHv3 12/13] gitlab/travis: Rework how and when we use virtualenv in order to use python3

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:27AM -0400, Tom Rini wrote: > As things stand today, we have tools that CI requires where "python" > must be "python2". We need to use a virtualenv and pip in order to > ensure that our pytest tests can be run. Rework things slightly so > that: > - On Travis-CI, we

Re: [U-Boot] [PATCH 1/1] checkpatch.pl: update from Linux kernel v5.4-rc3

2019-11-01 Thread Tom Rini
On Sat, Oct 19, 2019 at 09:06:38AM +0200, Heinrich Schuchardt wrote: > Update from upstream. > > Just minor changes like checking that the author has also done a sign-off. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signatu

Re: [U-Boot] [PATCHv3 01/13] gitlab-ci: Fix indentation in some stanzas

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:16AM -0400, Tom Rini wrote: > In a number of our stanzas we had multi-line commands that were one > space short of alignment, correct this. > > Reviewed-by: Stephen Warren > Reviewed-by: Simon Glass > Tested-by: Stephen Warren > Signed-off-by: Tom Rini Applied t

Re: [U-Boot] [PATCHv3 06/13] test/py: Manual python3 fixes

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:21AM -0400, Tom Rini wrote: > - Modern pytest is more visible in telling us about parameters that we > had not described, so describe a few more. > - ConfigParser.readfp(...) is now configparser.read_file(...) > - As part of the "strings vs bytes" conversions in Pyt

Re: [U-Boot] [PATCHv3 05/13] test/py: Automated conversion to Python 3

2019-11-01 Thread Tom Rini
On Thu, Oct 24, 2019 at 11:59:20AM -0400, Tom Rini wrote: > Use the 2to3 tool to perform numerous automatic conversions from Python > 2 syntax to Python 3. Also fix whitespace problems that Python 3 > catches that Python 2 did not. > > Reviewed-by: Stephen Warren > Reviewed-by: Simon Glass > T

Re: [U-Boot] [PATCH] mkimage: Set correct FDT type and ramdisk architecture in FIT auto mode

2019-11-01 Thread Tom Rini
On Fri, Sep 13, 2019 at 12:43:12PM +0200, Michal Sojka wrote: > From: Michal Sojka > > When running the following command > > mkimage -f auto -A arm -O linux -T kernel -C none -a 0x8000 -e 0x8000 \ > -d zImage -b zynq-microzed.dtb -i initramfs.cpio image.ub > > the type of fdt

Re: [U-Boot] [PATCH v2] nvme: use page-aligned buffer for identify command

2019-11-01 Thread Tom Rini
On Wed, Oct 16, 2019 at 08:42:04AM +0200, Patrick Wildt wrote: > Change the stack-allocated buffer for the identification command > to explicitly allocate page-aligned buffers. Even though the spec > seems to allow having admin queue commands on non page-aligned > buffers, it seems to not be poss

Re: [U-Boot] [PATCH 2/2] libavb: Fix build warnings after updating the lib

2019-11-01 Thread Tom Rini
On Thu, Aug 15, 2019 at 11:04:03PM +0300, Sam Protsenko wrote: > After updating libavb to most recent version from AOSP/master, two new > warnings appear: > > Warning #1: > > lib/libavb/avb_cmdline.c: In function 'avb_append_options': > lib/libavb/avb_cmdline.c:365:15: warning: 'dm_verit

Re: [U-Boot] [PATCH] drivers: phy: Handle gracefully NULL pointers

2019-11-01 Thread Tom Rini
On Tue, Oct 01, 2019 at 02:03:26PM +0200, Jean-Jacques Hiblot wrote: > For some controllers PHYs can be optional. Handling NULL pointers without > crashing nor failing, makes it easy to handle optional PHYs. > > Signed-off-by: Jean-Jacques Hiblot Applied to u-boot/master, thanks! -- Tom sig

Re: [U-Boot] [PATCH] linux_compat: fix potential NULL pointer access

2019-11-01 Thread Tom Rini
On Wed, Oct 02, 2019 at 02:37:20PM +0200, Marek Szyprowski wrote: > malloc_cache_aligned() might return zero, so fix potential NULL pointer > access if __GFP_ZERO flag is set. > > Signed-off-by: Marek Szyprowski > Reviewed-by: Ralph Siemsen Applied to u-boot/master, thanks! -- Tom signatur

Re: [U-Boot] [PATCH 1/2] common: Kconfig: Fix typo in TPL_LOG_CONSOLE description

2019-11-01 Thread Tom Rini
On Wed, Oct 02, 2019 at 10:55:06AM -0400, Simon South wrote: > Signed-off-by: Simon South Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/

Re: [U-Boot] [PATCH 1/2] libavb: Update libavb to current AOSP master

2019-11-01 Thread Tom Rini
On Thu, Aug 15, 2019 at 11:04:02PM +0300, Sam Protsenko wrote: > Update libavb to commit 5fbb42a189aa in AOSP/master, because new version > has support for super partition [1], which we need for implementing > Android dynamic partitions. All changes from previous patches for libavb > in U-Boot are

Re: [U-Boot] [PATCH v2] cmd: avb: Fix requested partitions list

2019-11-01 Thread Tom Rini
On Thu, Aug 15, 2019 at 08:49:47PM +0300, Sam Protsenko wrote: > The requested_partitions[] array should contain only boot partitions. > Usually it's only 'boot' partition, as can be seen in [1]. Also, seems > like the requested_partitions[] are only used when there is no 'vbmeta' > partition [2],

Re: [U-Boot] [RFC/RFT U-Boot PATCH] image: Add Image.gz parsing support in booti.

2019-11-01 Thread Tom Rini
On Thu, Oct 10, 2019 at 02:23:17PM -0700, Atish Patra wrote: > Add gz parsing logic so that booti can parse both Image > and Image.gz to boot Linux. Currently, it is difficult to calculate > a safe address for every board where the Image.gz can be decompressed. > It is also not possible to figure

Re: [U-Boot] required host packages on Travis CI

2019-11-01 Thread Tom Rini
On Fri, Nov 01, 2019 at 02:34:35PM +0900, AKASHI Takahiro wrote: > Tom, > > On Wed, Oct 30, 2019 at 07:17:29AM -0400, Tom Rini wrote: > > On Wed, Oct 30, 2019 at 03:30:58PM +0900, AKASHI Takahiro wrote: > > > > > Hi Tom, > > > > > > In test/py/README.md, all the required host packages and their

[U-Boot] [PATCH] gitattributes: dont treat non-text files as text

2019-11-01 Thread Veeraiyan Chidambaram
From: Vignesh Rajendran With recent update in u-boot gitattributes all files are treated regular text files. This creates problems with special files and repo always shows uncommited files like below Your branch is up-to-date with 'origin/master'. Changes not staged for commit: (use "git add .

Re: [U-Boot] [RFC PATCH 0/5] WIP Add support for i.MXRT family

2019-11-01 Thread Fabio Estevam
Hi Giulio, On Wed, Oct 30, 2019 at 6:09 PM Giulio Benetti wrote: > > This patchset is a WIP for adding i.MXRT family. > It provides: > - soc family entry > - pinctrl driver > - serial driver tweaking > - partial sdram controller driver > - imxrt1050-evk board partial support Where do you store t

Re: [U-Boot] [RFC PATCH 5/5] Add support for the NXP IMXRT1050-EVK board

2019-11-01 Thread Fabio Estevam
Hi Giulio, On Wed, Oct 30, 2019 at 6:09 PM Giulio Benetti wrote: Please add a commit log that briefly describes the board. > > Signed-off-by: Giulio Benetti > --- > arch/arm/dts/Makefile | 2 + > arch/arm/dts/imxrt1050-evk.dts| 124 > arch/ar

[U-Boot] [PATCH 2/2] configs: ls1028a: enable CMD_DM

2019-11-01 Thread Alex Marginean
Since at least some of the drivers relevant to LS1028A are now following DM, it's useful to have dm command enabled by default. Signed-off-by: Alex Marginean --- configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1028aqds_tfa_defconfig | 1 + configs/ls1028ardb_tfa_SECURE_

[U-Boot] [PATCH 1/2] configs: ls1028a: Resync with savedefconfig

2019-11-01 Thread Alex Marginean
Replace ls1028a defconfig files with the output of savedefconfig Signed-off-by: Alex Marginean --- configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 2 -- configs/ls1028aqds_tfa_defconfig | 2 -- configs/ls1028ardb_tfa_SECURE_BOOT_defconfig | 2 -- configs/ls1028ardb_tfa_defconfig

[U-Boot] [PATCH] video: mxsfb: Configure the clock after eLCDIF reset

2019-11-01 Thread Fabio Estevam
Running stress reboot test on a i.MX6ULL evk board with a custom LCD can lead to splash screen failure (black screen). After comparing the eLCDIF initialization with the Linux kernel driver, it was noticed that the eLCDIF reset is the first operation that needs to be done. So do like the eLCDIF L

[U-Boot] [PATCH v2 7/8] pci: layerscape: Move streamId allocation to common device tree fixup

2019-11-01 Thread Wasim Khan
Move streamId allocation to layerscape common device tree fixup. Calculate streamId based on SoC variant. Signed-off-by: Wasim Khan --- Changes in v2:None drivers/pci/pcie_layerscape_fixup.c| 16 drivers/pci/pcie_layerscape_fixup_common.c | 24

[U-Boot] [PATCH v2 8/8] pci: layerscape: device tree fixup based on SoC and Version

2019-11-01 Thread Wasim Khan
lx2-rev1 requires layerscape_gen4 device tree fixup and lx2-rev2 requires layerscape device tree fixup. Add device tree fixup for lx2 based on SoC and Version. Signed-off-by: Wasim Khan --- Changes in v2: Updated patch description based on Priyanka Jain review comments drivers/pci/pcie_layer

[U-Boot] [PATCH v2 4/8] pci: layerscape_gen4: Suffix API names with _ls_gen4

2019-11-01 Thread Wasim Khan
Update API names for layerscape gen4 fixup. Suffix layerscape_gen4 fixup API names with _ls_gen4. This is required to organize device tree fixup in common, layerscape and layerscape_gen4 specific code. Signed-off-by: Wasim Khan --- Changes in v2: Updated patch subject and description based on P

[U-Boot] [PATCH v2 5/8] armv8: lx2160a: Add FSL_PEX_STREAM_ID_END for LX2160A

2019-11-01 Thread Wasim Khan
Add FSL_PEX_STREAM_ID_END and remove FSL_PEX_STREAM_ID_NUM for lx2160a. Signed-off-by: Wasim Khan --- Changes in v2: Revomed user of FSL_PEX_STREAM_ID_NUM macro arch/arm/include/asm/arch-fsl-layerscape/stream_id_lsch3.h | 8 +++- drivers/pci/pcie_layerscape_gen4_fixup.c

[U-Boot] [PATCH v2 2/8] pci: layerscape: Add stream_id_cur field to ls_pcie structure

2019-11-01 Thread Wasim Khan
Add stream_id_cur field to ls_pcie structure and initialize it with 0 for all pcie controllers. This field will be used for streamId calculation. Signed-off-by: Wasim Khan --- Changes in v2: Updated copyright drivers/pci/pcie_layerscape.c | 3 ++- drivers/pci/pcie_layerscape.h | 3 ++- 2 file

[U-Boot] [PATCH v2 6/8] pci: layerscape: Common device tree fixup for NXP SoCs

2019-11-01 Thread Wasim Khan
Add Common device tree fixup for NXP SoCs. Based on SoC and revision call pcie_layerscape or pcie_layerscape_gen4 fixup. Signed-off-by: Wasim Khan --- Changes in v2 Ported changes to latest codebase. Added Author for the new files. configs/lx2160aqds_tfa_defconfig | 1 + configs/l

[U-Boot] [PATCH v2 3/8] pci: layerscape: Suffix API names with _ls

2019-11-01 Thread Wasim Khan
Suffix layerscape fixup API names with _ls. This is required to organize device tree fixup in common, layerscape and layerscape_gen4 specific code. Signed-off-by: Wasim Khan --- Changes in v2: Updated patch subject and description based on Priyanka Jain review comments Updated NXP copyright

[U-Boot] [PATCH v2 1/8] drivers/pci : enable pcie_layerscape code for lx2-rev2

2019-11-01 Thread Wasim Khan
lx2-rev1 uses pcie_layerscape_gen4 driver and lx2-rev2 uses pcie_layerscape driver. Enable pcie_layerscape code for CONFIG_PCIE_LAYERSCAPE_GEN4. Based on SoC and revision pcie controller probe will be invoked. Signed-off-by: Wasim Khan --- Changes in v2: Updated patch subject and description ba

[U-Boot] [PATCH v2 0/8] Enablement of PCIe controller for lx2-rev2

2019-11-01 Thread Wasim Khan
lx2-rev1 PCIe controller uses pcie_layerscape_gen4 driver and lx2-rev2 PCIe controller uses pcie_layerscape driver. This patch set enables support for lx2-rev2 and uses pcie_layerscape or pcie_layerscape_gen4 driver based on SoC. Also organize the device tree fixup in common, layerscape and layers