Add tests for VPL into the mix. For now this just runs the help test and
a few SPL ones.
Signed-off-by: Simon Glass
---
(no changes since v1)
.azure-pipelines.yml | 3 +++
.gitlab-ci.yml | 6 ++
2 files changed, 9 insertions(+)
diff --git a/.azure-pipelines.yml b/.azure-pipelines.ym
Add an initial VPL build for sandbox. This includes the flow:
TPL (with of-platdata) -> VPL -> SPL -> U-Boot
To run it:
./tpl/u-boot-tpl -D
The -D is needed to get the default device tree, which includes the serial
console info.
Add a Makefile check for OF_HOSTFILE which is the option th
Add support for VPL, a new phase of U-Boot. This runs after TPL. It is
responsible for selecting which SPL binary to run, based on a
verified-boot process.
Signed-off-by: Simon Glass
---
Changes in v8:
- Rename the VPL symbols in spl.c
Changes in v4:
- Update spl_phase_prefix() for VPL
- Tidy u
The current logic checks several options to decide whether SPL/TPL need
the U-Boot devicetree to be built. In fact we can check OF_CONTROL, which
is enabled in all cases that matter.
Signed-off-by: Simon Glass
---
(no changes since v1)
Makefile | 7 ++-
1 file changed, 2 insertions(+), 5 d
This feature is not used in SPL at present. Update the Makefile to avoid
it being built.
Signed-off-by: Simon Glass
---
(no changes since v4)
Changes in v4:
- Add new patch to avoid building avb in SPL
common/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/
These should follow the same pattern as SPL, for consistency. Fix them.
Signed-off-by: Simon Glass
---
(no changes since v1)
Makefile | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 9f220de3202..82c35a94ae6 100644
--- a/Makefile
+++ b/Makefi
This feature is not available in SPL unless common/ and lib/ are built.
Update the Kconfig to avoid build errors.
Signed-off-by: Simon Glass
---
(no changes since v4)
Changes in v4:
- Add new patch to correct bloblist Kconfig dependencies
common/Kconfig | 4 ++--
1 file changed, 2 insertions(
We can in principle add tests to any SPL build, e.g. TPL or VPL. Update
the build rules to handle this.
Signed-off-by: Simon Glass
---
(no changes since v1)
Makefile | 2 +-
scripts/Makefile.spl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makef
Add a bit more information about how to use SPL.
Signed-off-by: Simon Glass
---
(no changes since v1)
doc/develop/spl.rst | 34 ++
1 file changed, 34 insertions(+)
diff --git a/doc/develop/spl.rst b/doc/develop/spl.rst
index 4d6f394bed9..1059b2fb9c0 100644
---
Move this documentation over to .rst format.
Signed-off-by: Simon Glass
---
(no changes since v1)
doc/develop/index.rst | 1 +
doc/{README.SPL => develop/spl.rst} | 36 +++--
2 files changed, 20 insertions(+), 17 deletions(-)
rename doc/{README.SPL => de
U-Boot provides a verified-boot feature based around FIT, but there is
no standard way of implementing it for a board. At present the various
required pieces must be built up separately, to produce a working
implementation. In particular, there is no built-in support for selecting
A/B boot or recov
U-Boot provides a verified-boot feature based around FIT, but there is
no standard way of implementing it for a board. At present the various
required pieces must be built up separately, to produce a working
implementation. In particular, there is no built-in support for selecting
A/B boot or recov
The UEFI Self Certification Test (SCT) cannot run on 128 MiB.
Signed-off-by: Heinrich Schuchardt
---
arch/sandbox/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
index f83282d9d5..de53b7d66f 100644
--- a/arch/sandbox/Kco
On 4/29/22 7:08 PM, Andre Przywara wrote:
> On Fri, 29 Apr 2022 14:14:19 -0400
> Tom Rini wrote:
>
> Hi,
>
>> On Fri, Apr 29, 2022 at 06:05:03PM +0200, Mark Kettenis wrote:
Date: Fri, 29 Apr 2022 11:31:00 -0400
From: Tom Rini
On Fri, Apr 29, 2022 at 04:25:51PM +0100, Andre P
On Fri, 29 Apr 2022 14:14:19 -0400
Tom Rini wrote:
Hi,
> On Fri, Apr 29, 2022 at 06:05:03PM +0200, Mark Kettenis wrote:
> > > Date: Fri, 29 Apr 2022 11:31:00 -0400
> > > From: Tom Rini
> > >
> > > On Fri, Apr 29, 2022 at 04:25:51PM +0100, Andre Przywara wrote:
> > > > On Fri, 29 Apr 2022 10:
With the conversion of rockchip-usb-phy.yaml a long time used fallback
string for rk3066a/rk3188 was added. The linux driver doesn't do much with
the GRF phy address range, however the u-boot driver rockchip_usb2_phy.c
does. The bits in GRF_UOC0_CON2 for rk3066a/rk3188 and rk3288 for example
don't
Change define condition in board_usb_init() function
to allow rk3066/rk3188 to use the USB PHY driver.
Signed-off-by: Johan Jonker
---
arch/arm/mach-rockchip/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.
Add rk3066a/rk3188 support to rockchip_usb2_phy.c
They don't have completely identical usb phy registers,
so separate comapatible strings and data.
Signed-off-by: Johan Jonker
---
drivers/usb/phy/rockchip_usb2_phy.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/usb/phy/rock
From: Paweł Jarosz
Product id of rk3066 usb otg is 0x300a.
Signed-off-by: Paweł Jarosz
Signed-off-by: Johan Jonker
---
drivers/usb/gadget/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index d81a9c5a..8c6cf474 100644
--- a/d
commit 61cf22505339 ("board: gateworks: gw_ventana: use comomn GSC driver")
moved to the common GSC driver and moved remaining board-specific
functions to eeprom.c. The functions in gsc.c are no longer used and it
was removed from the Makefile but the file itself was not removed.
Remove it now.
Si
On 4/29/22 10:36 AM, Pali Rohár wrote:
> drivers/misc/fs_loader.c: In function ‘mount_ubifs’:
> drivers/misc/fs_loader.c:46:12: warning: implicit declaration of function
> ‘ubi_part’ [-Wimplicit-function-declaration]
> int ret = ubi_part(mtdpart, NULL);
> ^~~~
> drivers/misc/f
The MaxLinear GPY111 PHY is being used on some boards due to part
availability. Add support for this PHY which requires a longer reset
post-delay and RGMII delay configuration.
Signed-off-by: Tim Harvey
---
arch/arm/dts/imx6qdl-gw51xx.dtsi| 2 +-
arch/arm/dts/imx6qdl-gw52xx.dtsi
%s/cammand/command/
%s/sequencies/sequences/
Signed-off-by: Heinrich Schuchardt
---
doc/usage/cmd/bootmenu.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/usage/cmd/bootmenu.rst b/doc/usage/cmd/bootmenu.rst
index 1016ac8ceb..9430f8c9aa 100644
--- a/doc/usage/cmd/b
On 4/28/22 10:09, Masahisa Kojima wrote:
This is a preparation for succeeding addition of uefi boot
and distro boot menu entries into bootmenu.
The bootmenu_entry title is updated to u16 string because
uefi use u16 string. This commit also factors out the function
to prepare the entries generated
On 4/28/22 10:09, Masahisa Kojima wrote:
Before waiting user key input to stop autoboot, the input buffer
must be flushed.
I am not sure if this is desirable.
The default time for autoboot stopping is just 2 seconds. So it is nice
to be able to type ahead.
On the other hand I have seen boards
Hi Simon,
On 4/25/22 11:24 AM, Sean Anderson wrote:
>
>
> On 4/25/22 1:48 AM, Simon Glass wrote:
>> Hi Sean,
>>
>> On Mon, 18 Apr 2022 at 13:37, Sean Anderson wrote:
>>>
>>> This adds support for "nvmem cells" as seen in Linux. The nvmem device
>>> class in Linux is used for various assorted R
On 4/28/22 10:09, Masahisa Kojima wrote:
menu_get_choice() needs to handle the case that menu item
is empty. In this case, menu_get_choice() returns -ENOENT.
Signed-off-by: Masahisa Kojima
---
Newly created in v5
common/menu.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/common/me
The uart2 and its pinmux are already marked with u-boot,dm-spl but we
need to move the call to preloader_console_init() after spl_early_init()
to avoid a board hang as dm can't be used until after spl_early_init()
due to the uart driver not enabling the uart clock.
Remove the manual config of the
On 4/28/22 10:09, Masahisa Kojima wrote:
Provide u16 string version of strlcat().
Signed-off-by: Masahisa Kojima
---
Changes in v5:
- change 3rd argument from size to count, it indicates
the maximum u16 string count that dest buffer can have.
Other u16_strXXX functions in U-Boot use strin
The log functions print file name, line number, and function name if
selected via the log command or customizing. Don't print the function
name twice.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_bootmgr.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/li
Only newer eSDHC controllers set PRSSTAT_SDSTB flag. So do not wait until
flag PRSSTAT_SDSTB is set on old pre-2.2 controllers. Instead sleep for
fixed amount of time like it was before commit 6f883e501b65 ("mmc:
fsl_esdhc: Add emmc hs200 support").
This change fixes error 'Internal clock never st
On Friday 29 April 2022 13:50:31 Sinan Akman wrote:
>
> Hi Pali
>
> On 2022-04-29 1:35 p.m., Pali Rohár wrote:
> > Hello!
> >
> > U-Boot prints error "fsl_esdhc: Internal clock never stabilised." on
> > P2020 everytime when trying to access SD card. It happens with every
> > tested SD card. No
> Date: Fri, 29 Apr 2022 14:14:19 -0400
> From: Tom Rini
>
> On Fri, Apr 29, 2022 at 06:05:03PM +0200, Mark Kettenis wrote:
> > > Date: Fri, 29 Apr 2022 11:31:00 -0400
> > > From: Tom Rini
> > >
> > > On Fri, Apr 29, 2022 at 04:25:51PM +0100, Andre Przywara wrote:
> > > > On Fri, 29 Apr 2022 10
FEC_QUIRK_ENET_MAC is defined in the imx-regs.h include file and thus
does not need to be defined in the various board config includes.
Signed-off-by: Tim Harvey
---
include/configs/cgtqmx8.h | 1 -
include/configs/imx8mm-cl-iot-gate.h| 1 -
include/configs/imx8mm_data_
On Fri, Apr 29, 2022 at 06:05:03PM +0200, Mark Kettenis wrote:
> > Date: Fri, 29 Apr 2022 11:31:00 -0400
> > From: Tom Rini
> >
> > On Fri, Apr 29, 2022 at 04:25:51PM +0100, Andre Przywara wrote:
> > > On Fri, 29 Apr 2022 10:57:10 -0400
> > > Tom Rini wrote:
> > >
> > > Hi,
> > >
> > > > On Fr
On Fri, Apr 29, 2022 at 10:08 AM Tim Harvey wrote:
>
> The IMX8MP SoC FEC needs to have the FEC_QUIRK_ENET_MAC defined.
>
> Fixes: commit 2395625209cc ("board: gateworks: venice: add
> imx8mp-venice-gw740x support")
> Signed-off-by: Tim Harvey
> ---
> include/configs/imx8mp_venice.h | 4
>
On Sun, Apr 03, 2022 at 10:39:15AM +, Andrew Scull wrote:
> Use-after-free shouldn't be used, even in tests. It's bad practice and
> makes the test brittle.
>
> Signed-off-by: Andrew Scull
> Cc: Simon Glass
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.
On Sun, Apr 03, 2022 at 10:39:14AM +, Andrew Scull wrote:
> This tests calls regmap_read() which takes a uint pointer as an output
> parameter. The test was passing a pointer to a u16 which resulted in an
> overflow when the output was written. Fix this by following the
> regmap_read() API and
On Sun, Apr 03, 2022 at 10:39:13AM +, Andrew Scull wrote:
> Data is written for each channel but is only tracked as having one
> channel written. This resulted in a buffer overflow and corruption of
> the allocator's metadata which caused further problems when the buffer
> was later freed. Thi
On Sun, Apr 03, 2022 at 10:39:12AM +, Andrew Scull wrote:
> The buffer is 512 bytes but read requests can be 800 bytes. Limit the
> request to the size of the buffer.
>
> Signed-off-by: Andrew Scull
> Cc: Simon Glass
> Cc: Marek Vasut
> Reviewed-by: Simon Glass
Applied to u-boot/master,
On Sun, Apr 03, 2022 at 10:39:11AM +, Andrew Scull wrote:
> When copying the string in copy_to_unicode(), check for the null
> terminator in each position, not just at the start, to avoid reading
> beyond the end of the string.
>
> Signed-off-by: Andrew Scull
> Cc: Simon Glass
> Cc: Marek V
On Sun, Apr 03, 2022 at 10:39:10AM +, Andrew Scull wrote:
> There are expecte to be bars 0 through 5, but the last of these was
> missing leading to an read beyond the buffer. Add the missing element
> with zero values.
>
> Signed-off-by: Andrew Scull
> Cc: Simon Glass
> Cc: Bin Meng
> Rev
On Sun, Apr 03, 2022 at 10:39:09AM +, Andrew Scull wrote:
> When do_acpi_dump() converts the table name to upper case, pass the
> actual size of the output buffer so that the null terminator doesn't get
> written beyond the end of the buffer.
>
> Signed-off-by: Andrew Scull
> Cc: Simon Glass
On Sun, Apr 03, 2022 at 10:39:08AM +, Andrew Scull wrote:
> The '--args' parameter to gdb comes before the binary that the debugger
> will be attached to rather than after the binary and before the
> arguments. Fix that in the docs.
>
> Signed-off-by: Andrew Scull
> Cc: Simon Glass
> Review
Hi Pali
On 2022-04-29 1:35 p.m., Pali Rohár wrote:
Hello!
U-Boot prints error "fsl_esdhc: Internal clock never stabilised." on
P2020 everytime when trying to access SD card. It happens with every
tested SD card. Note that both read and write operation with SD card is
working fine, U-Boot ju
Hello!
U-Boot prints error "fsl_esdhc: Internal clock never stabilised." on
P2020 everytime when trying to access SD card. It happens with every
tested SD card. Note that both read and write operation with SD card is
working fine, U-Boot just prints that noisy error.
For example:
SD boot...
The IMX8MP SoC FEC needs to have the FEC_QUIRK_ENET_MAC defined.
Fixes: commit 2395625209cc ("board: gateworks: venice: add imx8mp-venice-gw740x
support")
Signed-off-by: Tim Harvey
---
include/configs/imx8mp_venice.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/imx8mp
On 4/28/22 10:09, Masahisa Kojima wrote:
From: AKASHI Takahiro
Under the current implementation, booting from removable media using
a architecture-specific default image name, say BOOTAA64.EFI, is
supported only in distro_bootcmd script. See the commit 74522c898b35
("efi_loader: Add distro boot
Dear Tom,
The following changes since commit 8b2b125e95c44bb007b4573945f4aedb8a56222c:
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx
(2022-04-27 09:19:41 -0400)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2022-07-
The IMX8M based Venice boards all have device-tree fec nodes that
use proper dt with a phy-handle pointing to a phy with reg assigned
to the proper phy address.
There is no need to keep using the CONFIG_FEC_MXC_PHYADDR hack when
a proper dt is used - remove it.
Signed-off-by: Tim Harvey
---
inc
> Date: Fri, 29 Apr 2022 11:31:00 -0400
> From: Tom Rini
>
> On Fri, Apr 29, 2022 at 04:25:51PM +0100, Andre Przywara wrote:
> > On Fri, 29 Apr 2022 10:57:10 -0400
> > Tom Rini wrote:
> >
> > Hi,
> >
> > > On Fri, Apr 29, 2022 at 03:51:59PM +0100, Andre Przywara wrote:
> > > > On Wed, 27 Apr 2
On Fri, 29 Apr 2022 11:31:00 -0400
Tom Rini wrote:
Hi,
> On Fri, Apr 29, 2022 at 04:25:51PM +0100, Andre Przywara wrote:
> > On Fri, 29 Apr 2022 10:57:10 -0400
> > Tom Rini wrote:
> >
> > Hi,
> >
> > > On Fri, Apr 29, 2022 at 03:51:59PM +0100, Andre Przywara wrote:
> > > > On Wed, 27 Apr
This command is useful in U-boot scripts and it is being used by
OpenWrt bootscript for this board [1]. Otherwise shell scripting
commands are enabled by default in cmd/Kconfig.
[1]
https://github.com/openwrt/openwrt/blob/852126680e21edc71c0c66561ae5a6d7479dcc67/target/linux/mvebu/image/clearfog.
On beaglebone black, which are based on TI AM3358, the booting of U-Boot is
split into two phrases, MLO and u-boot.bin/img. There should be a way to pass
the index of the booting MMC interface from MLO to u-boot, so that the
uboot.env in the FAT file system on the booting card could be read from
From: Ye Li
issue:
CAAM fails with key error when perform Modular Exponentiation
using PKHA Block in CAAM
Fix:
add flush and invalidate dcache for keys, signature
and output decrypted data processed by CAAM.
Fixes: 34276478f7 (DM: crypto/fsl - Add Freescale rsa DM driver)
Signed-off-by: Ye Li
On Fri, Apr 29, 2022 at 04:25:51PM +0100, Andre Przywara wrote:
> On Fri, 29 Apr 2022 10:57:10 -0400
> Tom Rini wrote:
>
> Hi,
>
> > On Fri, Apr 29, 2022 at 03:51:59PM +0100, Andre Przywara wrote:
> > > On Wed, 27 Apr 2022 15:31:19 -0500
> > > Samuel Holland wrote:
> > >
> > > Hi Samuel, Tom,
On Fri, 29 Apr 2022 10:57:10 -0400
Tom Rini wrote:
Hi,
> On Fri, Apr 29, 2022 at 03:51:59PM +0100, Andre Przywara wrote:
> > On Wed, 27 Apr 2022 15:31:19 -0500
> > Samuel Holland wrote:
> >
> > Hi Samuel, Tom,
> >
> > > This series brings all of our devicetrees up to date with Linux.
> > >
On Fri, 29 Apr 2022 15:59:44 +0800
Weijie Gao wrote:
> On Fri, 2022-04-29 at 08:15 +0200, Stefan Roese wrote:
> > Hi Weijie
> >
> > On 4/29/22 03:23, Weijie Gao wrote:
> > > Hi Marek,
> > >
> > > Yes. MT7621 does need such a proprietary binary for DDR
> > > initialization
> > > and calibratio
On Thu, Apr 14, 2022 at 01:59:32PM +, Andrew Scull wrote:
> Use the common infrastructure to create a linker list of the sandbox
> command line flags rather than using a custom method.
>
> The list is changed from containing pointers to containing structs and
> the uses are updated accordingl
On Fri, Apr 29, 2022 at 03:51:59PM +0100, Andre Przywara wrote:
> On Wed, 27 Apr 2022 15:31:19 -0500
> Samuel Holland wrote:
>
> Hi Samuel, Tom,
>
> > This series brings all of our devicetrees up to date with Linux.
> >
> > Older SoCs (before A83T) have not been synchronized in over 3 years.
>
On python 3.8.10 (and 3.10), subparsers are not updated with defaults. I
suspect this is related to [1]. Fix this by explicitly updating
subparsers with settings.
[1] https://github.com/python/cpython/issues/89398
Fixes: 3145b63513 ("patman: Update defaults in subparsers")
Signed-off-by: Sean And
On Wed, 27 Apr 2022 15:31:19 -0500
Samuel Holland wrote:
Hi Samuel, Tom,
> This series brings all of our devicetrees up to date with Linux.
>
> Older SoCs (before A83T) have not been synchronized in over 3 years.
> And I don't have any of this hardware to test. But there are not major
> changes
On Mon, Apr 18, 2022 at 03:36:58PM -0400, Sean Anderson wrote:
> This uses the nvmem API to load a mac address from an RTC.
>
> Signed-off-by: Sean Anderson
> Reviewed-by: Simon Glass
> ---
>
> (no changes since v1)
>
> arch/sandbox/dts/test.dts | 9 -
> drivers/rtc/i2c_rtc_emul.c
On Mon, Apr 18, 2022 at 03:36:56PM -0400, Sean Anderson wrote:
> This adds support for reading mac addresses from the "mac-address" nvmem
> cell. If there is no (local-)mac-address property, then we will try
> reading from an nvmem cell.
>
> For some existing examples of this property, refer to i
On Mon, Apr 18, 2022 at 03:36:47PM -0400, Sean Anderson wrote:
> Commit f3dd213e15 ("net: introduce helpers to get PHY ofnode from MAC")
> changed the ethernet sequence assignment from
>
> uclass 36: ethernet
> 0 * eth@10002000 @ 05813460, seq 0
> 1 * eth@10003000 @ 05813550, seq 5
> 2 * sb
drivers/misc/fs_loader.c: In function ‘mount_ubifs’:
drivers/misc/fs_loader.c:46:12: warning: implicit declaration of function
‘ubi_part’ [-Wimplicit-function-declaration]
int ret = ubi_part(mtdpart, NULL);
^~~~
drivers/misc/fs_loader.c:53:9: warning: implicit declaration of func
On 29.04.22 15:10, Peng Fan (OSS) wrote:
From: Peng Fan
Since these boards has CONFIG_DM_SERIAL and/or CONFIG_SPL_DM_SERIAL,
the legacy macro no need to be defined.
Signed-off-by: Peng Fan
---
include/configs/aristainetos2.h | 2 --
include/configs/imx8mm_evk.h | 1 -
Hi Stefan,
On 4/29/22 8:54 AM, Stefan Roese wrote:
> Hi,
>
> while working on an LX2160 based board and updating to latest mainline
> I noticed problems using the HW accelerated hash functions on this
> platform, when trying to boot a FIT Kernel image. Here the resulting
> error message:
>
> ##
Reviewed-by: Gaurav Jain
> -Original Message-
> From: Stefan Roese
> Sent: Friday, April 29, 2022 7:05 PM
> To: u-boot@lists.denx.de
> Cc: Gaurav Jain ; dullf...@yahoo.com
> Subject: [EXT] [PATCH] crypto: fsl_hash: Remove unnecessary alignment check
> in caam_hash()
>
> Caution: EXT Ema
On Fri, Apr 29, 2022 at 10:31:05AM -0300, Fabio Estevam wrote:
> Hi Tom,
>
> On Fri, Apr 29, 2022 at 9:44 AM Tom Rini wrote:
>
> > Thanks for the hint, Tim! Fabio, the dts needs to be re-synced with
> > Linux as upstream it says:
> > /*
> > * The PHY seems to require a long-eno
While working on an LX2160 based board and updating to latest mainline
I noticed problems using the HW accelerated hash functions on this
platform, when trying to boot a FIT Kernel image. Here the resulting
error message:
Using 'conf-freescale_lx2160a.dtb' configuration
Trying 'kernel-1' ker
Hi Tom,
On Fri, Apr 29, 2022 at 9:44 AM Tom Rini wrote:
> Thanks for the hint, Tim! Fabio, the dts needs to be re-synced with
> Linux as upstream it says:
> /*
> * The PHY seems to require a long-enough reset duration to avoid
> * some rare issues where the PHY gets st
On 4/29/22 15:22, Gaurav Jain wrote:
Hello Stefan
-Original Message-
From: Stefan Roese
Sent: Friday, April 29, 2022 6:24 PM
To: U-Boot Mailing List
Cc: Gaurav Jain ; 'dullf...@yahoo.com
Subject: [EXT] fsl_hash.c: Alignment problem when using caam_hash() for FIT
images
Caution: EXT E
On Fri, Apr 29, 2022 at 03:19:00PM +0200, Michael Nazzareno Trimarchi wrote:
> Hi Tom
>
> On Fri, Apr 29, 2022 at 3:04 PM Tom Rini wrote:
> >
> > Hey all,
> >
> > I'm looking for some feedback and ideas. Today, in our
> > u-boot-test-hooks repository we have 2 cases that use sudo, imx_usb and
>
Hello Stefan
> -Original Message-
> From: Stefan Roese
> Sent: Friday, April 29, 2022 6:24 PM
> To: U-Boot Mailing List
> Cc: Gaurav Jain ; 'dullf...@yahoo.com
> Subject: [EXT] fsl_hash.c: Alignment problem when using caam_hash() for FIT
> images
>
> Caution: EXT Email
>
> Hi,
>
> whi
Hi Tom
On Fri, Apr 29, 2022 at 3:04 PM Tom Rini wrote:
>
> Hey all,
>
> I'm looking for some feedback and ideas. Today, in our
> u-boot-test-hooks repository we have 2 cases that use sudo, imx_usb and
I'm not a super expert but is it sufficient to use udev and insert the right
on a group for a
Hey all,
I'm looking for some feedback and ideas. Today, in our
u-boot-test-hooks repository we have 2 cases that use sudo, imx_usb and
L4T-based flashing. Other places that may require root access, such as
mounting a filesystem instead assume an /etc/fstab entry exists and has
"user" as one of
Hi,
while working on an LX2160 based board and updating to latest mainline
I noticed problems using the HW accelerated hash functions on this
platform, when trying to boot a FIT Kernel image. Here the resulting
error message:
## Loading kernel from FIT Image at a000 ...
Using 'conf-freesc
On Thu, Apr 28, 2022 at 02:25:03PM -0700, Tim Harvey wrote:
> On Thu, Apr 28, 2022 at 1:41 PM Tom Rini wrote:
> >
> > Hey,
> >
> > So my mx6cuboxi was out of my lab for a bit, and that's how this
> > regression got in mainline. With:
> > 4223fb0ee18d11462c55ac94198fdc2055f2c27c is the first bad c
Hello Peng,
On 29.04.22 15:10, Peng Fan (OSS) wrote:
> From: Peng Fan
>
> Since these boards has CONFIG_DM_SERIAL and/or CONFIG_SPL_DM_SERIAL,
> the legacy macro no need to be defined.
>
> Signed-off-by: Peng Fan
> ---
> include/configs/aristainetos2.h | 2 --
> include/configs/imx8m
Hi Peng,
On Fri, Apr 29, 2022 at 9:28 AM Peng Fan (OSS) wrote:
>
> From: Peng Fan
>
> Since these boards has CONFIG_DM_SERIAL and/or CONFIG_SPL_DM_SERIAL,
> the legacy macro no need to be defined.
>
> Signed-off-by: Peng Fan
Thanks for the cleanup:
Reviewed-by: Fabio Estevam
From: Peng Fan
Since these boards has CONFIG_DM_SERIAL and/or CONFIG_SPL_DM_SERIAL,
the legacy macro no need to be defined.
Signed-off-by: Peng Fan
---
include/configs/aristainetos2.h | 2 --
include/configs/imx8mm_evk.h | 1 -
include/configs/imx8mn_evk.h | 1
This is A385 register.
Signed-off-by: Pali Rohár
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c
b/board/CZ.NIC/turris_omnia/turris_omnia.c
index 97292456f148..6132c8f94369 100644
---
To work correctly, this driver depends on SYSCON to get the base address
from the parent dts node.
Signed-off-by: Billy Tsai
---
drivers/pwm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index cb54e67fae..cf66293eeb 100644
--- a/drivers/pwm
On 4/28/22 06:50, AKASHI Takahiro wrote:
Booting from a short-form device path which starts with the first element
being a File Path Media Device Path failed because it doesn't contain
any valid device with simple file system protocol and efi_dp_find_obj()
in efi_load_image_from_path() will retur
On 4/28/22 18:33, Heinrich Schuchardt wrote:
On 4/28/22 10:09, Masahisa Kojima wrote:
This commit supports the menu-driven UEFI boot option addition.
User can select the block device volume having
efi_simple_file_system_protocol and select the file corresponding
to the Boot variable. Then us
board_get_usable_ram_top() was designed for getting the top most location
for U-Boot allocation that's why function itself supports via total_size
parameter to find out where the right location for U-Boot is.
But function itself is also reused by different (EFI) which is passing
total_size as 0 to
Hi,
Adding also Nicolas,
On 4/26/22 16:37, Marek Vasut wrote:
Enable DRAM ASR, auto self-refresh, conditionally, based on DT PWRCTL
register bits. While ASR does save considerable amount of power at
runtime automatically, it also causes LTDC underruns on large panels.
Let user select whether or
Hi Marek,
On 4/26/22 16:38, Marek Vasut wrote:
The SoC seems to lose the values of MCUDIVR, PLL3CR, PLL4CR, RCC_MSSCKSELR
during suspend/resume cycle, cache them and reinstate their values on resume.
Signed-off-by: Marek Vasut
Cc: Patrick Delaunay
Cc: Patrice Chotard
---
V2: Cache MCUDIVR as
> From: Masahisa Kojima
> Date: Thu, 28 Apr 2022 17:09:44 +0900
>
> This commit adds the Kconfig option to disable to enter
> the U-Boot console from bootmenu.
>
> If CMD_BOOTMENU_ENTER_UBOOT_CONSOLE is enabled, "U-Boot console"
> entry is appeared as the last entry in the bootmenu, then user ca
> From: Masahisa Kojima
> Date: Thu, 28 Apr 2022 17:09:33 +0900
>
> This patch series adds the menu-driven boot device selection,
> by extending the existing "bootmenu" to include UEFI and distro_boot
> related entries, and supports menu-driven UEFI boot variable
> maintenance.
>
> This patch se
On 2022/4/28 21:10, Rasmus Villemoes wrote:
Hi NXP folks
Is it possible for you to modify the i.MX8MSCALE DDR Tool so that the
lpddr4_timing.c files it emits use "static" in front of ddr_ddrc_cfg[]
and all the other arrays it defines; the only symbol that file defines
which should have extern
From: Peng Fan
All i.MX8M needs TZASC ID SWAP set and locked, no need the check to
waste cpu cycles.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/soc.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c
From: Peng Fan
Use NXP logo.
The vendor and board dir not changed, only replace the contents
of freescale.bmp.
Signed-off-by: Peng Fan
---
tools/logos/freescale.bmp | Bin 46738 -> 47670 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/tools/logos/freescale.bmp b/tools/logos
From: Peng Fan
With rpoc_att, bootaux able to kick elf file for M core
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/soc.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c
index 5240dc11363..3de5
From: Peng Fan
To i.MX8, M core stack is pre-coded in source code, so need to get it
before kicking M core. The stack pointer is stored in the first word of
the first PT_LOAD section __isr_vector. So use a num to index the
section loading.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx_boot
From: Peng Fan
Add missing newline
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx_bootaux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx_bootaux.c b/arch/arm/mach-imx/imx_bootaux.c
index 6a075ccc4fb..3c6a5c09b7d 100644
--- a/arch/arm/mach-imx/imx
From: Peng Fan
Use if (CONFIG_IS_ENABLED()) to make code cleaner
Enable elf support for i.MX8M
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx_bootaux.c | 43 +++--
1 file changed, 20 insertions(+), 23 deletions(-)
diff --git a/arch/arm/mach-imx/imx_bootaux.c b/a
From: Peng Fan
select CONFIG_CMD_CLK to enable dump clk in uboot shell
Signed-off-by: Peng Fan
---
configs/imx8mq_evk_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/imx8mq_evk_defconfig b/configs/imx8mq_evk_defconfig
index 780f93103c7..9f54a280d9b 100644
--- a/configs/im
From: Peng Fan
Since the power domain driver default select CONFIG_CLK, so we will
meet lots failures without CLK_IMX8MQ, so default select it.
Fixes: commit 4eb82c2e56a7c ("imx: power-domain: Get rid of SMCCC dependency")
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/Kconfig | 1 +
1 fi
1 - 100 of 101 matches
Mail list logo