Re: [U-Boot] [PATCH 2/2] at91: cleanup taurus port

2019-04-12 Thread Heiko Schocher
Hello Eugen, Am 12.04.2019 um 15:52 schrieb Heiko Schocher: Hello Eugen, Am 12.04.2019 um 15:07 schrieb eugen.hris...@microchip.com: On 12.04.2019 15:53, Heiko Schocher wrote: External E-Mail Hello eugen, Am 12.04.2019 um 13:24 schrieb eugen.hris...@microchip.com: On 11.04.2019

Re: [U-Boot] [PULL] u-boot-stm32 for v2019.07-rc1

2019-04-12 Thread Tom Rini
On Fri, Apr 12, 2019 at 03:44:05PM +, Patrick DELAUNAY wrote: > Hi Tom, > > please pull u-boot-smt32-20190412 including > the following STM32 related patches for v2019.07-rc1 > > - add trusted boot with TF-A for stm32mp1 > - stm32mp1 dts files sync'ed with Linux ver

Re: [U-Boot] Please pull u-boot-marvell/master (v2)

2019-04-12 Thread Tom Rini
On Fri, Apr 12, 2019 at 01:27:36PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following Marvell related patches. I've > removed the board support, causing the out-of-tree building > error for now. I'll push this one after its resolved. Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] Pull request: u-boot-sunxi/master

2019-04-12 Thread Tom Rini
On Fri, Apr 12, 2019 at 06:34:52PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks, > Jagan. > > The following changes since commit 3c99166441bf3ea325af2da83cfe65430b49c066: > > Prepare v2019.04 (2019-04-08 21:40:40 -0400) > > are available in the Git repository at:

Re: [U-Boot] Please pull from u-boot-i2c

2019-04-12 Thread Tom Rini
On Thu, Apr 11, 2019 at 08:33:18PM +0200, Heiko Schocher wrote: > Hello Tom, > > removed patch "i2c: mvtwsi: fix hang on SPL bind" as discussed on ML, > > so here the new pull request: > > The following changes since commit 3c99166441bf3ea325af2da83cfe65430b49c066: > > Prepare v2019.04

[U-Boot] Build error: caused by CONFIG_SPL_LOG_CONSOLE

2019-04-12 Thread U.Mutlu
If I activate "Enable logging support in SPL" (ie. CONFIG_SPL_LOG_CONSOLE), ie. the following window in make menuconfig: Logging ---> [*] Enable logging support [*] Enable logging support in SPL [*] Enable logging support in TPL (5) Maximum log level to record (3)

Re: [U-Boot] [PATCH v3 05/13] fdtdec: Implement fdtdec_add_reserved_memory()

2019-04-12 Thread sjg
From: Thierry Reding This function can be used to add subnodes in the /reserved-memory node. Reviewed-by: Simon Glass Signed-off-by: Thierry Reding --- Changes in v3: - use fdt_generate_phandle() instead of fdtdec_generate_phandle() - add device tree bindings for /reserved-memory - add

Re: [U-Boot] [PATCH 2/3] clk: socfpga: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc

2019-04-12 Thread sjg
On Thu, 21 Mar 2019 at 01:21, Patrick Delaunay wrote: > > Prepare to remove dm_fdt_pre_reloc function. > > Signed-off-by: Patrick Delaunay > --- > > drivers/clk/altera/clk-arria10.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass Applied to u-boot-dm,

Re: [U-Boot] [PATCH v3 10/13] fdtdec: test: Add carveout tests

2019-04-12 Thread sjg
On Fri, Mar 22, 2019 at 03:53:07PM +0800, Simon Glass wrote: > Hi Thierry, > > On Fri, 22 Mar 2019 at 02:10, Thierry Reding wrote: > > > > From: Thierry Reding > > > > Implement carveout tests for 32-bit and 64-bit builds. > > > > Signed-off-by: Thierry Reding > > --- > > Changes in v2: > > -

Re: [U-Boot] [PATCH v3 09/13] fdtdec: test: Use compound statement macros

2019-04-12 Thread sjg
On Fri, 22 Mar 2019 at 02:10, Thierry Reding wrote: > > From: Thierry Reding > > This eliminates the need for intermediate helper functions and allow the > macros to return a value so that it can be used subsequently. > > Signed-off-by: Thierry Reding > --- > Changes in v2: > - new patch > >

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

2019-04-12 Thread Simon Glass
Hi Tom, Build result at https://travis-ci.org/sglass68/u-boot/builds/519059521 The following changes since commit 02f173ca156cee8526dff87603d5e446b443cde3: Merge branch 'master' of git://git.denx.de/u-boot-usb (2019-04-11 14:29:37 -0400) are available in the Git repository at:

Re: [U-Boot] [PATCH v3 08/13] fdtdec: test: Fix build warning

2019-04-12 Thread sjg
On Fri, 22 Mar 2019 at 02:10, Thierry Reding wrote: > > From: Thierry Reding > > Hide the declaration of the "fd" variable When not building a DEBUG > configuration, to avoid the variable being unused. > > Signed-off-by: Thierry Reding > --- > Changes in v2: > - new patch > > lib/fdtdec_test.c

