Hello Alexander,
On 01.08.24 08:50, Alexander Dahl wrote:
Hei,
Am Thu, Jul 04, 2024 at 10:18:55AM +0200 schrieb Alexander Dahl:
Hello Heiko,
Am Thu, Jul 04, 2024 at 06:28:31AM +0200 schrieb Heiko Schocher:
Hello Alexander,
On 03.07.24 12:12, Alexander Dahl wrote:
Hei hei,
filesystem handl
Hi all
On Thu, Aug 1, 2024 at 8:50 AM Alexander Dahl wrote:
>
> Hei,
>
> Am Thu, Jul 04, 2024 at 10:18:55AM +0200 schrieb Alexander Dahl:
> > Hello Heiko,
> >
> > Am Thu, Jul 04, 2024 at 06:28:31AM +0200 schrieb Heiko Schocher:
> > > Hello Alexander,
> > >
> > > On 03.07.24 12:12, Alexander Dahl
Hei,
Am Thu, Jul 04, 2024 at 10:18:55AM +0200 schrieb Alexander Dahl:
> Hello Heiko,
>
> Am Thu, Jul 04, 2024 at 06:28:31AM +0200 schrieb Heiko Schocher:
> > Hello Alexander,
> >
> > On 03.07.24 12:12, Alexander Dahl wrote:
> > > Hei hei,
> > >
> > > filesystem handling is different in U-Boot a
Hello Mikhail,
Am Wed, Jul 31, 2024 at 06:56:13PM +0400 schrieb Mikhail Kshevetskiy:
> CONFIG_LED_BLINK and CONFIG_LED_SW_BLINK can be defined independently.
> Led blinking works if any (or both) of them is enabled. Unfortunately
> the led command help does not display blinking option if only
> CO
Convert boards to use text based env. This is the first stage of
conversion, common inclusions should be converted next.
Signed-off-by: Svyatoslav Ryhel
---
board/asus/grouper/grouper.env| 15 +++
.../asus/transformer-t20/transformer-t20.env | 16
.../transformer-t30/config
Move env stuff into dedicated files in boards (1st stage).
U-Boot CI passed, boards I own work fine, tests are welcomed.
Svyatoslav Ryhel (1):
board: tegra: convert tegra-based boards to text env
board/asus/grouper/grouper.env| 15 +++
.../asus/transformer-t20/transformer-t20.
Production Tegra20/30/114/124/132 devices use Nvidia's own
partition table, which makes them a bit complicated to deal
with. Luckily, it is compatible with the existing EFI
partition already available in U-Boot, apart from the fact
that it cannot pass Protective MBR check.
In order to address this
TegraPT is compatible with EFI part but it can't pass Protective MBR check.
Skip this check if CONFIG_TEGRA_PARTITION is enabled, storage uclass is MMC
and devnum is 0. Note, eMMC on supported devices MUST be aliased to mmc0.
Signed-off-by: Svyatoslav Ryhel
---
disk/Kconfig| 8
dis
This module is a color active matrix LCD module incorporating
Oxide TFT (Thin Film Transistor). It is composed of a color TFT-LCD
panel, driver ICs, a control circuit and power supply circuit, and
a backlight unit. Graphics and texts can be displayed on a 2560×1600
dots panel with (16,777,216) colo
Implement ganged mode support for the Tegra DSI driver. The DSI host
controller to gang up with is specified via a phandle in the device tree
and the resolved DSI host controller used for the programming of the
ganged-mode registers.
Signed-off-by: Svyatoslav Ryhel
---
drivers/video/tegra20/tegr
It seems that DECLARE_GLOBAL_DATA_PTR use is not needed and video system
works perfectly fine without it.
Signed-off-by: Svyatoslav Ryhel
---
drivers/video/tegra20/tegra-dc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/video/tegra20/tegra-dc.c b/drivers/video/tegra20/tegra-dc.c
This patchset implements DSI ganged mode and basically implements
the same ideas introduced by Thierry Reding for Linux Tegra DSI
driver. The Sharp LQ101R1SX01 driver is both an example of a panel
that supports ganged mode and a preparation for upstreaming the
ASUS Transformer TF701T which uses bot
From: Hou Zhiqiang
Enable the 'cpu' command to display the CPU info and release CPU core to
run baremetal or RTOS applications.
Signed-off-by: Hou Zhiqiang
---
V5:
- No change.
configs/imx93_11x11_evk_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/imx93_11x11_evk_defco
From: Hou Zhiqiang
Enable the 'cpu' command and the depended imx CPU driver to
display the CPU info and release CPU core to run baremetal
or RTOS applications.
Signed-off-by: Hou Zhiqiang
---
V5:
- No change.
configs/imx8mm_evk_defconfig | 3 +++
configs/imx8mn_evk_defconfig | 3 +++
configs
From: Hou Zhiqiang
Added the original author Simon and myself.
Signed-off-by: Hou Zhiqiang
Reviewed-by: Simon Glass
---
V5:
- No change.
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index c2832345ab..ddcb7128db 100644
--- a/MAINTAINERS
+++
From: Hou Zhiqiang
Add documentation for the 'cpu' command, taking NXP i.MX 8M Plus
as a example.
Signed-off-by: Hou Zhiqiang
Reviewed-by: Simon Glass
---
V5:
- Added cmd/cpu to doc/usage/index.rst to fix doc build failure.
doc/usage/cmd/cpu.rst | 101 +++
From: Hou Zhiqiang
Add a new subcommand 'release' to bring up a core to run baremetal
and RTOS applications.
For example on i.MX8M Plus EVK, release the LAST core to run a RTOS
application, passing the sequence number of the CPU core to release,
here it is 3:
u-boot=> cpu list
0: cpu@0
From: Hou Zhiqiang
Release the secondary cores through the PSCI request.
Signed-off-by: Hou Zhiqiang
---
V5:
- No change.
drivers/cpu/imx8_cpu.c | 24
1 file changed, 24 insertions(+)
diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c
index a35147b72a..60d
From: Hou Zhiqiang
Add i.MX 8M Mini, Nano and Plus SoCs support.
Signed-off-by: Hou Zhiqiang
---
V5:
- No change.
drivers/cpu/imx8_cpu.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c
index b633a2c73a..a35147b72a 100644
--- a/drivers
From: Hou Zhiqiang
Return CPU description string without newline character in the end.
Signed-off-by: Hou Zhiqiang
---
V5:
- No change.
drivers/cpu/imx8_cpu.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c
index 6a97b7b9ad..b633a2c73a 100
From: Hou Zhiqiang
Increase one more bit to cover all CPU types. Otherwise it shows
wrong CPU info on some platforms, such as i.MX8M Plus:
U-Boot 2024.04+g674440bc73e+p0 (Jun 06 2024 - 10:05:34 +)
CPU: NXP i.MX8MM Rev1.1 A53 at 4154504685 MHz at 30C
Model: NXP i.MX8MPlus LPDD
From: Hou Zhiqiang
The cpu_freq stores the current CPU frequency in Hz.
Signed-off-by: Hou Zhiqiang
Reviewed-by: Michael Trimarchi
---
V5:
- No change.
drivers/cpu/imx8_cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cp
From: Hou Zhiqiang
Add test for API cpu_release_core().
Signed-off-by: Hou Zhiqiang
Reviewed-by: Simon Glass
---
V5:
- No change.
test/dm/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/dm/cpu.c b/test/dm/cpu.c
index acba810599..8af25316ce 100644
--- a/test/dm/cpu.c
+++ b/t
From: Hou Zhiqiang
Add empty release CPU core function for testing.
Signed-off-by: Hou Zhiqiang
Reviewed-by: Simon Glass
---
V5:
- No change.
drivers/cpu/cpu_sandbox.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/cpu/cpu_sandbox.c b/drivers/cpu/cpu_sandbox.c
index e65e1
From: Hou Zhiqiang
Add a new callback release_core to the cpu_ops, which is used to
release a CPU core to run baremetal or RTOS application on a SoC
with multiple CPU cores.
Signed-off-by: Hou Zhiqiang
Reviewed-by: Simon Glass
---
V5:
- No change.
drivers/cpu/cpu-uclass.c | 10 ++
i
From: Hou Zhiqiang
Register ARM A53 core clock for i.MX 8M Mini, Nano and Plus, preparing
for enabling the 'cpu' command, which depends on this to print CPU core
frequency.
Signed-off-by: Hou Zhiqiang
---
V5:
- Made the i.MX8M core clock CLK_IS_CRITICAL.
drivers/clk/imx/clk-imx8mm.c | 8
From: Hou Zhiqiang
This patch set is to add a subcommand 'release' to the 'cpu' command
in cmd/cpu.c, making the command is able to release a core to run
baremetal and RTOS applications.
Fixed some problems of the imx8_cpu.c and added i.MX 8M series SoCs
support.
Added ARM A53 core clock regist
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Wednesday, July 31, 2024 10:40 PM
> To: Z.Q. Hou
> Cc: u-boot@lists.denx.de; tr...@konsulko.com; Peng Fan
> ; feste...@gmail.com; ma...@denx.de;
> lu...@denx.de; sean...@gmail.com; xypron.g...@gmx.de
> Subject: Re: [PATCHv4 11/14
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Wednesday, July 31, 2024 10:39 PM
> To: Z.Q. Hou
> Cc: u-boot@lists.denx.de; tr...@konsulko.com; Peng Fan
> ; feste...@gmail.com; ma...@denx.de;
> lu...@denx.de; sean...@gmail.com; xypron.g...@gmx.de
> Subject: Re: [PATCHv4 10/14
Remove unnecessary null check from toc0_verify_cert_item()
because the array digest is always not null.
Signed-off-by: Seung-Woo Kim
---
tools/sunxi_toc0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/sunxi_toc0.c b/tools/sunxi_toc0.c
index 292649fe90f1..76693647a095
On 7/29/24 1:55 PM, Svyatoslav Ryhel wrote:
[...]
What is the problem you observe on tegra 3 ?
i2c line fails since it probes in spl with your patch, but it does not
relocate and then probes once more after relocation. Probe fails along
with all devices on same line.
Could it be that you eit
Hi Fabio,
> -Original Message-
> From: Fabio Estevam
> Sent: Wednesday, July 31, 2024 9:36 PM
> To: Z.Q. Hou
> Cc: u-boot@lists.denx.de; tr...@konsulko.com; Peng Fan
> ; s...@chromium.org; ma...@denx.de; lu...@denx.de;
> sean...@gmail.com; xypron.g...@gmx.de
> Subject: Re: [PATCHv4 11/14
following changes since commit 8877bc51a8a4d921ba2f163208b8b1a57ba47c18:
>
> Merge patch series "led: implement software blinking" (2024-07-30 14:31:24
> -0600)
>
> are available in the Git repository at:
>
> https://source.denx.de/u-boot/custodians/u-boot-video.g
Hi Simon,
On 2024-07-31 23:58, Simon Glass wrote:
> The code here is confusing due to large blocks which are #ifdefed out.
> Add a function phase_sdram_init() which returns whether SDRAM init
> should happen in the current phase, using that as needed to control the
> code flow.
>
> This increases
Hi,
On 7/31/24 15:50, Jonas Karlman wrote:
The Radxa ZERO 3W/3E is an ultra-small, high-performance single board
computer based on the Rockchip RK3566, with a compact form factor and
rich interfaces.
Implement rk_board_late_init() to set correct fdtfile env var and
board_fit_config_name_match()
Hi,
please cherry-pick below too
https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/commit/src/arm64/rockchip/rk3566-rock-3c.dts?h=v6.11-rc1-dts&id=dd40945a1d0e28ae6eaf9da04f8e2dcebf8233ea
On 7/22/24 19:56, Maxim Moskalets wrote:
Based on rock-3a-rk3568_defconfig
Hi Simon,
On 2024-07-31 23:52, Simon Glass wrote:
> Hi Jonas,
>
> On Wed, 31 Jul 2024 at 09:03, Jonas Karlman wrote:
>>
>> Hi Simon,
>>
>> On 2024-07-31 16:49, Simon Glass wrote:
>>> The code here is confusing due to large blocks which are #ifdefed out.
>>> Add a function phase_sdram_init() whic
The code here is confusing due to large blocks which are #ifdefed out.
Add a function phase_sdram_init() which returns whether SDRAM init
should happen in the current phase, using that as needed to control the
code flow.
This increases code size by about 500 bytes in SPL when the cache is on,
sinc
Hi Jonas,
On Wed, 31 Jul 2024 at 09:03, Jonas Karlman wrote:
>
> Hi Simon,
>
> On 2024-07-31 16:49, Simon Glass wrote:
> > The code here is confusing due to large blocks which are #ifdefed out.
> > Add a function phase_sdram_init() which returns whether SDRAM init
> > should happen in the current
Hi Ilias,
On Wed, 31 Jul 2024 at 14:09, Ilias Apalodimas
wrote:
>
> Hi Simon,
>
> On Wed, 31 Jul 2024 at 01:35, Simon Glass wrote:
> >
> > Hi all,
> >
> > On Fri, 21 Jun 2024 at 12:16, Simon Glass wrote:
> > >
> > > Hi Raymond,
> > >
> > > On Fri, 21 Jun 2024 at 10:40, Raymond Mao wrote:
> > >
Hi Raymond,
On Wed, 31 Jul 2024 at 07:59, Raymond Mao wrote:
>
> Hi Simon,
>
> On Tue, 30 Jul 2024 at 18:35, Simon Glass wrote:
>>
>> Hi all,
>>
>> On Fri, 21 Jun 2024 at 12:16, Simon Glass wrote:
>> >
>> > Hi Raymond,
>> >
>> > On Fri, 21 Jun 2024 at 10:40, Raymond Mao wrote:
>> > >
>> > > Hi
The CM3588 NAS by FriendlyElec pairs the CM3588 compute module, based
on the Rockchip RK3588 SoC, with the CM3588 NAS Kit carrier board.
Features tested on a CM3588 NAS Kit with 8GB RAM 64GB eMMC module:
- SD-card boot
- eMMC boot
- Ethernet
- PCIe/NVMe
- USB gadget
- USB host
Signed-off-by: Jona
From: Sebastian Kropatsch
The CM3588 NAS by FriendlyElec pairs the CM3588 compute module, based on
the Rockchip RK3588 SoC, with the CM3588 NAS Kit carrier board.
To reflect the hardware setup, add device tree sources for the SoM and
the NAS daughter board as separate files.
Hardware features:
This series add support for the RK3588 based FriendlyElec CM3588 NAS
board.
Features tested on a CM3588 NAS Kit with 8GB RAM 64GB eMMC module:
- SD-card boot
- eMMC boot
- Ethernet
- PCIe/NVMe
- USB gadget
- USB host
Jonas Karlman (1):
board: rockchip: Add FriendlyElec CM3588 NAS
Sebastian Kro
Currently both USB host uclass and USB gadget uclass are using the same
name "usb" which break uclass functions like uclass_get_by_name().
Rename the uclass to "usb_gadget" while using "usb" as sequence alias
naming to keep the alias function working.
Signed-off-by: Zixun LI
---
drivers/usb/gad
Currently uclass index is used for bind/unbind which ignores alias
sequence numbering. Use device sequence number instead as it's
the number explicitly set in the DT.
Signed-off-by: Zixun LI
---
cmd/bind.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/bind.c b/cmd/b
Currently uclass index is shown in DM tree dump which ignores alias
sequence numbering. The result could be confusing since these 2 numbers
could be different. Show device sequence number instead.
Signed-off-by: Zixun LI
---
drivers/core/dump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(
Patch 1 is a tentative fix for duplicate uclass name issue met in
https://lists.denx.de/pipermail/u-boot/2024-July/560189.html
The idea is to use orignal class name only for sequence alias to keep this
alias function working and rename the class something else.
Patch 2 and 3 make "dm tree", "bind
A new field name_seq_alias is added to uclass_driver structure, which
allows an uclass driver to use an alternate name for alias sequence
numbering.
For example an uclass named "usb_gadget" can share alias with
"usb" uclass :
UCLASS_DRIVER(usb_gadget_generic) = {
.id = UCLASS_USB_G
Hi Simon,
On Wed, 31 Jul 2024 at 01:35, Simon Glass wrote:
>
> Hi all,
>
> On Fri, 21 Jun 2024 at 12:16, Simon Glass wrote:
> >
> > Hi Raymond,
> >
> > On Fri, 21 Jun 2024 at 10:40, Raymond Mao wrote:
> > >
> > > Hi Simon,
> > >
> > > On Fri, 21 Jun 2024 at 10:58, Simon Glass wrote:
> > >>
> >
On Thu, Jul 25, 2024 at 3:57 PM Sam Protsenko
wrote:
>
> [snip]
>
> >>
> >> If anything, that shows there is a rising need in this propagation
> >> feature. I'd like to encourage the maintainers to take a look at both
> >> implementations, and maybe at least comment on why there is hesitance
> >>
Hi Heiko,
On 2024-07-31 12:26, Heiko Stuebner wrote:
> The Rock 5 ITX is board in ITX form factor using the RK358 SoC
>
> It can be powered either by 12V, ATX power-supply or PoE.
>
> Notable peripherals are the 4 SATA ports, M.2 M-Key slot, M.2 E-key slot,
> 2*2.5Gb PCIe-connected Ethernet NICs
On Fri, 26 Jul 2024 06:36:09 -0600, Simon Glass wrote:
> USB is stopped using driver model now, in dm_remove_devices_flags() in
> announce_and_cleanup() at the top of this file.
>
> The usb_stop() call actually unbinds devices.
>
> When a USB device is unbound, it causes any bootflows attached t
On Thu, 25 Jul 2024 06:57:51 -0700, Raymond Mao wrote:
> Recently we are introducing multiple git subtree projects and
> it is the right time to have a universal script to update
> various subtrees and replace the dts/update-dts-subtree.sh.
>
> update-subtree.sh is a wrapper of git subtree comman
On Fri, 19 Jul 2024 17:38:54 +0200, Mattijs Korpershoek wrote:
> When CONFIG_SYS_MMC_ENV_PART=2, the environment is loaded from
> the USER partition (hwpart=0) instead of from the
> BOOT1 partition (hwpart=2).
>
> IS_ENABLED() cannot be used for non-boolean KConfig options.
> Its documentation st
On Wed, 17 Jul 2024 16:07:01 +0800, Jiaxun Yang wrote:
> This is a subset of my previous arm64_be work.
>
> I wish this could be merged first so it would be easier to work
> against xtensa and arm64 be support.
>
> Thanks
>
> [...]
Applied to u-boot/master, thanks!
--
Tom
Hi Simon,
On Wed, 31 Jul 2024 08:44:07 -0600
Simon Glass s...@chromium.org wrote:
...
> Simon Glass (5):
> cyclic: Add a symbol for SPL
> video: Move last_sync to private data
> video: Use cyclic to handle video sync
> sandbox: Increase cyclic CPU-time limit
> sandbox: Drop video-sync in
0 14:31:24
-0600)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20240731
for you to fetch changes up to 521d377f7852c037e338c66756982084b1cb0132:
sandbox: Drop video-sync in serial driver (2024-07-31 16:5
On Wed, Jul 31, 2024 at 08:38:49AM -0600, Simon Glass wrote:
> Hi Mattijs,
>
> On Tue, 30 Jul 2024 at 02:19, Mattijs Korpershoek
> wrote:
> >
> > Hi Dmitry,
> >
> > Thank you for the patch.
> >
> > Hi Simon,
> >
> > On dim., juil. 28, 2024 at 13:36, Simon Glass wrote:
> >
> > > Hi Dmitry,
> > >
Hi Simon,
Simon Glass wrote:
On Wed, 31 Jul 2024 at 04:14, Chris Webb wrote:
Alas I don't have any boards to test on for either of these platforms.
If you have the inclination it is still worth sending a patch. The
maintainer can check it. These sorts of counter-examples can be copied
and
On Wed, Jul 31, 2024 at 5:41 AM Heiko Schocher wrote:
>
> Hello Fedor,
Hello Heiko,
> On 30.07.24 17:25, fedorr...@gmail.com wrote:
> > From: Fedor Ross
> >
> > Fix a typo in a debug message. It should be 'for' not 'fot' .
> >
> > Signed-off-by: Fedor Ross
> > ---
> > Cc: Heiko Schocher
> > C
Hi Minkyu,
Have you by chance checked this series? Don't mean to push, but it's
been pending for a while now. And further E850-96 platform enablement
depends on this series, so I'd really appreciate it if you can look at
it and possibly apply it.
Thanks!
On Thu, Jul 25, 2024 at 3:45 PM Sam Prots
Enable MbedTLS as default setting for qemu arm64
Signed-off-by: Raymond Mao
---
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.
configs/qemu_arm64_defconfig | 3 +++
configs
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.
test/Kconfig | 2 +-
1 file changed, 1 inse
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
---
Changes in v2
- Initial patch.
Changes in v3
- None.
Changes in
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
---
Changes in v2
- Initial patch.
Changes in v3
- None.
Changes in v4
- Introduce _LEGACY and _MBEDTLS kco
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
---
Changes in v2
- Move the porting layer to MbedTLS dir.
Changes in v3
- None.
Changes in v4
- Introduce _LEGACY and _MBEDTLS kconfigs for MSCod
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
---
Changes in v2
- Move the porting layer to MbedTLS dir.
Changes in v3
- Update commit message.
Changes in v4
- Control building legacy library via
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
---
Changes in v2
- Move the porting layer to MbedTLS dir.
Changes in v3
- None.
Changes in v4
- Intr
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.
lib/crypto/Makefile | 1 +
lib/crypto/pkcs7
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.
lib/crypto/Makefile | 1 +
l
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.
lib/crypto/Makefile
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
Integrate common/hash.c on the hash shim layer so that hash APIs
from mbedtls can be leveraged by boot/image and efi_loader.
Signed-off-by: Raymond Mao
---
Changes in v2
- Use the original head files instead of creating new ones.
Changes in v3
- Add handle checkers for malloc.
Changes in v4
- Non
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.
boar
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.
FIXME:
`IS_ENABLED` or `CONFIG_IS_ENABLED` is not applicable here, since
including causes undefined reference on schedule()
with s
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.
.
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
On Wed, Jul 31, 2024 at 08:39:23AM -0600, Simon Glass wrote:
[snip]
> > > > so that
> > > > step three can be seeing what tweaks may be needed in where things
> > > > allocate memory.
> > >
> > > So my series is step 3?
> >
> > Or at least understanding what the problems may still be, yes.
>
> In
On Wed, Jul 31, 2024 at 08:39:30AM -0600, Simon Glass wrote:
> Hi Tom,
>
> On Mon, 29 Jul 2024 at 12:17, Tom Rini wrote:
> >
> > On Sun, Jul 28, 2024 at 01:36:09PM -0600, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Fri, 28 Jun 2024 at 01:33, Simon Glass wrote:
> > > >
> > > > Hi Tom,
> > > >
On Wed, Jul 31, 2024 at 10:42:27AM +0200, Heinrich Schuchardt wrote:
> Dear Tom,
>
> The following changes since commit 8877bc51a8a4d921ba2f163208b8b1a57ba47c18:
>
> Merge patch series "led: implement software blinking" (2024-07-30
> 14:31:24 -0600)
>
> are available in the Git repository at:
Hi Heinrich,
thank you for comprehensive review. I'll respond to the specific points
later, but there's one thing I feel I should explain. In this series I
intended to only fix/improve the reStructuredText/HTML syntax and then,
if the changes were approved, I would go with making the actual text
e
bootstage_get_size() returns the total size of the data structure
including associated records.
When copying from gd->bootstage, only the allocation size of gd->bootstage
must be used. Otherwise too much memory is copied.
This bug caused no harm so far because gd->new_bootstage is always
large eno
Hi,
On 2024-07-31 13:49, Pugemon wrote:
> Orange Pi R1 Plus and LTS don't have eMMC
> (default mmc0 in rk3328-u-boot.dtsi).
> The device is equipped with SPI flash memory, which U-Boot tries to use for
> reading configuration. However, the manufacturer has not provided any means
> to utilize SPI f
Hi,
> > > - if (ret)
> > > + if (ret == -ENOENT)
> > > + return -ENOPKG;
>
> We normally use -ENOENT for this sort of thing.
That's the way select_ramdisk() is documented. It was actually
introduced by yourself in commit e4c92879
Hi Simon,
On Wed, 31 Jul 2024 08:38:35 -0600
Simon Glass s...@chromium.org wrote:
> Hi Anatolij,
>
> On Tue, 30 Jul 2024 at 17:05, Anatolij Gustschin wrote:
> >
> > Hi Simon,
> >
> > On Thu, 4 Jul 2024 08:48:54 +0100
> > Simon Glass s...@chromium.org wrote:
> >
> > > Now that U-Boot has a ba
On Wed, 31 Jul 2024 at 20:08, Simon Glass wrote:
>
> Hi Sughosh,
>
> On Wed, 31 Jul 2024 at 01:26, Sughosh Ganu wrote:
> >
> > On Mon, 29 Jul 2024 at 20:58, Simon Glass wrote:
> > >
> > > Hi Sughosh,
> > >
> > > On Mon, 29 Jul 2024 at 02:53, Sughosh Ganu
> > > wrote:
> > > >
> > > > On Fri, 26
Hi Simon,
On 2024-07-31 16:49, Simon Glass wrote:
> The code here is confusing due to large blocks which are #ifdefed out.
> Add a function phase_sdram_init() which returns whether SDRAM init
> should happen in the current phase, using that as needed to control the
> code flow.
>
> This increases
1 - 100 of 233 matches
Mail list logo