From: Peng Fan
Drop unused headers and sort them
Signed-off-by: Peng Fan
---
board/freescale/imx8mn_evk/imx8mn_evk.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/board/freescale/imx8mn_evk/imx8mn_evk.c
b/board/freescale/imx8mn_evk/imx8mn_evk.c
index
6b6fb0a7dd217
From: Peng Fan
Move env to imx8mp_evk.env.
Switch to support BOOTSTD with a bsp bootcmd as fallback.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/Kconfig | 2 ++
board/freescale/imx8mp_evk/imx8mp_evk.env | 57 +++
configs/imx8mp_evk_defconfig
From: Peng Fan
Switch to support BOOTSTD with a bsp bootcmd as fallback.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/Kconfig | 2 ++
board/freescale/imx93_qsb/imx93_qsb.env| 29 +++--
configs/imx93_9x9_qsb_defconfig| 3 +--
configs/i
From: Peng Fan
Switch to support BOOTSTD with a bsp bootcmd as fallback.
Move the env to imx93_evk.env
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/Kconfig | 2 +
board/freescale/imx93_evk/imx93_evk.env | 88 ++
configs/imx93_11x11_evk_defconfig
From: Peng Fan
Move env to imx8mq_evk.env
Switch to support BOOTSTD with a bsp bootcmd as fallback.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/Kconfig | 2 ++
board/freescale/imx8mq_evk/imx8mq_evk.env | 60 +++
configs/imx8mq_evk_defconfig
From: Peng Fan
The upstream dts already has the lpi2c2 subnodes, so drop the duplicated
ones in u-boot dtsi.
Since the adp5585 compatible string changes, update the driver
compatible string. i.MX93 11x11 EVK is the only user of the driver as
of now, so it is safe to drop legacy compatible string
From: Peng Fan
Enable dynamic settings to mmcdev and mmcroot for i.MX8MQ-EVK
Since we are here, clean up the including headers
Signed-off-by: Peng Fan
---
board/freescale/imx8mq_evk/imx8mq_evk.c | 4
1 file changed, 4 insertions(+)
diff --git a/board/freescale/imx8mq_evk/imx8mq_evk.c
b/
From: Peng Fan
There is no gd used in the board file, so drop DECLARE_GLOBAL_DATA_PTR.
Signed-off-by: Peng Fan
---
board/freescale/imx8mq_evk/imx8mq_evk.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/board/freescale/imx8mq_evk/imx8mq_evk.c
b/board/freescale/imx8mq_evk/imx8mq_evk.c
in
From: Peng Fan
Drop unused headers and sort the order.
Signed-off-by: Peng Fan
---
board/freescale/imx8mq_evk/imx8mq_evk.c | 24
1 file changed, 4 insertions(+), 20 deletions(-)
diff --git a/board/freescale/imx8mq_evk/imx8mq_evk.c
b/board/freescale/imx8mq_evk/imx8mq_
From: Peng Fan
Move env to imx8mm_evk.env
Switch to support BOOTSTD with a bsp bootcmd as fallback.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/Kconfig | 4 ++
board/freescale/imx8mm_evk/imx8mm_evk.env | 67 +++
configs/imx8mm_evk_defconfig
From: Peng Fan
Enable dynamic settings to mmcdev and mmcroot for i.MX8MM-EVK
Signed-off-by: Peng Fan
---
board/freescale/imx8mm_evk/imx8mm_evk.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/board/freescale/imx8mm_evk/imx8mm_evk.c
b/board/freescale/imx8mm_evk/imx8mm_evk.c
index
4c44
From: Peng Fan
Move env to imx8mn_evk.env
Switch to support BOOTSTD with a bsp bootcmd as fallback.
Signed-off-by: Peng Fan
---
board/freescale/imx8mn_evk/imx8mn_evk.env | 67 +++
configs/imx8mn_evk_defconfig | 2 +-
include/configs/imx8mn_evk.h
From: Peng Fan
Enable dynamic settings to mmcdev and mmcroot for i.MX8MN-EVK
Signed-off-by: Peng Fan
---
board/freescale/imx8mn_evk/imx8mn_evk.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/board/freescale/imx8mn_evk/imx8mn_evk.c
b/board/freescale/imx8mn_evk/imx8mn_evk.c
index
1b
From: Peng Fan
There is no users of global data in imx8mn_evk.c, drop it.
Signed-off-by: Peng Fan
---
board/freescale/imx8mn_evk/imx8mn_evk.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/board/freescale/imx8mn_evk/imx8mn_evk.c
b/board/freescale/imx8mn_evk/imx8mn_evk.c
index
f20ffbc5
From: Peng Fan
Switch to support BOOTSTD with a bsp bootcmd as fallback.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/Kconfig | 2 ++
board/freescale/imx91_evk/imx91_evk.env | 29 ++--
configs/imx91_11x11_evk_defconfig| 3 +--
conf
From: Peng Fan
Enable dynamic settings to mmcdev and mmcroot for i.MX8MP-EVK
Signed-off-by: Peng Fan
---
board/freescale/common/Makefile | 2 +-
board/freescale/imx8mp_evk/imx8mp_evk.c | 5 +
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/board/freescale/common/Makef
Switch to bootstd for NXP i.MX9/8M boards with a bsp_bootcmd as fallback.
Some cleanups are also included together with this patchset
CI:
https://dev.azure.com/pengfan/uboot-ci/_build/results?buildId=16&view=results
Signed-off-by: Peng Fan
---
Changes in v2:
- Separate cleanup headers to separ
> -邮件原件-
> 发件人: Marek Vasut
> 发送时间: 2025年1月7日 4:46
> 收件人: Alice Guo (OSS) ; Tom Rini
> ; Stefano Babic ; Fabio Estevam
> ; dl-uboot-imx ; Lukasz
> Majewski ; Sean Anderson ; Simon
> Glass ; Alper Nebi Yasak
> 抄送: u-boot@lists.denx.de; thar...@gateworks.com; Peng Fan
> ; Ranjani Vaidyanath
On Mon, Jan 06, 2025 at 09:39:57PM +0100, Marek Vasut wrote:
>On 1/6/25 6:27 AM, Alice Guo (OSS) wrote:
>> > 主题: [EXT] Re: [PATCH v3 01/17] mailbox: add i.MX95 Messaging Unit (MU)
>> > driver
>> >
>> > Caution: This is an external email. Please take care when clicking links or
>> > opening attachm
Hi Marek,
On Mon, 6 Jan 2025 at 13:51, Marek Vasut wrote:
>
> On 1/6/25 3:38 PM, Simon Glass wrote:
>
> [...]
>
> > I wonder if the cst needs to be updated (binman tool -f cst)? At
> > present it is using apt-get and has:
> >
> > $ dpkg -l imx-code-signing-tool
> > Desired=Unknown/Install/Remove/
> 主题: Re: 回复: [EXT] Re: [PATCH v3 02/17] firmware: scmi: smt: Interrupt
> communication enable
>
> On 1/6/25 7:17 AM, Alice Guo (OSS) wrote:
> >> On 1/3/25 7:45 AM, Alice Guo wrote:
> >>> From: Viorel Suman
> >>>
> >>> When interrupt driven communication is supported
> >>
> >> U-Boot does not use
On Mon, Jan 06, 2025 at 07:31:56AM -0700, Simon Glass wrote:
> The current UPL spec[1] has been tidied up and improved over the last
> year, since U-Boot's original UPL support was written.
>
> This series includes some prerequisite patches needed for the real UPL
> patches. It is split from [2]
The current UPL spec[1] has been tidied up and improved over the last
year, since U-Boot's original UPL support was written.
This series includes some prerequisite patches needed for the real UPL
patches. It is split from [2]
[1] g...@github.com:UniversalPayload/spec.git commit 3f1450d
[2] https:
Hi Simon,
> Subject: Re: [PATCH 00/12] imx9: switch to bootstd for i.MX93/1
> EVK/QSB and i.MX8M EVK
>
> Hi Peng,
>
> On Sun, 5 Jan 2025 at 18:14, Peng Fan wrote:
> >
> > > Subject: Re: [PATCH 00/12] imx9: switch to bootstd for i.MX93/1
> > > EVK/QSB and i.MX8M EVK
> > >
> > > Hi Peng,
> > >
>
Hey all,
It's late in the day, but here's v2025.01. Note that this isn't late due
to any issues with the master branch but rather because I've been
bisect'ing a stubborn issue in -next. Our January release is always
tricky due to holidays, but the extra -rc may have helped. We won't
really know I
Hi Peng & Simon,
On Mon, Jan 6, 2025 at 4:15 AM Simon Glass wrote:
>
> Hi Peng,
>
> On Sun, 5 Jan 2025 at 18:14, Peng Fan wrote:
> >
> > > Subject: Re: [PATCH 00/12] imx9: switch to bootstd for i.MX93/1
> > > EVK/QSB and i.MX8M EVK
> > >
> > > Hi Peng,
> > >
> > > On Sun, 5 Jan 2025 at 17:27, Pe
On Mon, Jan 06, 2025 at 12:06:25PM +0530, Harsha Vardhan V M wrote:
> I would like to propose a new command for U-Boot's fuse programming
> functionality to address the challenges posed by the current implementation.
> While the existing fuse prog command works well for programming individual
> fu
On Mon, Jan 06, 2025 at 02:46:53PM +0800, Kever Yang wrote:
> Hi Heinrich and Simon,
>
> I send these two change because I want to fix the build error
> below(from[1]) which is for disable the DEBUG_UART[2].
> Do you have clear suggestion on how to do this in efi_stub, since I have no
> idea
On Mon, Jan 06, 2025 at 07:31:59AM -0700, Simon Glass wrote:
> We want to encourage people to use an allocated bloblist since it is
> more flexible than a fixed one. Make this the default, being sure not to
> change existing users.
>
> The unit tests require BLOBLIST_FIXED so add a dependency in
On Mon, Jan 06, 2025 at 07:32:17AM -0700, Simon Glass wrote:
> QEMU always gets its devicetree from the OF_BOARD mechanism so we should
> not depend on !BLOBLIST here.
>
> The logic of PRIOR_STAGE is quite a mess, unfortuantely. We should rely
> only standard passage to receive things from the pri
The pinmux bits for GPIO2-B0 to GPIO2-B6 actually have 2 bits width,
correct the bank flag for GPIO2-B. The pinmux bits for GPIO2-B7 is
recalculated so it remain unchanged. Add missing GPIO3-B1 to GPIO3-B7
pinmux data to rk3328_mux_recalced_data as mux register offset for these
pins does not follow
On 1/6/25 11:41 AM, Alice Guo (OSS) wrote:
@@ -141,11 +141,14 @@ struct scmi_base_discover_impl_version_out {
* @status: SCMI command status
* @num_protocols: Number of SCMI protocols in @protocol
* @protocols: Array of packed SCMI protocol ID's
+ *
+ * The numbe
On 1/6/25 3:38 PM, Simon Glass wrote:
[...]
I wonder if the cst needs to be updated (binman tool -f cst)? At
present it is using apt-get and has:
$ dpkg -l imx-code-signing-tool
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-
On 1/6/25 10:56 AM, Alice Guo (OSS) wrote:
This patch provides a driver for the SCMI pin control protocol which
is based on ARM's System Control and Management Interface (SCMI) 3.2.
Currently, only the PINCTRL_CONFIG_SET command is implemented.
What is the SCMI provider for this platform ?
Hi
On 1/6/25 7:17 AM, Alice Guo (OSS) wrote:
On 1/3/25 7:45 AM, Alice Guo wrote:
From: Viorel Suman
When interrupt driven communication is supported
U-Boot does not use interrupts.
, the transport allows
the caller to choose between interrupt and polling driven
communications. To make the cho
On 1/6/25 6:27 AM, Alice Guo (OSS) wrote:
主题: [EXT] Re: [PATCH v3 01/17] mailbox: add i.MX95 Messaging Unit (MU)
driver
Caution: This is an external email. Please take care when clicking links or
opening attachments. When in doubt, report the message using the 'Report this
email' button
On 1/3
On 1/6/25 07:43, Jerome Forissier wrote:
On 1/4/25 04:05, E Shattow wrote:
On 1/3/25 09:58, E Shattow wrote:
On 1/3/25 02:03, Jerome Forissier wrote:
On 1/3/25 02:52, E Shattow wrote:
On 1/2/25 17:40, Tom Rini wrote:
On Thu, Jan 02, 2025 at 05:34:57PM -0800, E Shattow wrote:
Tom
The commit 7cec3e701940 ("rockchip: rk3588-nanopc-t6: Add support for
NanoPC-T6 LTS") added support for the LTS variant of NanoPC T6. However,
a board specific -u-boot.dtsi file was never added.
Due to the missing -u-boot.dtsi file the LTS fdt included in the FIT is
never tagged with bootph props.
On 06.01.25 15:47, Simon Glass wrote:
This test was hamstrung in code review so this series is an attempt to
complete the intended functionality:
- Check memory allocations look correct
- Check that exit-boot-services removes active-DMA devices
- Check that the bootflow is still present after te
Hi Jerome,
Thanks for this!
On 06/01/2025 15:40, Jerome Forissier wrote:
> Change board_init_f(), board_init_f_r() and board_init_r() to make
> static calls instead of iterating over the init_sequence_f,
> init_sequence_f_r and init_sequence_r arrays, respectively. This makes
> the code a simpler
On 1/4/25 04:05, E Shattow wrote:
> On 1/3/25 09:58, E Shattow wrote:
>>
>>
>> On 1/3/25 02:03, Jerome Forissier wrote:
>>>
>>>
>>> On 1/3/25 02:52, E Shattow wrote:
On 1/2/25 17:40, Tom Rini wrote:
> On Thu, Jan 02, 2025 at 05:34:57PM -0800, E Shattow wrote:
>
>> Tom
On 1/6/25 10:14 AM, Junhui Liu wrote:
Hi Marek,
On 05/01/2025 20:19, Marek Vasut wrote:
On 1/4/25 4:37 AM, Junhui Liu wrote:
From: Kongyang Liu
This patch merges flush and reset logic for both host and gadget code
into a common set of functions, reducing duplication. It also adds support
for
On 1/6/25 4:04 AM, Jayesh Choudhary wrote:
The default value for the mux to select the parent clock,
AUDIO_REFCLK1_CTRL_CLK_SEL is '1' (31) but the mux input for 31
is marked as 'Reserved' so the ti-sci-clk call for get-parent fails.
Mark it to a valid value, '11100' (28) for MAIN_PLL4_HSDIV2
On Mon, Jan 06, 2025 at 10:27:39AM +0100, Neil Armstrong wrote:
[snip]
>
> Reviewed-by: Neil Armstrong
>
> Via which tree this should be merged ?
Your amlogic tree when ready, thanks!
--
Tom
signature.asc
Description: PGP signature
On Fri, Nov 15, 2024 at 09:14:03AM -0600, Tom Rini wrote:
> On Fri, Nov 15, 2024 at 07:21:47AM -0700, Simon Glass wrote:
> > Hi Tom,
> >
> > On Tue, 12 Nov 2024 at 17:54, Tom Rini wrote:
> > >
> > > On Wed, Nov 13, 2024 at 01:49:30AM +0100, Heinrich Schuchardt wrote:
> > > > Am 12. November 2024
When exit-boot-services is called, active devices should be removed.
Update testapp to call this method and check that the USB controller is
removed as expected.
Signed-off-by: Simon Glass
---
lib/efi_loader/testapp.c | 9 +
test/boot/bootflow.c | 11 +++
2 files changed,
The bootflow should not be affected by the app running and returning.
Add a check that it is still valid after the app completes execution.
Signed-off-by: Simon Glass
---
test/boot/bootflow.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test/boot/bootflow.c b/test/boot/bootflow.c
inde
Allocate enough memory for the memory map so that it can be received
successfully.
Signed-off-by: Simon Glass
---
lib/efi_loader/testapp.c | 28
1 file changed, 28 insertions(+)
diff --git a/lib/efi_loader/testapp.c b/lib/efi_loader/testapp.c
index 804ca7e4679..171
Add checks that all memory allocations complete successfully and that
only expected parameters are provided. Check that memory addresses are
within range.
Signed-off-by: Simon Glass
---
test/boot/bootflow.c | 64 +++-
1 file changed, 63 insertions(+), 1 d
This should set the bounce buffer to a pointer, not an address. Fix it.
Signed-off-by: Simon Glass
---
lib/efi_loader/efi_memory.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
index 2e197e94edd..9374f77d3b7 100
An EFI app expects pointers to be returned, cast to u64. The conversion
to use addresses missed this, so fix the call.
Signed-off-by: Simon Glass
---
lib/efi_loader/efi_memory.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader
The allocate/free-pages functions return an address, so there is no need
to convert it. Fix this.
Signed-off-by: Simon Glass
Fixes: c824a96d76d ("efi_loader: Use the log with memory-related...")
---
lib/efi_loader/efi_log.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
Set the DM_FLAG_ACTIVE_DMA flag on this device so that it is removed
before booting.
Signed-off-by: Simon Glass
---
drivers/usb/host/usb-sandbox.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/host/usb-sandbox.c b/drivers/usb/host/usb-sandbox.c
index f687fe2c430..6d75ce80dcd 1
This test was hamstrung in code review so this series is an attempt to
complete the intended functionality:
- Check memory allocations look correct
- Check that exit-boot-services removes active-DMA devices
- Check that the bootflow is still present after testapp finishes
The EFI functionality du
Change board_init_f(), board_init_f_r() and board_init_r() to make
static calls instead of iterating over the init_sequence_f,
init_sequence_f_r and init_sequence_r arrays, respectively. This makes
the code a simpler (and even more so when initcall_run_list() is
later removed) and it reduces the bi
Now that all initcalls have been converted to static calls, remove
initcall_run_list().
Signed-off-by: Jerome Forissier
---
include/initcall.h | 24 ---
lib/Makefile | 1 -
lib/initcall.c | 102 -
3 files changed, 127 deletions(-)
This series replaces the dynamic initcalls (with function pointers) with
static calls, and gets rid of initcall_run_list(), init_sequence_f,
init_sequence_f_r and init_sequence_r. This makes the code simpler and the
binary slighlty smaller: -2281 bytes/-0.21 % with LTO enabled and -510
bytes/-0.05
Hi Heinrich,
I notice that the EFI 'self tests' use their own runner. Would it be
possible for them to use the main test-runner in test-main.c ?
Then they would show up separately in CI, rather than being all lumped
together into one.
Regards,
Simon
Hi Mayuresh,
On Mon, 6 Jan 2025 at 06:04, Mayuresh Chitale wrote:
>
> This series aims to enchance the ISA probing support by porting the
> corresponding code from kernel and using it when probing for CMO
> extensions.
>
> Mayuresh Chitale (2):
> riscv: Enhance extension probing
> riscv: Fall
Hi Marek,
On Sun, 5 Jan 2025 at 13:37, Marek Vasut wrote:
>
> Rename the test .dts and tests and include the M suffix to indicate
> those tests are for i.MX8M, not for i.MX8, which is a different SoC.
>
> Update 339_nxp_imx8m.dts, add testNxpImx8MImageMkimageMissing and
> update nxp_imx8mimage.py
The ofnode_find_subnode() function currently processes things two
different ways, so the treatment of unit addresses differs depending on
whether OF_LIVE is enabled or not.
Add a new version which uses the ofnode API and add a test to check that
unit addresses can be matched correctly. Leave the o
When a unit-address is provided, use it to match against the node
name.
Since this increases code size, put it into a separate function.
Signed-off-by: Simon Glass
---
Changes in v2:
- Split this into its own function
drivers/core/ofnode.c | 23 +++
include/dm/ofnode.h |
This function is somewhat ambiguous, so expand the comments and add a
test for the undefined behaviour.
Signed-off-by: Simon Glass
---
(no changes since v1)
include/dm/ofnode.h | 7 +++
test/dm/core.c | 2 ++
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/include/dm/of
Update the tables to use linux/sizes rather than open-coped values.
Signed-off-by: Simon Glass
Suggested-by: Heinrich Schuchardt
---
Changes in v2:
- Add new patch to move x86 tables to use SZ macros
arch/x86/lib/tables.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
Add bloblist support so that tables can be generated and placed in a
bloblist, then passed to a payload using UPL
Signed-off-by: Simon Glass
---
Changes in v2:
- Add new patch to enable bloblist on x86
configs/qemu-x86_64_defconfig | 2 ++
configs/qemu-x86_defconfig| 2 ++
2 files changed,
This isn't strictly needed, but with UPL we use the reserved-memory
nodes to indicate where the SMBIOS table is. Tianocore requires 4KB
alignment on these regions, so it is easier to adjust the alignment
to match.
Signed-off-by: Simon Glass
---
Changes in v2:
- Use 4K instead of 4KB
arch/x86/l
Add the GD_FLG_UPL so that a UPL-handoff is created.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/spl.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c
index aad748532d0..7a033505101 100644
--- a/arch/x86/lib/spl.c
+++ b/arch/
Add a function to allow x86 boards to jump to a UPL images. Currently
only 32-bit entry is supported.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/bootm.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/x86/lib/bootm.c b/arch/x86/lib/bootm.c
index bbd
If video is enabled we expect it to work. Avoid silent failure by adding
a panic if things go wrong.
Expand the SPL malloc-area for qemu-x86_64 to avoid a panic.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/spl.c| 9 +++--
configs/qemu-x86_64_defconfig | 2
Add this information to the handoff structure so that it is available to
U-Boot proper. Update bochs and the video handoff.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/pci/pci_rom.c| 3 +++
drivers/video/bochs.c| 1 +
drivers/video/video-uclass.c | 1 +
include
The space here is quite tight and there is plenty of room in the ROM.
Move SPL earlier to allow for expansion.
Signed-off-by: Simon Glass
---
(no changes since v1)
configs/qemu-x86_64_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/qemu-x86_64_defconfig b/
QEMU can have its own internal ACPI and SMBIOS tables. At present U-Boot
copies out the SMBIOS tables but points directly to the ACPI ones.
The ACPI tables are not aligned on a 4KB boundary, which means that UPL
cannot use them directly, since it uses a reserved-memory node for the
tables and that
QEMU always gets its devicetree from the OF_BOARD mechanism so we should
not depend on !BLOBLIST here.
The logic of PRIOR_STAGE is quite a mess, unfortuantely. We should rely
only standard passage to receive things from the prior stage. QEMU
should implement standard passage to provide its devicet
Use this function instead of fit_image_get_emb_data() data, since it
works will FITs that use external data.
Signed-off-by: Simon Glass
---
Changes in v2:
- Fix unbalanced {}
arch/arm/cpu/armv8/sec_firmware.c | 12 ++--
arch/arm/mach-k3/r5/sysfw-loader.c | 9 +
arch/x86/lib/b
Fix a typo in the test comment.
Signed-off-by: Simon Glass
---
(no changes since v1)
test/py/tests/test_upl.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/py/tests/test_upl.py b/test/py/tests/test_upl.py
index 3164bda6b71..90125c4dc1b 100644
--- a/test/py/tests/tes
This function uses separate arguments for data and size. Use the new
abuf instead, so that they are paired and in one place. In some cases it
also saves an argument, thus potentially reducing code size.
Move the prototype to the header file while here.
Signed-off-by: Simon Glass
---
(no changes
This function is really just getting the data. The size comes along for
the ride. In fact this function is only reliable way to obtain the data
for an image in a FIT, since the FIT may use external data.
Rename it to fit_image_get_data()
Signed-off-by: Simon Glass
---
(no changes since v1)
bo
This function uses separate arguments for data and size. Use the new
abuf instead, so that they are paired and in one place. In some cases it
also saves an argument, thus potentially reducing code size.
Move the prototype to the header file while here.
Signed-off-by: Simon Glass
---
(no changes
This function can only be used with FITs that use embedded data. Rename
it so this is clear.
Signed-off-by: Simon Glass
Acked-by: Heinrich Schuchardt
---
(no changes since v1)
arch/arm/cpu/armv8/sec_firmware.c | 4 ++--
arch/arm/mach-k3/r5/sysfw-loader.c | 2 +-
arch/x86/lib/bootm.c
This function allocates memory for the node name, so mention this in the
function comment.
Signed-off-by: Simon Glass
---
(no changes since v1)
include/dm/ofnode.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
index 0787758926f..0
Update ofnode_add_subnode() and ofnode_add_prop() to return a suitable
error when space is exhausted in the FDT. This makes it easier to see
what is going wrong.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/core/ofnode.c | 13 +
1 file changed, 9 insertions(+), 4 de
At some point it would be nice to have the ofnode API automatically
expand the tree as required, to accommodate new nodes. For now, expand
the default size so that UPL can be supported.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/core/ofnode.c | 2 +-
1 file changed, 1 inserti
Add a line to the 'bdinfo' command which shows the current value of the
TSC.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/bdinfo.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/lib/bdinfo.c b/arch/x86/lib/bdinfo.c
index bd2cf0b9fcb..4b016d4a0fc 100644
---
Enable this command for x86 boards as it is quite useful for seeing
where memory is.
Signed-off-by: Simon Glass
---
Changes in v2:
- Fix 'Emable' typo
- Enable the command in cmd/Kconfig instead
cmd/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/Kconfig b/c
Update the version of this function in mkimage so that it uses a const
pointer, as is done in the mapmem.h header file.
Signed-off-by: Simon Glass
---
(no changes since v1)
tools/mkimage.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/mkimage.h b/tools/mkimage.h
ind
UPL needs to pass the serial details onto the next stage, so adjust the
condition to support this.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/serial/ns16550.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550
This concept exists on x86. Declare it as a generic function so that the
value can be accessed by UPL.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/include/asm/cpu.h | 9 -
arch/x86/lib/bdinfo.c | 1 +
include/cpu.h | 14 ++
3 files chan
Add a new initialiser which can accept a constant pointer.
Signed-off-by: Simon Glass
---
(no changes since v1)
include/abuf.h | 13 +
lib/abuf.c | 6 ++
test/lib/abuf.c | 22 ++
3 files changed, 41 insertions(+)
diff --git a/include/abuf.h b/include
Some header files included on the host are moving to use abuf, so adjust
the header-inclusion to bring in size_t correctly.
Signed-off-by: Simon Glass
---
(no changes since v1)
include/abuf.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/abuf.h b/include/abuf.h
index 76e314b9
In many cases it is useful to get the address of a buffer, e.g. when
booting from it. Add a function to handle this.
Signed-off-by: Simon Glass
---
(no changes since v1)
include/abuf.h | 8
lib/abuf.c | 6 ++
test/lib/abuf.c | 4 +++-
3 files changed, 17 insertions(+), 1 del
We want to encourage people to use an allocated bloblist since it is
more flexible than a fixed one. Make this the default, being sure not to
change existing users.
The unit tests require BLOBLIST_FIXED so add a dependency in the
Makefile to avoid build errors.
Signed-off-by: Simon Glass
---
(n
Linaro has decided to write their own version of bloblist from scratch,
so there is no point in having a non-GPL license on this file. Change
it, to better fit with the U-Boot project.
Signed-off-by: Simon Glass
Link: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/22215
---
(no
From: Raymond Mao
bloblist_find function only returns the pointer of blob data,
which is fine for those self-describing data like FDT.
But as a common scenario, an interface is needed to retrieve both
the pointer and the size of the blob data.
Signed-off-by: Raymond Mao
Reviewed-by: Ilias Apalo
Hi Bryan,
On 20/12/24 01:28, Bryan Brattlof wrote:
Hi Aparna!
On December 18, 2024 thus sayeth Aparna Patra:
AM62P SoC has multiple speed grades. Add function to delete
non-relevant CPU frequency nodes, based on the information
retrieved from hardware registers. Fastest grade's maximum
frequen
Hi Marek,
On 05/01/2025 20:19, Marek Vasut wrote:
> On 1/4/25 4:37 AM, Junhui Liu wrote:
>> From: Kongyang Liu
>>
>> This patch merges flush and reset logic for both host and gadget code
>> into a common set of functions, reducing duplication. It also adds support
>> for the updated reset logic
I would like to propose a new command for U-Boot's fuse programming
functionality to address the challenges posed by the current
implementation. While the existing fuse prog command works well for
programming individual fuse values, it becomes cumbersome especially
when dealing with large-scale
Update the cpu probing to fallback to "riscv,isa" property if
"riscv,isa-extensions" is not available and modify the riscv CMO code
to use the block size that was probed during cpu setup.
Signed-off-by: Mayuresh Chitale
---
arch/riscv/cpu/cpu.c | 71 +-
Enhance the existing extension probing mechanism by adding support for
more extensions and probing using the "riscv,isa" property. This patch
is ported from the latest upstream linux.
Signed-off-by: Mayuresh Chitale
---
arch/riscv/cpu/cpu.c| 557
arch
This series aims to enchance the ISA probing support by porting the
corresponding code from kernel and using it when probing for CMO
extensions.
Mayuresh Chitale (2):
riscv: Enhance extension probing
riscv: Fallback to riscv,isa
arch/riscv/cpu/cpu.c| 600 +
Hi Harsha,
On Sun, 5 Jan 2025 at 23:36, Harsha Vardhan V M wrote:
>
> I would like to propose a new command for U-Boot's fuse programming
> functionality to address the challenges posed by the current
> implementation. While the existing fuse prog command works well for
> programming individual f
1 - 100 of 142 matches
Mail list logo