Re: [U-Boot] [PATCH v3 07/13] fdtdec: Add Kconfig symbol for tests

2019-04-12 Thread sjg
On Fri, 22 Mar 2019 at 02:10, Thierry Reding wrote: > > From: Thierry Reding > > Runtime tests are provided as a test_fdtdec command implementation. Add > a Kconfig symbol that allows this command to be built so that the tests > can be used. > > Signed-off-by: Thierry Reding > --- > Changes in

Re: [U-Boot] [PATCH v3 04/13] fdtdec: Implement fdtdec_set_phandle()

2019-04-12 Thread sjg
Hi Thierry, On Fri, 22 Mar 2019 at 16:34, Thierry Reding wrote: > > On Fri, Mar 22, 2019 at 03:53:01PM +0800, Simon Glass wrote: > > Hi Thierry, > > > > On Fri, 22 Mar 2019 at 02:10, Thierry Reding > > wrote: > > > > > > From: Thierry Reding > > > > > > This function can be used to set a

Re: [U-Boot] [PATCH v3 06/13] fdtdec: Implement carveout support functions

2019-04-12 Thread sjg
From: Thierry Reding The fdtdec_get_carveout() and fdtdec_set_carveout() function can be used to read a carveout from a given node or add a carveout to a given node using the standard device tree bindings (involving reserved-memory nodes and the memory-region property). Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 3/3] dm: remove unused function dm_fdt_pre_reloc

2019-04-12 Thread sjg
On Thu, 21 Mar 2019 at 01:21, Patrick Delaunay wrote: > > The function dm_ofnode_pre_reloc should be used instead > of the function dm_fdt_pre_reloc and avoid duplicated code. > > Signed-off-by: Patrick Delaunay > --- > > drivers/core/util.c | 24 > include/dm/util.h

Re: [U-Boot] [PATCH v3 01/13] libfdt: Add phandle generation helper

2019-04-12 Thread sjg
Hi Thierry, On Mon, 25 Mar 2019 at 01:27, Thierry Reding wrote: > > On Fri, Mar 22, 2019 at 03:52:59PM +0800, Simon Glass wrote: > > On Fri, 22 Mar 2019 at 02:10, Thierry Reding > > wrote: > > > > > > From: Thierry Reding > > > > > > The new fdt_generate_phandle() function can be used to

Re: [U-Boot] [PATCH v2] fdt: Fix mkimage list to try every header type

2019-04-12 Thread sjg
Image type is not supplied to `mkimage -l`. For this reason, we cannot use imagetool_verify_print_header_by_type. Instead, this patch uses imagetool_verify_print_header to look through all header types to find one where image validation succeeds. This patch fixes failures in

Re: [U-Boot] [PATCH v3 11/13] sandbox: Enable fdtdec tests

2019-04-12 Thread sjg
On Fri, 22 Mar 2019 at 02:10, Thierry Reding wrote: > > From: Thierry Reding > > Enable fdtdec tests on sandbox configurations so that they can be run to > validate the fdtdec implementation. > > Signed-off-by: Thierry Reding > --- > Changes in v2: > - new patch > > configs/sandbox64_defconfig

Re: [U-Boot] [PATCH] dm: sound: make all functions static inline

2019-04-12 Thread sjg
Fixes following compile problem: ➜ u-boot-mainline git:(master) ✗ make sandbox_defconfig all NO_SDL=1 scripts/kconfig/conf --syncconfig Kconfig CHK include/config.h CFG u-boot.cfg GEN include/autoconf.mk GEN include/autoconf.mk.dep CHK include/config/uboot.release

Re: [U-Boot] [PATCH 2/3] sandbox: Use correct phys_{addr, size}_t for PHYS_64BIT=y

2019-04-12 Thread Simon Glass
On Tue, 12 Mar 2019 at 04:38, Thierry Reding wrote: > > From: Thierry Reding > > If 64-bit physical addresses support is enabled, make sure the sandox > defines the correct types for phys_addr_t and phys_size_t. > > Signed-off-by: Thierry Reding > --- > arch/sandbox/include/asm/types.h | 12

Re: [U-Boot] [PATCH v3 02/13] fdtdec: Add cpu_to_fdt_{addr, size}() macros

2019-04-12 Thread Simon Glass
On Thu, 21 Mar 2019 at 12:10, Thierry Reding wrote: > > From: Thierry Reding > > These macros are useful for converting the endianness of variables of > type fdt_addr_t and fdt_size_t. > > Reviewed-by: Simon Glass > Signed-off-by: Thierry Reding > --- > Changes in v2: > - add Reviewed-by from

Re: [U-Boot] [PATCH v3 03/13] fdtdec: Add fdt_{addr, size}_unpack() helpers

