[U-Boot] [BUG] simple-bus and rsa-sw with DM_FLAG_PRE_RELOC

2019-05-14 Thread AKASHI Takahiro
As of v2019.07-rc1, u-boot does fail to boot without any messages on qemu-arm64 when configured with qemu_arm64_defconfig plus CONFIG_RSA/RSA_SOFTWARE_EXP. (Note that RSA_SOFTWARE_EXP also declares itself with DM_FLAG_PRE_RELOC.) By bisecting between v2019.04 and v2019.07, I found that the

Re: [U-Boot] [PATCH 2/2] watchdog: imx: Add DM support

2019-05-14 Thread Peng Fan
> Subject: [U-Boot] [PATCH 2/2] watchdog: imx: Add DM support > > Add DM and DT probing support to iMX watchdog driver. This should allow > boards to move over to this driver, enable SYSRESET_WATCHDOG to handle > cpu_reset() if required. > > Signed-off-by: Marek Vasut > Cc: Peng Fan > Cc:

Re: [U-Boot] [PATCH 1/2] watchdog: Split WDT from SPL_WDT

2019-05-14 Thread Peng Fan
> Subject: [U-Boot] [PATCH 1/2] watchdog: Split WDT from SPL_WDT > > Use CONFIG_IS_ENABLED(WDT) to permit use of WDT in SPL without DM, > while the full U-Boot can use rich DM/DT WDT driver. > > Signed-off-by: Marek Vasut > Cc: Peng Fan > Cc: Stefano Babic > --- > common/board_r.c

[U-Boot] [PATCH v2] drivers: net: mc: Report extra memory to Linux

2019-05-14 Thread Meenakshi Aggarwal
MC firmware need to be aligned to 512M, so minimum 512MB DDR is reserved. But MC support to work with 128MB or 256MB DDR memory also, in this case, rest of the memory is not usable. So reporting this extra memory to Linux through dtb memory fixup. Signed-off-by: Meenakshi Aggarwal ---

[U-Boot] [PATCH v2] cover letter for drivers: net: mc: Report extra memory to linux

2019-05-14 Thread Meenakshi Aggarwal
changes in different versions: v1 : Incorporated review comments in one board, Missed for other boards v2 : Incorporated review comments in all boards. Meenakshi Aggarwal (1): drivers: net: mc: Report extra memory to Linux board/freescale/ls1088a/ls1088a.c | 34

Re: [U-Boot] [PATCH 1/1] pci: pci_mvebu: fix bus enumeration if some buses have empty slots

2019-05-14 Thread Mario Six
Hi Marek, On Tue, May 14, 2019 at 5:12 PM Marek Behún wrote: > > The documentation for the uclass_next_device says this: > > @devp: On entry, pointer to device to lookup. On exit, returns pointer > to the next device in the uclass if no error occurred, or NULL if > there is no next device,

Re: [U-Boot] [PATCH v2 10/19] spi: mpc8xxx: Simplify logic a bit

2019-05-14 Thread Mario Six
On Tue, May 14, 2019 at 3:53 PM Jagan Teki wrote: > > On Thu, May 2, 2019 at 2:37 PM Joakim Tjernlund > wrote: > > > > On Thu, 2019-05-02 at 07:31 +0200, Mario Six wrote: > > > CAUTION: This email originated from outside of the organization. Do not > > > click links or open attachments unless

Re: [U-Boot] fit: Add support for printing more than one FPGA node name

2019-05-14 Thread Chee, Tien Fong
On Sat, 2019-04-27 at 10:43 -0400, Tom Rini wrote: > On Fri, Apr 26, 2019 at 06:12:40AM +, Chee, Tien Fong wrote: > > > > On Mon, 2019-04-22 at 13:29 -0400, Tom Rini wrote: > > > > > > On Wed, Feb 13, 2019 at 08:32:24PM +0800, tien.fong.c...@intel.co > > > m > > > wrote: > > > > > > > > >

[U-Boot] [PATCH v1] drivers: net: mc: Report extra memory to Linux

2019-05-14 Thread Meenakshi Aggarwal
MC firmware need to be aligned to 512M, so minimum 512MB DDR is reserved. But MC support to work with 128MB or 256MB DDR memory also, in this case, rest of the memory is not usable. So reporting this extra memory to Linux through dtb memory fixup. Signed-off-by: Meenakshi Aggarwal ---

Re: [U-Boot] [PATCH v3 1/2] fit: Support compression for non-kernel components (e.g. FDT)

2019-05-14 Thread Simon Glass
Hi Simon, On Tue, 14 May 2019 at 05:16, Simon Goldschmidt wrote: > > On Tue, May 14, 2019 at 12:55 PM Simon Glass wrote: > > > > Hi Julius, > > > > On Mon, 13 May 2019 at 19:13, Julius Werner wrote: > > > > > > > Is there a change log for this patch?I think we discussed having a test. > > > >

[U-Boot] [BUG] dm_extended_scan_fdt()

2019-05-14 Thread AKASHI Takahiro
This function, dm_extended_scan_fdt(), takes an argument, blob, but never uses it, instead uses gd->fdt_blob directly. -Takahiro Akashi ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v4 0/8] pico-imx7d: Add support for BL33 case

2019-05-14 Thread Jun Nie
Fabio, Any comments on this version? Best Regards Jun ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH 09/21] tools: dtoc: Open all binary files in binary mode

