[PATCH] arm: K3: Increase default SYSFW image size allocation

2020-04-30 Thread Andrew F. Davis
: Andrew F. Davis --- arch/arm/mach-k3/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig index a13cbef9b5..c7d186149b 100644 --- a/arch/arm/mach-k3/Kconfig +++ b/arch/arm/mach-k3/Kconfig @@ -119,7 +119,7 @@ config

Re: am65x build issues

2020-04-30 Thread Andrew F. Davis
On 4/30/20 3:03 PM, Jan Kiszka wrote: > Hi all, > > I've noticed that building am65x_evm_a53_defconfig causes the dtbs to be > built twice, once for the main u-boot and once for the spl. This is > because of an extra dependency in mach-k3/config_secure.mk added by > 508369672ca3. Why should the pr

Re: [PATCH 4/4] kbuild: arm: Fix duplicate builds of dtbs

2020-05-08 Thread Andrew F. Davis
In the same run, fix needless rebuilding of the secured spl dtb. > > Fixes: 508369672ca3 ("arm: mach-k3: Add secure device build support") > CC: Andrew F. Davis > Signed-off-by: Jan Kiszka > --- > arch/arm/dts/Makefile | 6 -- > arch/arm/mach-k3/

[PATCH] arm: mach-k3: Clean non-coherent lines out of L3 cache

2020-07-15 Thread Andrew F. Davis
nally, leading to a loss of data. Signed-off-by: Andrew F. Davis Tested-by: Faiz Abbas --- arch/arm/mach-k3/Makefile | 1 + arch/arm/mach-k3/cache.S | 24 2 files changed, 25 insertions(+) create mode 100644 arch/arm/mach-k3/cache.S diff --git a/arch/arm/mach-k3/Mak

[U-Boot] [PATCH] defconfig: k2x_hs: Remove DTB_RESELECT to fix DHCP issue

2020-02-14 Thread Andrew F. Davis
with the installation of the secure boot monitor. This patch also removes the above configs for the K2 GP devices, as they are not needed, and to keep the differences between the GP and HS defconfigs to a minimum. Signed-off-by: Madan Srinivas Signed-off-by: Andrew F. Davis --- configs

Re: [PATCH] tools: image-host.c: remove uboot_aes.h

2020-02-19 Thread Andrew F. Davis
+Praneeth On 2/18/20 11:23 AM, Philippe Reynes wrote: > The include uboot_aes.h is not usefull and > it breaks the compilation on android, so > we remove it. > > Signed-off-by: Philippe Reynes > --- > tools/image-host.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/tools/image-host.c

[U-Boot] [PATCH] board: ti: README: Update OP-TEE binary name

2020-03-05 Thread Andrew F. Davis
The OP-TEE binary to use is renamed to v2 as the v1 binary has been deprecated and is no longer built by default. Reported-by: Grygorii Strashko Signed-off-by: Andrew F. Davis --- board/ti/am65x/README | 2 +- board/ti/j721e/README | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH] defconfigs: am65x_hs_evm: Sync HS and non-HS defconfigs

2020-03-09 Thread Andrew F. Davis
Additions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them. Signed-off-by: Andrew F. Davis --- configs/am65x_hs_evm_a53_defconfig | 50 +++--- configs/am65x_hs_evm_r5_defconfig | 7 + 2 files changed, 53 insertions

[U-Boot] [PATCH v2] defconfigs: am65x_hs_evm: Sync HS and non-HS defconfigs

2020-03-10 Thread Andrew F. Davis
Additions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them. Signed-off-by: Andrew F. Davis --- Changes from v1: - Rebased on u-boot-ti/next configs/am65x_hs_evm_a53_defconfig | 49 +++--- configs

Re: [U-Boot] [PATCH] defconfigs: am65x_hs_evm: Sync HS and non-HS defconfigs

2020-03-10 Thread Andrew F. Davis
On 3/10/20 4:15 AM, Lokesh Vutla wrote: > > > On 09/03/20 9:56 PM, Andrew F. Davis wrote: >> Additions have been made to the non-HS defconfig without the same >> being made to the HS defconfig, sync them. > > As I said earlier, It is not easy for everyone to enab

[U-Boot] [PATCH] configs: j721e_evm_r5_defconfig: Remove SPL multi-DTB FIT support

2019-11-07 Thread Andrew F. Davis
: Andrew F. Davis --- configs/j721e_evm_r5_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig index b7168eceb4..57a8cf61e6 100644 --- a/configs/j721e_evm_r5_defconfig +++ b/configs/j721e_evm_r5_defconfig @@ -45,8 +45,6

Re: [U-Boot] [PATCH 1/3] tools: dumpimage: Provide more feedback on internal errors

2019-11-13 Thread Andrew F. Davis
On 9/17/19 5:09 PM, Andrew F. Davis wrote: > The dumpimage utility errors out in a number of places without providing > sufficient feedback to allow the user to easily determine what has gone > wrong. Add additional error messages to make the cause of the failure > more obvious. >

[U-Boot] [PATCH 0/6] J721e HS device support

2019-11-20 Thread Andrew F. Davis
and testing. Although not strictly needed they do allow J721e HS to just work out-of-box by the time the last patch adds the defconfigs. Thanks, Andrew Andrew F. Davis (6): configs: j721e_evm.h: Sync J721e environment configuration with AM65x configs: ti: Factor out call to 'args_mmc'

