Re: [U-Boot] no DTB with nand SPL on sama5d3

2019-01-21 Thread Ben Whitten
Hi, On 17/01/2019 21:34, Daniel Evans wrote: Follow up question: I notice that u-boot-spl-pad.bin is empty even though CONFIG_SPL_PAD_TO = CONFIG_SPL_MAX_SIZE = 0x18000. Is that why it isn’t find the dtb because it isn’t padded properly? As an aside although it buried as a footnote in the

Re: [U-Boot] [PATCH 4/4] ARM: at91: lds: add test SPL binary size and bbs size

2018-11-19 Thread Ben Whitten
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On > Behalf Of eugen.hris...@microchip.com > Sent: 19 November 2018 08:23 > To: u-boot@lists.denx.de > Cc: nicolas.fe...@microchip.com; > wenyou.y...@atmel.com > Subject: [U-Boot] [PATCH 4/4] ARM: at91: lds: add test

Re: [U-Boot] [PATCH 3/4] configs: wb45n_defconfig: Remove SPL

2018-11-19 Thread Ben Whitten
the assertion incorrectly, will comment on that patch. Ben > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On > Behalf Of Ben Whitten > Sent: 19 November 2018 10:30 > To: eugen.hris...@microchip.com; u-boot@lists.denx.de > Cc: nicolas.fe...@microchip

Re: [U-Boot] [PATCH 3/4] configs: wb45n_defconfig: Remove SPL

2018-11-19 Thread Ben Whitten
Hi, A shame as these boards only really need to start NAND and boot uboot proper. Out of interest how much is it over in the builder? If SPL can't be shrunk any further then fair enough and; Acked-by: Ben Whitten Thanks, Ben > -Original Message- > From: U-Boot [mailto:u-boo

Re: [U-Boot] [PATCH v2 2/3] fit: allow fit to call hardware accelerated hash

2018-06-28 Thread Ben Whitten
Hi Tom, > Subject: Re: [U-Boot] [PATCH v2 2/3] fit: allow fit to call hardware > accelerated > hash > > On Wed, Jun 06, 2018 at 05:03:57PM +0100, Ben Whitten wrote: > > > Move to calling the abstraction which allows for hardware acceleration. > > We also re

[U-Boot] [PATCH 1/1] spl: fit: verify images prior to post processing

2018-06-07 Thread Ben Whitten
Verification of hashes needs to take place before any image post processing, thus matching full FIT image processing. This allows mechanisms such as encryption be applied to images prior to fit generation at the spl level. Signed-off-by: Ben Whitten --- common/spl/spl_fit.c | 21

[U-Boot] [PATCH v2 3/3] crypto: add Atmel hardware acceleration for SHA1 & 256

2018-06-06 Thread Ben Whitten
We can use the hardware hash block to reduce space, particularly useful for verifying FIT signatures from SPL. Signed-off-by: Ben Whitten --- drivers/crypto/Kconfig | 5 + drivers/crypto/Makefile| 1 + drivers/crypto/atmel_sha.c | 289

[U-Boot] [PATCH v2 2/3] fit: allow fit to call hardware accelerated hash

2018-06-06 Thread Ben Whitten
Move to calling the abstraction which allows for hardware acceleration. We also remove unneeded defines and only include objects if required. Signed-off-by: Ben Whitten --- common/hash.c | 4 common/image-fit.c | 27 +-- include/image.h| 42

[U-Boot] [PATCH v2 1/3] crypto: add md5 to common hash functions

2018-06-06 Thread Ben Whitten
The md5 function was missing from the common hash functions Signed-off-by: Ben Whitten --- common/hash.c| 8 include/image.h | 1 + include/u-boot/md5.h | 7 --- lib/Makefile | 1 + lib/md5.c| 4 ++-- 5 files changed, 16 insertions(+), 5 deletions

Re: [U-Boot] [PATCH 1/2] fit: allow fit to call hardware accelerated hash

2018-06-06 Thread Ben Whitten
On 25 May 2018 at 12:46, Tom Rini wrote: > On Thu, May 24, 2018 at 02:43:24PM +0100, Ben Whitten wrote: > >> Move to calling the abstraction which allows for hardware acceleration. >> >> Signed-off-by: Ben Whitten >> --- >> common/image-fit.c | 26 +

[U-Boot] [PATCH 2/2] crypto: add Atmel hardware acceleration for SHA1 & 256

