Re: [U-Boot] [PATCH 3/3] test/py: add spi_flash tests

2018-03-04 Thread Michal Simek
On 1.3.2018 22:18, Stephen Warren wrote: > On 03/01/2018 04:48 AM, Liam Beguin wrote: >> On 1 March 2018 at 01:59, Michal Simek wrote: > ... >>> Also these randomized data/lengths were able to find out more issues >>> than fixed one. I was playing with that randomized test order and I see >>> that

Re: [U-Boot] [PATCH 0/3] add inital SF tests

2018-03-04 Thread Michal Simek
On 1.3.2018 22:22, Stephen Warren wrote: > On 02/27/2018 04:52 AM, Michal Simek wrote: >> On 27.2.2018 05:17, Liam Beguin wrote: >>> Hi all, >>> >>> This is the inital step to adding tests for the SF subsystem plus very >>> minor fixes. It is based on work I found on the mailing list[1]. >>> For no

Re: [U-Boot] [PATCH 1/1] sunxi: video: mark framebuffer as EFI reserved memory

2018-03-04 Thread Anatolij Gustschin
Hi Heinrich, On Sat, 3 Mar 2018 10:30:17 +0100 Heinrich Schuchardt xypron.g...@gmx.de wrote: > Inform the EFI subsystem that the framebuffer memory is reserved. > > Without the patch the AllocatePool boot service allocates memory from the > framebuffer which will will be overwritten by screen o

[U-Boot] [PATCH 1/1] MAINTAINERS: bring sections into alphabetic order

2018-03-04 Thread Heinrich Schuchardt
POWER should be after ONENAND Signed-off-by: Heinrich Schuchardt --- MAINTAINERS | 88 ++--- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index da799b551d9..bf10f3aad8a 100644 --- a/MAINTAINERS +

Re: [U-Boot] [PATCH] scripts/spelling.txt: Sync script with kernel 4.16-rc4

2018-03-04 Thread Heinrich Schuchardt
On 03/05/2018 02:55 AM, Fabio Estevam wrote: From: Fabio Estevam Keep spelling.txt in sync with the version from kernel 4.16-rc4. Signed-off-by: Fabio Estevam Reviewed-by: Heinrich Schuchardt --- scripts/spelling.txt | 37 + 1 file changed, 37 inserti

[U-Boot] [PATCH v2 4/7] test/py: README: add HOSTNAME to PYTHONPATH

2018-03-04 Thread Liam Beguin
As opposed to PATH, HOSTNAME is not appended to PYTHONPATH automatically. Lets add it to the examples to make it more obvious to new users. Signed-off-by: Liam Beguin --- test/py/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/py/README.md b/test/py/README.

[U-Boot] [PATCH v2 7/7] test/py: add spi_flash tests

2018-03-04 Thread Liam Beguin
Add basic tests for the spi_flash subsystem. Signed-off-by: Liam Beguin --- test/py/tests/test_sf.py | 223 +++ 1 file changed, 223 insertions(+) create mode 100644 test/py/tests/test_sf.py diff --git a/test/py/tests/test_sf.py b/test/py/tests/test_s

[U-Boot] [PATCH v2 6/7] test/py: add generic CRC32 function

2018-03-04 Thread Liam Beguin
Add a generic function which can be used to compute the CRC32 value of a region of RAM. Signed-off-by: Liam Beguin --- test/py/u_boot_utils.py | 23 +++ 1 file changed, 23 insertions(+) diff --git a/test/py/u_boot_utils.py b/test/py/u_boot_utils.py index 64584494e463..de9ee2

[U-Boot] [PATCH v2 2/7] cmd: sf: fix map_physmem check

2018-03-04 Thread Liam Beguin
Make sure 0x00 is a valid address to read to. If `addr` is 0x00 then map_physmem() will return 0 which should be a valid address. Signed-off-by: Liam Beguin --- cmd/sf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/sf.c b/cmd/sf.c index f971eec781cc..e7ff9a646208 10064

[U-Boot] [PATCH v2 3/7] test/py: README: fix typo

2018-03-04 Thread Liam Beguin
Fix a minor typo causing vim (and possibly other) to get confused with coloring. Signed-off-by: Liam Beguin --- test/py/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/README.md b/test/py/README.md index eefac377567a..000afce93c4a 100644 --- a/test/py/README

[U-Boot] [PATCH v2 5/7] test/py: do not import pytest multiple times

2018-03-04 Thread Liam Beguin
Signed-off-by: Liam Beguin --- test/py/u_boot_utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/test/py/u_boot_utils.py b/test/py/u_boot_utils.py index 9acb92ddc448..64584494e463 100644 --- a/test/py/u_boot_utils.py +++ b/test/py/u_boot_utils.py @@ -11,7 +11,6 @@ import os.path import

[U-Boot] [PATCH v2 0/8] add inital SF tests