[U-Boot] [PATCH 4/6] arm: K3: Disable ROM configured firewalls

2019-11-20 Thread Andrew F. Davis
in re configuring the firewalls, it is concluded to clean this up in bootloaders. So disable all the firewalls that ROM doesn't open up the full address space. Signed-off-by: Andrew F. Davis Signed-off-by: Venkateswara Rao Mandela Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/am6_i

[U-Boot] [PATCH 2/6] configs: ti: Factor out call to 'args_mmc' into MMC common environment

2019-11-20 Thread Andrew F. Davis
not be MMC specific. Without the call to 'args_mmc' the command 'loadfit' becomes just a call to 'run_fit' so remove the indirection and call 'run_fit' directly, this removes the need for 'loadfit' command (which was misnamed anyway). Drop it. Signed-off

[U-Boot] [PATCH 5/6] arm: K3: Increase default SYSFW image size allocation

2019-11-20 Thread Andrew F. Davis
-by: Andrew F. Davis --- arch/arm/mach-k3/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig index 5583241943..2e111bbf27 100644 --- a/arch/arm/mach-k3/Kconfig +++ b/arch/arm/mach-k3/Kconfig @@ -119,7 +119,7 @@ config

[U-Boot] [PATCH 6/6] configs: Add configs for J721e High Security EVM

2019-11-20 Thread Andrew F. Davis
ESS option set to 'y' CONFIG_BOOTCOMMAND uses FIT images for booting Signed-off-by: Andrew F. Davis --- configs/j721e_hs_evm_a72_defconfig | 106 + configs/j721e_hs_evm_r5_defconfig | 102 +++ 2 files changed, 208 insertions(

[U-Boot] [PATCH 1/6] configs: j721e_evm.h: Sync J721e environment configuration with AM65x

2019-11-20 Thread Andrew F. Davis
Some of the environment configuration in AM65x is not available in J721e due to additions on one but not the other. These two platforms are similar enough these common definitions should be factored out to a common area, prepare for this by synchronizing them. Signed-off-by: Andrew F. Davis

[U-Boot] [PATCH 3/6] arm: K3: Fix header comment match AM6 specific file function

2019-11-20 Thread Andrew F. Davis
This file used to be the common location for K3 init when AM6 was the only device, but common code was moved to common.c and this file became AM6 specific, correct this header text. Signed-off-by: Andrew F. Davis --- arch/arm/mach-k3/am6_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] tools: k3_gen_x509_cert: Allow selecting early JTAG debug value

2020-04-22 Thread Andrew F. Davis
from unintentionally leaving this open. On non-HS devices JTAG is left open anyway so this does not change behavior on those devices. Change the default to off and allow it to be switched back on by command line flag if needed. Signed-off-by: Andrew F. Davis --- tools/k3_gen_x509_cert.sh | 14

Re: [PATCH] tools: k3_gen_x509_cert: Allow selecting early JTAG debug value

2020-04-23 Thread Andrew F. Davis
On 4/23/20 2:38 AM, Lokesh Vutla wrote: > > > On 22/04/20 10:39 PM, Andrew F. Davis wrote: >> When authenticating the initial boot binary the ROM will check a debug >> type value in the certificate and based on that open JTAG access to that >> core. >> >> T

Re: [U-Boot] Regression in fastboot on X15 due to CDCE913 enabling

2019-10-24 Thread Andrew F. Davis
On 10/24/19 11:25 AM, Vignesh Raghavendra wrote: > Hi Sam, > > On 24-Oct-19 7:16 PM, Sam Protsenko wrote: >> Putting Vignesh to "To:". >> >> Hi Vignesh, >> >> Please address Tero's comments below (I've marked with ^^^). Thanks. >> >> On Thu, Oct 24, 2019 at 3:54 PM Tero Kristo wrote: >>> >>> On 2

[PATCH] board: ti: am654: Disable SA2UL node for HS devices

2020-06-09 Thread Andrew F. Davis
. Signed-off-by: Andrew F. Davis --- board/ti/am65x/evm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/ti/am65x/evm.c b/board/ti/am65x/evm.c index a22900dcf9..20b75ba133 100644 --- a/board/ti/am65x/evm.c +++ b/board/ti/am65x/evm.c @@ -108,10 +108,10 @@ int

Re: [PATCH v3 01/10] lib: elf: Move the generic elf loading/validating functions to lib

2020-01-21 Thread Andrew F. Davis
On 1/21/20 6:07 AM, Keerthy wrote: > Move the generic elf loading/validating functions to lib/ > so that they can be re-used and accessed by code existing > outside cmd. > > Signed-off-by: Keerthy > Suggested-by: Simon Goldschmidt > Reviewed-by: Simon Goldschmidt > --- > diff --git a/include/el

Re: [PATCH v3 02/10] arm: k3: Add support for loading non linux remote cores

2020-01-21 Thread Andrew F. Davis
On 1/21/20 6:07 AM, Keerthy wrote: > Add MAIN domain R5FSS0 remoteproc support from spl. This enables > loading the elf firmware in SPL and starting the remotecore. > > In order to start the core, there should be a file with path > "/lib/firmware/j7-main-r5f0_0-fw" under filesystem > of respective

Re: [PATCH v3 07/10] include: configs: j721e_evm: Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0