2019-04-12 Thread Simon Glass
Hi Thierry, On Fri, 22 Mar 2019 at 02:31, Thierry Reding wrote: > > On Fri, Mar 22, 2019 at 03:53:00PM +0800, Simon Glass wrote: > > Hi Thierry, > > > > On Fri, 22 Mar 2019 at 02:10, Thierry Reding > > wrote: > > > > > > From: Thierry Reding > > > > > > These helpers can be used to unpack

Re: [U-Boot] [PATCH] warp7: Fix dfu_alt_info setting after DM conversion

2019-04-12 Thread Fabio Estevam
Hi Pierre-Jean, On Fri, Apr 12, 2019 at 5:37 PM Pierre-Jean Texier wrote: > > After DM conversion, U-Boot is larger than 512 KiB, so we need to increase > the "size" of the dfu_alt_info setting. > > Signed-off-by: Pierre-Jean Texier Thanks for the fix. Reviewed-by: Fabio Estevam

Re: [U-Boot] [linux-sunxi] [PATCH] ARM: HYP/non-sec: Don't enable ARMV7_LPAE for old sunxi kernels

2019-04-12 Thread U.Mutlu
Mark Kettenis wrote on 04/12/2019 03:03 PM: From: Jagan Teki Date: Fri, 12 Apr 2019 12:02:06 +0530 On Fri, Mar 22, 2019 at 2:31 AM Jonathan Liu wrote: Hi Jagan, On Fri., 22 Mar. 2019 at 4:05 am, Jagan Teki wrote: On Tue, Mar 19, 2019 at 11:09 AM Jonathan Liu wrote: Old sunxi kernels

Re: [U-Boot] Please pull u-boot-marvell/master (v2)

2019-04-12 Thread Tom Rini
On Sat, Apr 13, 2019 at 08:37:46AM +1200, Chris Packham wrote: > On Fri, 12 Apr 2019, 11:27 PM Stefan Roese, wrote: > > > Hi Tom, > > > > please pull the following Marvell related patches. I've > > removed the board support, causing the out-of-tree building > > error for now. I'll push this one

[U-Boot] very short list of "badref selects" in u-boot source

2019-04-12 Thread Robert P. J. Day
rather than go to the trouble of whipping up a wiki page, i can present this in a short post to the list. here's the list of what my script identified as "badref selects" -- those identifiers for which there is a Kconfig line of the form: select X where there is no corresponding: config

Re: [U-Boot] [PATCH] warp7: Fix dfu_alt_info setting after DM conversion

2019-04-12 Thread Joris Offouga
Acked-by: Joris Offouga Le 12/04/2019 à 22:36, Pierre-Jean Texier a écrit : After DM conversion, U-Boot is larger than 512 KiB, so we need to increase the "size" of the dfu_alt_info setting. Signed-off-by: Pierre-Jean Texier --- include/configs/warp7.h | 2 +- 1 file changed, 1

Re: [U-Boot] Please pull u-boot-marvell/master (v2)

2019-04-12 Thread Chris Packham
On Fri, 12 Apr 2019, 11:27 PM Stefan Roese, wrote: > Hi Tom, > > please pull the following Marvell related patches. I've > removed the board support, causing the out-of-tree building > error for now. I'll push this one after its resolved. I'll take a look at the db-88f6281 out of tree build

[U-Boot] [PATCH] warp7: Fix dfu_alt_info setting after DM conversion

2019-04-12 Thread Pierre-Jean Texier
After DM conversion, U-Boot is larger than 512 KiB, so we need to increase the "size" of the dfu_alt_info setting. Signed-off-by: Pierre-Jean Texier --- include/configs/warp7.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/warp7.h b/include/configs/warp7.h

[U-Boot] [PULL] u-boot-mips

2019-04-12 Thread Daniel Schwierzeck
Hi Tom, please pull MIPS updates for 2019.07 https://travis-ci.org/danielschwierzeck/u-boot/builds/519324026 The following changes since commit 02f173ca156cee8526dff87603d5e446b443cde3: Merge branch 'master' of git://git.denx.de/u-boot-usb (2019-04-11 14:29:37 -0400) are available in the

[U-Boot] Missing: CONFIG_EXTRA_ENV_SETTINGS

2019-04-12 Thread U.Mutlu
The "make menuconfig" help page for "Environment --> Create default environment from file" mentions CONFIG_EXTRA_ENV_SETTINGS, but searching for this says "No matches found", and also in the saved .config it's missing. Version info (boot msgs): U-Boot SPL 2019.04-00077-g48ff1bc4f0-dirty (Apr

Re: [U-Boot] [RFC v2 08/11] cmd: bootefi: carve out bootmgr code from do_bootefi()

2019-04-12 Thread Heinrich Schuchardt
On 4/12/19 4:19 PM, AKASHI Takahiro wrote: On Fri, Apr 12, 2019 at 10:58:25AM +0200, Heinrich Schuchardt wrote: On 4/12/19 9:06 AM, AKASHI Takahiro wrote: On Fri, Apr 12, 2019 at 07:55:16AM +0200, Heinrich Schuchardt wrote: On 3/27/19 5:40 AM, AKASHI Takahiro wrote: This is a preparatory

Re: [U-Boot] [PATCH 1/1] efi_selftest: expect boot services data for fdt