2019-05-14 Thread Simon Glass
Fix an open() statement to use binary mode, so that it works as expected with Python 3. Signed-off-by: Simon Glass --- tools/dtoc/fdt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dtoc/fdt.py b/tools/dtoc/fdt.py index 9ad72f89ec..031b3a0084 100644 ---

[U-Boot] [PATCH 21/21] patman: Don't require Python 2

2019-05-14 Thread Simon Glass
Update the shebang to allow either Python 2 or Python 3. Signed-off-by: Simon Glass --- tools/patman/patman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/patman.py b/tools/patman/patman.py index 27a2febf70..9605a36eff 100755 --- a/tools/patman/patman.py

[U-Boot] [PATCH 19/21] patman: Adjust functional tests for Python 3

2019-05-14 Thread Simon Glass
Change the code so that it works on both Python 2 and Python 3. This works by using unicode instead of latin1 for the test input, and ensuring that the output is converted to a string rather than a unicode object on Python 2. Signed-off-by: Simon Glass --- tools/patman/func_test.py | 25

[U-Boot] [PATCH 18/21] patman: Avoid unicode type in settings unit tests

2019-05-14 Thread Simon Glass
The unicode type does not exist in Python 3 and when displaying strings they do not have the 'u' prefix. Adjusts the settings unit tests to deal with this difference, by converting the comparison value to a string, thus dropping the 'u'. Signed-off-by: Simon Glass --- tools/patman/settings.py

[U-Boot] [PATCH 17/21] patman: Sort series output for repeatabily

2019-05-14 Thread Simon Glass
We use sets to produce the list of To and Cc lines for a series. This does not result in stable ordering of the recipients. Sort each list to ensure that the output is repeatable. This is necessary for tests. Signed-off-by: Simon Glass --- tools/patman/func_test.py | 12 ++--

[U-Boot] [PATCH 02/21] patman: Convert print statements to Python 3

2019-05-14 Thread Simon Glass
Update all print statements to be functions, as required by Python 3. Signed-off-by: Simon Glass --- tools/patman/func_test.py | 3 --- tools/patman/gitutil.py | 10 +- tools/patman/test_util.py | 16 +--- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git

[U-Boot] [PATCH 12/21] binman: Drop an unused input file

2019-05-14 Thread Simon Glass
Drop this line which is not used or needed. Signed-off-by: Simon Glass --- tools/binman/ftest.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index 4d96933cb4..e1fc9e8e9e 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@

[U-Boot] [PATCH 10/21] patman: Provide a way to get program output in binary mode

2019-05-14 Thread Simon Glass
At present cros_subprocess and the tools library use a string to obtain stdout from a program. This works fine on Python 2. With Python 3 we end up with unicode errors in some cases. Fix this by providing a binary mode, which returns the data as bytes() instead of a string. Signed-off-by: Simon

[U-Boot] [PATCH 14/21] Add a simple script to remove boards

2019-05-14 Thread Simon Glass
This script attempts to create a git commit which removes a single board. It is quite fallible and everything it does needs checking. But it can help speed up the process. Signed-off-by: Simon Glass --- tools/rmboard.py | 150 +++ 1 file changed, 150

[U-Boot] [PATCH 07/21] binman: Use items() instead of iteritems()

2019-05-14 Thread Simon Glass
Python 3 requires this, and Python 2 allows it. Convert the code over to ensure compatibility with Python 3. Signed-off-by: Simon Glass --- tools/binman/bsection.py | 2 +- tools/binman/control.py | 2 +- tools/binman/elf.py | 4 ++-- tools/binman/etype/gbb.py | 2 +-

[U-Boot] [PATCH 11/21] binman: Use binary mode when compressing data

2019-05-14 Thread Simon Glass
The lz4 utility inserts binary data in its output which cannot always be converted to unicode (nor should it be). Fix this by using the new binary mode for program output. Signed-off-by: Simon Glass --- tools/binman/etype/blob.py | 2 +- tools/binman/ftest.py | 2 +- 2 files changed, 2

[U-Boot] [PATCH 03/21] binman: Convert print statements to Python 3

2019-05-14 Thread Simon Glass
Update all print statements to be functions, as required by Python 3. Signed-off-by: Simon Glass --- tools/binman/binman.py | 14 -- tools/binman/control.py | 6 -- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/tools/binman/binman.py b/tools/binman/binman.py

[U-Boot] [PATCH 16/21] patman: Move unicode helpers to tools

2019-05-14 Thread Simon Glass
Create helper functions in the tools module to deal with the differences between unicode in Python 2 (where we use the 'unicode' type) and Python 3 (where we use the 'str' type). Signed-off-by: Simon Glass --- tools/patman/gitutil.py | 4 ++-- tools/patman/series.py | 3 ++-

[U-Boot] [PATCH 15/21] patman: Support use of stringIO in Python 3

2019-05-14 Thread Simon Glass
With Python 3 this class has moved. Update the code to handle both cases. Signed-off-by: Simon Glass --- tools/patman/func_test.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py index 31481157fc..2c4392dbc1 100644

[U-Boot] [PATCH 13/21] binman: Handle repeated bytes for Python 3

2019-05-14 Thread Simon Glass
The method of multiplying a character by a number works well for creating a repeated string in Python 2. But in Python 3 we need to use bytes() instead, to avoid unicode problems, since 'bytes' is no-longer just an alias of 'str'. Create a function to handle this detail and call it from the

[U-Boot] [PATCH 20/21] patman: Tidy up a few more unicode conversions

2019-05-14 Thread Simon Glass
Use the new functions in the tools module to handle conversion. Signed-off-by: Simon Glass --- tools/patman/gitutil.py | 4 +--- tools/patman/series.py | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tools/patman/gitutil.py b/tools/patman/gitutil.py index

[U-Boot] [PATCH 08/21] tools: binman: Open all binary files in binary mode

2019-05-14 Thread Simon Glass
At present some files are opened in text mode despite containing binary data. This works on Python 2 but not always on Python 3, due to unicode problems. BC are not my favourite people. Adjust the affected open() statements to use binary mode. Signed-off-by: Simon Glass ---

[U-Boot] [PATCH 05/21] binman: Remove use of Set()

2019-05-14 Thread Simon Glass
A new built-in set() is used in both Python 2 and 3 now. Move it to use that instead of Set(). Signed-off-by: Simon Glass --- tools/binman/bsection.py | 3 +-- tools/binman/entry.py| 5 ++--- tools/binman/state.py| 7 +++ 3 files changed, 6 insertions(+), 9 deletions(-) diff --git

[U-Boot] [PATCH 04/21] binman: Don't show errors for failed tests

2019-05-14 Thread Simon Glass
An unfortunate new feature in Python 3.5 causes binman to print errors for non-existent tests, when the test filter is used. Work around this by detecting the unwanted tests and removing them from the result. Signed-off-by: Simon Glass --- tools/binman/binman.py | 12 1 file

[U-Boot] [PATCH 06/21] patman: Use items() instead of iteritems()

2019-05-14 Thread Simon Glass
Python 3 requires this, and Python 2 allows it. Convert the code over to ensure compatibility with Python 3. Signed-off-by: Simon Glass --- tools/patman/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/settings.py b/tools/patman/settings.py index

[U-Boot] [PATCH 01/21] patman: Update cros_subprocess to use bytearray

2019-05-14 Thread Simon Glass
At present this function uses lists and strings. This does not work so well with Python 3, and testing against '' does not work for a bytearray. Update the code to fix these issues. Signed-off-by: Simon Glass --- tools/patman/cros_subprocess.py | 48 -

[U-Boot] [PATCH 00/21] patman: Update to support Python 3

2019-05-14 Thread Simon Glass
This series updates patman to support Python 3: - Avoid using 'unicode' type directly - Use items() instead of iteritems() - Make sure file I/O uses binary mode where necessary - Change print statements to functions - Use the built-in set() class - Fix up generation of repeated bytes A few

Re: [U-Boot] [PATCH 1/2] mtd: mxs_nand_spl: fix nand_command protocol violation

2019-05-14 Thread Andrea Scian - DAVE Embedded Systems
Hi Michael, On 14/05/19 20:44, Michael Nazzareno Trimarchi wrote: Hi all On Tue, Jan 29, 2019 at 3:40 PM Andrea Scian wrote: mxs_nand_command() implementation assume that it's working with a LP NAND, which is a common case nowadays and thus uses two bytes for column address. However this

Re: [U-Boot] [PATCH 3/7] warp7: include: configs: Differentiate bootscript address from loadaddr

2019-05-14 Thread Pierre-Jean Texier
Hi Bryan, Le 14/05/2019 à 00:13, Bryan O'Donoghue a écrit : On 09/05/2019 16:32, Bryan O'Donoghue wrote: On 08/05/2019 20:33, Pierre-Jean Texier wrote: Hi Bryan, Le 08/05/2019 à 20:14, Bryan O'Donoghue a écrit : Reusing the loadaddr to load the boot script breaks some of the logic we

Re: [U-Boot] net: rtl8169: Support RTL-8168h/8111h

2019-05-14 Thread Joe Hershberger
Hi Thierry, https://patchwork.ozlabs.org/patch/1086412/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] eth: mtk-eth: fix incorrect read of phy-handle

2019-05-14 Thread Joe Hershberger
Hi Weijie, https://patchwork.ozlabs.org/patch/1092185/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: rtl8169: Implement ->hwaddr_write() callback

2019-05-14 Thread Joe Hershberger
Hi Thierry, https://patchwork.ozlabs.org/patch/1086411/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] phy: ti: Init node before reading

2019-05-14 Thread Joe Hershberger
Hi Michal, https://patchwork.ozlabs.org/patch/1057355/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: micrel: Allow KSZ8xxx and KSZ90x1 to be used together

2019-05-14 Thread Joe Hershberger
Hi James, https://patchwork.ozlabs.org/patch/1052351/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] Pull request: u-boot-net.git master

2019-05-14 Thread Joe Hershberger
Hi Tom, Tested on Travis... https://travis-ci.org/jhershbe/u-boot/builds/531963238 The following changes since commit 90176e3be63802bc8630bab651d169993f0f0763: Merge tag 'efi-2019-07-rc3' of git://git.denx.de/u-boot-efi (2019-05-13 07:13:28 -0400) are available in the git repository at:

[U-Boot] [PATCH] Import include/android_bootloader_message.h from AOSP

2019-05-14 Thread Alex Deymo
This takes the latest changes from AOSP from the file bootloader_message/include/bootloader_message/bootloader_message.h in the repository https://android.googlesource.com/platform/bootable/recovery and re-licensed them to BSD-3 for U-Boot. Minimum local changes have been applied (convert C++ to

[U-Boot] [PATCH] tools: use read-only mmap in fit_check_sign

2019-05-14 Thread luca . boccassi
From: Luca Boccassi Add an option to open files in read-only mode in mmap_fdt so that fit_check_sign can be used to inspect files on read-only filesystems. For example, this is useful when a key is shipped in a read-only rootfs or squashfs. Signed-off-by: Luca Boccassi ---

