[PATCH] firmware: ti_sci: Add missing LF in error message

2023-05-09 Thread Andreas Dannenberg
; Fix ths by adding the missing linefeed character. Signed-off-by: Andreas Dannenberg --- drivers/firmware/ti_sci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index bd7379ae55..72f572d824 100644 --- a/drivers/fir

Re: [EXTERNAL] Re: [PATCH] firmware: ti_sci: Add missing LF in error message

2023-05-10 Thread Andreas Dannenberg
On Wed, May 10, 2023 at 12:09:47PM -0400, Tom Rini wrote: > On Wed, May 10, 2023 at 08:46:37AM -0700, Andrew Davis wrote: > > On 5/9/23 4:38 PM, Andreas Dannenberg wrote: > > > The "Message not acknowledged" error message is missing a line feed, > > > leading t

Re: [PATCH 0/7] J721e: Add support for DFU boot mode

2020-01-27 Thread Andreas Dannenberg
e_evm_r5/a72_defconfig: Enable DFU related configs For all patches in the series: Reviewed-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc > > .../arm/dts/k3-j721e-r5-common-proc-board.dts | 18 +++ > arch/arm/mach-k3/include/mach/j721e_spl.h |

Re: [PATCH 0/9] TI: AM654/J721e: Add support to boot from OSPI

2020-01-29 Thread Andreas Dannenberg
n the board-specific readme files such as how to program the OSPI with the different U-Boot artifacts, etc which is super helpful for a user. Would you mind including this info into this series for both AM654x and J721E? Thanks, Andreas -- Andreas Dannenberg Texas Instruments Inc > >

Re: [PATCH v2 00/12] TI: AM654/J721e: Add support to boot from OSPI

2020-02-04 Thread Andreas Dannenberg
defconfigs to fix build issues thanks for the README updates! I re-looked through all the patches once more, hence for the entire series: Reviewed-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc > > Lokesh Vutla (1): > ARM: mach-k3: sysfw-loader: Use SPI m

[U-Boot] [PATCH] fs/fat: debug-print file read position during file_fat_read_at()

2018-08-13 Thread Andreas Dannenberg
In order to make the debug print in file_fat_read_at() a tad more useful, show the offset the file is being read at alongside the filename. Suggested-by: Tero Kristo Signed-off-by: Andreas Dannenberg --- Small addition but helpful nevertheless as none of the other debug prints embedded into

Re: [U-Boot] [PATCH] fs/fat: debug-print file read position during file_fat_read_at()

2018-08-14 Thread Andreas Dannenberg
Heinrich, On Tue, Aug 14, 2018 at 07:40:14AM +0200, Heinrich Schuchardt wrote: > On 08/14/2018 04:35 AM, Andreas Dannenberg wrote: > > In order to make the debug print in file_fat_read_at() a tad more useful, > > show the offset the file is being read at alongside the filename. >

Re: [U-Boot] [PATCH 11/25] clk: Allow clock defaults to be set also during re-reloc state

2018-08-24 Thread Andreas Dannenberg
Philipp, On Fri, Aug 24, 2018 at 04:42:15PM +0200, Dr. Philipp Tomsich wrote: > +Kever > > > On 24 Aug 2018, at 16:12, Tom Rini wrote: > > > > On Tue, Aug 21, 2018 at 08:01:49PM +0530, Lokesh Vutla wrote: > > > >> From: Andreas Dannenberg > >

Re: [U-Boot] [PATCH 11/25] clk: Allow clock defaults to be set also during re-reloc state

2018-08-24 Thread Andreas Dannenberg
er wanting to do that is that I started needing to use drivers that have globals and static variables which is when the wheels really came off trying to use those pre-reloc. I suppose should you use TPL for DDR init on RK devices there would also be no need for relocation in your SPL. -- Andreas Dannenberg Texas Instruments Inc ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 11/25] clk: Allow clock defaults to be set also during re-reloc state

2018-08-27 Thread Andreas Dannenberg
Hi Kever, On Mon, Aug 27, 2018 at 11:26:52AM +0800, Kever Yang wrote: > Hi Philipp, Andreas, > > > On 08/25/2018 12:00 AM, Dr. Philipp Tomsich wrote: > >> On 24 Aug 2018, at 17:54, Andreas Dannenberg wrote: > >> > >> Philipp, > >> > >&

[U-Boot] [PATCH] arm: mach-k3: common: Clean up ATF image startup function

2019-02-04 Thread Andreas Dannenberg
Perform some cosmetic cleanup of the ATF image startup function, namely fixing a spelling mistake, capitalization of a few words, spacing, as well aligning how errors are printed and as using panic() for cases that were using a combination of printf() + hang(). Signed-off-by: Andreas Dannenberg

Re: [U-Boot] [PATCH] ARM: armv7: Add early stack for erratum workarounds

2018-11-20 Thread Andreas Dannenberg
e alignment for ABI compliance */ Perhaps use the same comment-style ('@') and alignment like the rest of that file? Other than that looks good to me. Just wonder how this was noticed just now... Acked-by: Andreas Dannenberg > + mov sp, r0 > + > #ifd

Re: [U-Boot] [PATCH 03/22] Add core support for a bloblist to convey data from SPL