2018-05-24 Thread Ben Whitten
We can use the hardware hash block to reduce space, particularly useful for verifying FIT signatures from SPL. Signed-off-by: Ben Whitten <ben.whit...@lairdtech.com> --- drivers/crypto/Kconfig | 5 + drivers/crypto/Makefile| 1 + drivers/crypto/atmel_sha.c

[U-Boot] [PATCH 1/2] fit: allow fit to call hardware accelerated hash

2018-05-24 Thread Ben Whitten
Move to calling the abstraction which allows for hardware acceleration. Signed-off-by: Ben Whitten <ben.whit...@lairdtech.com> --- common/image-fit.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/common/image-fit.c b/common/image-fit.c

[U-Boot] [PATCH v2 2/2] board: laird: add WB50N CPU module

2017-11-23 Thread Ben Whitten
From: Ben Whitten <ben.whit...@lairdtech.com> This board is based on the Atmel sama5d3 eval boards. Supporting the following features: - Boot from NAND Flash - Ethernet - FIT - SPL Signed-off-by: Ben Whitten <ben.whit...@lairdtech.com> Signed-off-by: Dan Kephart <dan.keph..

[U-Boot] [PATCH v2 1/2] board: laird: add WB45N CPU module

2017-11-23 Thread Ben Whitten
From: Ben Whitten <ben.whit...@lairdtech.com> This board is based on the Atmel 9x5 eval board. Supporting the following features: - Boot from NAND Flash - Ethernet - FIT - SPL Signed-off-by: Ben Whitten <ben.whit...@lairdtech.com> Signed-off-by: Dan Kephart <dan.keph..

[U-Boot] [PATCH v2 0/2] Resubmitting support for Lairds WB boards

2017-11-23 Thread Ben Whitten
Hi, Resubmitting the board patches based off current master branch at 16fa2eb with updates to configs. Ben Whitten (2): board: laird: add WB45N CPU module board: laird: add WB50N CPU module arch/arm/mach-at91/Kconfig | 14 +++ arch/arm/mach-at91/include/mach/gpio.h | 2

Re: [U-Boot] [RFC PATCH 1/2] board: laird: add WB45N CPU module

2017-11-09 Thread Ben Whitten
On 02 August 2017 15:49, Tom Rini wrote: > On Wed, Aug 02, 2017 at 11:58:42AM +0200, Stefano Babic wrote: > > On 07/07/2017 12:40, Ben Whitten wrote: > > > This board is based on the Atmel 9x5 eval board. > > > Supporting the following features: > > > - Bo

[U-Boot] [RFC PATCH 2/2] board: laird: add WB50N CPU module

2017-07-07 Thread Ben Whitten
This board is based on the Atmel sama5d3 eval boards. Supporting the following features: - Boot from NAND Flash - Ethernet - FIT - SPL Signed-off-by: Ben Whitten <ben.whit...@lairdtech.com> Signed-off-by: Dan Kephart <dan.keph...@lairdtech.com> --- arch/arm/mach-at91/Kcon

[U-Boot] [RFC PATCH 0/2] Add support for two modules from Laird

2017-07-07 Thread Ben Whitten
me know. Kind regards, Ben Whitten (2): board: laird: add WB45N CPU module board: laird: add WB50N CPU module arch/arm/mach-at91/Kconfig | 14 +++ arch/arm/mach-at91/include/mach/gpio.h | 2 + board/laird/wb45n/Kconfig | 12 ++ board/laird/wb45n/MAINTAINERS

[U-Boot] [RFC PATCH 1/2] board: laird: add WB45N CPU module

2017-07-07 Thread Ben Whitten
This board is based on the Atmel 9x5 eval board. Supporting the following features: - Boot from NAND Flash - Ethernet - FIT - SPL Signed-off-by: Ben Whitten <ben.whit...@lairdtech.com> Signed-off-by: Dan Kephart <dan.keph...@lairdtech.com> --- arch/arm/mach-at91/Kconfig

[U-Boot] [PATCH v2] Fix GCC format-security errors and convert sprintfs.

2015-12-30 Thread ben . whitten
From: Ben Whitten <ben.whit...@gmail.com> With format-security errors turned on, GCC picks up the use of sprintf with a format parameter not being a string literal. Simple uses of sprintf are also converted to use strcpy. Signed-off-by: Ben Whitten <ben.whit...@gmail.com> --- Ch

[U-Boot] [PATCH] Fix GCC format-security errors.

2015-12-29 Thread ben . whitten
From: Ben Whitten <ben.whit...@gmail.com> With format-security errors turned on, GCC picks up the use of sprintf without a format parameter. Signed-off-by: Ben Whitten <ben.whit...@gmail.com> --- common/cmd_elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --