Hi Bryan,
2018-04-02 19:42 GMT-03:00 Bryan O'Donoghue :
> setexpr allows us to do arithmetic for env variables - something that is
> both useful and required when doing HAB authentication without hard-coding
> HAB load addresses.
>
> Enable setexpr in the secure
Hi Bryan,
2018-04-02 19:42 GMT-03:00 Bryan O'Donoghue :
> In order to sign images with the IMX code-signing-tool (CST) we need to
> know the load address of a given image. The best way to derive this load
> address is to make it into a define - so that u-boot.cfg
Hi Bryan,
2018-04-02 19:42 GMT-03:00 Bryan O'Donoghue :
> Right now a region of 0x30 bytes is allocated at the end of DRAM for
> the purposes of loading an OPTEE firmware inside of it. This patch adds the
> printout of the relevant address ranges.
>
>
On Mon, Mar 19, 2018 at 07:09:21PM +0100, Patrick Delaunay wrote:
> Add support of DBGMCU_IDC for cpu identifier
> and revision
>
> Signed-off-by: Patrick Delaunay
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Sun, Mar 18, 2018 at 12:01:06PM +0100, Heinrich Schuchardt wrote:
> We should not evaluate the value of reg before its value is set.
>
> Signed-off-by: Heinrich Schuchardt
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
On Tue, Mar 20, 2018 at 11:38:45AM +0100, Rasmus Villemoes wrote:
> Modifying the default environment via CONFIG_EXTRA_ENV_SETTINGS is
> somewhat inflexible, partly because the cpp language does not allow
> appending to an existing macro. This prevents reuse of "environment
> fragments" for
On Mon, Mar 19, 2018 at 08:32:05PM +0100, Klaus Goger wrote:
> Adds devicemodel support to the ISL1208 driver.
> This patch drops the non-dm API as no board was using it anyway.
> Also add it to Kconfig.
>
> Signed-off-by: Klaus Goger
> Reviewed-by: Philipp
On Sun, Mar 18, 2018 at 04:03:47PM +0100, Hauke Mehrtens wrote:
> The mxsimage utility fails to compile against LibreSSL version < 2.7.0
> because LibreSSL says it is OpenSSL 2.0, but it does not support the
> complete OpenSSL 1.1 interface.
>
> LibreSSL defines OPENSSL_VERSION_NUMBER with
On Mon, Mar 26, 2018 at 04:31:26PM +0200, Michal Simek wrote:
> SPL ATF support requires to have firmware property which should be also
> listed by mkimage -l when images is created.
>
> The patch is also using this macro in spl_fit to match keyword.
>
> When image is created:
> Default
On Sat, Apr 7, 2018 at 5:43 AM, Ivan Gorinov wrote:
> Add readq() and writeq() definitions for x86.
>
> Please note: in 32-bit code readq/writeq will generate two 32-bit
> memory access instructions instead of one atomic 64-bit operation.
>
> Signed-off-by: Ivan Gorinov
On Tue, Mar 20, 2018 at 02:18:25PM +0100, Christian Gmeiner wrote:
> The section header address is a VMA whereas the address found in
> the program header is a physical one. With this change it is
> possible to load and start a vx7 intel generic based image.
>
> $ readelf -l /tmp/vx7
>
> Elf
On Tue, Mar 20, 2018 at 10:54:53AM +0100, Patrick Delaunay wrote:
> SPL copy BootRom boot mode information
> in TAMP register 21.
>
> This TAMP register information is used
> after relocation to set 2 env variables
> - boot_device
> - boot_instance
>
> Signed-off-by: Patrick Delaunay
Add Kconfig entry for CONFIG_SPL_SPI_LOAD symbol and move all
configurations using it to Kconfig.
Signed-off-by: Marek Vasut
Cc: Tom Rini
---
common/spl/Kconfig | 7 +++
configs/am335x_evm_spiboot_defconfig
Add Kconfig entry for CONFIG_TPL_SPI_LOAD symbol to match the SPL one.
Signed-off-by: Marek Vasut
Cc: Tom Rini
---
common/spl/Kconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index
On Fri, Apr 06, 2018 at 04:29:47PM -0400, Tom Rini wrote:
> On Wed, Mar 14, 2018 at 06:46:42PM +0530, Jagan Teki wrote:
>
> > All board configs are now enabled DM_SPI for SPL and
> > U-Boot proper, so now its time to drop non-dm code.
> >
> > Signed-off-by: Jagan Teki
On Mon, Mar 19, 2018 at 07:09:20PM +0100, Patrick Delaunay wrote:
> Move all defines at the beginning of the file
>
>
> Signed-off-by: Patrick Delaunay
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Fri, Apr 06, 2018 at 04:29:50PM -0400, Tom Rini wrote:
> On Wed, Mar 14, 2018 at 06:46:43PM +0530, Jagan Teki wrote:
>
> > atmel_spi.h has register offsets, and atmel_spi_slave
> > structure, move it into .c file for better readability
> > and drop atmel_spi.h
> >
> > Signed-off-by: Jagan
On Tue, Mar 20, 2018 at 11:41:26AM +0100, Patrick Delaunay wrote:
> No more use static frequency HSI = 64MHz for STGEN clock
> but HSE (with higher accurency) by default.
>
> Need to remove CONFIG_SYS_HZ_CLOCK as arch timer frequency
> is provided at boot by BootRom and cp15 cntfrq and modified
On Tue, Mar 20, 2018 at 02:15:06PM +0100, Patrick Delaunay wrote:
> Add support of sysreset with generic driver "syscon-reboot"
> provided by RCC, for U-boot and for SPL.
>
> Signed-off-by: Patrick Delaunay
Applied to u-boot/master, thanks!
--
Tom
signature.asc
On Mon, Mar 26, 2018 at 01:27:03PM +0530, Vignesh R wrote:
> Move am43xx_evm_qspiboot_defconfig to DM. This is required as SPI core
> and TI QSPI driver no longer supports non DM interfaces.
>
> Signed-off-by: Vignesh R
> Reviewed-by: Lokesh Vutla
Applied
On Mon, Mar 26, 2018 at 01:27:01PM +0530, Vignesh R wrote:
> AM437x QSPI boot is a single stage boot and hence needs runtime DTB
> selection to support AM437x-SK and AM437x-IDK with DM enabled. This is
> required to move am43xx_evm_qspiboot_defconfig to use DM/DT.
>
> Signed-off-by: Vignesh R
On Tue, Mar 20, 2018 at 10:54:52AM +0100, Patrick Delaunay wrote:
> Add command GPT support
> Add EMMC boot support
> Add the 2 other SDMMC instances for ED1:
> - SDMMC2 = mmc 1, eMMC on the ED1 board
> - SDMMC3 = extension connector, deactivated by default
>
> Signed-off-by: Patrick Delaunay
On Wed, Mar 21, 2018 at 03:40:35PM +1300, Chris Packham wrote:
> As of commit 1a1fa2406689 ("rtc: Set valid date after reset") the
> command "date reset" will set the date/time to 2000-01-01 0:00:00 after
> calling rtc_reset(). This means that the mx27rtc implementation of
> rtc_reset() can be an
Add JTAG recovery support into the M2 Porter TPL. This allows the
TPL to be loaded over JTAG, initialize the system, wait for the
JTAG debugger to load U-Boot image into RAM and then resume and
start U-Boot from RAM.
The procedure is as follows:
1) Load u-boot-tpl.bin to 0xe630
2) Write magic
On Thu, Mar 22, 2018 at 03:44:40PM -0500, Andrew F. Davis wrote:
> Signed-off-by: Andrew F. Davis
> Reviewed-by: Lokesh vutla
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
___
On Tue, Mar 20, 2018 at 10:54:51AM +0100, Patrick Delaunay wrote:
> The spl_boot_partition function has been added in order to have
> the possibility to boot on a same binary from different mmc devices
> with different partitions.
>
> By default keep the current behavior, SPL use the partition
On Wed, Mar 28, 2018 at 02:39:01PM +0200, Mario Six wrote:
> A debug string still has the old name of a function being called; update
> it.
>
> Signed-off-by: Mario Six
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
On Thu, Mar 22, 2018 at 03:44:39PM -0500, Andrew F. Davis wrote:
> Signed-off-by: Andrew F. Davis
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
On Wed, Mar 21, 2018 at 03:40:33PM +1300, Chris Packham wrote:
> As of commit 1a1fa2406689 ("rtc: Set valid date after reset") the
> command "date reset" will set the date/time to 2000-01-01 0:00:00 after
> calling rtc_reset(). This means that the ds1307 implementation of
> rtc_reset() doesn't
On Tue, Mar 20, 2018 at 11:41:23AM +0100, Patrick Delaunay wrote:
> Manage dynamic value for armv7 arch clock timer,
> when CONFIG_SYS_HZ_CLOCK is not defined.
> Get frequency from CP15 cntfrq information, initialized for example
> by first boot stage, clock driver or by BootRom.
>
>
On Mon, Mar 26, 2018 at 01:27:02PM +0530, Vignesh R wrote:
> With U-boot runtime board detect for DTB selection a "default" dtb needs
> to be created. This will be used temporarily until the "proper" dtb is
> selected.
>
> Also, add -u-boot.dtsi for AM437x SK and IDK to enable I2C for
> board
On Mon, Mar 26, 2018 at 04:31:27PM +0200, Michal Simek wrote:
> SPL ATF implementation requires FIT image with partitions where the one
> is Firmware/ATF and another one Firmware/U-Boot. OS field is used for
> recording that difference that's why make sense to show values there for
> Firmware
Pull the SPL code from porter.c into a separate file in
preparation for the addition of system initialization code.
No functional change.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
board/renesas/porter/Makefile | 4 +++
This patch fixes a situation where CONFIG_DM_SERIAL is enabled for
regular U-Boot and SPL, but not for TPL. In that case, the build
will try to include serial-uclass into the TPL nonetheless, because
CONFIG_DM_SERIAL is set.
The solution is to check if the build is for SPL or TPL and in that
The tiny variants of memset and memcpy implementations can be
built for TPL as well, check whether a TPL build is in progress
and avoid including the default variants.
Signed-off-by: Marek Vasut
Cc: Simon Glass
Cc: Tom Rini
Add and enable TPL on M2 Porter. The TPL must fit into 16 kiB due
to the Gen2 BootROM restriction. The TPL is running from MERAM and
is capable of performing the initial initialization of PFC, Clock,
GPIO, LBSC, DBSC and QSPI NOR. DBSC is responsible for bringing up
the DDR DRAM access. The TPL is
Skip the cache initialization, which can be done later on in U-Boot
proper, since this interferes with early DRAM initialization in TPL.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
arch/arm/mach-rmobile/lowlevel_init_ca15.S | 2 ++
Add Kconfig entry for CONFIG_TPL_YMODEM_SUPPORT symbol to match the SPL one.
Signed-off-by: Marek Vasut
Cc: Tom Rini
---
common/spl/Kconfig | 8
1 file changed, 8 insertions(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
Hi Bryan,
2018-04-02 19:42 GMT-03:00 Bryan O'Donoghue :
> This patch enables CONFIG_BOOTM_TEE. Once enabled its possible to
> chain-load Linux through OPTEE.
>
> Loading kernel to 0x8080
> => run loadimage
>
> Load FDT to 0x8300
> => run loadfdt
>
> Load OPTEE
On Tue, Mar 20, 2018 at 10:54:54AM +0100, Patrick Delaunay wrote:
> Bootrom loads SPL from SDCARD or eMMC
> according BootPin selection.
>
> Then SPL loads U-Boot on the same mmc device
> with the following predefined GPT partitioning:
>
> on SDCARD: gpt partitioning
> 1: SPL
> 2: SPL#2
>
On Wed, Mar 21, 2018 at 03:40:34PM +1300, Chris Packham wrote:
> As of commit 1a1fa2406689 ("rtc: Set valid date after reset") the
> command "date reset" will set the date/time to 2000-01-01 0:00:00 after
> calling rtc_reset(). This means that the ds1374 implementation of
> rtc_reset() doesn't
On Thu, Mar 22, 2018 at 10:53:50PM +0100, Sjoerd Simons wrote:
> Use CONFIG_IS_ENABLED to see if CONFIG_BLK is enabled. Otherwise
> SPL compilation breaks on boards which do have CONFIG_BLK enabled but
> not DM_MMC for the SPL as follows:
>
> env/mmc.c: In function ‘init_mmc_for_env’:
>
On Tue, Mar 20, 2018 at 11:41:25AM +0100, Patrick Delaunay wrote:
> The STGEN is the clock source for the Cortex A7 arch timer.
> So after modification of its frequency, CP15 cntfreq is updated
> and a new timer init is performed.
>
> Signed-off-by: Patrick Delaunay
On Wed, Mar 28, 2018 at 12:57:54PM +0200, Michal Simek wrote:
> Fix Kconfig alignment which should be .
>
> Signed-off-by: Michal Simek
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Wed, Mar 21, 2018 at 03:40:37PM +1300, Chris Packham wrote:
> As of commit 1a1fa2406689 ("rtc: Set valid date after reset") the
> command "date reset" will set the date/time to 2000-01-01 0:00:00 after
> calling rtc_reset(). This means that the rx8025 implementation of
> rtc_reset() does not
On Wed, Mar 21, 2018 at 03:40:36PM +1300, Chris Packham wrote:
> As of commit 1a1fa2406689 ("rtc: Set valid date after reset") the
> command "date reset" will set the date/time to 2000-01-01 0:00:00 after
> calling rtc_reset(). This means that the rs5c372 implementation of
> rtc_reset() does not
On Wed, Mar 28, 2018 at 02:39:10PM +0200, Mario Six wrote:
> Make sure that the cache line size if respected when flushing the cache.
>
> Signed-off-by: Mario Six
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Wed, Mar 28, 2018 at 02:39:18PM +0200, Mario Six wrote:
> This patch adds a command that enables the calculation of bit operations
> (AND, OR, XOR) on binary data from the command line. Memory locations as
> well as the contents of environment variables are eligible as sources
> and
On Thu, Mar 22, 2018 at 03:44:38PM -0500, Andrew F. Davis wrote:
> Signed-off-by: Andrew F. Davis
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
On Tue, Mar 20, 2018 at 11:45:14AM +0100, Patrick Delaunay wrote:
> Add STGEN as SYSCON device: allow access to device address
> defined in device tree
>
> Signed-off-by: Patrick Delaunay
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP
On Fri, 2018-04-06 at 14:43 -0700, Ivan Gorinov wrote:
> Add readq() and writeq() definitions for x86.
>
> Please note: in 32-bit code readq/writeq will generate two 32-bit
> memory access instructions instead of one atomic 64-bit operation.
>
Thanks!
FWIW,
Reviewed-by: Andy Shevchenko
This patch is a preparation for adding TPL support for RAM loading.
CONFIG_IS_ENABLED allows for proper handling of the U-Boot/SPL/TPL
differences in config symbol names.
Signed-off-by: Marek Vasut
Cc: Tom Rini
---
common/spl/spl_ram.c | 6
Add TPL config symbols for RAM loading matching the SPL ones.
Signed-off-by: Marek Vasut
Cc: Tom Rini
---
common/spl/Kconfig | 14 ++
1 file changed, 14 insertions(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index
Enable the HUSH shell, since it is far more capable.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
configs/porter_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/porter_defconfig b/configs/porter_defconfig
index
Signed-off-by: Tuomas Tynkkynen
---
arch/arm/Kconfig| 2 ++
drivers/serial/Kconfig | 5 +
include/configs/xilinx_zynqmp.h | 1 -
include/configs/zynq-common.h | 2 --
scripts/config_whitelist.txt| 1 -
5 files changed, 7 insertions(+), 4
From: Fabio Estevam
Inspired by the following kernel commit:
"commit 90fda63fa1156ec1bcfd7f9ca384cec221f70a21
Author: Linus Torvalds
Date: Sat Apr 7 13:31:23 2018 -0700
treewide: fix up files incorrectly marked executable
Joe
Signed-off-by: Tuomas Tynkkynen
---
arch/Kconfig | 1 +
drivers/serial/Kconfig | 5 +
include/configs/M5208EVBE.h | 1 -
include/configs/M52277EVB.h | 1 -
include/configs/M5235EVB.h | 1 -
include/configs/M5249EVB.h | 1
Signed-off-by: Tuomas Tynkkynen
---
arch/arc/Kconfig | 1 +
drivers/serial/Kconfig | 7 +++
include/configs/nsim.h | 10 --
scripts/config_whitelist.txt | 1 -
4 files changed, 8 insertions(+), 11 deletions(-)
diff --git
Philipp,
On 04/02/2018 05:28 AM, Philipp Tomsich wrote:
>
>
> On Tue, 27 Mar 2018, Kever Yang wrote:
>
>> We use common board/spl/tpl file for all rockchip SoCs,
>> - all the SoC spec setting should move into SoC file like rk3288.c;
>> - tpl is option and only purpose to init DRAM, clock,
59 matches
Mail list logo