2018-09-26 Thread Andreas Dannenberg
inter to blob on success > + * @return 0 if OK, -ENOSPC if it is missing and could not be added due to > lack > + * of space, or -ESPIPE it exists but has the wrong size > + */ > +int bloblist_ensure_size(uint tag, int size, void **blobp); > + > +/** > + * bloblist_ensure() - Fi

[U-Boot] [PATCH] ARM: AM57xx: Enable FIT for HS Devices

2016-06-14 Thread Andreas Dannenberg
Enable FIT support for AM57xx platforms using the high-security (HS) device variant. Signed-off-by: Andreas Dannenberg --- This patch is based on the the patch series [1] by Lokesh. Although there is currently only 1 device supported by this defconfig the SPL FIT support is needed in

[U-Boot] [RFC 6/9] arm: omap5: add FIT image post process function

2016-06-15 Thread Andreas Dannenberg
-off-by: Andreas Dannenberg --- board/ti/am57xx/board.c | 7 +++ board/ti/dra7xx/evm.c | 7 +++ include/configs/ti_omap5_common.h | 4 3 files changed, 18 insertions(+) diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index 08cf14d..a9635c2 100644

[U-Boot] [RFC 8/9] arm: am4x: add FIT image post process function

2016-06-15 Thread Andreas Dannenberg
From: Madan Srinivas Adds a board specific FIT image post processing function when u-boot is compiled for the high-secure (HS) device variant. Signed-off-by: Madan Srinivas Signed-off-by: Andreas Dannenberg --- board/ti/am43xx/board.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

[U-Boot] [RFC 4/9] arm: omap-common: add secure rom call API for secure devices

2016-06-15 Thread Andreas Dannenberg
simply calls the omap_smc_sec routine. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg --- arch/arm/cpu/armv7/omap-common/Makefile | 4 +++ arch/arm/cpu/armv7/omap-common/sec_bridge.c | 47 + arch/arm/include/asm/omap_common.h | 4 +++ 3

[U-Boot] [RFC 2/9] arm: cache: add missing dummy functions for when dcache disabled

2016-06-15 Thread Andreas Dannenberg
From: Daniel Allred Adds missing flush_dcache_range and invalidate_dcache_range dummy (empty) placeholder functions to the #else portion of the #ifndef CONFIG_SYS_DCACHE_OFF, where full implementations of these functions are defined. Signed-off-by: Daniel Allred Signed-off-by: Andreas

[U-Boot] [RFC 3/9] arm: omap-common: add secure smc entry

2016-06-15 Thread Andreas Dannenberg
From: Daniel Allred Adds an interface for calling secure ROM APIs across a range of OMAP and OMAP compatible devices. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg --- arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 47 ++ arch/arm/include/asm

[U-Boot] [RFC 7/9] arm: am4x: add secure ROM signature verify API

2016-06-15 Thread Andreas Dannenberg
. Signed-off-by: Madan Srinivas Signed-off-by: Andreas Dannenberg --- arch/arm/cpu/armv7/am33xx/Makefile | 2 + arch/arm/cpu/armv7/am33xx/sec_fxns.c | 90 arch/arm/include/asm/arch-am33xx/sys_proto.h | 6 +- 3 files changed, 97 insertions(+), 1

[U-Boot] [RFC 1/9] spl: fit: add support for post-processing of images

2016-06-15 Thread Andreas Dannenberg
desired to do things like strip headers or footers attached to the images before they were packeaged into the FIT, or to perform operations such as decryption or authentication. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg --- common/spl/spl_fit.c | 21 - include

[U-Boot] [RFC 9/9] ti: omap-common: Update to generate secure FIT

2016-06-15 Thread Andreas Dannenberg
-binary-image script of the TI SECDEV package. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg --- arch/arm/cpu/armv7/omap-common/config_secure.mk | 57 - arch/arm/cpu/armv7/omap5/config.mk | 3 ++ 2 files changed, 58 insertions(+), 2

[U-Boot] [RFC 0/9] Secure Boot by Authenticating/Decrypting SPL FIT blobs

2016-06-15 Thread Andreas Dannenberg
er devices. Regards, Andreas Dannenberg PS: This patch series depends on a few recent patches sent by Lokesh, Madan, and myself that enable SPL FIT support for various high-secure ICs. However it should not be necessary to look up those patches for purposes of digesting this RFC. Daniel Allred

[U-Boot] [RFC 5/9] arm: omap5: add secure ROM signature verify API

2016-06-15 Thread Andreas Dannenberg
From: Daniel Allred Adds an API that verifies a signature attached to an image (binary blob). This API is basically a entry to a secure ROM service provided by the device and accessed via an SMC call, using a particular calling convention. Signed-off-by: Daniel Allred Signed-off-by: Andreas

[U-Boot] [PATCH] common: image-fit: Cleanup spelling mistakes

2016-06-15 Thread Andreas Dannenberg
The comments in the source file are riddled with spelling mistakes. Be a good citizen and take a stab at cleaning up some of the more obvious ones. Signed-off-by: Andreas Dannenberg --- common/image-fit.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions

Re: [U-Boot] [PATCH v2] ARM: AM437x: Enable FIT for hs platforms

2016-06-16 Thread Andreas Dannenberg
Hi Madan, On Fri, Jun 10, 2016 at 04:32:07PM -0400, Madan Srinivas wrote: > Adds FIT support to the SPL and u-boot for AM437x HS devices. as discussed offline your patch no longer cleanly applies to the U-Boot master. Can you please re-post your rebased version here, also including an updated ver

Re: [U-Boot] [PATCH v3] ARM: AM437x: Enable FIT for hs platforms

2016-06-16 Thread Andreas Dannenberg
On Thu, Jun 16, 2016 at 03:42:32PM -0400, Madan Srinivas wrote: > Adds FIT support to the SPL and u-boot for AM437x HS devices. > > Signed-off-by: Madan Srinivas > Reviewed-by: Lokesh Vutla Tested-by: Andreas Dannenberg > --- > Changes in v3: > Rebased patch to ap

Re: [U-Boot] [PATCH v2] ARM: AM437x: Sync defconfig between GP and HS EVM

2016-06-16 Thread Andreas Dannenberg
On Thu, Jun 16, 2016 at 03:42:31PM -0400, Madan Srinivas wrote: > Adds missing NAND option to CONFIG_SYS_EXTRA_OPTIONS for > AM437x HS EVMs. This syncs up the config options between > GP and HS EVMs. > > Signed-off-by: Madan Srinivas > Reviewed-by: Lokesh Vutla Tested-by:

Re: [U-Boot] [RFC 9/9] ti: omap-common: Update to generate secure FIT

2016-06-17 Thread Andreas Dannenberg
Glass wrote: > Hi Andreas, > > On 15 June 2016 at 13:26, Andreas Dannenberg wrote: > > From: Daniel Allred > > > > Adds commands so that when a secure device is in use and the SPL is > > built to load a FIT image (with combined u-boot binary and various > > D

Re: [U-Boot] [RFC 9/9] ti: omap-common: Update to generate secure FIT

2016-06-20 Thread Andreas Dannenberg
Hi Simon, thanks for the continued feedback. Comments below... On Mon, Jun 20, 2016 at 04:40:10PM -0600, Simon Glass wrote: > +Masahiro for the Makefile question > > Hi Andreas, > > On 17 June 2016 at 10:13, Andreas Dannenberg wrote: > > Hi Simon, > > many than

[U-Boot] [PATCH 2/9] spl: fit: add support for post-processing of images

2016-06-20 Thread Andreas Dannenberg
desired to do things like strip headers or footers attached to the images before they were packeaged into the FIT, or to perform operations such as decryption or authentication. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg --- common/spl/spl_fit.c | 21 - include

[U-Boot] [PATCH 4/9] arm: omap-common: add secure rom call API for secure devices

2016-06-20 Thread Andreas Dannenberg
omap_smc_sec routine. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg Reviewed-by: Simon Glass --- arch/arm/cpu/armv7/omap-common/Makefile | 2 ++ arch/arm/cpu/armv7/omap-common/sec-common.c | 49 + arch/arm/include/asm/omap_common.h | 7

[U-Boot] [PATCH 7/9] arm: omap5: add U-Boot FIT signing and SPL image post-processing

2016-06-20 Thread Andreas Dannenberg
tool. Also populate the corresponding FIT image post processing call to be performed during SPL runtime. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg --- arch/arm/cpu/armv7/omap5/config.mk | 3 +++ board/ti/am57xx/board.c| 7 +++ board/ti/dra7xx/evm.c

[U-Boot] [PATCH 8/9] arm: am4x: add U-Boot FIT signing and SPL image post-processing

2016-06-20 Thread Andreas Dannenberg
the externally-provided image signing tool. Also populate the corresponding FIT image post processing call to be performed during SPL runtime. Signed-off-by: Madan Srinivas Signed-off-by: Andreas Dannenberg --- arch/arm/cpu/armv7/am33xx/config.mk | 1 + board/ti/am43xx/board.c | 7

[U-Boot] [PATCH 0/9] Secure Boot by Authenticating/Decrypting SPL FIT blobs

2016-06-20 Thread Andreas Dannenberg
oval of some redundant conditional compile directives - Rebased on upstream U-Boot commit "Prepare v2016.07-rc2" Regards, Andreas Dannenberg [1] https://www.mail-archive.com/u-boot@lists.denx.de/msg216299.html [2] https://www.mail-archive.com/u-boot@lists.denx.de/msg216298.html Andreas

[U-Boot] [PATCH 1/9] arm: cache: add missing dummy functions for when dcache disabled

2016-06-20 Thread Andreas Dannenberg
From: Daniel Allred Adds missing flush_dcache_range and invalidate_dcache_range dummy (empty) placeholder functions to the #else portion of the #ifndef CONFIG_SYS_DCACHE_OFF, where full implementations of these functions are defined. Signed-off-by: Daniel Allred Signed-off-by: Andreas

[U-Boot] [PATCH 6/9] arm: omap-common: Update to generate secure U-Boot FIT blob

2016-06-20 Thread Andreas Dannenberg
script of the TI SECDEV package. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg Reviewed-by: Simon Glass --- arch/arm/cpu/armv7/omap-common/config_secure.mk | 57 - 1 file changed, 55 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common

[U-Boot] [PATCH 3/9] arm: omap-common: add secure smc entry

2016-06-20 Thread Andreas Dannenberg
From: Daniel Allred Add an interface for calling secure ROM APIs across a range of OMAP and OMAP compatible high-security (HS) device variants. While at it, also perform minor cleanup/alignment without any change in functionality. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg

[U-Boot] [PATCH 9/9] doc: Update info on using secure devices from TI

2016-06-20 Thread Andreas Dannenberg
From: Daniel Allred Adds information regarding SPL handling the loading and processing of secured u-boot images as part of the second stage boot the SPL does. Introduces the description of a new interface script in the TI SECDEV Package which handles the creation and prep of secured binary images

[U-Boot] [PATCH 5/9] arm: omap-common: secure ROM signature verify API

2016-06-20 Thread Andreas Dannenberg
Adds an API that verifies a signature attached to an image (binary blob). This API is basically a entry to a secure ROM service provided by the device and accessed via an SMC call, using a particular calling convention. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg --- arch

Re: [U-Boot] [PATCH 5/9] arm: omap-common: secure ROM signature verify API

2016-06-20 Thread Andreas Dannenberg
Hi Lokesh--- comment inlined... On Tue, Jun 21, 2016 at 10:01:54AM +0530, Lokesh Vutla wrote: > > > On Tuesday 21 June 2016 09:04 AM, Andreas Dannenberg wrote: > > Adds an API that verifies a signature attached to an image (binary > > blob). This API is basically a entry to

[U-Boot] [PATCH] ARM: AM43xx: Align HS device variant defconfig filename

2016-06-21 Thread Andreas Dannenberg
perspective. Signed-off-by: Andreas Dannenberg Cc: Madan Srinivas --- While renaming files is always a tricky thing due to possible side effects in this case there is likely virtually no user of this defconfig file yet as it is rather new and the HS devices are not widely available in the first place

Re: [U-Boot] [PATCH 5/9] arm: omap-common: secure ROM signature verify API

2016-06-22 Thread Andreas Dannenberg
On Wed, Jun 22, 2016 at 03:13:04PM +0530, Lokesh Vutla wrote: > > > On Wednesday 22 June 2016 05:26 AM, Tom Rini wrote: > > On Tue, Jun 21, 2016 at 10:01:54AM +0530, Lokesh Vutla wrote: > >> > >> > >> On Tuesday 21 June 2016 09:04 AM, Andreas Dannenber

Re: [U-Boot] [PATCH 5/9] arm: omap-common: secure ROM signature verify API

2016-06-22 Thread Andreas Dannenberg
On Wed, Jun 22, 2016 at 10:36:27AM -0400, Tom Rini wrote: > On Wed, Jun 22, 2016 at 09:21:28AM -0500, Andreas Dannenberg wrote: > > On Wed, Jun 22, 2016 at 03:13:04PM +0530, Lokesh Vutla wrote: > > > > > > > > > On Wednesday 22 June 2016 05:26 AM, Tom Rini wr

Re: [U-Boot] [PATCH] ARM: AM43xx: Align HS device variant defconfig filename

2016-06-22 Thread Andreas Dannenberg
On Tue, Jun 21, 2016 at 07:50:36PM -0400, Tom Rini wrote: > On Tue, Jun 21, 2016 at 02:41:06PM -0500, Andreas Dannenberg wrote: > > > Align the name of the defconfig file for high-security (HS) device variants > > from the AM43xx family of SoCs with the corresponding

[U-Boot] [PATCH v2] ARM: AM437x: Align HS device variant defconfig filename

2016-06-22 Thread Andreas Dannenberg
perspective. Furthermore, update and cleanup associated MAINTAINERS file. Signed-off-by: Andreas Dannenberg Cc: Lokesh Vutla Cc: Madan Srinivas --- Update since last patch: Added defconfig file to MAINTAINERS doc. Also took the liberty to swap two entries in said MAINTAINERS file so that the list of

Re: [U-Boot] [PATCH] kbuild: avoid race between dtbs and dt/dt.dtb targets

2016-06-23 Thread Andreas Dannenberg
ed-off-by: Masahiro Yamada Tested-by: Andreas Dannenberg Yamada-san, thanks, this patch is fantastic! It fixes the issue discussed under [1] (no longer need to suppress parallel DTC compiles) and also avoids the general double-compile of the DTC files that happened with my patch series. Tested

Re: [U-Boot] [RFC 9/9] ti: omap-common: Update to generate secure FIT

2016-06-23 Thread Andreas Dannenberg
On Thu, Jun 23, 2016 at 01:59:40PM +0900, Masahiro Yamada wrote: > 2016-06-21 11:35 GMT+09:00 Andreas Dannenberg : > > Hi Simon, > > thanks for the continued feedback. Comments below... > > > > On Mon, Jun 20, 2016 at 04:40:10PM -0600, Simon Glass wrote: > >>

Re: [U-Boot] [PATCH 2/9] spl: fit: add support for post-processing of images

2016-06-23 Thread Andreas Dannenberg
On Thu, Jun 23, 2016 at 11:38:30AM +0900, Masahiro Yamada wrote: > 2016-06-21 12:34 GMT+09:00 Andreas Dannenberg : > > From: Daniel Allred > > > > The next stage boot loader image and the selected FDT can be > > post-processed by board/platform/device-speci

Re: [U-Boot] [PATCH 2/9] spl: fit: add support for post-processing of images

2016-06-23 Thread Andreas Dannenberg
On Thu, Jun 23, 2016 at 07:57:13AM -0600, Simon Glass wrote: > Hi Andreas, > > On 20 June 2016 at 21:34, Andreas Dannenberg wrote: > > From: Daniel Allred > > > > The next stage boot loader image and the selected FDT can be > > post-processed by board/platfor

Re: [U-Boot] [PATCH 2/9] spl: fit: add support for post-processing of images

2016-06-23 Thread Andreas Dannenberg
On Thu, Jun 23, 2016 at 08:45:54AM -0600, Simon Glass wrote: > Hi Andreas, > > On 23 June 2016 at 08:19, Andreas Dannenberg wrote: > > On Thu, Jun 23, 2016 at 07:57:13AM -0600, Simon Glass wrote: > >> Hi Andreas, > >> > >> On 20 June 2016 at 21:34, Andr

[U-Boot] [PATCH v2 0/9] Secure Boot by Authenticating/Decrypting SPL FIT blobs

2016-06-24 Thread Andreas Dannenberg
iewed-by:" comments for files that were pretty much carried over from the RFC as-is - Addition of AM437x HS device build support (was missing in RFC) - Removal of some redundant conditional compile directives - Rebased on upstream U-Boot commit "Prepare v2016.07-rc2" -- Andreas Danne

[U-Boot] [PATCH v2 9/9] doc: Update info on using secure devices from TI

2016-06-24 Thread Andreas Dannenberg
: Daniel Allred Signed-off-by: Andreas Dannenberg --- doc/README.ti-secure | 177 +++ 1 file changed, 123 insertions(+), 54 deletions(-) diff --git a/doc/README.ti-secure b/doc/README.ti-secure index 7fc9b9b..54c996d 100644 --- a/doc/README.ti-secure

[U-Boot] [PATCH v2 1/9] arm: cache: add missing dummy functions for when dcache disabled

2016-06-24 Thread Andreas Dannenberg
From: Daniel Allred Adds missing flush_dcache_range and invalidate_dcache_range dummy (empty) placeholder functions to the #else portion of the #ifndef CONFIG_SYS_DCACHE_OFF, where full implementations of these functions are defined. Signed-off-by: Daniel Allred Signed-off-by: Andreas

[U-Boot] [PATCH v2 5/9] arm: omap-common: Update to generate secure U-Boot FIT blob

2016-06-24 Thread Andreas Dannenberg
script of the TI SECDEV package. Furthermore, perform minor comments cleanup to make better use of the available space. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg Reviewed-by: Simon Glass --- arch/arm/cpu/armv7/omap-common/config_secure.mk | 75 - 1 file

[U-Boot] [PATCH v2 2/9] arm: omap-common: add secure smc entry

2016-06-24 Thread Andreas Dannenberg
From: Daniel Allred Add an interface for calling secure ROM APIs across a range of OMAP and OMAP compatible high-security (HS) device variants. While at it, also perform minor cleanup/alignment without any change in functionality. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg

[U-Boot] [PATCH v2 3/9] arm: omap-common: add secure rom call API for secure devices

2016-06-24 Thread Andreas Dannenberg
omap_smc_sec routine. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/Makefile | 2 ++ arch/arm/cpu/armv7/omap-common/sec-common.c | 51 + arch/arm/include/asm

[U-Boot] [PATCH v2 6/9] spl: fit: add support for post-processing of images

2016-06-24 Thread Andreas Dannenberg
-specific post-process function must be provided. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg Reviewed-by: Tom Rini --- Kconfig | 4 common/spl/spl_fit.c | 21 - include/image.h | 17 + 3 files changed, 37 insertions

[U-Boot] [PATCH v2 4/9] arm: omap-common: secure ROM signature verify API

2016-06-24 Thread Andreas Dannenberg
Adds an API that verifies a signature attached to an image (binary blob). This API is basically a entry to a secure ROM service provided by the device and accessed via an SMC call, using a particular calling convention. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg --- arch

[U-Boot] [PATCH v2 8/9] arm: am4x: add U-Boot FIT signing and SPL image post-processing

2016-06-24 Thread Andreas Dannenberg
the externally-provided image signing tool. Also populate the corresponding FIT image post processing call to be performed during SPL runtime. Signed-off-by: Madan Srinivas Signed-off-by: Andreas Dannenberg Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/config.mk | 1 + board/ti/am43xx

[U-Boot] [PATCH v2 7/9] arm: omap5: add U-Boot FIT signing and SPL image post-processing

2016-06-24 Thread Andreas Dannenberg
tool. Also populate the corresponding FIT image post processing call to be performed during SPL runtime. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/omap5/config.mk | 3 +++ board/ti/am57xx/board.c| 8 board/ti

Re: [U-Boot] [PATCH v2 6/9] spl: fit: add support for post-processing of images

2016-06-26 Thread Andreas Dannenberg
On Sat, Jun 25, 2016 at 08:54:19PM -0600, Simon Glass wrote: > Hi Andreas, > > On 24 June 2016 at 09:57, Andreas Dannenberg wrote: > > From: Daniel Allred > > > > The next stage boot loader image and the selected FDT can be post- > > processed by board/platfor

[U-Boot] [PATCH v3 8/9] arm: am4x: add U-Boot FIT signing and SPL image post-processing

2016-06-27 Thread Andreas Dannenberg
the externally-provided image signing tool. Also populate the corresponding FIT image post processing call to be performed during SPL runtime. Signed-off-by: Madan Srinivas Signed-off-by: Andreas Dannenberg Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/config.mk | 1 + board/ti/am43xx

[U-Boot] [PATCH v3 7/9] arm: omap5: add U-Boot FIT signing and SPL image post-processing

2016-06-27 Thread Andreas Dannenberg
tool. Also populate the corresponding FIT image post processing call to be performed during SPL runtime. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/omap5/config.mk | 3 +++ board/ti/am57xx/board.c| 8 board/ti

[U-Boot] [PATCH v3 6/9] spl: fit: add support for post-processing of images

2016-06-27 Thread Andreas Dannenberg
-specific post-process function must be provided. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg Reviewed-by: Tom Rini --- Kconfig | 14 ++ common/spl/spl_fit.c | 21 - include/image.h | 17 + 3 files changed, 47

[U-Boot] [PATCH v3 4/9] arm: omap-common: secure ROM signature verify API

2016-06-27 Thread Andreas Dannenberg
Adds an API that verifies a signature attached to an image (binary blob). This API is basically a entry to a secure ROM service provided by the device and accessed via an SMC call, using a particular calling convention. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg Reviewed-by

[U-Boot] [PATCH v3 0/9] Secure Boot by Authenticating/Decrypting SPL FIT blobs

2016-06-27 Thread Andreas Dannenberg
moval of some redundant conditional compile directives - Rebased on upstream U-Boot commit "Prepare v2016.07-rc2" -- Andreas Dannenberg Texas Instruments Inc [1] http://lists.denx.de/pipermail/u-boot/2016-June/258716.html [2] http://lists.denx.de/pipermail/u-boot/2016-June/258912.html

[U-Boot] [PATCH v3 1/9] arm: cache: add missing dummy functions for when dcache disabled

2016-06-27 Thread Andreas Dannenberg
From: Daniel Allred Adds missing flush_dcache_range and invalidate_dcache_range dummy (empty) placeholder functions to the #else portion of the #ifndef CONFIG_SYS_DCACHE_OFF, where full implementations of these functions are defined. Signed-off-by: Daniel Allred Signed-off-by: Andreas

[U-Boot] [PATCH v3 3/9] arm: omap-common: add secure rom call API for secure devices

2016-06-27 Thread Andreas Dannenberg
omap_smc_sec routine. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/Makefile | 2 ++ arch/arm/cpu/armv7/omap-common/sec-common.c | 51 + arch/arm/include/asm

[U-Boot] [PATCH v3 2/9] arm: omap-common: add secure smc entry

2016-06-27 Thread Andreas Dannenberg
From: Daniel Allred Add an interface for calling secure ROM APIs across a range of OMAP and OMAP compatible high-security (HS) device variants. While at it, also perform minor cleanup/alignment without any change in functionality. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg

[U-Boot] [PATCH v3 9/9] doc: Update info on using secure devices from TI

2016-06-27 Thread Andreas Dannenberg
: Daniel Allred Signed-off-by: Andreas Dannenberg Reviewed-by: Simon Glass --- doc/README.ti-secure | 177 +++ 1 file changed, 123 insertions(+), 54 deletions(-) diff --git a/doc/README.ti-secure b/doc/README.ti-secure index 7fc9b9b..54c996d 100644

[U-Boot] [PATCH v3 5/9] arm: omap-common: Update to generate secure U-Boot FIT blob

2016-06-27 Thread Andreas Dannenberg
script of the TI SECDEV package. Furthermore, perform minor comments cleanup to make better use of the available space. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg Reviewed-by: Simon Glass --- arch/arm/cpu/armv7/omap-common/config_secure.mk | 75 - 1 file

Re: [U-Boot] [PATCH v3 6/9] spl: fit: add support for post-processing of images

2016-06-29 Thread Andreas Dannenberg
Hi Simon, please see below... On Tue, Jun 28, 2016 at 08:28:07PM -0700, Simon Glass wrote: > On 27 June 2016 at 07:19, Andreas Dannenberg wrote: > > diff --git a/include/image.h b/include/image.h > > index d788c26..93d39e1 100644 > > --- a/include/image.h > > +++ b/inc

Re: [U-Boot] [PATCH v3 0/9] Secure Boot by Authenticating/Decrypting SPL FIT blobs

2016-07-14 Thread Andreas Dannenberg
Hi Tom, Simon, On Mon, Jun 27, 2016 at 09:19:15AM -0500, Andreas Dannenberg wrote: > This is an updated version of a patch series that introduces a generic way > to optionally post-process blobs as they get extracted by the SPL from the > u-boot.img FIT image, and uses this scheme to per

Re: [U-Boot] [PATCH v3 0/9] Secure Boot by Authenticating/Decrypting SPL FIT blobs

2016-07-14 Thread Andreas Dannenberg
Hi Tom, On Thu, Jul 14, 2016 at 10:57:34AM -0400, Tom Rini wrote: > On Thu, Jul 14, 2016 at 08:55:21AM -0500, Andreas Dannenberg wrote: > > Hi Tom, Simon, > > > > On Mon, Jun 27, 2016 at 09:19:15AM -0500, Andreas Dannenberg wrote: > > > This is an updated

Re: [U-Boot] [PATCH v3 0/9] Secure Boot by Authenticating/Decrypting SPL FIT blobs

2016-07-20 Thread Andreas Dannenberg
On Mon, Jun 27, 2016 at 09:19:15AM -0500, Andreas Dannenberg wrote: > This is an updated version of a patch series that introduces a generic way > to optionally post-process blobs as they get extracted by the SPL from the > u-boot.img FIT image, and uses this scheme to perform some authe

[U-Boot] [PATCH 2/2] arm: omap5: fix build dependency for secure devices

2016-07-20 Thread Andreas Dannenberg
FIT image. Signed-off-by: Andreas Dannenberg --- arch/arm/cpu/armv7/omap5/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/omap5/config.mk b/arch/arm/cpu/armv7/omap5/config.mk index d245572..286ca86 100644 --- a/arch/arm/cpu/armv7/omap5/config.mk

[U-Boot] [PATCH 1/2] arm: am4x: fix build dependency for secure devices

2016-07-20 Thread Andreas Dannenberg
. Signed-off-by: Andreas Dannenberg --- arch/arm/cpu/armv7/am33xx/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/am33xx/config.mk b/arch/arm/cpu/armv7/am33xx/config.mk index ab94708..d4eb21c 100644 --- a/arch/arm/cpu/armv7/am33xx/config.mk +++ b

[U-Boot] [PATCH 0/2] fix build dependency for TI secure devices

2016-07-20 Thread Andreas Dannenberg
applicable device defconfig files to use CONFIG_SPL_LOAD_FIT, it does create an issue if someone choses to disable that option [1] https://www.mail-archive.com/u-boot%40lists.denx.de/msg217284.html Andreas Dannenberg (2): arm: am4x: fix build dependency for secure devices arm: omap5: fix build depe

Re: [U-Boot] [RFC] SPL -> U-Boot Chain of Trust

2016-04-14 Thread Andreas Dannenberg
Hi Simon, thanks for the feedback. Additional comments inlined... On Mon, Apr 04, 2016 at 06:04:15PM -0600, Simon Glass wrote: > Hi Andreas, > > On 28 March 2016 at 14:19, Andreas Dannenberg wrote: > > On Mon, Mar 28, 2016 at 03:32:40PM -0400, Tom Rini wrote: > >> I

Re: [U-Boot] [PATCH 03/16] arm: Kconfig: Add support for AM43xx SoC specific Kconfig

2016-04-18 Thread Andreas Dannenberg
ter fixing this I get additional build errors from SPI, USB Gadget, and UART related routines such as... cmd/built-in.o: In function `do_spi_xfer': /home/a0797059/git/u-boot/cmd/spi.c:61: undefined reference to `spi_setup_slave' /home/a0797059/git/u-boot/cmd/spi.c:68: un

Re: [U-Boot] [PATCH 03/16] arm: Kconfig: Add support for AM43xx SoC specific Kconfig

2016-04-18 Thread Andreas Dannenberg
On Mon, Apr 18, 2016 at 04:03:58PM -0500, Andreas Dannenberg wrote: > On Fri, Apr 15, 2016 at 04:27:45PM +0530, Lokesh Vutla wrote: > > On Tuesday 12 April 2016 05:07 AM, Daniel Allred wrote: > > > From: Madan Srinivas > > > > > > Adding support for AM43xx

Re: [U-Boot] [PATCH 07/16] ti: AM43xx: Use CONFIG options from SOC Kconfig

2016-04-19 Thread Andreas Dannenberg
G_SPL_TEXT_BASE > for different boot modes. > > On QSPI devices, the same problem described above occurs w.r.t. the > address of the u-boot entry point in flash, when booting secure > devices. To handle this, CONFIG_SYS_TEXT_BASE is also setup via > a Kconfig option and the defco

Re: [U-Boot] [PATCH 02/16] arm: am33xx: Kconfig: Add secure device definitions

2016-04-19 Thread Andreas Dannenberg
ed-off-by: Madan Srinivas > Signed-off-by: Daniel Allred Tested-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 06/16] ti: AM43xx: config.mk: Add support for generating secure boot images

2016-04-19 Thread Andreas Dannenberg
gt; > Signed-off-by: Madan Srinivas > Signed-off-by: Daniel Allred Tested-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 01/16] doc: Add info on using secure devices from TI

2016-04-19 Thread Andreas Dannenberg
ame of the final secure image. The > +output binary images should be used in place of the standard non-secure > +binary images (see the platform-specific user's guides and releases notes > +for how the non-secure images are typically used) > + u-boot-spl_HS_MLO - boot image for SD/M

Re: [U-Boot] [PATCH 12/16] ARM: omap4/5: Add device type to CPU string

2016-04-19 Thread Andreas Dannenberg
PL_DISPLAY_PRINT. Even though this definition is activated in ti_omap4_common.h and ti_omap5_common.h it is not seen by preloader_console_init() in spl.c, hence the function that prints the chip-type/rev specifics never gets invoked. Madan, can you please confirm that behavior on your end? Than

Re: [U-Boot] [PATCH 05/16] ti: omap-common: Add commands for generating secure SPL images

2016-04-20 Thread Andreas Dannenberg
HS, DRA72x HS, and DRA74x HS hardware this common file gets my... Tested-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 10/16] ti_omap5_common: Update SPL start address on secure parts

2016-04-20 Thread Andreas Dannenberg
Successfully boot-tested the patch on actual DRA72x HS and DRA74x HS hardware. Tested-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 04/16] ti: omap-common: Add Kconfig file for secure device support

2016-04-20 Thread Andreas Dannenberg
437x HS, DRA72x HS, and DRA74x HS hardware this common file gets my... Tested-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 14/16] ARM: omap5: add ft_board_setup for dra7xx/am57xx

2016-04-20 Thread Andreas Dannenberg
> Signed-off-by: Madan Srinivas Successfully boot-tested this patch on actual DRA72x HS and DRA74x HS hardware. Tested-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] [PATCH 15/16] ARM: omap5: Add config for board/cpu fdt fixups

2016-04-20 Thread Andreas Dannenberg
S and DRA74x HS hardware. Tested-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 13/16] ARM: omap5: add hooks for cpu/SoC fdt fixups

2016-04-20 Thread Andreas Dannenberg
but contains pertinent updates for booting on secure (HS) > devices. > > Update the omap5 Makefile to include the fdt.c in the build. > > Signed-off-by: Daniel Allred > Signed-off-by: Madan Srinivas Successfully boot-tested this patch on actual DRA72x HS and DRA74x HS hardware.

Re: [U-Boot] [PATCH 16/16] defconfig: ti: Add configs for OMAP5-class secure parts

2016-04-20 Thread Andreas Dannenberg
l Allred > Signed-off-by: Madan Srinivas Successfully boot-tested the respective defconfig-based U-Boot builds on actual DRA72x HS and DRA74x HS hardware. Tested-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc ___ U-Boot maili

Re: [U-Boot] [PATCH 11/16] spl: build: ti: add support for secure boot images

2016-04-21 Thread Andreas Dannenberg
file named MLO, which is > the name that the device ROM bootloader requires for loading from the > FAT partition of an SD card (same as on non-secure devices). > > Signed-off-by: Daniel Allred > Signed-off-by: Madan Srinivas Successfully boot-tested the patch on actual DRA72

Re: [U-Boot] [PATCH 12/16] ARM: omap4/5: Add device type to CPU string

2016-04-21 Thread Andreas Dannenberg
On Tue, Apr 19, 2016 at 11:26:30AM -0500, Andreas Dannenberg wrote: > On Mon, Apr 11, 2016 at 06:37:14PM -0500, Daniel Allred wrote: > > Update the CPU string output so that the device > > type is now included as part of the CPU string that > > is printed as the SPL or u-boot

Re: [U-Boot] [PATCH 12/16] ARM: omap4/5: Add device type to CPU string

2016-04-21 Thread Andreas Dannenberg
On Thu, Apr 21, 2016 at 01:01:43PM -0500, Allred, Daniel wrote: > On 4/21/2016 12:55 PM, Andreas Dannenberg wrote: > >On Tue, Apr 19, 2016 at 11:26:30AM -0500, Andreas Dannenberg wrote: > >>On Mon, Apr 11, 2016 at 06:37:14PM -0500, Daniel Allred wrote: > >>>Update the

Re: [U-Boot] [PATCH 12/16] ARM: omap4/5: Add device type to CPU string

2016-04-21 Thread Andreas Dannenberg
On Thu, Apr 21, 2016 at 04:27:42PM -0400, Tom Rini wrote: > On Thu, Apr 21, 2016 at 01:59:48PM -0500, Andreas Dannenberg wrote: > > On Thu, Apr 21, 2016 at 01:01:43PM -0500, Allred, Daniel wrote: > > > On 4/21/2016 12:55 PM, Andreas Dannenberg wrote: > > > >On Tue, Ap

Re: [U-Boot] [PATCH 12/16] ARM: omap4/5: Add device type to CPU string

2016-04-22 Thread Andreas Dannenberg
On Thu, Apr 21, 2016 at 07:38:17PM -0400, Tom Rini wrote: > On Thu, Apr 21, 2016 at 05:56:11PM -0500, Andreas Dannenberg wrote: > > On Thu, Apr 21, 2016 at 04:27:42PM -0400, Tom Rini wrote: > > > On Thu, Apr 21, 2016 at 01:59:48PM -0500, Andreas Dannenberg wrote: > > > &

Re: [U-Boot] Problem of git clone with http

2016-04-27 Thread Andreas Dannenberg
sn't until I wanted to post about this on this mailing list that I found this thread :) Anyways it seems like this issue already persists for one month without a fix. For folks behind draconian corporate firewalls the http:// URLs are often easier to use, so this is a bit of a trap Regards, -- Andreas Dannenberg Texas Instruments Inc ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

  1   2   3   >