2020-01-21 Thread Andrew F. Davis
On 1/21/20 6:07 AM, Keerthy wrote: > Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware > loadaddr and name. > > Signed-off-by: Keerthy > --- > include/configs/j721e_evm.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/include/configs/j721e_evm.h b/include/configs

Re: [PATCH v3 08/10] configs: j721e_evm_r5: Enable R5F remoteproc support

2020-01-21 Thread Andrew F. Davis
On 1/21/20 6:07 AM, Keerthy wrote: > Enable r5f remoteproc support in r5 defconfig so that r5s can > be started in spl. > s/r5f/R5F s/r5/R5 s/spl/SPL > Signed-off-by: Keerthy > Signed-off-by: Lokesh Vutla > --- > configs/j721e_evm_r5_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > >

Re: [PATCH v3 10/10] env: nowhere: set default enviroment

2020-01-21 Thread Andrew F. Davis
On 1/21/20 6:07 AM, Keerthy wrote: > set default enviroment so that set_env calls succeed > when ENV_IS_NOWHERE is alone set. > Capitalize first letter of a sentence. Also no need to line wrap at 50 chars.. For last line: "when only ENV_IS_NOWHERE is set." reads better. Andrew > Signed-off-

Re: [PATCH v3 02/10] arm: k3: Add support for loading non linux remote cores

2020-01-22 Thread Andrew F. Davis
On 1/21/20 8:10 PM, keerthy wrote: > > > On 1/21/2020 6:26 PM, Andrew F. Davis wrote: >> On 1/21/20 6:07 AM, Keerthy wrote: >>> Add MAIN domain R5FSS0 remoteproc support from spl. This enables >>> loading the elf firmware in SPL and starting the remotecore. &

Re: [PATCH v3 02/10] arm: k3: Add support for loading non linux remote cores

2020-01-23 Thread Andrew F. Davis
On 1/22/20 11:10 PM, Keerthy wrote: > > > On 22/01/20 9:55 pm, Andrew F. Davis wrote: >> On 1/21/20 8:10 PM, keerthy wrote: >>> >>> >>> On 1/21/2020 6:26 PM, Andrew F. Davis wrote: >>>> On 1/21/20 6:07 AM, Keerthy wrote: >>>>

Re: [PATCH v3 02/10] arm: k3: Add support for loading non linux remote cores

2020-01-23 Thread Andrew F. Davis
On 1/23/20 11:44 AM, Keerthy wrote: > > > On 23/01/20 6:54 pm, Andrew F. Davis wrote: >> On 1/22/20 11:10 PM, Keerthy wrote: >>> >>> >>> On 22/01/20 9:55 pm, Andrew F. Davis wrote: >>>> On 1/21/20 8:10 PM, keerthy wrote: >>>>>

Re: [PATCH v3 02/10] arm: k3: Add support for loading non linux remote cores

2020-01-24 Thread Andrew F. Davis
On 1/24/20 3:42 AM, Tero Kristo wrote: > On 23/01/2020 19:19, Keerthy wrote: >> >> >> On 23/01/20 10:35 pm, Andrew F. Davis wrote: >>> On 1/23/20 11:44 AM, Keerthy wrote: >>>> >>>> >>>> On 23/01/20 6:54 pm, Andrew F. Davis wrote: &g

Re: [U-Boot] [PATCH 1/3] tools: dumpimage: Provide more feedback on internal errors

2020-01-07 Thread Andrew F. Davis
On 11/13/19 11:14 AM, Andrew F. Davis wrote: > On 9/17/19 5:09 PM, Andrew F. Davis wrote: >> The dumpimage utility errors out in a number of places without providing >> sufficient feedback to allow the user to easily determine what has gone >> wrong. Add additional error messa

[U-Boot] [PATCH] defconfigs: am335x_hs_evm: Sync HS and non-HS defconfigs

2020-01-07 Thread Andrew F. Davis
Sync new additions to non-HS defconfig with HS defconfig. Signed-off-by: Andrew F. Davis --- configs/am335x_hs_evm_defconfig | 13 ++--- configs/am335x_hs_evm_uart_defconfig | 13 ++--- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/configs

[U-Boot] [PATCH] defconfigs: am43xx_hs_evm: Sync HS and non-HS defconfigs

2020-01-07 Thread Andrew F. Davis
Sync new additions to non-HS defconfig with HS defconfig. Signed-off-by: Andrew F. Davis --- configs/am43xx_hs_evm_defconfig | 15 +++ 1 file changed, 15 insertions(+) diff --git a/configs/am43xx_hs_evm_defconfig b/configs/am43xx_hs_evm_defconfig index d399ab7ed3..0255bcd994 100644

[U-Boot] [PATCH] defconfigs: Add a config for AM43xx High Security EVM with QSPI Boot support

2020-01-07 Thread Andrew F. Davis
On AM43xx HS devices, QSPI boot is XIP and we use a single stage bootloader. Add a defconfig for this. Signed-off-by: Andrew F. Davis --- MAINTAINERS | 1 + configs/am43xx_hs_evm_qspi_defconfig | 65 2 files changed, 66 insertions

[U-Boot] [PATCH] arm: mach-k3: Warn when node to disable is not found

2020-01-07 Thread Andrew F. Davis
Not finding a node that we try to disable does not always need to be fatal to boot but should at least print out a warning. Return error from fdt_disable_node as it did fail to disable the node, but only warn in the case of disabling the TRNG as this will not prevent boot. Signed-off-by: Andrew F

[U-Boot] [PATCH] arm: mach-k3: security: Clean image out of cache before authentication

2020-01-07 Thread Andrew F. Davis
version. Signed-off-by: Andrew F. Davis --- arch/arm/mach-k3/security.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-k3/security.c b/arch/arm/mach-k3/security.c index 4e011ee10e..83b037f189 100644 --- a/arch/arm/mach-k3/security.c +++ b/arch/arm/mach-k3

[U-Boot] [PATCH v2] spl: Move check for SPL_LIBCOMMON support to header

2020-01-07 Thread Andrew F. Davis
Print statements in SPL depend on lib/common support, due to this many such print statements are ifdef'd. Instead of checking at each call site move the check to the common.h header and remove these inline checks. Signed-off-by: Andrew F. Davis Reviewed-by: Simon Glass --- common/common_

Re: [U-Boot] [PATCH 0/6] J721e HS device support

2020-01-10 Thread Andrew F. Davis
Hi Tom, Looks like -next wasn't used for this, ping on getting this into master now? Thanks, Andrew On 12/16/19 3:50 PM, Andrew F. Davis wrote: > Hi Tom, > > I see you have a -next again, if you don't want to take this for the > v2020.01 perhaps this could be a good

Re: [U-Boot] [PATCH 0/6] J721e HS device support

2020-01-10 Thread Andrew F. Davis
On 1/10/20 1:38 PM, Andrew F. Davis wrote: > Hi Tom, > > Looks like -next wasn't used for this, ping on getting this into master now? > Looks like a minor merge conflict now in master for this, I'll post a v2 to help with that. Andrew > Thanks, > Andrew >

[U-Boot] [PATCH v2 0/6] J721e HS device support

2020-01-10 Thread Andrew F. Davis
and testing. Although not strictly needed they do allow J721e HS to just work out-of-box by the time the last patch adds the defconfigs. Thanks, Andrew Changes from v1: - Rebase on master and re-sync defconfigs Andrew F. Davis (6): configs: j721e_evm.h: Sync J721e environment configuration

[U-Boot] [PATCH v2 1/6] configs: j721e_evm.h: Sync J721e environment configuration with AM65x

2020-01-10 Thread Andrew F. Davis
Some of the environment configuration in AM65x is not available in J721e due to additions on one but not the other. These two platforms are similar enough these common definitions should be factored out to a common area, prepare for this by synchronizing them. Signed-off-by: Andrew F. Davis

[U-Boot] [PATCH v2 4/6] arm: K3: Disable ROM configured firewalls

2020-01-10 Thread Andrew F. Davis
in re configuring the firewalls, it is concluded to clean this up in bootloaders. So disable all the firewalls that ROM doesn't open up the full address space. Signed-off-by: Andrew F. Davis Signed-off-by: Venkateswara Rao Mandela Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/am6_i

[U-Boot] [PATCH v2 3/6] arm: K3: Fix header comment match AM6 specific file function

2020-01-10 Thread Andrew F. Davis
This file used to be the common location for K3 init when AM6 was the only device, but common code was moved to common.c and this file became AM6 specific, correct this header text. Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla --- arch/arm/mach-k3/am6_init.c | 2 +- 1 file changed

[U-Boot] [PATCH v2 2/6] configs: ti: Factor out call to 'args_mmc' into MMC common environment

2020-01-10 Thread Andrew F. Davis
not be MMC specific. Without the call to 'args_mmc' the command 'loadfit' becomes just a call to 'run_fit' so remove the indirection and call 'run_fit' directly, this removes the need for 'loadfit' command (which was misnamed anyway). Drop it. Signed-off-

[U-Boot] [PATCH v2 5/6] arm: K3: Increase default SYSFW image size allocation

2020-01-10 Thread Andrew F. Davis
-by: Andrew F. Davis Reviewed-by: Lokesh Vutla --- arch/arm/mach-k3/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig index 5583241943..2e111bbf27 100644 --- a/arch/arm/mach-k3/Kconfig +++ b/arch/arm/mach-k3/Kconfig

[U-Boot] [PATCH v2 6/6] configs: Add configs for J721e High Security EVM

2020-01-10 Thread Andrew F. Davis
ESS option set to 'y' CONFIG_BOOTCOMMAND uses FIT images for booting Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla --- configs/j721e_hs_evm_a72_defconfig | 116 + configs/j721e_hs_evm_r5_defconfig | 105 ++ 2 files changed, 221 ins

[U-Boot] [PATCH] configs: am335x_hs_evm_uart: Add YMODEM SPL support for UART boot

2018-11-28 Thread Andrew F. Davis
UART booting requires YMODEM support. Add this here. Signed-off-by: Andrew F. Davis --- Seems rather obvious, not sure how I missed when I made this defconfig for usptreaming in the first place.. configs/am335x_hs_evm_uart_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs

[U-Boot] [PATCH 0/7] Add USB/UART boot to HS DRA7xx/AM57xx

2018-11-30 Thread Andrew F. Davis
specifying this address, when this is done the offset in the base HS defconfig can be moved to match the new offset and the defconfigs added here in patch 5 and 6 can be unified back into the base HS defconfig. The last patch updates the docs for the same above. Thanks, Andrew Andrew F. Davis (7

[U-Boot] [PATCH 1/7] spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU

2018-11-30 Thread Andrew F. Davis
The symbol CONFIG_SPL_DFU_SUPPORT in SPL build has the same meaning as CONFIG_DFU in regular U-Boot. Drop the _SUPPORT to allow for cleaner use in code. Signed-off-by: Andrew F. Davis --- arch/arm/cpu/armv8/zynqmp/spl.c | 2 +- arch/arm/mach-omap2/boot-common.c | 2 +- common/Makefile

[U-Boot] [PATCH 3/7] dfu: Remove dependency on HUSH parser in SPL

2018-11-30 Thread Andrew F. Davis
n. To break this odd and unneeded dependency chain we use CONFIG_IS_ENABLED where appropriate to prevent calls into HUSH code from SPL. This also removes our need to pull in the rather unrelated source file when SPL_DFU is defined. Signed-off-by: Andrew F. Davis --- common/Makefile | 1 - common/

[U-Boot] [PATCH 2/7] dfu: Make DFU support more SPL friendly

2018-11-30 Thread Andrew F. Davis
: Andrew F. Davis --- drivers/Makefile | 3 +-- drivers/dfu/Makefile | 12 ++-- include/dfu.h| 10 +- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/drivers/Makefile b/drivers/Makefile index 7fe80b1d72..26e4d39df6 100644 --- a/drivers/Makefile +++ b

[U-Boot] [PATCH 5/7] defconfigs: Add config for DRA7xx High Security EVM with UART/USB Boot support

2018-11-30 Thread Andrew F. Davis
Add a new defconfig file for the DRA7xx High Security EVM. This config is specific for the case of UART/USB booting. Signed-off-by: Andrew F. Davis --- MAINTAINERS | 1 + configs/dra7xx_hs_evm_uart_defconfig | 106 +++ 2 files changed, 107

[U-Boot] [PATCH 4/7] ARM: mach-omap2: Kconfig: Allow OMAP5 devices to set entry point

2018-11-30 Thread Andrew F. Davis
. Signed-off-by: Andrew F. Davis --- arch/arm/mach-omap2/Kconfig| 13 + arch/arm/mach-omap2/am33xx/Kconfig | 15 --- include/configs/ti_omap5_common.h | 2 +- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach

[U-Boot] [PATCH 6/7] defconfigs: Add config for AM57xx High Security EVM with UART/USB Boot support

2018-11-30 Thread Andrew F. Davis
Add a new defconfig file for the AM57xx High Security EVM. This config is specific for the case of UART/USB booting. Signed-off-by: Andrew F. Davis --- MAINTAINERS | 1 + configs/am57xx_hs_evm_uart_defconfig | 92 2 files changed, 93

[U-Boot] [PATCH 7/7] doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI

2018-11-30 Thread Andrew F. Davis
Booting from UART and USB on HS devices is now supported for this platform. Update documentation for the same. Signed-off-by: Andrew F. Davis --- doc/README.ti-secure | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/README.ti-secure b/doc/README.ti-secure index

Re: [U-Boot] [PATCH 6/7] defconfigs: Add config for AM57xx High Security EVM with UART/USB Boot support

2018-12-04 Thread Andrew F. Davis
On 12/2/18 11:24 PM, Lokesh Vutla wrote: > > > On 30/11/18 10:41 PM, Andrew F. Davis wrote: >> Add a new defconfig file for the AM57xx High Security EVM. This config >> is specific for the case of UART/USB booting. > > Can you share the steps on how you veri

Re: [U-Boot] [PATCH 6/7] defconfigs: Add config for AM57xx High Security EVM with UART/USB Boot support

2018-12-05 Thread Andrew F. Davis
On 12/5/18 6:42 AM, Lokesh Vutla wrote: > > > On 05/12/18 3:07 AM, Andrew F. Davis wrote: >> On 12/2/18 11:24 PM, Lokesh Vutla wrote: >>> >>> >>> On 30/11/18 10:41 PM, Andrew F. Davis wrote: >>>> Add a new defconfig file for the AM57xx High S

[U-Boot] [PATCH v2 0/7] Add USB boot to HS DRA7xx/AM57xx

2018-12-05 Thread Andrew F. Davis
: - Drop explicit UART boot support from DRA7xx as this cannot be tested Andrew F. Davis (7): spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU dfu: Make DFU support more SPL friendly dfu: Remove dependency on HUSH parser in SPL ARM: mach-omap2: Kconfig: Allow OMAP5 devices to set entry point

[U-Boot] [PATCH v2 1/7] spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU

2018-12-05 Thread Andrew F. Davis
The symbol CONFIG_SPL_DFU_SUPPORT in SPL build has the same meaning as CONFIG_DFU in regular U-Boot. Drop the _SUPPORT to allow for cleaner use in code. Signed-off-by: Andrew F. Davis --- arch/arm/cpu/armv8/zynqmp/spl.c | 2 +- arch/arm/mach-omap2/boot-common.c | 2 +- common/Makefile

[U-Boot] [PATCH v2 2/7] dfu: Make DFU support more SPL friendly

2018-12-05 Thread Andrew F. Davis
: Andrew F. Davis --- drivers/Makefile | 3 +-- drivers/dfu/Makefile | 12 ++-- include/dfu.h| 10 +- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/drivers/Makefile b/drivers/Makefile index 7fe80b1d72..26e4d39df6 100644 --- a/drivers/Makefile +++ b

[U-Boot] [PATCH v2 7/7] doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI

2018-12-05 Thread Andrew F. Davis
Booting from UART and USB on HS devices is now supported for this platform. Update documentation for the same. Signed-off-by: Andrew F. Davis --- doc/README.ti-secure | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/README.ti-secure b/doc/README.ti-secure index

[U-Boot] [PATCH v2 5/7] defconfigs: Add config for DRA7xx High Security EVM with USB Boot support

2018-12-05 Thread Andrew F. Davis
Add a new defconfig file for the DRA7xx High Security EVM. This config is specific for the case of USB booting. Signed-off-by: Andrew F. Davis --- MAINTAINERS | 1 + configs/dra7xx_hs_evm_usb_defconfig | 106 2 files changed, 107 insertions

[U-Boot] [PATCH v2 6/7] defconfigs: Add config for AM57xx High Security EVM with USB/UART Boot support

2018-12-05 Thread Andrew F. Davis
Add a new defconfig file for the AM57xx High Security EVM. This config is specific for the case of USB/UART booting. Signed-off-by: Andrew F. Davis --- MAINTAINERS | 1 + configs/am57xx_hs_evm_usb_defconfig | 92 + 2 files changed, 93

[U-Boot] [PATCH v2 4/7] ARM: mach-omap2: Kconfig: Allow OMAP5 devices to set entry point

2018-12-05 Thread Andrew F. Davis
. Signed-off-by: Andrew F. Davis --- arch/arm/mach-omap2/Kconfig| 13 + arch/arm/mach-omap2/am33xx/Kconfig | 15 --- include/configs/ti_omap5_common.h | 2 +- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach

[U-Boot] [PATCH v2 3/7] dfu: Remove dependency on HUSH parser in SPL

2018-12-05 Thread Andrew F. Davis
n. To break this odd and unneeded dependency chain we use CONFIG_IS_ENABLED where appropriate to prevent calls into HUSH code from SPL. This also removes our need to pull in the rather unrelated source file when SPL_DFU is defined. Signed-off-by: Andrew F. Davis --- common/Makefile | 1 - common/

[U-Boot] [PATCH] defconfigs: am335x_hs_evm: Sync HS and non-HS defconfigs

2018-12-05 Thread Andrew F. Davis
Sync new additions to non-HS defconfig with HS defconfig. Signed-off-by: Andrew F. Davis --- configs/am335x_hs_evm_defconfig | 8 +++- configs/am335x_hs_evm_uart_defconfig | 13 +++-- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/configs

Re: [U-Boot] [PATCH v3 1/1] avb2.0: add get_size_of_partition()

2018-08-10 Thread Andrew F. Davis
reviewed v1, not sure enough changed to drop his review tag, anyway for me: Acked-by: Andrew F. Davis > --- > > Changes for v3: > - reword commit message, added avblib repository link, that stick to specific > tag > - fix get_size_of_partition() function description. > &g

Re: [U-Boot] [PATCH] configs: am57xx: change default board name to beagle_x15

2018-08-22 Thread Andrew F. Davis
On 08/21/2018 11:47 PM, Praneeth Bajjuri wrote: > beagleboard x15 is the first supported platform variant of am57xx > in AOSP (android open source project) now. > > changing board name to stay in consistent with aosp target name. > > Signed-off-by: Praneeth Bajjuri > --- > configs/am57xx_evm_de

Re: [U-Boot] [PATCH v3 1/2] common: Add support for Android DT image

2018-06-07 Thread Andrew F. Davis
On 06/06/2018 09:06 AM, Sam Protsenko wrote: > Android documentation recommends new image format for storing DTB/DTBO > files: [1]. To support that format, this patch adds helper functions for > Android DTB/DTBO format. In image-android-dt.* files you can find helper > functions to work with Androi

Re: [U-Boot] [PATCH v3 1/2] common: Add support for Android DT image

2018-06-07 Thread Andrew F. Davis
On 06/07/2018 10:55 AM, Sam Protsenko wrote: > On 7 June 2018 at 17:50, Andrew F. Davis wrote: >> On 06/06/2018 09:06 AM, Sam Protsenko wrote: >>> Android documentation recommends new image format for storing DTB/DTBO >>> files: [1]. To support that format, this patc

[U-Boot] [PATCH] arm: Do not clear LR on exception in SPL

2018-06-11 Thread Andrew F. Davis
branch instruction here. Signed-off-by: Andrew F. Davis --- arch/arm/lib/vectors.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/lib/vectors.S b/arch/arm/lib/vectors.S index 79afc27e84..d629cb1dc2 100644 --- a/arch/arm/lib/vectors.S +++ b/arch/arm/lib/vectors.S

Re: [U-Boot] [PATCH 1/1] avb2.0: add get_size_of_partition()

2018-07-09 Thread Andrew F. Davis
On 07/09/2018 09:52 AM, Sam Protsenko wrote: > On Mon, Jul 9, 2018 at 3:15 PM, Igor Opaniuk wrote: >> Implement get_size_of_partition() operation, >> which is required by the latest upstream libavb [1]. >> >> [1] https://android.googlesource.com/platform/external/avb/+/master/README.md >> I may

Re: [U-Boot] [PATCH 1/1] avb2.0: add get_size_of_partition()

2018-07-13 Thread Andrew F. Davis
On 07/13/2018 12:09 PM, Igor Opaniuk wrote: > Hi Andrew, > Sorry I missed your message. > > On 9 July 2018 at 18:21, Andrew F. Davis wrote: >> On 07/09/2018 09:52 AM, Sam Protsenko wrote: >>> On Mon, Jul 9, 2018 at 3:15 PM, Igor Opaniuk >>> wrote:

Re: [U-Boot] [PATCH v2 1/1] avb2.0: add get_size_of_partition()

2018-07-17 Thread Andrew F. Davis
AVB_IO_RESULT_OK, on success (GUID found) > + * AVB_IO_RESULT_ERROR_IO, out_size_num_bytes is NULL This needs updated, other than that, Acked-by: Andrew F. Davis > + * AVB_IO_RESULT_ERROR_NO_SUCH_PARTITION, if partition was not found > + */ > +stati

Re: [U-Boot] [PATCH v3 3/7] dfu: Remove dependency on HUSH parser in SPL

2019-01-23 Thread Andrew F. Davis
On 1/23/19 12:54 AM, Lukasz Majewski wrote: > Hi Tom, > >> On Tue, Jan 22, 2019 at 11:43:33PM +0100, Lukasz Majewski wrote: >>> On Thu, 17 Jan 2019 13:43:04 -0600 >>> "Andrew F. Davis" wrote: >>> >>>> CLI support with the HUSH par

[U-Boot] [PATCH v4 0/5] Add USB boot to HS DRA7xx/AM57xx

2019-01-28 Thread Andrew F. Davis
this cannot be tested Andrew F. Davis (5): defconfigs: dra7xx_hs_evm: Sync HS and non-HS defconfigs defconfigs: am57xx_hs_evm: Sync HS and non-HS defconfigs defconfigs: Add config for DRA7xx High Security EVM with USB Boot support defconfigs: Add config for AM57xx High Security EVM with

[U-Boot] [PATCH v4 2/5] defconfigs: am57xx_hs_evm: Sync HS and non-HS defconfigs

2019-01-28 Thread Andrew F. Davis
Additions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them. Signed-off-by: Andrew F. Davis --- configs/am57xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig

[U-Boot] [PATCH v4 4/5] defconfigs: Add config for AM57xx High Security EVM with USB/UART Boot support

2019-01-28 Thread Andrew F. Davis
Add a new defconfig file for the AM57xx High Security EVM. This config is specific for the case of USB/UART booting. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- MAINTAINERS | 1 + configs/am57xx_hs_evm_usb_defconfig | 98 + 2

[U-Boot] [PATCH v4 1/5] defconfigs: dra7xx_hs_evm: Sync HS and non-HS defconfigs

2019-01-28 Thread Andrew F. Davis
Additions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them. Signed-off-by: Andrew F. Davis --- configs/dra7xx_hs_evm_defconfig | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/dra7xx_hs_evm_defconfig b/configs

[U-Boot] [PATCH v4 3/5] defconfigs: Add config for DRA7xx High Security EVM with USB Boot support

2019-01-28 Thread Andrew F. Davis
Add a new defconfig file for the DRA7xx High Security EVM. This config is specific for the case of USB booting. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- MAINTAINERS | 1 + configs/dra7xx_hs_evm_usb_defconfig | 113 2 files

[U-Boot] [PATCH v4 5/5] doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI

2019-01-28 Thread Andrew F. Davis
Booting from UART and USB on HS devices is now supported for this platform. Update documentation for the same. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- doc/README.ti-secure | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/README.ti-secure b/doc

Re: [U-Boot] [U-Boot, v3, 5/7] defconfigs: Add config for DRA7xx High Security EVM with USB Boot support

2019-01-28 Thread Andrew F. Davis
On 1/26/19 9:51 PM, Tom Rini wrote: > On Thu, Jan 17, 2019 at 01:43:06PM -0600, Andrew F. Davis wrote: > >> Add a new defconfig file for the DRA7xx High Security EVM. This config >> is specific for the case of USB booting. >> >> Signed-off-by: Andrew F. Davis >

[U-Boot] [PATCH 2/3] am65x_evm: Allow bootm to load larger kernels

2019-02-01 Thread Andrew F. Davis
Bootm will fail to load kernels over 8MB, this is not enough for our 64bit kernel images. Increase this to 64MB. Signed-off-by: Andrew F. Davis --- include/configs/am65x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am65x_evm.h b/include/configs/am65x_evm.h index

[U-Boot] [PATCH 1/3] configs: am65x_evm_r5: Enable GPT support

2019-02-01 Thread Andrew F. Davis
The second loader stages may be stored on GPT partitions, enable support for this here. Signed-off-by: Andrew F. Davis --- configs/am65x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am65x_evm_r5_defconfig b/configs/am65x_evm_r5_defconfig index 237b9e8229

[U-Boot] [PATCH 3/3] armv7R: K3: am654: Fix order of debug elements in x509 template

2019-02-01 Thread Andrew F. Davis
The first element in the debug section is expected to be debugUID. ROM will not parse this correctly when out of order, fix this here. Signed-off-by: Andrew F. Davis --- tools/k3_x509template.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/k3_x509template.txt b

[U-Boot] [PATCH] board: ti: Move fastboot functions out of TI_SECURE_DEVICE ifdef

2019-02-11 Thread Andrew F. Davis
When these were moved from mach-omap2 to board files they got placed inside TI_SECURE_DEVICE ifdef block, they are not secure only, move them up and out. Fixes: 413b90777f8d ("ti: fastboot: Move weak overrides to board files") Signed-off-by: Andrew F. Davis --- board/ti/am57xx/bo

Re: [U-Boot] [PATCH v2 7/7] doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI

2019-01-16 Thread Andrew F. Davis
On 12/6/18 3:41 PM, Tom Rini wrote: > On Wed, Dec 05, 2018 at 11:51:36AM -0600, Andrew F. Davis wrote: > >> Booting from UART and USB on HS devices is now supported for this >> platform. Update documentation for the same. >> >> Signed-off-by: Andrew F. Davis >

Re: [U-Boot] [U-Boot, v2, 4/7] ARM: mach-omap2: Kconfig: Allow OMAP5 devices to set entry point

2019-01-17 Thread Andrew F. Davis
On 1/16/19 3:14 PM, Tom Rini wrote: > On Wed, Dec 05, 2018 at 11:51:33AM -0600, Andrew F. Davis wrote: > >> Like AM33xx and AM43xx, DRA7xx and AM57xx devices may need to >> have an non-standard boot address in memory. This may be due >> to the device being a high security

Re: [U-Boot] [U-Boot, v2, 4/7] ARM: mach-omap2: Kconfig: Allow OMAP5 devices to set entry point

2019-01-17 Thread Andrew F. Davis
On 1/17/19 8:15 AM, Tom Rini wrote: > On Thu, Jan 17, 2019 at 08:13:21AM -0600, Andrew F. Davis wrote: >> On 1/16/19 3:14 PM, Tom Rini wrote: >>> On Wed, Dec 05, 2018 at 11:51:33AM -0600, Andrew F. Davis wrote: >>> >>>> Like AM33xx and AM43xx, DRA7xx and AM57

[U-Boot] [PATCH v3 1/7] spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU

2019-01-17 Thread Andrew F. Davis
The symbol CONFIG_SPL_DFU_SUPPORT in SPL build has the same meaning as CONFIG_DFU in regular U-Boot. Drop the _SUPPORT to allow for cleaner use in code. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- arch/arm/cpu/armv8/zynqmp/spl.c | 2 +- arch/arm/mach-omap2/boot-common.c | 2

[U-Boot] [PATCH v3 2/7] dfu: Make DFU support more SPL friendly

2019-01-17 Thread Andrew F. Davis
: Andrew F. Davis Reviewed-by: Tom Rini --- drivers/Makefile | 3 +-- drivers/dfu/Makefile | 12 ++-- include/dfu.h| 10 +- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/drivers/Makefile b/drivers/Makefile index 14543c7d6c..eca023ac04 100644 --- a

[U-Boot] [PATCH v3 0/7] Add USB boot to HS DRA7xx/AM57xx

2019-01-17 Thread Andrew F. Davis
: - Only use ISW_ENTRY_ADDR for system with a set default Changes from v1: - Drop explicit UART boot support from DRA7xx as this cannot be tested Andrew F. Davis (7): spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU dfu: Make DFU support more SPL friendly dfu: Remove dependency on HUSH parser

[U-Boot] [PATCH v3 3/7] dfu: Remove dependency on HUSH parser in SPL

2019-01-17 Thread Andrew F. Davis
n. To break this odd and unneeded dependency chain we use CONFIG_IS_ENABLED where appropriate to prevent calls into HUSH code from SPL. This also removes our need to pull in the rather unrelated source file when SPL_DFU is defined. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- common/Mak

[U-Boot] [PATCH v3 5/7] defconfigs: Add config for DRA7xx High Security EVM with USB Boot support

2019-01-17 Thread Andrew F. Davis
Add a new defconfig file for the DRA7xx High Security EVM. This config is specific for the case of USB booting. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- MAINTAINERS | 1 + configs/dra7xx_hs_evm_usb_defconfig | 106 2 files

[U-Boot] [PATCH v3 7/7] doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI

2019-01-17 Thread Andrew F. Davis
Booting from UART and USB on HS devices is now supported for this platform. Update documentation for the same. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- doc/README.ti-secure | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/README.ti-secure b/doc

[U-Boot] [PATCH v3 4/7] ARM: mach-omap2: Kconfig: Allow OMAP5 devices to set entry point

2019-01-17 Thread Andrew F. Davis
. Signed-off-by: Andrew F. Davis --- arch/arm/mach-omap2/Kconfig| 15 +++ arch/arm/mach-omap2/am33xx/Kconfig | 15 --- include/configs/ti_omap5_common.h | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach

[U-Boot] [PATCH v3 6/7] defconfigs: Add config for AM57xx High Security EVM with USB/UART Boot support

2019-01-17 Thread Andrew F. Davis
Add a new defconfig file for the AM57xx High Security EVM. This config is specific for the case of USB/UART booting. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- MAINTAINERS | 1 + configs/am57xx_hs_evm_usb_defconfig | 92 + 2

Re: [U-Boot] [U-Boot, v2, 4/7] ARM: mach-omap2: Kconfig: Allow OMAP5 devices to set entry point

2019-01-17 Thread Andrew F. Davis
On 1/17/19 9:11 AM, Andrew F. Davis wrote: > On 1/17/19 8:15 AM, Tom Rini wrote: >> On Thu, Jan 17, 2019 at 08:13:21AM -0600, Andrew F. Davis wrote: >>> On 1/16/19 3:14 PM, Tom Rini wrote: >>>> On Wed, Dec 05, 2018 at 11:51:33AM -0600, Andrew F. Davis wrote: >

  1   2   3   4   5   6   >