2019-04-12 Thread Ilias Apalodimas
Hi Heinrich, > In a previous patch the memory type used for the FDT has been changed to > boot services data. We have to adjust the test. > > Correct an incorrect comment. The tested services are boot services. > > Signed-off-by: Heinrich Schuchardt > --- >

[U-Boot] [PATCH 1/1] efi_selftest: expect boot services data for fdt

2019-04-12 Thread Heinrich Schuchardt
In a previous patch the memory type used for the FDT has been changed to boot services data. We have to adjust the test. Correct an incorrect comment. The tested services are boot services. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/efi_selftest_memory.c | 6 +++--- 1 file

Re: [U-Boot] doing anything about "bad" Kbuild configuration options?

2019-04-12 Thread Robert P. J. Day
On Sat, 13 Apr 2019, Chris Packham wrote: > > On Sat, 13 Apr 2019, 4:56 AM Robert P. J. Day, wrote: >   one of the worst culprits appears to be CONFIG_SPL_BUILD, which > appears all over the tree, but one can see a recent commit that takes > that into account: > > > That's not

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory type from runtime data to boot services data

2019-04-12 Thread Ard Biesheuvel
On Fri, 12 Apr 2019 at 12:55, Heinrich Schuchardt wrote: > > On 4/12/19 9:30 PM, Heinrich Schuchardt wrote: > > On 4/12/19 8:26 PM, Ilias Apalodimas wrote: > >> Following Ard's suggestion: > >> Runtime data sections are intended for data that is used by the runtime > >> services implementation. >

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory type from runtime data to boot services data

2019-04-12 Thread Heinrich Schuchardt
On 4/12/19 9:30 PM, Heinrich Schuchardt wrote: On 4/12/19 8:26 PM, Ilias Apalodimas wrote: Following Ard's suggestion: Runtime data sections are intended for data that is used by the runtime services implementation. Let's change the type to EFI_BOOT_SERVICES_DATA This also fixes booting of

Re: [U-Boot] doing anything about "bad" Kbuild configuration options?

2019-04-12 Thread Chris Packham
On Sat, 13 Apr 2019, 4:56 AM Robert P. J. Day, wrote: > one of the worst culprits appears to be CONFIG_SPL_BUILD, which > appears all over the tree, but one can see a recent commit that takes > that into account: > That's not quite right. CONFIG_SPL_BUILD is defined for the Makefile just not

[U-Boot] [PATCH] watchdog: fix typo "CONFIG_MPC8XX_WATCHDOG" -> "MPC8XX_WATCHDOG"

2019-04-12 Thread Robert P. J. Day
Kbuild "select" directive should not use "CONFIG_" prefix. Signed-off-by: Robert P. J. Day --- diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 34e78beb2a..a89cc6edec 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -149,7 +149,7 @@ config

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory type from runtime data to boot services data

2019-04-12 Thread Heinrich Schuchardt
On 4/12/19 8:26 PM, Ilias Apalodimas wrote: Following Ard's suggestion: Runtime data sections are intended for data that is used by the runtime services implementation. Let's change the type to EFI_BOOT_SERVICES_DATA This also fixes booting of armv7 using efi and fdtcontroladdr Suggested-by:

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Leif Lindholm
On Thu, Apr 11, 2019 at 10:08:10PM +0200, Heinrich Schuchardt wrote: > > > How about systab.tables assigned in efi_initialize_system_table()? Which > > > of the addresses in systab.tables should be updated upon relocation. > > > > > > The EFI Spec is really hazy: "A pointer to the table

[U-Boot] [PATCH] i2c: mxc: Hide kconfig based control in DM_I2C mode

2019-04-12 Thread Trent Piepho
These options only apply when not using DM_I2C. When using device trees, the dt will enable and control the speeds of the I2C controller(s) and these configuration options have no effect. So disable them in DM_I2C mode. Otherwise they show up as decoys, and make it look like one is enabling I2C

[U-Boot] [PATCH] include: compiler: fix tools-only compiles on Cygwin and with the Android NDK on Linux

2019-04-12 Thread Chris Renshaw
Hi again, I am submitting this patch with some easy fixes for the ongoing broken compiling U-Boot tools-only on Cygwin and cross-compiling with the Android NDK on Linux. The added __kernel_* definitions in posix_types.h come from mainline so should be safe for inclusion:

Re: [U-Boot] ARM tools-only CROSS_COMPILE issues within Cygwin

2019-04-12 Thread Chris Renshaw
Just posting an update on the current Cygwin issues with U-Boot and the Android NDK. I do have NDK cross-compiles of tools-only working well from a Linux environment now but on Cygwin there continues to be some major compatibility issue with U-Boot's KBuild system and the Android NDK. Using

[U-Boot] [PATCH] [U-boot]: Change FDT memory type from runtime data to boot services data