2018-03-04 Thread Liam Beguin
Hi all, This is the inital step to adding tests for the SF subsystem plus very minor fixes. It is based on work I found on the mailing list[1]. For now, it doesn't do much but I plan on adding code to reset the flash to its initial state (based on an env flag) and more code to test the `sf protect

[U-Boot] [PATCH v2 1/7] spi: spi_flash: do not fail silently on bad user input

2018-03-04 Thread Liam Beguin
Make sure the user is notified instead of silently returning an error. Signed-off-by: Liam Beguin --- drivers/mtd/spi/spi_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index 294d9f9d79c6..2e61685d3ea4 100644

[U-Boot] [PATCH] scripts/spelling.txt: Sync script with kernel 4.16-rc4

2018-03-04 Thread Fabio Estevam
From: Fabio Estevam Keep spelling.txt in sync with the version from kernel 4.16-rc4. Signed-off-by: Fabio Estevam --- scripts/spelling.txt | 37 + 1 file changed, 37 insertions(+) diff --git a/scripts/spelling.txt b/scripts/spelling.txt index 400ef35..9a058

[U-Boot] uboot for ARRIA10 SoC

2018-03-04 Thread Spinelli, Claudio (Nokia - US/Murray Hill)
Hi, I am using Intel/Altera REF board: Arria 10 SoC development kit part number DK-SOC-10AS066S-A. I am using Altera/Intel tools to generate an uboot image which include the devictree.dts and it is build with mkpimage. Has anybody ported the Altera/Intel Arria 10Soc to the open source uboot an

Re: [U-Boot] Default boot arguments in case of missing FDT

2018-03-04 Thread Udit agarwal
I found here that if, fdt pointer is missing, by default bd_info will be passed. Can/How can I override this, to pass my own default FDT? On Sun, Mar 4, 2018 at 12:57 PM, Udit agarwal wrote: > Hi all, > I need to implement a check on whether user

[U-Boot] Default boot arguments in case of missing FDT

2018-03-04 Thread Udit agarwal
Hi all, I need to implement a check on whether user provided a valid FDT or not(on beagle bone Black). So, - First, what is the default value(if any) of FDT pointer passed on via uboot to kernel? - Is there a option to set/customize the default FDT pointer value? Regard, Udit agarwal __

Re: [U-Boot] [PATCH v3 13/20] Revert: arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0

2018-03-04 Thread Emmanuel Vadot
On Fri, 2 Mar 2018 16:24:22 + Andre Przywara wrote: > Hi, > > On 02/03/18 15:58, Maxime Ripard wrote: > > On Fri, Mar 02, 2018 at 12:56:52AM +, Andre Przywara wrote: > >> Linux kernels before 4.12-rc1 don't know about the AXP803 PMIC, so can't > >> enable the MMC driver with the current

[U-Boot] [PATCH] ti_omap3_common: Add CONFIG_SYS_NS16550_COMx entries

2018-03-04 Thread Adam Ford
Several boards do not use the default UART3, so they do a check for ifdef CONFIG_SPL_BUILD and enable the pointer for CONFIG_SYS_NS16550_COMx to point to OMAP34XX_UARTx. Let's consoldate this all into one place, and remove them from the individual boards. Signed-off-by: Adam Ford diff --git a/i

[U-Boot] [PATCH] Configs: various: remove dead defines

2018-03-04 Thread Adam Ford
CONFIG_SERIAL0-5 appears to be nothing by dead defines with no corresponding source. Let's remove this to cleanup the serial configs a bit Signed-off-by: Adam Ford diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h index b97a761..c774075 100644 --- a/include/configs/am

[U-Boot] Proper CONFIG_SPL_TEXT_BASE value for OMAP3

2018-03-04 Thread Adam Ford
ti_omap3_common.h defines CONFIG_SPL_TEXT_BASE to 0x40200800, however a significant number of omap3 boards un-define this and redefine it to 0x4020 Is there any reason, we couldn't just make ti_omap3_common.h define CONFIG_SPL_TEXT_BASE to 0x4020? (or better yet migrate to Kconfig and mak

[U-Boot] [PATCH] omap3_logic: Remove unnecessary undefs

2018-03-04 Thread Adam Ford
Due to evolution of the MMC driver and better support, let's remove unnecessary undefs. Signed-off-by: Adam Ford diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 6414383..7ffc4f7 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -18

[U-Boot] [PATCH] ti_armv7_omap: Remove comment remnant

2018-03-04 Thread Adam Ford
With the migration to Kconfig, the I2C block no longer exists in here. Let's clean up the comment. Signed-off-by: Adam Ford diff --git a/include/configs/ti_armv7_omap.h b/include/configs/ti_armv7_omap.h index 80d4476..9da6ea8 100644 --- a/include/configs/ti_armv7_omap.h +++ b/include/configs/ti_

Re: [U-Boot] [PATCH] MPC8315ERDB: Enable DHCP support

