Enable MbedTLS as default setting for qemu arm64 and sandbox.
Signed-off-by: Raymond Mao
Reviewed-by: Ilias Apalodimas
---
Changes in v2
- None.
Changes in v3
- None.
Changes in v4
- None.
Changes in v5
- Remove unused config MBEDTLS_LIB_TLS.
- Remove EFI_SECURE_BOOT from the default config.
Cha
With MBEDTLS_LIB_X509 enabled, we don't build the original ASN1 lib,
So remove it from test.
Signed-off-by: Raymond Mao
Reviewed-by: Ilias Apalodimas
---
Changes in v2
- Initial patch.
Changes in v3
- None.
Changes in v4
- None.
Changes in v5
- None.
Changes in v6
- None.
Changes in v7
- None.
When building with MbedTLS, we are using MbedTLS to decode ASN1 data
for x509, pkcs7 and mscode.
Introduce _LEGACY and _MBEDTLS kconfigs for ASN1 decoder legacy and
MbedTLS implementations respectively.
Signed-off-by: Raymond Mao
Reviewed-by: Ilias Apalodimas
---
Changes in v2
- Initial patch.
C
Previous patch has introduced MbedTLS porting layer for RSA helper,
here to adjust the makefile accordingly.
Signed-off-by: Raymond Mao
Reviewed-by: Ilias Apalodimas
---
Changes in v2
- Initial patch.
Changes in v3
- Update commit message.
Changes in v4
- Control building legacy library via '_LE
Add RSA helper layer on top on MbedTLS PK and RSA library.
Introduce _LEGACY and _MBEDTLS kconfigs for RSA helper legacy and
MbedTLS implementations respectively.
Signed-off-by: Raymond Mao
Acked-by: Ilias Apalodimas
---
Changes in v2
- Initial patch.
Changes in v3
- None.
Changes in v4
- Introd
Previous patch has introduced MbedTLS porting layer for mscode parser,
here to adjust the header and makefiles accordingly.
Adding _LEGACY Kconfig for legacy mscode implementation.
Signed-off-by: Raymond Mao
---
Changes in v2
- Move the porting layer to MbedTLS dir.
Changes in v3
- Update commit
Add porting layer for MSCode on top of MbedTLS ASN1 library.
Introduce _MBEDTLS kconfigs for MSCode MbedTLS implementation.
Signed-off-by: Raymond Mao
Acked-by: Ilias Apalodimas
---
Changes in v2
- Move the porting layer to MbedTLS dir.
Changes in v3
- None.
Changes in v4
- Introduce _LEGACY and
Previous patch has introduced MbedTLS porting layer for PKCS7 parser,
here to adjust the header and makefiles accordingly.
Signed-off-by: Raymond Mao
---
Changes in v2
- Move the porting layer to MbedTLS dir.
Changes in v3
- Update commit message.
Changes in v4
- Control building legacy library v
Add porting layer for PKCS7 parser on top of MbedTLS PKCS7 library.
Introduce _LEGACY and _MBEDTLS kconfigs for PKCS7 parser legacy and
MbedTLS implementations respectively.
Signed-off-by: Raymond Mao
---
Changes in v2
- Move the porting layer to MbedTLS dir.
- Fix EFI Capsule CI test failures.
C
Previous patch has introduced MbedTLS porting layer for x509 cert parser,
here to adjust the header and makefiles accordingly.
Signed-off-by: Raymond Mao
---
Changes in v2
- Move the porting layer to MbedTLS dir.
Changes in v3
- Update commit message.
Changes in v4
- Control building legacy libra
Add porting layer for X509 cert parser on top of MbedTLS X509
library.
Introduce _LEGACY and _MBEDTLS kconfigs for X509 cert parser legacy
and MbedTLS implementations respectively.
Signed-off-by: Raymond Mao
---
Changes in v2
- Move the porting layer to MbedTLS dir.
Changes in v3
- None.
Changes
Previous patch has introduced MbedTLS porting layer for public key,
here to adjust the header and makefiles accordingly.
Signed-off-by: Raymond Mao
Reviewed-by: Ilias Apalodimas
---
Changes in v2
- Move the porting layer to MbedTLS dir.
Changes in v3
- Update commit message.
Changes in v4
- Cont
Add porting layer for public key on top of MbedTLS X509 library.
Introduce _LEGACY and _MBEDTLS kconfigs for public key legacy and
MbedTLS implementations respectively.
Signed-off-by: Raymond Mao
Reviewed-by: Ilias Apalodimas
---
Changes in v2
- Move the porting layer to MbedTLS dir.
Changes in
Move pkcs7_get_content_data as a helper function that can be
shared by legacy crypto lib and MbedTLS implementation.
Signed-off-by: Raymond Mao
Reviewed-by: Ilias Apalodimas
---
Changes in v4
- Initial patch.
Changes in v5
- Remove authorship.
Changes in v6
- None.
Changes in v7
- None.
lib/cr
Move x509_check_for_self_signed as a common helper function
that can be shared by legacy crypto lib and MbedTLS implementation.
Signed-off-by: Raymond Mao
Reviewed-by: Ilias Apalodimas
---
Changes in v4
- Initial patch.
Changes in v5
- Removed authorship.
Changes in v6
- None.
Changes in v7
- No
Move public_key_free and public_key_signature_free as helper
functions that can be shared by legacy crypto lib and MbedTLS
implementation.
Signed-off-by: Raymond Mao
Reviewed-by: Ilias Apalodimas
---
Changes in v4
- Initial patch.
Changes in v5
- Removed authorship.
Changes in v6
- None.
Changes
Update the PKCS7 test suites for multiple certs.
The PR for this patch is at:
https://github.com/Mbed-TLS/mbedtls/pull/9001
For enabling EFI loader PKCS7 features with MbedTLS build,
we need this patch on top of MbedTLS v3.6.0 before it is merged into
the next MbedTLS LTS release.
Signed-off-by:
Support decoding multiple signer's cert in the signed data within
a PKCS7 message.
The PR for this patch is at:
https://github.com/Mbed-TLS/mbedtls/pull/9001
For enabling EFI loader PKCS7 features with MbedTLS build,
we need this patch on top of MbedTLS v3.6.0 before it is merged into
the next Mb
Populate PKCS9 Authenticate Attributes from signer info if it exists
in a PKCS7 message.
Add OIDs for describing objects using for Authenticate Attributes.
The PR for this patch is at:
https://github.com/Mbed-TLS/mbedtls/pull/9001
For enabling EFI loader PKCS7 features with MbedTLS build,
we need
Populate Microsoft Authentication Code from the content data
into PKCS7 decoding context if it exists in a PKCS7 message.
Add OIDs for describing objects using for Microsoft Authentication
Code.
The PR for this patch is at:
https://github.com/Mbed-TLS/mbedtls/pull/9001
For enabling EFI loader PKC
Smaller implementation for SHA256 and SHA512 helps to reduce the
ROM footprint though it has a certain impact on performance.
As a trade-off, enable it as a default config when MbedTLS is
enabled can reduce the target size significantly with acceptable
performace loss.
Signed-off-by: Raymond Mao
Implement digest shim layer on top of MbedTLS crypto library.
Introduce _MBEDTLS kconfig for MbedTLS crypto implementations.
Signed-off-by: Raymond Mao
---
Changes in v2
- Split the shim layer into separated files and use the original head
files instead of creating new ones.
Changes in v3
- Ref
We don't need an API specially for non-watchdog since sha1_csum_wd
supports it by disabling CONFIG_HW_WATCHDOG and CONFIG_WATCHDOG.
Set 0x1 as default chunk size for SHA1.
Signed-off-by: Raymond Mao
Reviewed-by: Ilias Apalodimas
---
Changes in v4
- Initial patch.
Changes in v5
- None.
Change
We don't need an API specially for non-watchdog since md5_wd supports
it by disabling CONFIG_HW_WATCHDOG and CONFIG_WATCHDOG.
Set 0x1 as default chunk size for MD5.
Signed-off-by: Raymond Mao
Reviewed-by: Ilias Apalodimas
Reviewed-by: Michal Simek
---
Changes in v3
- Initial patch.
Changes
Adapt digest header files to support both original libs and MbedTLS
by switching on/off MBEDTLS_LIB_CRYPTO.
Introduce _LEGACY kconfig for legacy hash implementations.
sha256.o should depend on SHA256 kconfig only but not SUPPORT_EMMC_RPMB,
SHA256 should be selected when SUPPORT_EMMC_RPMB is enabled
Port mbedtls with adapted libc header files.
Add mbedtls default config header file.
Optimize mbedtls default config by disabling unused features to
reduce the target size.
Add mbedtls kbuild makefile.
Add Kconfig skeleton and config submenu entry for selecting
crypto libraries between mbedtls and
Since MbedTLS is an external repo with its own coding style,
exclude it from Azure and gitlab CI CONFIG checks.
Signed-off-by: Raymond Mao
Reviewed-by: Tom Rini
Reviewed-by: Ilias Apalodimas
---
Changes in v2
- Initial patch.
Changes in v3
- None.
Changes in v4
- None.
Changes in v5
- None.
Cha
Integrate MbedTLS v3.6 LTS (currently v3.6.0) with U-Boot.
Motivations:
1. MbedTLS is well maintained with LTS versions.
2. LWIP is integrated with MbedTLS and easily to enable HTTPS.
3. MbedTLS recently switched license back to GPLv2.
Prerequisite:
-
This patch series
Chip erase support was added to spi_nor_erase, but the timeout
for polling SR ready is not updated and still for sector erase.
So the timeout value is not enough for chip erase on some NOR flash.
Follow kernel implementation 09b6a377687b ("mtd: spi-nor: scale up
timeout for full-chip erase") to set
From: Fabio Estevam
Add support for the Comvetia i.MX6Q LXR2 board, which is
uses the Phytec PFLA02 SoM.
Based on the original work from Stefano Babic .
The Phytec PFLA02 devicetrees are taken from kernel 6.11-rc7.
The imx6q-lxr.dts has been submitted upstream:
https://lore.kernel.org/linux-d
On Fri, Sep 13, 2024 at 07:27:38PM +0300, Dmitry Rokosov wrote:
> On Thu, Sep 12, 2024 at 10:10:53AM +0300, Dmitry Rokosov wrote:
> > There are Pipeline results. One test was failed. I suppose it's not
> > related to my patch series:
> >
> > https://github.com/u-boot/u-boot/pull/625/checks?check_r
On Fri, Sep 13, 2024 at 03:48:11PM +0200, Heinrich Schuchardt wrote:
> Dear Tom,
>
> The following changes since commit 78d898eec080b02059c8dc09318b8761044fea85:
>
> Merge patch series "phycore-am62/4: Add more boot sources"
> (2024-09-10 14:56:12 -0600)
>
> are available in the Git repositor
On Fri, Sep 13, 2024 at 03:39:06PM +0200, Heinrich Schuchardt wrote:
> Hello Tom,
>
> The following changes since commit 5f044932413694475422d4b16607dfcf9aff8781:
>
> scripts/Makefile.lib: do not include CONFIG_DEVICE_TREE_INCLUDES in
> dtsi_include_list (2024-09-10 11:31:54 -0600)
>
> are av
On Thu, Sep 12, 2024 at 10:10:53AM +0300, Dmitry Rokosov wrote:
> There are Pipeline results. One test was failed. I suppose it's not
> related to my patch series:
>
> https://github.com/u-boot/u-boot/pull/625/checks?check_run_id=30029925059
>
> === FAILURES
> ===
On 9/13/24 4:56 PM, Ye Li wrote:
Chip erase support was added to spi_nor_erase, but the timeout
for polling SR ready is not updated and still for sector erase.
So the timeout value is not enough for chip erase on some NOR flash.
Follow kernel implementation 09b6a377687b ("mtd: spi-nor: scale up
t
Hi Rasmus,
Thank you for the patch.
On mer., sept. 11, 2024 at 15:39, Rasmus Villemoes
wrote:
> I'm trying to use dfu-util for bootstrapping an stm32mp board. It
> mostly works fine, but something goes horribly wrong as soon as I make
> use of the ability to run arbitrary u-boot shell commands
Hi,
On Tue, 10 Sep 2024 12:27:50 +0200, Jerome Forissier wrote:
> Fix link errors caused by missing Kconfig dependencies:
>
> 1. DFU_OVER_USB compiles common/dfu.c which calls g_dnl_clear_detach()
> which is implemented in drivers/usb/gadget/g_dnl.c which needs
> USB_GADGET_DOWNLOAD. Test case:
>
Hi Simon,
Apologies lost that email
> On Sun, Sep 01, 2024 at 02:09:44PM -0600, Simon Glass wrote:
> Hi Ilias,
>
> On Fri, 30 Aug 2024 at 03:37, Ilias Apalodimas
> wrote:
> >
> > Hi Simon,
> >
> > On Thu, 29 Aug 2024 at 18:01, Simon Glass wrote:
> > >
> > > Hi Raymond,
> > >
> > > On Fri, 16
On 9/13/24 15:59, Tom Rini wrote:
> On Fri, Sep 13, 2024 at 11:33:31AM +0200, Jerome Forissier wrote:
>>
>>
>> On 9/9/24 18:19, Tom Rini wrote:
>>> On Mon, Sep 09, 2024 at 04:11:37PM +0200, Jerome Forissier wrote:
On 9/6/24 19:54, Tom Rini wrote:
> On Fri, Sep 06, 2024 at 02:3
On Fri, Sep 13, 2024 at 11:33:31AM +0200, Jerome Forissier wrote:
>
>
> On 9/9/24 18:19, Tom Rini wrote:
> > On Mon, Sep 09, 2024 at 04:11:37PM +0200, Jerome Forissier wrote:
> >>
> >>
> >> On 9/6/24 19:54, Tom Rini wrote:
> >>> On Fri, Sep 06, 2024 at 02:33:16PM +0200, Jerome Forissier wrote:
>
On 02.09.24 03:18, Simon Glass wrote:
The test coverage for the EFI bootmeth is incomplete since it does not
actually boot the application.
This series creates a simple test for this purpose. It includes a few
patches to make this work:
- ANSI output from the EFI loader confusing the unit-testi
Dear Tom,
The following changes since commit 78d898eec080b02059c8dc09318b8761044fea85:
Merge patch series "phycore-am62/4: Add more boot sources"
(2024-09-10 14:56:12 -0600)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-next-202410
Hello Tom,
The following changes since commit 5f044932413694475422d4b16607dfcf9aff8781:
scripts/Makefile.lib: do not include CONFIG_DEVICE_TREE_INCLUDES in
dtsi_include_list (2024-09-10 11:31:54 -0600)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-
On 9/9/24 13:20, Sughosh Ganu wrote:
The following set of patches are miscellaneous fixes and some
hardening of the FWU update logic.
Changes since V1:
* Squash patch 1 and 2 in the earlier version into a single patch.
* Have a single check for image descriptor offset, and have a log
mes
This series was created out of the need to supportsimple-framebuffer for
BSH boards SMM_S2 and SMM_S2PRO. To achieve this goal, it was necessary
to develop additional code and/or drivers for all the required components
(i. e. clock, power domain, video, etc.). This series has a Linux
counterpart
U-Boot is not picking boot.scr script address from device tree
rather it's using default address for Microblaze platform,
and it's picking for other platforms. Remove conditional check
for Microblaze platform, so that u-boot pick up boot.scr script
address for all platforms from device tree.
Signe
There are lot of device_is_compatible() present in the driver.
Remove them and replace with a variables "SDHCI_COMPATIBLE_SDHCI_89A"
and "SDHCI_COMPATIBLE_VERSAL_NET_EMMC" with match data.
This change saves the space and reduce the execution time.
Signed-off-by: Padmarao Begari
---
drivers/mmc/z
Chip erase support was added to spi_nor_erase, but the timeout
for polling SR ready is not updated and still for sector erase.
So the timeout value is not enough for chip erase on some NOR flash.
Follow kernel implementation 09b6a377687b ("mtd: spi-nor: scale up
timeout for full-chip erase") to set
Apologies for responding to myself here, but clarifying things a bit more...
On Fri, 13 Sept 2024 at 14:15, Ilias Apalodimas
wrote:
>
> Hi Matthias
>
> On Fri, 13 Sept 2024 at 13:40, Matthias Brugger wrote:
> >
> >
> >
> > On 11/09/2024 12:05, Ilias Apalodimas wrote:
> > > On Wed, 11 Sept 2024 a
Hi Matthias
On Fri, 13 Sept 2024 at 13:40, Matthias Brugger wrote:
>
>
>
> On 11/09/2024 12:05, Ilias Apalodimas wrote:
> > On Wed, 11 Sept 2024 at 12:50, Peter Robinson wrote:
> >>
> >> On Tue, 10 Sept 2024 at 08:29, Sughosh Ganu
> >> wrote:
> >>>
> >>> On Tue, 10 Sept 2024 at 12:09, Ilias Ap
On 11/09/2024 12:05, Ilias Apalodimas wrote:
On Wed, 11 Sept 2024 at 12:50, Peter Robinson wrote:
On Tue, 10 Sept 2024 at 08:29, Sughosh Ganu wrote:
On Tue, 10 Sept 2024 at 12:09, Ilias Apalodimas
wrote:
Since RPI works well using EFI and has no size limitations with regards
to U-Boot
On 9/13/24 11:55 AM, Dario Binacchi wrote:
From: Michael Trimarchi
This commit ensures that critical clock paths are not disabled during
reparent and set_rate operations within the clock framework, paving the
way for the inclusion of new features.
Signed-off-by: Michael Trimarchi
Signed-off-b
On 9/13/24 11:55 AM, Dario Binacchi wrote:
From: Michael Trimarchi
Both clock are enabled by the bootloader and we need to increase their
reference count to avoid disable during reparent operation.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/clk/imx/clk-imx8
zcu106 rev1.0 is sw compatible with revA but only one revision should be
listed in compatible string that's why remove revA and keep only rev1.0.
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp-zcu106-rev1.0.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dt
Display the BSH logo with features VIDEO_LOGO and SPLASH_SCREEN on
imx8mn_bsh_smm_s2/pro boards.
With CONFIG_SYS_VENDOR = "bsh", the logo bsh.bmp is selected, loaded at
the address indicated by splashimage and centered with "splashpos=m,m".
Co-developed-by: Michael Trimarchi
Signed-off-by: Micha
Co-developed-by: Michael Trimarchi
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
configs/imx8mn_bsh_smm_s2_defconfig| 3 +++
configs/imx8mn_bsh_smm_s2pro_defconfig | 3 +++
2 files changed, 6 insertions(+)
diff --git a/configs/imx8mn_bsh_smm_s2_defconfig
b/configs/im
If you want to pass the frame-buffer to the kernel, the video output is
initialized by U-Boot, and kept by the kernel. The commit modifies the
device tree to be passed to the kernel just before launching it, to
prevent the kernel from reinitializing hardware that has already been
configured by the
If you want to pass the frame-buffer to the kernel, the video output is
initialized by U-Boot, and kept by the kernel. The patch does not turn
off the power domains or disable the peripheral if you want to support
such feature.
Co-developed-by: Michael Trimarchi
Signed-off-by: Michael Trimarchi
If you want to pass the frame-buffer to the kernel, the video output is
initialized by U-Boot, and kept by the kernel. The patch does not turn
off the power domains or reset the peripheral if you want to support
such feature.
Co-developed-by: Michael Trimarchi
Signed-off-by: Michael Trimarchi
Si
The printed information is useful when adding support for the simple
frame buffer to a board.
Co-developed-by: Michael Trimarchi
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
boot/fdt_simplefb.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/boot/fdt_simplefb.c b/b
From: Michael Trimarchi
Co-developed-by: Dario Binacchi
Signed-off-by: Dario Binacchi
Signed-off-by: Michael Trimarchi
---
.../dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi | 23 +++
configs/imx8mn_bsh_smm_s2_defconfig | 15
configs/imx8mn_bsh_smm_s2pro_def
From: Michael Trimarchi
The LS068B3SX02 panel is based on the Synaptics R63353 Controller.
Add a driver for it.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/video/Kconfig| 8 ++
drivers/video/Makefile | 1 +
drivers/video/synaptics-r633
From: Michael Trimarchi
Samsung MIPI DSIM controller is common DSI IP that can be used in various
SoCs like Exynos, i.MX8M Mini/Nano.
In order to access this DSI controller between various platform SoCs,
the ideal way to incorporate this in the as a bridge that can support
all different platform
From: Michael Trimarchi
Sync with Linux commit fc4a0db4149af ("Merge tag '6.5'").
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
include/linux/math64.h | 110 +
1 file changed, 110 insertions(+)
diff --git a/include/linux/math64.h
From: Michael Trimarchi
Upstream linux commit 9a8406ba1a9a29.
The D-PHY specification (v1.2) explicitly mentions that the T-CLK-PRE
parameter's unit is Unit Interval(UI) and the minimum value is 8. Also,
kernel doc of the 'clk_pre' member of struct phy_configure_opts_mipi_dphy
mentions that it
From: Michael Trimarchi
Upstream linux commit 3153fa38e38af5.
According to the comment of the function phy_mipi_dphy_get_default_config(),
it uses minimum D-PHY timings based on MIPI D-PHY specification. They are
derived from the valid ranges specified in Section 6.9, Table 14, Page 41
of the D
From: Michael Trimarchi
Upstream Linux commit 22168675bae7.
For MIPI-CSI sender use-case it is common to specify the allowed
link-frequencies which should be used for the MIPI link and is
half the hs-clock rate.
This commit adds a helper to calculate the D-PHY timing based on the
hs-clock rate
From: Michael Trimarchi
To support multiple display or bridge devices, enable the flag,
so we can assign the req seq via DTB alias
Signed-off-by: Ye Li
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/video/bridge/video-bridge-uclass.c | 1 +
drivers/video/display-
From: Michael Trimarchi
Update mxsfb for LCD video driver
Signed-off-by: Ye Li
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/video/mxsfb.c | 139 --
1 file changed, 93 insertions(+), 46 deletions(-)
diff --git a/drivers/v
From: Michael Trimarchi
Current operations structure has provided disable callback, but
there is no API from dsi_host uclass to use it.
Add this disable host interface, so that dsi bridge can call it
to disable host
Signed-off-by: Ye Li
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Bi
From: Michael Trimarchi
Add new interface check_timing to video bridge uclass. For bridge device
who may update timing needs to implement the callback. So host device can
sync the timing with the bridge.
Signed-off-by: Ye Li
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
From: Michael Trimarchi
Add iMX8 block ctrl driver for displaymix on iMX8MM/iMX8MN and
mediamix on iMX8MP.
To support blk ctrl driver, the power domain driver on iMX8M needs
update to add relevant PGC domains
Signed-off-by: Ye Li
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
From: Michael Trimarchi
The video link framework bases a port-endpoint gragh in DTB to
connect the video components in uclass like: video, display, bridge,
and panel.
Using the port-endpoint gragh, we manage multiple video link and
user can select one of them for splash screen.
Signed-off-by: Y
From: Michael Trimarchi
Add clocks support for the video subsystem.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/clk/imx/clk-imx8mn.c | 97 +---
1 file changed, 90 insertions(+), 7 deletions(-)
diff --git a/drivers/clk/imx/clk-im
From: Michael Trimarchi
Both clock are enabled by the bootloader and we need to increase their
reference count to avoid disable during reparent operation.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/clk/imx/clk-imx8mn.c | 8
1 file changed, 8 insertion
From: Michael Trimarchi
Both clock are enabled by the bootloader and we need to increase their
reference count to avoid disable during reparent operation.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/clk/imx/clk-imx8mm.c | 9 +
1 file changed, 9 insertio
From: Michael Trimarchi
This commit ensures that critical clock paths are not disabled during
reparent and set_rate operations within the clock framework, paving the
way for the inclusion of new features.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/clk/imx/clk-
From: Michael Trimarchi
There are scenario that we need to enable the new parent clock
before reparent, or we need to do the same with clk_set_rate. The
patch cover those scenario
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/clk/clk-uclass.c | 47 +++
From: Michael Trimarchi
This commit ensures that critical clock paths are not disabled during
reparent and set_rate operations within the clock framework, paving the
way for the inclusion of new features.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
drivers/clk/imx/clk-
From: Michael Trimarchi
Gate and mux does not have .set_rate operation, but they could have
CLK_SET_PARENT_RATE flag set. In that case it's usually possible to find a
parent up the tree which is capable of setting the rate (div, pll, etc).
Add clk_generic_set_rate to allow them to trasverse the c
Since RPI works well using EFI and has no size limitations with regards
to U-Boot, add the needed structures to support capsule updates.
While at it update the most commonly used defconfigs and include capsule
support and U-Boot commands needed by EFI
Tested-by: Sughosh Ganu
Signed-off-by: Ilias
On 9/9/24 18:19, Tom Rini wrote:
> On Mon, Sep 09, 2024 at 04:11:37PM +0200, Jerome Forissier wrote:
>>
>>
>> On 9/6/24 19:54, Tom Rini wrote:
>>> On Fri, Sep 06, 2024 at 02:33:16PM +0200, Jerome Forissier wrote:
>>>
This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip
>>
Remove -ps suffix to avoid issues with dt-schema where -ps is allocated in
property-units.yaml for pico seconds.
Signed-off-by: Michal Simek
---
The same behavior is if -ms or -us is used.
---
arch/arm/dts/zynqmp-zcu208-revA.dts | 2 +-
arch/arm/dts/zynqmp-zcu216-revA.dts | 2 +-
arch/arm/dts/
DT schema requires to use spi@ name for SPI devices that's why fix it.
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp-zcu111-revA.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/zynqmp-zcu111-revA.dts
b/arch/arm/dts/zynqmp-zcu111-revA.dts
index 787cf0d
Add missing required phy-mode property.
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp-zcu1275-revB.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/zynqmp-zcu1275-revB.dts
b/arch/arm/dts/zynqmp-zcu1275-revB.dts
index 4060dc3613a2..ed83ba327916 100644
--- a/arch/arm/dt
fixed-clock can't be described on the bus because it is missing reg
property. Also remove additional compatible string for flash. Mini qspi
configuration is used with multiple different flashes that's why describing
only one is not correct but also not required based on DT schema.
Signed-off-by: M
Uncomment reg property for bus 3 in i2c mux. It is better option than
removing the whole node.
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp-m-a2197-01-revA.dts | 2 +-
arch/arm/dts/zynqmp-m-a2197-02-revA.dts | 2 +-
arch/arm/dts/zynqmp-m-a2197-03-revA.dts | 2 +-
3 files changed, 3 inser
Just fix description to be aligned with other comments.
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp-dlc21-revA.dts | 2 +-
arch/arm/dts/zynqmp-g-a2197-00-revA.dts | 2 +-
arch/arm/dts/zynqmp-m-a2197-01-revA.dts | 2 +-
arch/arm/dts/zynqmp-m-a2197-02-revA.dts | 2 +-
arch/arm/dts/zy
There were 3 additional empty strings which shouldn't be there.
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp-m-a2197-01-revA.dts | 2 +-
arch/arm/dts/zynqmp-m-a2197-02-revA.dts | 2 +-
arch/arm/dts/zynqmp-m-a2197-03-revA.dts | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff
As was done in past for zcu102 append -hog to node name to pass dt-schema.
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp-m-a2197-01-revA.dts| 8
arch/arm/dts/zynqmp-m-a2197-02-revA.dts| 8
arch/arm/dts/zynqmp-m-a2197-03-revA.dts
amba is not approved node name for simple-bus that's why use axi instead to
be aligned with other xilinx boards. Node reference is not changed that's
why there is no impact but also mini configuration will never gets to OS
that's why nothing should be affected from OS perspective (paths in /proc/
f
Status property should be missing or okay or disabled but not just disable.
dt-validate is reporting it too.
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp-m-a2197-01-revA.dts | 2 +-
arch/arm/dts/zynqmp-m-a2197-02-revA.dts | 2 +-
arch/arm/dts/zynqmp-m-a2197-03-revA.dts | 2 +-
3 files ch
Hi,
I am sending some patches to fix issues reported by dt-schema checking.
Thanks,
Michal
Michal Simek (10):
arm64: zynqmp: Fix status property for m-a2197 boards
arm64: zynqmp: Align gpio hogs with dt-schema
xilinx: Fix axi and mmc node names in mini configuration
arm64: zynqmp: Fix g
On 9/13/24 09:32, Prasad Kummari wrote:
Added LMB API to prevent SF command from overwriting reserved
memory areas. The current SPI code does not use LMB APIs for
loading data into memory addresses. To resolve this, LMB APIs
were added to check the load address of an SF command and ensure it
d
Hello Tom,
On Thu, Sep 12, 2024 at 11:45:01AM -0600, Tom Rini wrote:
> On Thu, Sep 12, 2024 at 10:10:53AM +0300, Dmitry Rokosov wrote:
> > There are Pipeline results. One test was failed. I suppose it's not
> > related to my patch series:
> >
> > https://github.com/u-boot/u-boot/pull/625/checks?c
Hi Michael,
> > > Thank you for adding those patches. We are working on mipi support
> > > here and some of the clock patches
> > > are there too. I will try to look and rebase our patchset
> > >
> > > https://patchwork.amarulasolutions.com/patch/3401/
> >
> > Thanks for letting me know. Indeed
Hi Sughosh,
> -Original Message-
> From: Sughosh Ganu
> Sent: Wednesday, September 11, 2024 5:26 PM
> To: Simek, Michal
> Cc: Kummari, Prasad ; u-boot@lists.denx.de;
> git (AMD-Xilinx) ; Abbarapu, Venkatesh
> ; Begari, Padmarao
> ; g...@xilinx.com;
> ja...@amarulasolutions.com; n-fran...
Generic understanding/consideration is that phy-mode as sgmi means that the
internal PCS(Physical Coding Sublayer) should be enabled by default.
Xilinx GEM implementation allows configuration GEM (gmii mode) + PL PCS PMA
(sgmii mode, Physical Medum Attachment) but in this case phy-mode should be
se
Added LMB API to prevent SF command from overwriting reserved
memory areas. The current SPI code does not use LMB APIs for
loading data into memory addresses. To resolve this, LMB APIs
were added to check the load address of an SF command and ensure it
does not overwrite reserved memory addresses.
99 matches
Mail list logo