2019-04-12 Thread Ilias Apalodimas
Following Ard's suggestion: Runtime data sections are intended for data that is used by the runtime services implementation. Let's change the type to EFI_BOOT_SERVICES_DATA This also fixes booting of armv7 using efi and fdtcontroladdr Suggested-by: Ard Biesheuvel Signed-off-by: Ilias Apalodimas

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Heinrich Schuchardt
On 4/12/19 7:36 PM, Ilias Apalodimas wrote: Hi Heinrich, Hello Ilias, hello Ard, please, have a look at this patch: efi_loader: update virtual address in efi_mem_carve_out https://lists.denx.de/pipermail/u-boot/2019-April/364937.html Possibly the bug reported here could have contributed

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Ard Biesheuvel
On Fri, 12 Apr 2019 at 10:44, Heinrich Schuchardt wrote: > > On 4/12/19 7:24 PM, Ard Biesheuvel wrote: > > On Fri, 12 Apr 2019 at 10:16, Heinrich Schuchardt > > wrote: > >> > >> On 4/11/19 10:50 PM, Ard Biesheuvel wrote: > >>> On Thu, 11 Apr 2019 at 12:59, Heinrich Schuchardt > >>> wrote: >

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Ilias Apalodimas
Hi Heinrich, > > Hello Ilias, hello Ard, > > please, have a look at this patch: > > efi_loader: update virtual address in efi_mem_carve_out > https://lists.denx.de/pipermail/u-boot/2019-April/364937.html > > Possibly the bug reported here could have contributed the Linux crash > you

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Heinrich Schuchardt
On 4/12/19 7:24 PM, Ard Biesheuvel wrote: On Fri, 12 Apr 2019 at 10:16, Heinrich Schuchardt wrote: On 4/11/19 10:50 PM, Ard Biesheuvel wrote: On Thu, 11 Apr 2019 at 12:59, Heinrich Schuchardt wrote: On 4/11/19 9:41 PM, Ilias Apalodimas wrote: Hi Heinrich, On 4/11/19 8:39 PM, Ilias

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Ard Biesheuvel
On Fri, 12 Apr 2019 at 10:16, Heinrich Schuchardt wrote: > > On 4/11/19 10:50 PM, Ard Biesheuvel wrote: > > On Thu, 11 Apr 2019 at 12:59, Heinrich Schuchardt > > wrote: > >> > >> On 4/11/19 9:41 PM, Ilias Apalodimas wrote: > >>> Hi Heinrich, > On 4/11/19 8:39 PM, Ilias Apalodimas wrote: >

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Heinrich Schuchardt
On 4/11/19 10:50 PM, Ard Biesheuvel wrote: On Thu, 11 Apr 2019 at 12:59, Heinrich Schuchardt wrote: On 4/11/19 9:41 PM, Ilias Apalodimas wrote: Hi Heinrich, On 4/11/19 8:39 PM, Ilias Apalodimas wrote: Following Ard's suggestion: Runtime data sections are intended for data that is used by

Re: [U-Boot] [U-Boot,v2,0/7] AM65x HS device support

2019-04-12 Thread Andrew F. Davis
On 4/12/19 12:27 PM, Tom Rini wrote: > On Thu, Feb 21, 2019 at 04:35:05PM -0600, Andrew F. Davis wrote: > >> Hello all, >> >> This series brings up HS device support on the AM65x platform. Support >> for HS on K3 family devices is a bit different than previous devices >> but for the most part all

[U-Boot] [PATCH v3 6/7] configs: Add configs for AM65x High Security EVM

2019-04-12 Thread Andrew F. Davis
Add new defconfig files for the AM65x High Security EVM. This defconfigs are the same as for the non-secure part, except for: CONFIG_TI_SECURE_DEVICE option set to 'y' CONFIG_FIT_IMAGE_POST_PROCESS option set to 'y' CONFIG_SPL_FIT_IMAGE_POST_PROCESS option set to 'y' Signed-off-by:

[U-Boot] [PATCH v3 7/7] doc: Update info on using K3 secure devices

2019-04-12 Thread Andrew F. Davis
Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini Reviewed-by: Andreas Dannenberg --- doc/README.ti-secure | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/doc/README.ti-secure b/doc/README.ti-secure index 76950253ac..27c0eaa77f 100644 ---

[U-Boot] [PATCH v3 0/7] AM65x HS device support

2019-04-12 Thread Andrew F. Davis
Hello all, This series brings up HS device support on the AM65x platform. Support for HS on K3 family devices is a bit different than previous devices but for the most part all that has been abstracted into the SECDEV package, allowing for a rather straight forward implementation here. Thanks,

[U-Boot] [PATCH v3 2/7] firmware: ti_sci: Add support for firewall management

2019-04-12 Thread Andrew F. Davis
TI-SCI message protocol provides support for controlling the firewall configurations available in SoC. Introduce support for the set of TI-SCI message protocol APIs that provide us with this capability of controlling firewalls. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini Reviewed-by:

[U-Boot] [PATCH v3 1/7] arm: K3: Avoid use of MCU_PSRAM0 before SYSFW is loaded

