[U-Boot] [PATCH v2 5/9] efi_loader: guard against double inclusion of efi_loader.h

2017-10-13 Thread Heinrich Schuchardt
Use a define to detect double inclusion of efi_loader.h. Signed-off-by: Heinrich Schuchardt --- v2 new patch --- include/efi_loader.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/efi_loader.h b/include/efi_loader.h index af64b11cee..e506eeec61 100644

[U-Boot] [PATCH v2 3/9] efi_selftest: provide test for watchdog timer

2017-10-13 Thread Heinrich Schuchardt
The test verifies that resetting the watchdog timer ensures that it is not called during the timeout period. Testing that the watchdog timer actually executes a reset would require a test outside the efi_selftest framework. Signed-off-by: Heinrich Schuchardt --- v2 no change --- lib/efi

[U-Boot] [PATCH v2 8/9] test/py: test reboot by EFI watchdog

2017-10-13 Thread Heinrich Schuchardt
Clear environment variable efi_selftest before executing the default tests. Provide a test verifying that the EFI watchdog reboots the system upon timeout. The test depends on CONFIG_CMD_EFI_SELFTEST=y. Signed-off-by: Heinrich Schuchardt --- v2 choose test via environment variable ---

[U-Boot] [PATCH v2 0/9] efi_loader: implement SetWatchdogTimer

2017-10-13 Thread Heinrich Schuchardt
The patch series is centered on implementing the SetWatchdogTimer boottime service. Two tests are supplied. One that checks that resetting the watchdog timer saves from a reboot. The other checks that the watchdog timer actually leads to a reset. Both are covered by Python test cases. Additional f

[U-Boot] [PATCH v2 6/9] efi_selftest: allow to select a single test for exexution

2017-10-13 Thread Heinrich Schuchardt
Environment variable efi_selftest is passed as load options to the selftest application. It is used to select a single test to be executed. Special value 'list' displays a list of all available tests. Tests get an on_request property. If this property is set the tests are only executed if explici

[U-Boot] [PATCH v2 7/9] efi_selftest: test reboot by watchdog

2017-10-13 Thread Heinrich Schuchardt
A test is added that verifies that the watchdog timer actually causes a reboot upon timeout. The test in only executed on request using bootefi selftest 'watchdog reboot' Signed-off-by: Heinrich Schuchardt --- v2 no change --- lib/efi_selftest/efi_selftest_watchdog.c | 65 ++

[U-Boot] [PATCH v2 9/9] test/py: fix typo in test_efi_loader.py

2017-10-13 Thread Heinrich Schuchardt
Make a comment line easier to read. Signed-off-by: Heinrich Schuchardt --- v2 no change --- test/py/tests/test_efi_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/tests/test_efi_loader.py b/test/py/tests/test_efi_loader.py index 5d7f5dbfb2..4d391e13e

[U-Boot] [PATCH v2 4/9] efi_loader: new function utf8_to_utf16

2017-10-13 Thread Heinrich Schuchardt
Provide a conversion function from utf8 to utf16. Add missing #include in include/charset.h. Remove superfluous #include in lib/charset.c. Signed-off-by: Heinrich Schuchardt --- v2 new patch --- include/charset.h | 15 +++ lib/charset.c | 57 +++

Re: [U-Boot] [PATCH v2 0/3] kbuild: always use relative path for __FILE__

2017-10-13 Thread Masahiro Yamada
2017-10-13 22:53 GMT+09:00 Tom Rini : > On Fri, Oct 13, 2017 at 09:21:19PM +0900, Masahiro Yamada wrote: >> 2017-10-13 21:11 GMT+09:00 Tom Rini : >> > On Fri, Oct 13, 2017 at 06:51:42PM +0900, Masahiro Yamada wrote: >> > >> >> We discussed the __FILE__ problem when U-Boot is built out of tree. >> >

Re: [U-Boot] [PATCH] armv8: ls1046aqds: Fix NAND offset for Fman ucode and env

2017-10-13 Thread York Sun
On 09/18/2017 02:16 AM, Gong Qianyu wrote: > Fix a bug of 'commit 8104deb2d6b7 ("armv8: layerscape: Adjust memory > mapping for Flash/SD card on LS1046A")' as NAND block size is > 256KB on LS1046AQDS. > > Signed-off-by: Gong Qianyu > --- Applied to fsl-qoriq master. Thanks. York ___