Re: [U-Boot] [PATCH 1/2] mtd: mxs_nand_spl: fix nand_command protocol violation

2019-05-14 Thread Michael Nazzareno Trimarchi
Hi all On Tue, Jan 29, 2019 at 3:40 PM Andrea Scian wrote: > > mxs_nand_command() implementation assume that it's working with a > LP NAND, which is a common case nowadays and thus uses two bytes > for column address. > > However this is wrong for NAND_CMD_READID and NAND_CMD_PARAM, which >

[U-Boot] [PATCH] sun50i: h6: Fix Beelink GS1 board config

2019-05-14 Thread peron . clem
From: Clément Péron SPL_TEXT_BASE has been moved to Kconfig with commit: f89d6133ee configs: move CONFIG_SPL_TEXT_BASE to Kconfig But Beelink GS1 config file has been introduced in the same time without this modification. Fix this by settings the CONFIG_SPL_TEXT_BASE Suggested-by: Jonas

Re: [U-Boot] [PATCH 4/4] test/py: test_fs: add tests for creating/deleting many files

2019-05-14 Thread Heinrich Schuchardt
On 5/13/19 7:49 AM, AKASHI Takahiro wrote: Two test cases are added under test_fs_ext: test case 10: for root directory test case 11: for non-root directory When running `make tests` all of these tests seem to be skipped: test/py/tests/test_fs/test_basic.py

Re: [U-Boot] [PATCH] efi_loader: variable: attributes may not be changed if a variable exists

2019-05-14 Thread Heinrich Schuchardt
On 5/14/19 8:35 AM, Heinrich Schuchardt wrote: On 5/14/19 6:57 AM, AKASHI Takahiro wrote: If a variable already exists, efi_set_variable() should not change the variable's attributes. This patch enforces it. This behavior is mandated by UEFI spec 2.7. Reviewed-by: Heinrich Schuchardt This

Re: [U-Boot] [PATCH 4/8] spi: Kconfig: Mark MXS_SPI has BROKEN

2019-05-14 Thread Tom Rini
On Tue, May 14, 2019 at 07:41:07PM +0200, Marek Vasut wrote: > On 5/14/19 7:37 PM, Tom Rini wrote: > > On Tue, May 14, 2019 at 07:33:17PM +0200, Marek Vasut wrote: > >> On 5/14/19 4:45 PM, Tom Rini wrote: > >>> On Tue, May 14, 2019 at 07:46:06PM +0530, Jagan Teki wrote: > On Mon, Apr 29, 2019

[U-Boot] [PATCH] ARM: renesas: grpeach: Align env position

2019-05-14 Thread Marek Vasut
Move the U-Boot environment to 0x8 to match the downstream vendor fork and allow easy migration from one to the other. Signed-off-by: Marek Vasut Cc: Chris Brandt Cc: Nobuhiro Iwamatsu --- include/configs/grpeach.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 4/8] spi: Kconfig: Mark MXS_SPI has BROKEN

2019-05-14 Thread Marek Vasut
On 5/14/19 7:37 PM, Tom Rini wrote: > On Tue, May 14, 2019 at 07:33:17PM +0200, Marek Vasut wrote: >> On 5/14/19 4:45 PM, Tom Rini wrote: >>> On Tue, May 14, 2019 at 07:46:06PM +0530, Jagan Teki wrote: On Mon, Apr 29, 2019 at 4:54 PM Tom Rini wrote: > > On Mon, Apr 29, 2019 at

Re: [U-Boot] [PATCH 4/8] spi: Kconfig: Mark MXS_SPI has BROKEN

2019-05-14 Thread Tom Rini
On Tue, May 14, 2019 at 07:33:17PM +0200, Marek Vasut wrote: > On 5/14/19 4:45 PM, Tom Rini wrote: > > On Tue, May 14, 2019 at 07:46:06PM +0530, Jagan Teki wrote: > >> On Mon, Apr 29, 2019 at 4:54 PM Tom Rini wrote: > >>> > >>> On Mon, Apr 29, 2019 at 01:06:57PM +0200, Marek Vasut wrote: >

Re: [U-Boot] [PATCH 4/8] spi: Kconfig: Mark MXS_SPI has BROKEN

2019-05-14 Thread Marek Vasut
On 5/14/19 4:45 PM, Tom Rini wrote: > On Tue, May 14, 2019 at 07:46:06PM +0530, Jagan Teki wrote: >> On Mon, Apr 29, 2019 at 4:54 PM Tom Rini wrote: >>> >>> On Mon, Apr 29, 2019 at 01:06:57PM +0200, Marek Vasut wrote: On 4/29/19 1:02 PM, Jagan Teki wrote: > On Mon, Apr 29, 2019 at 4:28

Re: [U-Boot] [PATCH 3/4] fs: fat: allocate a new cluster for root directory of fat32

2019-05-14 Thread Heinrich Schuchardt
On 5/13/19 7:49 AM, AKASHI Takahiro wrote: Contrary to fat12/16, fat32 can have root directory at any location and its size can be expanded. Without this patch, root directory won't grow properly and so we will eventually fail to add files under root directory. Please note that this can happen

Re: [U-Boot] [PATCH 2/4] fs: fat: flush a directory cluster properly

2019-05-14 Thread Heinrich Schuchardt
On 5/13/19 7:49 AM, AKASHI Takahiro wrote: When a long name directory entry is created, multiple directory entries may be occupied across a directory cluster boundary. Since only one directory cluster is cached in a directory iterator, a first cluster must be written back to device before

Re: [U-Boot] [PATCH 1/4] fs: fat: write to non-cluster-aligned root directory

2019-05-14 Thread Heinrich Schuchardt
On 5/13/19 7:49 AM, AKASHI Takahiro wrote: With the commit below, fat now correctly handles a file read under a non-cluster-aligned root directory of fat12/16. Write operation should be fixed in the same manner. Fixes: commit 9b18358dc05d ("fs: fat: fix reading non-cluster-aligned root

Re: [U-Boot] [PATCH v3 02/10] spi: Add Atmel QuadSPI driver

2019-05-14 Thread Tudor.Ambarus
On 05/14/2019 01:26 PM, Tudor Ambarus - M18064 wrote: > From: Tudor Ambarus > > Backport the driver from linux v5.1-rc5 and adapt it for u-boot. > Tested on sama5d2_xplained Rev B with mx25l25635e spi-nor flash. > > Signed-off-by: Tudor Ambarus > --- > v3: no change > v2: no change > >

Re: [U-Boot] sun50i: a64: Beelink GS1 box is likely broken

2019-05-14 Thread Clément Péron
Hi Jonas, On Tue, 14 May 2019 at 17:41, Jonas Smedegaard wrote: > > I notice that the patch to initially support Beelink GS1 was proposed > before git commit f89d613 changing location of CONFIG_SPL_TEXT_BASE but > was applied _after_ that commit. > > This is similar to the introduction of Olimex

Re: [U-Boot] [PATCH 2/3] sysreset: move stm32mp sysreset poweroff implementation to sysreset uclass

2019-05-14 Thread Patrice CHOTARD
Hi Urja This patch doesn't compile using the stm32mp15_trusted_defconfig configuration: ... LD drivers/pinctrl/built-in.o LD drivers/core/built-in.o LD drivers/mmc/built-in.o LD drivers/built-in.o drivers/sysreset/built-in.o: In function `do_poweroff':

Re: [U-Boot] [PATCH v3 1/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-05-14 Thread Michal Simek
On 14. 05. 19 8:06, Luca Ceresoli wrote: > Hi Michal, All, > > On 07/05/19 16:11, Luca Ceresoli wrote: >> Hi, >> >> On 06/05/19 17:56, Michal Simek wrote: >>> Hi, >>> >>> snip. >>> >> +$(obj)/pm_cfg_obj.o: $(obj)/pm_cfg_obj.bin >> + >> +CFLAGS_zynqmp.o += -DZYNQMP_LOAD_PM_CFG_OBJ

[U-Boot] sun50i: a64: Beelink GS1 box is likely broken

2019-05-14 Thread Jonas Smedegaard
I notice that the patch to initially support Beelink GS1 was proposed before git commit f89d613 changing location of CONFIG_SPL_TEXT_BASE but was applied _after_ that commit. This is similar to the introduction of Olimex Teres-I which currently succeed to build but the resulting code is

Re: [U-Boot] [PATCH 1/1] pci: pci_mvebu: fix bus enumeration if some buses have empty slots

2019-05-14 Thread Marek Behún
The documentation for the uclass_next_device says this: @devp: On entry, pointer to device to lookup. On exit, returns pointer to the next device in the uclass if no error occurred, or NULL if there is no next device, or an error occurred with that next device. But this is useless, because

Re: [U-Boot] [linux-sunxi] [PATCH v3 3/3] arm: sunxi: h6: fix reset using r_wdog

2019-05-14 Thread Clément Péron
Hi Jagan, On Tue, 14 May 2019 at 15:49, Jagan Teki wrote: > > On Wed, Apr 17, 2019 at 11:11 PM Clément Péron wrote: > > > > WDOG is broken for some H6 rev. The board is not > > reseted correctly. > > > > Use the R_WDOG instead. > > Can you describe the proper issue why it broken? this would

Re: [U-Boot] [PATCH 1/1] pci: pci_mvebu: fix bus enumeration if some buses have empty slots

2019-05-14 Thread Marek Behún
On Tue, 14 May 2019 16:58:59 +0200 Marek Behún wrote: > The ofdata_to_platdata method for this driver returns -ENODEV if link > is down for a given bus, for example if there is no device in the > slot. This causes the uclass_{first,next}_device to return NULL for > this bus in

Re: [U-Boot] [PATCH v3 1/2] arm64: zynqmp: spl: install a PMU firmware config object at runtime

2019-05-14 Thread Luca Ceresoli
Hi Michal, All, On 07/05/19 16:11, Luca Ceresoli wrote: > Hi, > > On 06/05/19 17:56, Michal Simek wrote: >> Hi, >> >> snip. >> > +$(obj)/pm_cfg_obj.o: $(obj)/pm_cfg_obj.bin > + > +CFLAGS_zynqmp.o += -DZYNQMP_LOAD_PM_CFG_OBJ I am no fan of passing another object. you have

[U-Boot] [PULL] u-boot-stm32 for v2019.07​ (round 3)​

2019-05-14 Thread Patrice CHOTARD
Hi Tom Please find the pull request for STM32 round 3 The following changes since commit a69120a0d7c8d4044cdaceea9eb03913ba4e49c7: Prepare v2019.07-rc1 (2019-04-29 21:54:04 -0400) are available in the git repository at: https://github.com/pchotard/u-boot.git tags/u-boot-stm32-mcu-20190514

[U-Boot] [PATCH 1/1] pci: pci_mvebu: fix bus enumeration if some buses have empty slots

2019-05-14 Thread Marek Behún
The ofdata_to_platdata method for this driver returns -ENODEV if link is down for a given bus, for example if there is no device in the slot. This causes the uclass_{first,next}_device to return NULL for this bus in pci-uclass.c:pci_init, which of course stops probing of buses which come after.

Re: [U-Boot] [PATCH 2/2] opos6uldev: remove board_ehci_hcd_init function

2019-05-14 Thread Sébastien Szymanski
Hi Fabio, On 5/14/19 2:17 PM, Fabio Estevam wrote: > On Tue, May 14, 2019 at 8:48 AM Sébastien Szymanski > wrote: >> >> It's useless on the opos6uldev. Remove it. > > Why is it useless? No USB host on this port? There is an USB host port but this function was just setting the polarity of the

[U-Boot] [PATCH] sun50i: a64: Fix broken A64-Teres-I board config

2019-05-14 Thread Jonas Smedegaard
Set CONFIG_SPL_TEXT_BASE in teres_i_defconfig (see commit f89d6133ee) Tested-by: Jonas Smedegaard Signed-off-by: Jonas Smedegaard --- configs/teres_i_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/teres_i_defconfig b/configs/teres_i_defconfig index

Re: [U-Boot] [PATCH 4/8] spi: Kconfig: Mark MXS_SPI has BROKEN

2019-05-14 Thread Tom Rini
On Tue, May 14, 2019 at 07:46:06PM +0530, Jagan Teki wrote: > On Mon, Apr 29, 2019 at 4:54 PM Tom Rini wrote: > > > > On Mon, Apr 29, 2019 at 01:06:57PM +0200, Marek Vasut wrote: > > > On 4/29/19 1:02 PM, Jagan Teki wrote: > > > > On Mon, Apr 29, 2019 at 4:28 PM Marek Vasut wrote: > > > >> > > >

Re: [U-Boot] [PATCH 4/8] spi: Kconfig: Mark MXS_SPI has BROKEN

2019-05-14 Thread Jagan Teki
On Mon, Apr 29, 2019 at 4:54 PM Tom Rini wrote: > > On Mon, Apr 29, 2019 at 01:06:57PM +0200, Marek Vasut wrote: > > On 4/29/19 1:02 PM, Jagan Teki wrote: > > > On Mon, Apr 29, 2019 at 4:28 PM Marek Vasut wrote: > > >> > > >> On 4/29/19 12:40 PM, Jagan Teki wrote: > > >>> On Mon, Apr 29, 2019 at

Re: [U-Boot] [PATCH 00/11] dm: Removal of some boards due to DM_MMC deadline

2019-05-14 Thread Tom Rini
On Sun, May 12, 2019 at 01:03:33PM -0600, Simon Glass wrote: > Hi Tom, > > On Sat, 11 May 2019 at 13:36, Tom Rini wrote: > > > > + Peng, the new MMC maintainer > > > > On Sat, May 11, 2019 at 01:23:45PM -0600, Simon Glass wrote: > > > > > This series starts the process of removing boards which

Re: [U-Boot] [PATCH 00/11] dm: Removal of some boards due to DM_MMC deadline

2019-05-14 Thread Tom Rini
On Sun, May 12, 2019 at 02:08:14PM -0600, Simon Glass wrote: > Hi Tom, > > On Sun, 12 May 2019 at 13:03, Simon Glass wrote: > > > > Hi Tom, > > > > On Sat, 11 May 2019 at 13:36, Tom Rini wrote: > > > > > > + Peng, the new MMC maintainer > > > > > > On Sat, May 11, 2019 at 01:23:45PM -0600,

Re: [U-Boot] Pull request for UEFI sub-system for v2019.07-rc3

2019-05-14 Thread Tom Rini
On Mon, May 13, 2019 at 08:05:34AM +0200, Heinrich Schuchardt wrote: > The following changes since commit 82da478b8f8ed41ed8bdbd0269da36ef6aaef7e8: > > Merge branch '2019-05-10-master-imports' (2019-05-10 11:08:48 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] [PULL] u-boot-socfpga/master

2019-05-14 Thread Tom Rini
On Sun, May 12, 2019 at 01:56:20AM +0200, Marek Vasut wrote: > A10 FPGA programming support, Gen5 livetree conversion > > The following changes since commit 82da478b8f8ed41ed8bdbd0269da36ef6aaef7e8: > > Merge branch '2019-05-10-master-imports' (2019-05-10 11:08:48 -0400) > > are available in

Re: [U-Boot] [PULL] u-boot-sh/master

2019-05-14 Thread Tom Rini
On Sun, May 12, 2019 at 01:54:15AM +0200, Marek Vasut wrote: > SH2, SH3 removal > > The following changes since commit 82da478b8f8ed41ed8bdbd0269da36ef6aaef7e8: > > Merge branch '2019-05-10-master-imports' (2019-05-10 11:08:48 -0400) > > are available in the Git repository at: > >

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

2019-05-14 Thread Ley Foon Tan
On Tue, May 14, 2019 at 9:55 PM Marek Vasut wrote: > > On 5/14/19 3:52 PM, Ley Foon Tan wrote: > > On Tue, May 14, 2019 at 9:47 PM Marek Vasut wrote: > >> > >> On 5/14/19 7:47 AM, Ley Foon Tan wrote: > >>> On Fri, May 10, 2019 at 8:17 PM Marek Vasut wrote: > > On 5/10/19 7:54 AM, Ley

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

2019-05-14 Thread Marek Vasut
On 5/14/19 3:52 PM, Ley Foon Tan wrote: > On Tue, May 14, 2019 at 9:47 PM Marek Vasut wrote: >> >> On 5/14/19 7:47 AM, Ley Foon Tan wrote: >>> On Fri, May 10, 2019 at 8:17 PM Marek Vasut wrote: On 5/10/19 7:54 AM, Ley Foon Tan wrote: > Move Stratix10 and Agilex system manager

Re: [U-Boot] [PATCH v2 10/19] spi: mpc8xxx: Simplify logic a bit

2019-05-14 Thread Jagan Teki
On Thu, May 2, 2019 at 2:37 PM Joakim Tjernlund wrote: > > On Thu, 2019-05-02 at 07:31 +0200, Mario Six wrote: > > CAUTION: This email originated from outside of the organization. Do not > > click links or open attachments unless you recognize the sender and know > > the content is safe. > > >

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

2019-05-14 Thread Ley Foon Tan
On Tue, May 14, 2019 at 9:47 PM Marek Vasut wrote: > > On 5/14/19 7:47 AM, Ley Foon Tan wrote: > > On Fri, May 10, 2019 at 8:17 PM Marek Vasut wrote: > >> > >> On 5/10/19 7:54 AM, Ley Foon Tan wrote: > >>> Move Stratix10 and Agilex system manager common code to system_manager.h. > >>> > >>>

Re: [U-Boot] [linux-sunxi] [PATCH v3 3/3] arm: sunxi: h6: fix reset using r_wdog

2019-05-14 Thread Jagan Teki
On Wed, Apr 17, 2019 at 11:11 PM Clément Péron wrote: > > WDOG is broken for some H6 rev. The board is not > reseted correctly. > > Use the R_WDOG instead. Can you describe the proper issue why it broken? this would really help us to understand and future reference.

Re: [U-Boot] [linux-sunxi] Re: [PATCH v3 3/3] arm: sunxi: h6: fix reset using r_wdog

2019-05-14 Thread Jagan Teki
On Mon, May 13, 2019 at 2:58 AM Clément Péron wrote: > > On Sun, 12 May 2019 at 20:23, Jagan Teki wrote: > > > > On Fri, Apr 19, 2019 at 2:49 PM Clément Péron wrote: > > > > > > Hi, > > > > > > On Fri, 19 Apr 2019 at 10:24, Jagan Teki > > > wrote: > > > > > > > > On Fri, Apr 19, 2019 at 1:23

Re: [U-Boot] [PATCH 1/2] arm: socfpga: remove re-added ad-hoc reset code

2019-05-14 Thread Marek Vasut
On 5/13/19 9:16 PM, Simon Goldschmidt wrote: > commit c5de2b7eae68 ("arm: socfpga: implement proper peripheral reset") > has removed the call to 'reset_deassert_peripherals_handoff()' from > socfpga gen5 SPL since the reset driver now handles resets. However, > commit c1d4b464c8b8 ("ARM: socfpga:

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

2019-05-14 Thread Marek Vasut
On 5/14/19 7:47 AM, Ley Foon Tan wrote: > On Fri, May 10, 2019 at 8:17 PM Marek Vasut wrote: >> >> On 5/10/19 7:54 AM, Ley Foon Tan wrote: >>> Move Stratix10 and Agilex system manager common code to system_manager.h. >>> >>> Signed-off-by: Ley Foon Tan >> >> This becomes quite a bit of ifdeffery

Re: [U-Boot] [PATCH v2] arm: socfpga: Re-add support for Aries MCV SoM and MCVEV[KP] board

2019-05-14 Thread Marek Vasut
On 5/12/19 7:25 PM, Wolfgang Grandegger wrote: > Re-add support for Aries Embedded MCV SoM, which is CycloneV based > and the associated MCVEVK and MCVEVP baseboard. The board can boot > from eMMC. Ethernet and USB is supported. > > The Aries Embedded boards have been removed with commit

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

2019-05-14 Thread Ley Foon Tan
On Tue, May 14, 2019 at 4:35 PM Simon Goldschmidt wrote: > > On Tue, May 14, 2019 at 8:08 AM Ley Foon Tan wrote: > > > > On Sat, May 11, 2019 at 2:28 AM Simon Goldschmidt > > wrote: > > > > > > Am 10.05.2019 um 07:54 schrieb Ley Foon Tan: > > > > Add reset manager support for Agilex. > > > > >

Re: [U-Boot] [PATCH 2/2] opos6uldev: remove board_ehci_hcd_init function

2019-05-14 Thread Fabio Estevam
On Tue, May 14, 2019 at 8:48 AM Sébastien Szymanski wrote: > > It's useless on the opos6uldev. Remove it. Why is it useless? No USB host on this port? Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/2] opos6uldev: don't call enable_lcdif_clock

2019-05-14 Thread Fabio Estevam
On Tue, May 14, 2019 at 8:47 AM Sébastien Szymanski wrote: > > The mxsfb driver already calls enable_lcdif_clock. > > Signed-off-by: Sébastien Szymanski Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/1] opos6ul: set REFSEL and REFR fields

2019-05-14 Thread Fabio Estevam
On Tue, May 14, 2019 at 8:33 AM Sébastien Szymanski wrote: > > Signed-off-by: Sébastien Szymanski Please ask a commit log explaining why you are doing this. Thanks ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH 2/2] opos6uldev: remove board_ehci_hcd_init function

2019-05-14 Thread Sébastien Szymanski
It's useless on the opos6uldev. Remove it. Signed-off-by: Sébastien Szymanski --- board/armadeus/opos6uldev/board.c | 21 - 1 file changed, 21 deletions(-) diff --git a/board/armadeus/opos6uldev/board.c b/board/armadeus/opos6uldev/board.c index aed334f8fb..cbf40d5c4a

[U-Boot] [PATCH 1/2] opos6uldev: don't call enable_lcdif_clock

2019-05-14 Thread Sébastien Szymanski
The mxsfb driver already calls enable_lcdif_clock. Signed-off-by: Sébastien Szymanski --- board/armadeus/opos6uldev/board.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/armadeus/opos6uldev/board.c b/board/armadeus/opos6uldev/board.c index 4faa997126..aed334f8fb 100644 ---

[U-Boot] [PATCH 1/1] opos6ul: set REFSEL and REFR fields

2019-05-14 Thread Sébastien Szymanski
Signed-off-by: Sébastien Szymanski --- arch/arm/mach-imx/mx6/opos6ul.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-imx/mx6/opos6ul.c b/arch/arm/mach-imx/mx6/opos6ul.c index a578fd67db..55ebe3a624 100644 --- a/arch/arm/mach-imx/mx6/opos6ul.c +++

Re: [U-Boot] [PATCH v3 1/2] fit: Support compression for non-kernel components (e.g. FDT)

2019-05-14 Thread Simon Goldschmidt
On Tue, May 14, 2019 at 12:55 PM Simon Glass wrote: > > Hi Julius, > > On Mon, 13 May 2019 at 19:13, Julius Werner wrote: > > > > > Is there a change log for this patch?I think we discussed having a test. > > > > Sorry, forgot that. Is it okay if I just put it here or do you need me > > to

Re: [U-Boot] [v2, 0/5] Split fsl_esdhc driver for i.MX

2019-05-14 Thread Y.b. Lu
Hi Peng, Sorry. I missed this email. I almost forget it. I'm ok to create a new esdhc driver for either i.mx or qoriq. The reason I used esdhc-imx.c is to align with linux. (sdhci-of-esdhc.c/sdhci-esdhc-imx.c) Do you want to rework the patches creating qoriq esdhc driver. Thanks a lot. Best

Re: [U-Boot] [PATCH v3 2/2] fit: Support compat string property in configuration node

2019-05-14 Thread Simon Glass
Hi Julius, On Mon, 13 May 2019 at 19:15, Julius Werner wrote: > > > Can you please add a change log, as this is a v3 patch. > > I didn't change anything in this one. (Should I have not called it v3 > then? Sorry, I'm not familiar with the submission process here. I > thought letting the

Re: [U-Boot] [PATCH v3 1/2] fit: Support compression for non-kernel components (e.g. FDT)

2019-05-14 Thread Simon Glass
Hi Julius, On Mon, 13 May 2019 at 19:13, Julius Werner wrote: > > > Is there a change log for this patch?I think we discussed having a test. > > Sorry, forgot that. Is it okay if I just put it here or do you need me > to resend a v4? I think it should be a v4 so it looks right in patchwork.

Re: [U-Boot] [PATCH] cmd: env: print a message when setting UEFI variable failed

2019-05-14 Thread Heinrich Schuchardt
On 5/14/19 10:08 AM, AKASHI Takahiro wrote: On Tue, May 14, 2019 at 08:21:55AM +0200, Heinrich Schuchardt wrote: On 5/14/19 6:58 AM, AKASHI Takahiro wrote: Error message will alert a user that setting/deleting a variable failed. Signed-off-by: AKASHI Takahiro --- cmd/nvedit_efi.c | 10

Re: [U-Boot] [PATCH v3 2/2] regulator: bd718x7: support ROHM BD71837 and BD71847 PMICs

2019-05-14 Thread Simon Glass
Hi Matti, > On Mon, 2019-05-06 at 21:51 -0600, Simon Glass wrote: > > Hi Matti, > > > > On Thu, 25 Apr 2019 at 03:51, Matti Vaittinen > > wrote: > > > > > > BD71837 and BD71847 is PMIC intended for powering single-core, > > > dual-core, and quad-core SoC’s such as NXP-i.MX 8M. BD71847 > > > is

Re: [U-Boot] [PATCH v4 2/2] regulator: bd718x7: support ROHM BD71837 and BD71847 PMICs

2019-05-14 Thread Simon Glass
> BD71837 and BD71847 is PMIC intended for powering single-core, > dual-core, and quad-core SoC’s such as NXP-i.MX 8M. BD71847 > is used for example on NXP imx8mm EVK. > > Add regulator driver for ROHM BD71837 and BD71847 PMICs. > BD71837 contains 8 bucks and 7 LDOS. BD71847 is reduced > version

Re: [U-Boot] [PATCH] efi_loader: bootmgr: print a message when loading from BootNext failed

2019-05-14 Thread Heinrich Schuchardt
On 5/14/19 10:01 AM, AKASHI Takahiro wrote: On Tue, May 14, 2019 at 08:27:13AM +0200, Heinrich Schuchardt wrote: On 5/14/19 6:58 AM, AKASHI Takahiro wrote: If a user defines BootNext but not BootOrder and loading from BootNext fails, you will see only a message like this: BootOrder not

  1   2   >