2019-04-12 Thread Andrew F. Davis
On HS devices the 512b region of reset isolated memory called MCU_PSRAM0 is firewalled by default. Until SYSFW is loaded we cannot use this memory. It is only used to store a single value left at the end of SRAM by ROM that will be needed later. Save that value to a global variable stored in the

[U-Boot] [PATCH v3 3/7] firmware: ti_sci: Modify auth_boot TI-SCI API to match new version

2019-04-12 Thread Andrew F. Davis
SYSFW version 2019.01 introduces a slightly modified version of this API, add support for it here. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini Reviewed-by: Andreas Dannenberg --- drivers/firmware/ti_sci.c | 25 - drivers/firmware/ti_sci.h

[U-Boot] [PATCH v3 5/7] arm: mach-k3: Add secure device build support

2019-04-12 Thread Andrew F. Davis
K3 HS devices require signed binaries for boot, use the SECDEV tools to sign the boot artifacts during build. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini Reviewed-by: Andreas Dannenberg --- MAINTAINERS | 1 + arch/arm/mach-k3/config.mk| 25

Re: [U-Boot] [U-Boot, 4/5] board: ti: am65x: Enable fixing up msmc sram node

2019-04-12 Thread Tom Rini
On Fri, Mar 08, 2019 at 11:47:35AM +0530, Lokesh Vutla wrote: > Create a ft_board_setup() api that gets called as part of > DT fixup before jumping to kernel. In this ft_board_setup() > call fdt_fixup_msmc_ram that update msmc sram node. > > Signed-off-by: Lokesh Vutla Applied to

[U-Boot] [PATCH v3 4/7] arm: mach-k3: Add secure device support

2019-04-12 Thread Andrew F. Davis
K3 devices have High Security (HS) variants along with the non-HS already supported. Like the previous generation devices (OMAP/Keystone2) K3 supports boot chain-of-trust by authenticating and optionally decrypting images as they are unpacked from FIT images. Add support for this here.

Re: [U-Boot] doing anything about "bad" Kbuild configuration options?

2019-04-12 Thread Robert P. J. Day
at risk of boring, i'll mention a couple more scripts i have for locating oddities or inconsistencies in the Kbuild structure, which people are welcome to play with. the first is called "find_badref_selects.sh", which specifically locates "select" directives in Kconfig files that are

Re: [U-Boot] [U-Boot, 05/11] net: ti: cpsw: Block off ofdata_to_platdata with OF_CONTROL

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:35PM +0530, Faiz Abbas wrote: > The ofdata_to_platdata function should not be called if OF_CONTROL is > not enabled because fdtdec_* calls will fail. Block the function with > OF_CONTROL > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 11/11] board: ti: am335x: Remove non DM_ETH code

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:41PM +0530, Faiz Abbas wrote: > With DM_ETH enabled in am335x devices, remove all the unused > non-DM code. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 06/11] net: ti: cpsw: Enable DM_FLAG_PRE_RELOC

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:36PM +0530, Faiz Abbas wrote: > Add DM_FLAG_PRE_RELOC to make the driver probe in SPL. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot, 3/5] arm: k3: Add support for updating msmc dt node

2019-04-12 Thread Tom Rini
On Fri, Mar 08, 2019 at 11:47:34AM +0530, Lokesh Vutla wrote: > Certain parts of msmc sram can be used by DMSC or can be > marked as L3 cache. Since the available size can vary, changing > DT every time the size varies might be painful. So, query this > information using TISCI cmd and fixup the

Re: [U-Boot] [U-Boot, 08/11] configs: am335x_evm: Reduce size of SPL

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:38PM +0530, Faiz Abbas wrote: > Make some room in SPL by getting rid of unnecessary configs. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot, v3, 6/7] k2g: config enable ti phy dp83867 for k2g

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:06PM -0500, Murali Karicheri wrote: > Enable ti phy dp83867 for k2g > > Signed-off-by: Murali Karicheri > Reviewed-by: Tom Rini > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v2, 4/4] configs: ti_omap5_common: Add NAND environment settings

2019-04-12 Thread Tom Rini
On Wed, Feb 27, 2019 at 01:29:38PM +0530, Faiz Abbas wrote: > Now that NAND is supported on DRA71x include various NAND environment > settings > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] armv7R: K3: am654: Trigger panic on DDR init failures

2019-04-12 Thread Tom Rini
On Mon, Mar 11, 2019 at 03:15:43PM -0500, Andreas Dannenberg wrote: > When initializing DDR from R5 SPL trigger U-Boot's panic facility > rather than simply returning from the board init function as there > is little point continuing code execution. Further, as panic implies > a board reset, so

Re: [U-Boot] [U-Boot, v2, 3/3] mmc: omap_hsmmc: Set 3.3V for IO voltage

2019-04-12 Thread Tom Rini
On Fri, Apr 05, 2019 at 02:18:46PM +0530, Faiz Abbas wrote: > Pbias voltage should match the IO voltage set for the SD card. With the > latest pbias change to 3.3V, update the capabilities and IO voltages > settings to 3.3V. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, V3, 1/2] davinci: da850evm/omapl138-lcdk: Move BSS to SDRAM because SRAM is full