Re: [U-Boot] [PATCH] armv8: Apply workaround for USB erratum A-009007 to LS1088A

2017-10-13 Thread York Sun
On 09/22/2017 12:39 AM, Ran Wang wrote: > Rx Compliance tests may fail intermittently at high > jitter frequencies using default register values. > > Program register USB_PHY_RX_OVRD_IN_HI in certain sequence > to make the Rx compliance test pass. > > Signed-off-by: Ran Wang > --- Applied to f

Re: [U-Boot] [PATCH] ls1021aiot: Move CONFIG_CMD_BOOTZ to Kconfig

2017-10-13 Thread York Sun
On 09/28/2017 09:24 AM, Fabio Estevam wrote: > CONFIG_CMD_BOOTZ symbol does not work in board config file > anymore, so fix this by moving it to Kconfig. > > Signed-off-by: Fabio Estevam > --- Applied to fsl-qoriq master. Thanks. York ___ U-Boot mai

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Allocate Secure memory from first ddr region

2017-10-13 Thread York Sun
On 10/03/2017 03:16 AM, Sumit Garg wrote: > This change is required due to trusted OS (OP-TEE) not being position > independent code, it requires compile time fixed base address. > > To take care of this it is assumed that all layerscape armv8 platforms > has minimum 2G ddr in first region. So we

Re: [U-Boot] [PATCH v2] armv8: ls1088a: Update MC boot sequence

2017-10-13 Thread York Sun
On 10/04/2017 11:57 PM, Bogdan Purcareata wrote: > The MC boot sequence is contained in mc_env_boot. Update LS1088A boards > to use this function, and hook it to reset_phy so that it's called late > enough, after the ports have been initialized, for proper DPC / DPL > fixup. > > Signed-off-by: Bog

Re: [U-Boot] [PATCH v3 1/7] spl: fix assignment of board info to global data

2017-10-13 Thread York Sun
On 09/28/2017 08:42 AM, York Sun wrote: > Commit 15eb1d43bf47 ("spl: reorder the assignment of board info to > global data") intended to move assignment of board info earlier, > into board_init_r(). However, function preload_console_init() is > called either from spl_board_init() or from board_init

Re: [U-Boot] [PATCH v2 0/3] kbuild: always use relative path for __FILE__

2017-10-13 Thread Masahiro Yamada
2017-10-13 22:53 GMT+09:00 Tom Rini : > On Fri, Oct 13, 2017 at 09:21:19PM +0900, Masahiro Yamada wrote: >> 2017-10-13 21:11 GMT+09:00 Tom Rini : >> > On Fri, Oct 13, 2017 at 06:51:42PM +0900, Masahiro Yamada wrote: >> > >> >> We discussed the __FILE__ problem when U-Boot is built out of tree. >> >

Re: [U-Boot] [PATCH 1/1] test/py/tests/test_sleep.py: test time approximately

2017-10-13 Thread Stephen Warren
On 10/05/2017 04:33 PM, Heinrich Schuchardt wrote: On 10/05/2017 11:10 PM, Stephen Warren wrote: On 10/05/2017 01:52 PM, Heinrich Schuchardt wrote: On qemu errors like assert 2.999650001525879 >= 3 occur. Can you work out why? I guess 1-999650001525879 is a really tiny amount, so perhaps it's

[U-Boot] [PATCH v2 1/1] test/py/tests/test_sleep.py: test time approximately

2017-10-13 Thread Heinrich Schuchardt
On qemu errors like assert 2.999650001525879 >= 3 occur. According to the comment in the code the test is meant to be approximate. So we should accept some milliseconds less. Cc: Stephen Warren Signed-off-by: Heinrich Schuchardt --- v2 reduce negative tolerance to 0.01 seconds (

Re: [U-Boot] [PATCH v2 1/1] test/py/tests/test_sleep.py: test time approximately

2017-10-13 Thread Stephen Warren
On 10/13/2017 02:28 PM, Heinrich Schuchardt wrote: On qemu errors like assert 2.999650001525879 >= 3 occur. According to the comment in the code the test is meant to be approximate. So we should accept some milliseconds less. Reviewed-by: Stephen Warren ___

Re: [U-Boot] [PATCH v4 2/2] wandboard: Add support for the MX6QP variant

2017-10-13 Thread Fabio Estevam
Hi Stefano, On Wed, Oct 4, 2017 at 9:35 AM, Fabio Estevam wrote: > Hi Stefano, > > On Wed, Oct 4, 2017 at 6:34 AM, Stefano Babic wrote: > >> mmhhh...it looks to me we are diverging with this SOC. I understand that >> current funtions are not suitable for the new SOC. However, we were able >> to

Re: [U-Boot] [PATCH v2 0/3] kbuild: always use relative path for __FILE__

2017-10-13 Thread Tom Rini
On Sat, Oct 14, 2017 at 03:35:23AM +0900, Masahiro Yamada wrote: > 2017-10-13 22:53 GMT+09:00 Tom Rini : > > On Fri, Oct 13, 2017 at 09:21:19PM +0900, Masahiro Yamada wrote: > >> 2017-10-13 21:11 GMT+09:00 Tom Rini : > >> > On Fri, Oct 13, 2017 at 06:51:42PM +0900, Masahiro Yamada wrote: > >> > > >

Re: [U-Boot] [PATCH 1/4] arm: am57xx: Add vendor partition to Android GPT table for eMMC

2017-10-13 Thread Tom Rini
On Thu, Oct 12, 2017 at 10:47:02PM -0500, Praneeth Bajjuri wrote: > Add vendor partition to Android GPT table for eMMC. > > A Vendor image contains SoC-specific code and configuration. > > Prior to Android 8.0, the vendor partition was optional ; > files belonging to these images were placed in

Re: [U-Boot] [PATCH 2/4] arm: dra7xx: Add vendor partition to Android GPT table for eMMC

2017-10-13 Thread Tom Rini
On Thu, Oct 12, 2017 at 10:47:03PM -0500, Praneeth Bajjuri wrote: > From: Vishal Mahaveer > > Add vendor partition to Android GPT table for eMMC. > > A Vendor image contains SoC-specific code and configuration. > > Prior to Android 8.0, the vendor partition was optional ; > files belonging to

Re: [U-Boot] [PATCH 4/4] arm: dra76: fastboot: extend cpu type for getvar command

2017-10-13 Thread Tom Rini
On Thu, Oct 12, 2017 at 10:47:05PM -0500, Praneeth Bajjuri wrote: > 'commit fa24eca1f20a ("omap: Add routine for setting fastboot variables")' > adds initial support and usage of "fastboot getvar" command > for DRA75x and DRA72x devices. > > and > 'commit 0f9e6aee9dbc ("arm: dra76: Add support fo

Re: [U-Boot] [PATCH 3/4] omap-common: fastboot: extend cpu type for DRA71x rev 2.1

2017-10-13 Thread Tom Rini
On Thu, Oct 12, 2017 at 10:47:04PM -0500, Praneeth Bajjuri wrote: > From: Vishal Mahaveer > > DRA71x processors are reduced pin and software compatible > derivative of DRA72 processors. Extend support for this > revision in "getvar cpu" command. > > Signed-off-by: Vishal Mahaveer > [prane...@t

Re: [U-Boot] [PULL] efi patch queue 2017-10-13

2017-10-13 Thread Tom Rini
On Fri, Oct 13, 2017 at 10:37:37AM +0200, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi. Please pull. > > Alex > > > The following changes since commit 39dd65a059e503883dbf16d4c00ac083d15837da: > > sandbox: Enable btrfs support (2017-10-03 08:44:55 -0400) > >

Re: [U-Boot] [PATCH] am33xx: Add a function to query MPU voltage in uV

2017-10-13 Thread Lokesh Vutla
On Wednesday 11 October 2017 10:12 PM, Felix Brack wrote: > For the DM TPS65910 driver I'm working on, querying the MPU voltage > should return a value in uV. This value can then be used by the > regulator's standard function set_value to set the MPU voltage. > > Signed-off-by: Felix Brack Rev

<    1   2