2018-03-04 Thread Fabio Estevam
Hi Marek, On Sun, Mar 4, 2018 at 3:17 PM, Marek Vasut wrote: > Enable DHCP support for this board. > > Signed-off-by: Marek Vasut > From: Ed Bartosh The From line should be the first one. Then a Signed-off-by tag from Ed should also be present, followed by yours. _

[U-Boot] [PATCH] MPC8315ERDB: Enable DHCP support

2018-03-04 Thread Marek Vasut
Enable DHCP support for this board. Signed-off-by: Marek Vasut From: Ed Bartosh Cc: Tom Rini --- NOTE: This patch is here just to get rid of extra patches in OE recipes. This is the last one we have pending there. --- configs/MPC8315ERDB_defconfig | 1 + 1 file changed, 1 insertion(+) d

Re: [U-Boot] [PATCH] libfdt: move headers to and

2018-03-04 Thread christophe leroy
Le 04/03/2018 à 17:20, Masahiro Yamada a écrit : Thomas reported U-Boot failed to build host tools if libfdt-devel package is installed because tools include libfdt headers from /usr/include/ instead of using internal ones. This commit moves the header code: include/libfdt.h -> incl

Re: [U-Boot] [PATCH v2 07/10] powerpc: mpc8xx: get rid of get_immr()

2018-03-04 Thread christophe leroy
Le 04/03/2018 à 15:51, Wolfgang Denk a écrit : Dear Christophe, In message <71a3900b-f61e-e9f8-c12a-5ec5aa142...@c-s.fr> you wrote: - immap_t __iomem *immap = (immap_t __iomem *)(immr & 0x); + immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; This is a total

Re: [U-Boot] [PATCH] mx6cuboxi: add support for detecting Revision 1.5 SoMs

2018-03-04 Thread Peter Robinson
On Sun, Mar 4, 2018 at 2:49 PM, Fabio Estevam wrote: > Hi Peter, > > [Adding Jon and Baruch] > > On Sun, Mar 4, 2018 at 10:36 AM, Peter Robinson wrote: >> Solid Run have a rev 1.5 SoM with different a different WiFi/BT module and >> some >> other changes. Their downstream commit 99e18b7f14 adds

Re: [U-Boot] [PATCH v2 07/10] powerpc: mpc8xx: get rid of get_immr()

2018-03-04 Thread Wolfgang Denk
Dear Christophe, In message <71a3900b-f61e-e9f8-c12a-5ec5aa142...@c-s.fr> you wrote: > > >> - immap_t __iomem *immap = (immap_t __iomem *)(immr & 0x); > >> + immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; > > > > This is a totally unrelated change, which additionally chan

Re: [U-Boot] [PATCH] mx6cuboxi: add support for detecting Revision 1.5 SoMs

2018-03-04 Thread Fabio Estevam
Hi Peter, [Adding Jon and Baruch] On Sun, Mar 4, 2018 at 10:36 AM, Peter Robinson wrote: > Solid Run have a rev 1.5 SoM with different a different WiFi/BT module and > some > other changes. Their downstream commit 99e18b7f14 adds support for detecting > this new SoM revision. This adds that sup

Re: [U-Boot] [PATCH] watchdog: omap_wdt: improve watchdog reset path

2018-03-04 Thread Ruslan Bilovol
On Thu, Mar 1, 2018 at 4:33 PM, Tom Rini wrote: > On Thu, Mar 01, 2018 at 04:10:44PM +0200, Ruslan Bilovol wrote: >> Hi Lukasz, >> >> On Thu, Mar 1, 2018 at 12:53 PM, Lukasz Majewski wrote: >> > Hi Ruslan, >> > >> >> Remove busy looping during watchdog reset. >> >> Each polling of W_PEND_WTGR bit

[U-Boot] [PATCH] mx6cuboxi: add support for detecting Revision 1.5 SoMs

2018-03-04 Thread Peter Robinson
Solid Run have a rev 1.5 SoM with different a different WiFi/BT module and some other changes. Their downstream commit 99e18b7f14 adds support for detecting this new SoM revision. This adds that support and sets up the new device tree naming that landed in the linux 4.16 kernel. Tested on a Hummin

Re: [U-Boot] Tools build failure when libfdt-devel is installed

2018-03-04 Thread Thomas Petazzoni
Hello, Thanks for your feedback! On Sun, 4 Mar 2018 15:32:20 +0900, Masahiro Yamada wrote: > I think U-Boot (both U-Boot binary and host-tools) > should use > > #include > > #include > > > instead of > > #include > > #include Perhaps, I'm not sure what the best solution is tho

Re: [U-Boot] [PATCH v2 07/10] powerpc: mpc8xx: get rid of get_immr()

2018-03-04 Thread christophe leroy
Le 03/03/2018 à 17:46, Wolfgang Denk a écrit : Dear Christophe, In message <622b8aec162cc43e774bde5da990a61fc961b4d9.1519976944.git.christophe.le...@c-s.fr> you wrote: Function get_immr() is almost not used and doesn't bring much added value. Just replace it with mfspr(SPRN_IMMR) at the two