2019-04-12 Thread Tom Rini
On Mon, Feb 25, 2019 at 09:53:46PM -0600, Adam Ford wrote: > In order to fully support SPL_OF_CONTROL, we need BSS to be a bit > larger. This patch relocates BSS to SDRAM instead of SRAM which > is similar to how ARMv7 boards (like OMAP2+) do it. > > This means two new variables are required: >

Re: [U-Boot] [U-Boot, 2/5] arm: k3: Add a wrapper to get tisci handle

2019-04-12 Thread Tom Rini
On Fri, Mar 08, 2019 at 11:47:33AM +0530, Lokesh Vutla wrote: > Create a wrapper to get the ti sci handle. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, v3, 5/7] ARM: dts: k2g-evm: remove unused phy-mode property from phy node

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:05PM -0500, Murali Karicheri wrote: > This patch removes the unused phy-mode property from the phy dt node. On > K2G, currently link-interface determines if phy is used or not and is > already set to use rgmii. So this is not needed. Besides phy-mode should > be

Re: [U-Boot] [U-Boot,01/11] net: Add priv_pdata to eth_pdata

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:31PM +0530, Faiz Abbas wrote: > Add a priv member for eth_pdata for platform specific platform data. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot, 04/11] net: ti: cpsw-common: Isolate getting syscon address from assigning macid

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:34PM +0530, Faiz Abbas wrote: > ti_cm_get_macid() is used to get a syscon node from the dt, read the > efuse address and then assign the macid read from the address. Divide > these two steps into separate functions one of which can be called from >

Re: [U-Boot] [U-Boot, v3, 1/7] ARM: k2g-ice: Add pinmux support for rgmii interface

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:01PM -0500, Murali Karicheri wrote: > This add pinmux configuration for rgmii interface so that network > driver can be supported on K2G ICE boards. The pinmux configurations > for this are generated using the pinmux tool at >

Re: [U-Boot] [U-Boot, 09/11] configs: am335x_evm: Add Support for SPL_ETH

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:39PM +0530, Faiz Abbas wrote: > Add Support for booting from Ethernet. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, 5/5] configs: am65x_evm_a53: Enable CONFIG_OF_BOARD_SETUP

2019-04-12 Thread Tom Rini
On Fri, Mar 08, 2019 at 11:47:36AM +0530, Lokesh Vutla wrote: > Enable CONFIG_OF_BOARD_SETUP so that msmc sram dt nodes > are updated correctly. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v2, 1/3] ARM: dts: dra7: Change pbias voltage to 3.3V

2019-04-12 Thread Tom Rini
On Fri, Apr 05, 2019 at 02:18:44PM +0530, Faiz Abbas wrote: > As per recent TRM[1], PBIAS cell on dra7 devices supports > 3.3v and not 3.0v as documented earlier. > > Update PBIAS regulator max voltage and the voltage written > in the driver to reflect this. > > [1]

Re: [U-Boot] ARM: am3517_evm: Add spl_start_uboot for Falcon Mode

2019-04-12 Thread Tom Rini
On Sun, Mar 31, 2019 at 09:18:29AM -0500, Adam Ford wrote: > When booting the am3517-evm, the following message appears: > SPL: Please implement spl_start_uboot() for your board > SPL: Direct Linux boot not active! > > This patch implements spl_start_uboot to clear this message > and allow

Re: [U-Boot] [U-Boot,10/11] configs: am335x_evm: Update VCI String

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:40PM +0530, Faiz Abbas wrote: > Update VCI string to keep it compatible with legacy test setups. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 02/11] net: ti: cpsw: Move cpsw_phy_sel() to _probe()

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:32PM +0530, Faiz Abbas wrote: > cpsw_phy_sel() is a configuration step that should not be in > ofdata_to_platdata(). Add phy_sel_compat to the cpsw_platform_data > structure so that it is accessible in _probe. Then move the call of > cpsw_phy_sel() to _probe. > >

Re: [U-Boot] [U-Boot, 07/11] board: ti: am335x: Add platdata for cpsw in SPL

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:37PM +0530, Faiz Abbas wrote: > The SPL image overflows when cpsw dt nodes are added and SPL_OF_CONTROL > is enabled. Use static platdata instead to save space. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v2, 2/4] arm: dra7: Allow NAND to be enabled on DRA71x EVM.

2019-04-12 Thread Tom Rini
On Wed, Feb 27, 2019 at 01:29:36PM +0530, Faiz Abbas wrote: > From: Franklin S Cooper Jr > > If SW 8 pins 0 and 1 indicate that NAND should be enabled then > the pins pinmux must be reconfigured for NAND mode. > > Therefore, enable NAND by reconfiguring the pinmux. > > Signed-off-by: Franklin

Re: [U-Boot] [U-Boot, v3, 3/7] net: netcp: add support for phy with rgmii ids

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:03PM -0500, Murali Karicheri wrote: > Enhance the netcp driver to support phys that can be configured > for internal delay (rgmii-id, rgmii-rxid, rgmii-txid) > > Signed-off-by: Murali Karicheri > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! --

Re: [U-Boot] am57xx_evm_defconfig: Enable configs to support QSPI boot

2019-04-12 Thread Tom Rini
On Fri, Feb 22, 2019 at 11:01:52AM +0530, Vignesh R wrote: > AM57xx IDK EVMs can boot out of QSPI. Enable configs to support QSPI > boot. Also enable configs for updating QSPI boot images over DFU. > > Tested on AM572x IDK EVM. > > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] [U-Boot, v3, 4/7] ARM: k2g: add a workaround to reset the phy

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:04PM -0500, Murali Karicheri wrote: > This patch adds a workaround to reset the phy one time during boot > using GPIO0 pin 10 to make sure, the Phy latches the configuration > from the input pins correctly. > > Signed-off-by: Murali Karicheri > Acked-by: Joe

Re: [U-Boot] [U-Boot, v2, 3/4] configs: dra71x-evm: Add Support for NAND

2019-04-12 Thread Tom Rini
On Wed, Feb 27, 2019 at 01:29:37PM +0530, Faiz Abbas wrote: > Add NAND support to dra71x-evm defconfig > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, v3, 05/13] regmap: Add support for polling on a register

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:11PM +0530, Faiz Abbas wrote: > Add an API to continuously read a register until a condition is > satisfied or a timeout occurs. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [U-Boot, v3, 2/3] env: Don't check CONFIG_ENV_OFFSET_REDUND for SPL build

2019-04-12 Thread Tom Rini
On Mon, Feb 25, 2019 at 03:32:59PM +, Martyn Welch wrote: > When booting using an SPL on am335x, if we want to support booting with > the boot ROM loader via USB (which uses RNDIS, making bootp and tftp > calls) we need to enable gadget eth in the SPL to load the main U-Boot > image. To

Re: [U-Boot] [U-Boot, 1/5] firmware: Add support for querying msmc memory

2019-04-12 Thread Tom Rini
On Fri, Mar 08, 2019 at 11:47:32AM +0530, Lokesh Vutla wrote: > DMSC can use certain amount of msmc memory available in the > system. Also certain part of msmc memory can be marked as L3 > cache using board config. But users might not know what size > is being used and the remaining available

Re: [U-Boot] [U-Boot, 03/11] net: ti: cpsw: Convert cpsw_platform_data to a pointer in cpsw_priv

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:33PM +0530, Faiz Abbas wrote: > Convert cpsw_platform_data to a pointer in cpsw_priv. Allocate it > dynamically and assign it as a part of eth_pdata. This helps in > isolating platform data handling and implementing platdata for SPL > in a board file. > >

Re: [U-Boot] [U-Boot, v3, 12/13] mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:18PM +0530, Faiz Abbas wrote: > From: Faiz Abbas > > The HOST_CONTROL2 register is a part of SDHC v3.00 and not just specific > to arasan/zynq controllers. Add the same to sdhci.h. > > Also create a common API to set UHS timings in HOST_CONTROL2. > >

Re: [U-Boot] [U-Boot, v2, 1/4] board: ti: dra71: Add pinmux settings for NAND on DRA71x EVM

2019-04-12 Thread Tom Rini
On Wed, Feb 27, 2019 at 01:29:35PM +0530, Faiz Abbas wrote: > From: Franklin S Cooper Jr > > By default VOUT3 occupies the pins required for NAND. Therefore, create > a seperate entry that can be use to reconfigure these pins to work for > NAND. > > On the EVM SWITCH 8 pins 0 and 1 will be

Re: [U-Boot] [U-Boot, v3, 11/13] configs: am65x_evm: Enable CONFIG_REGMAP

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:17PM +0530, Faiz Abbas wrote: > Add Support for CONFIG_REGMAP. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot, PATCHv2, 1/2] ti: keystone2: Move CONFIG_ISW_ENTRY_ADDR to a common place

2019-04-12 Thread Tom Rini
On Tue, Mar 19, 2019 at 07:14:37AM -0400, Tom Rini wrote: > The ISW_ENTRY_ADDR Kconfig option under mach-omap2 isn't a SoC specific > notion but rather "where is our previous stage loaded in memory?" > option. Make use of this on ARCH_KEYSTONE rather than SPL_TEXT_BASE for > our HS builds that

Re: [U-Boot] [U-Boot, V3, 2/2] ARM: davinci: da850evm: Enable SPL_OF_CONTROL without PLATDATA

2019-04-12 Thread Tom Rini
On Mon, Feb 25, 2019 at 09:53:47PM -0600, Adam Ford wrote: > With the memory mapping giving us some more avialable RAM, this > updates the da850-evm-u-boot.dtsi to include the serial port, SPI > and Flash nodes along with some dependent nodes in the SPL dtb. > This also removes the platform data

Re: [U-Boot] [U-Boot, v3, 10/13] mmc: am654_sdhci: Add Support for PHY

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:16PM +0530, Faiz Abbas wrote: > Add support in the driver for handling phy specific registers. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

  1   2   3   >