From: Ye Li
This patch adds i.MX95 Kconfig and Makefile. i.MX95 uses SCMI.
Signed-off-by: Ye Li
Signed-off-by: Alice Guo
Reviewed-by: Peng Fan
---
arch/arm/mach-imx/imx9/Kconfig | 8
arch/arm/mach-imx/imx9/Makefile | 9 +++--
2 files changed, 15 insertions(+), 2 deletions(-)
d
Hi Andrew,
On Mon, 17 Mar 2025 at 16:16, Andrew Goodbody
wrote:
>
> As far as I can tell no one makes any use of
> test/py/tests/test_memtest.py. At least there is no entry in
> u-boot-hooks that will enable its use.
>
> This is not surprising as the code does not actually work correctly. It
> wi
On Sat, Mar 29, 2025 at 03:13:01AM +, Daniel Golle wrote:
> Allow invoking fit_check_sig without the key parameter, allowing to
> validate only checksums and hashes for unsigned images.
Sadly I've missed making the munmap() of the key_blob conditional as
well, and while glibc seems to be grace
More basic DBSC5 DRAM controller clean ups and improvements.
The following changes since commit 4adbf64ff8d8c730223fd8ae299d770bebb6fe86:
Merge branch 'staging' of
https://source.denx.de/u-boot/custodians/u-boot-tegra into next (2025-03-26
14:07:37 -0600)
are available in the Git repository
Hi Simon,
On Fri, 28 Mar 2025 at 11:13, Simon Glass wrote:
>
> Hi Raymond,
>
> On Fri, 28 Mar 2025 at 08:38, Raymond Mao wrote:
> >
> > Hi Simon,
> >
> > On Fri, 28 Mar 2025 at 10:26, Simon Glass wrote:
> > >
> > > Hi Raymond,
> > >
> > > On Fri, 28 Mar 2025 at 08:17, Raymond Mao wrote:
> > >
Hi Tom and Simon,
On Fri, 28 Mar 2025 at 20:02, Tom Rini wrote:
>
> On Fri, Mar 28, 2025 at 11:38:14PM +, Simon Glass wrote:
> > Hi Tom,
> >
> > On Fri, 28 Mar 2025 at 10:18, Tom Rini wrote:
> > >
> > > On Fri, Mar 28, 2025 at 09:43:54AM -0600, Simon Glass wrote:
> > >
> > > > The bloblist c
Hi Raymond,
On Fri, 28 Mar 2025 at 09:06, Raymond Mao wrote:
>
> Hi Simon,
>
> On Fri, 28 Mar 2025 at 07:35, Simon Glass wrote:
> >
> > Hi Raymond,
> >
> > On Thu, 27 Mar 2025 at 17:13, Raymond Mao wrote:
> > >
> > > Point fdt_addr to the fdt embedded in the bloblist since fdt_addr
> > > is a d
On Fri, Mar 28, 2025 at 11:47:12PM +, Simon Glass wrote:
> Hi Tom,
>
> On Thu, 6 Mar 2025 at 10:13, Tom Rini wrote:
> >
> > On Thu, Mar 06, 2025 at 09:13:52AM -0700, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Thu, 6 Mar 2025 at 07:37, Tom Rini wrote:
> > > >
> > > > On Thu, Mar 06, 2025
On Fri, Mar 28, 2025 at 11:39:13PM +, Simon Glass wrote:
> Hi Raymond,
>
> On Fri, 28 Mar 2025 at 09:06, Raymond Mao wrote:
> >
> > Hi Simon,
> >
> > On Fri, 28 Mar 2025 at 07:35, Simon Glass wrote:
> > >
> > > Hi Raymond,
> > >
> > > On Thu, 27 Mar 2025 at 17:13, Raymond Mao wrote:
> > > >
Hi Quentin,
On Fri, 28 Mar 2025 at 14:46, Quentin Schulz wrote:
>
> Hi Moteen,
>
> On 3/27/25 9:06 AM, Moteen Shah wrote:
> > Add a function to scan through all the nodes in the device-tree
> > recusively for bootph-* property. If found, propagate it to all
> > of its parent nodes up the hierarch
On Fri, Mar 28, 2025 at 11:38:14PM +, Simon Glass wrote:
> Hi Tom,
>
> On Fri, 28 Mar 2025 at 10:18, Tom Rini wrote:
> >
> > On Fri, Mar 28, 2025 at 09:43:54AM -0600, Simon Glass wrote:
> >
> > > The bloblist code took what I consider to be a wrong turn a year or so
> > > ago. As discussed wi
On Fri, Mar 28, 2025 at 11:41:29PM +, Simon Glass wrote:
> Hi Tom,
>
> On Fri, 28 Mar 2025 at 10:42, Tom Rini wrote:
> >
> > On Fri, Mar 28, 2025 at 07:05:35AM -0600, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Thu, 27 Mar 2025 at 08:17, Tom Rini wrote:
> > > >
> > > > On Thu, Mar 27, 20
On Fri, Mar 28, 2025 at 11:40:01PM +, Simon Glass wrote:
> Hi Tom,
>
> On Fri, 28 Mar 2025 at 10:16, Jonas Karlman wrote:
> >
> > Hi Simon,
> >
> > On 2025-03-28 16:34, Simon Glass wrote:
> > > Add support for this new phase, which runs after TPL. It determines the
> > > state of the machine,
On Thu, Mar 27, 2025 at 03:32:56PM +, Andre Przywara wrote:
> Depending on the various MMC boot configurations, we might end up with
> trying filesystem mode when a raw image boot failed. This fall-through
> in the switch/case statement is explained in a comment, but this is not
> visible to t
On Fri, Mar 28, 2025 at 05:31:15PM +0100, Patrice Chotard wrote:
> Since introduction of OF_UPSTREAM flag, U-Boot's dtc must be able
> to compile Kernel's device tree.
>
> Since kernel commit 7de129f5389b ("ARM: dts: stm32: stm32mp151a-prtt1l:
> Fix QSPI configuration"), label relative path refer
Hi Tom,
On Fri, 28 Mar 2025 at 10:18, Tom Rini wrote:
>
> On Fri, Mar 28, 2025 at 09:43:54AM -0600, Simon Glass wrote:
>
> > The bloblist code took what I consider to be a wrong turn a year or so
> > ago. As discussed with Tom, this series proposes a way to arrange things
> > so that it is simple
On Thu, Mar 27, 2025 at 04:13:17PM -0700, Raymond Mao wrote:
> Point fdt_addr to the fdt embedded in the bloblist since fdt_addr
> is a default address for bootefi, bootm and booti to look for the
> device tree when launching the kernel.
>
> Signed-off-by: Raymond Mao
> ---
> env/common.c | 17
Hi Moteen,
On Thu, 27 Mar 2025 at 08:06, Moteen Shah wrote:
>
> Add a function to scan through all the nodes in the device-tree
> recusively for bootph-* property. If found, propagate it to all
> of its parent nodes up the hierarchy.
>
> Signed-off-by: Moteen Shah
> ---
> tools/binman/control.p
Hi Tom,
On Thu, 6 Mar 2025 at 10:13, Tom Rini wrote:
>
> On Thu, Mar 06, 2025 at 09:13:52AM -0700, Simon Glass wrote:
> > Hi Tom,
> >
> > On Thu, 6 Mar 2025 at 07:37, Tom Rini wrote:
> > >
> > > On Thu, Mar 06, 2025 at 06:59:08AM -0700, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Wed,
Hi Tom,
On Fri, 28 Mar 2025 at 10:42, Tom Rini wrote:
>
> On Fri, Mar 28, 2025 at 07:05:35AM -0600, Simon Glass wrote:
> > Hi Tom,
> >
> > On Thu, 27 Mar 2025 at 08:17, Tom Rini wrote:
> > >
> > > On Thu, Mar 27, 2025 at 07:36:02AM -0600, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Tue
Hi Peter,
On Fri, 28 Mar 2025 at 10:51, Peter Robinson wrote:
>
> Hi Simon,
>
> On Fri, 28 Mar 2025 at 15:38, Simon Glass wrote:
>>
>> Add support for this new phase, which runs after TPL. It determines the
>> state of the machine, then selects which SPL image to use. SDRAM init is
>> then done
Hi Tom,
On Fri, 28 Mar 2025 at 10:16, Jonas Karlman wrote:
>
> Hi Simon,
>
> On 2025-03-28 16:34, Simon Glass wrote:
> > Add support for this new phase, which runs after TPL. It determines the
> > state of the machine, then selects which SPL image to use. SDRAM init is
> > then done in SPL, so th
Hi Patrice,
On Fri, 28 Mar 2025 at 11:35, Patrice CHOTARD
wrote:
>
>
>
> On 3/28/25 18:06, Peter Robinson wrote:
> > On Fri, 28 Mar 2025 at 16:52, Patrice Chotard
> > wrote:
> >
> >> Since introduction of OF_UPSTREAM flag, U-Boot's dtc must be able
> >> to compile Kernel's device tree.
> >>
> >>
Hi Simon,
On 2025-03-28 16:34, Simon Glass wrote:
> Add support for this new phase, which runs after TPL. It determines the
> state of the machine, then selects which SPL image to use. SDRAM init is
> then done in SPL, so that it is updatable.
>
> Signed-off-by: Simon Glass
> ---
>
> (no change
Hi Jonas,
On Fri, 28 Mar 2025 at 12:19, Jonas Karlman wrote:
>
> Hi Simon,
>
> Patch 05 to 10 should still be split out to a separate series.
>
> They help fix an issue that already have a different conflicting patch
> on mailing list [1].
>
> The request to split these patches out was to help/ea
Hi Simon,
Patch 05 to 10 should still be split out to a separate series.
They help fix an issue that already have a different conflicting patch
on mailing list [1].
The request to split these patches out was to help/ease work for other
U-Boot developers such as myself. I have a follow up patch t
On Fri, Mar 28, 2025 at 9:15 AM Mattijs Korpershoek
wrote:
> This series fixes the above mentioned crash by introducing proper error
> handling and freeing the buffers in the unbind callback.
Hi Mattijs,
Thank you for the quick fix, I've tested on SAM9X60 with multiple ums
commands and it works.
> Date: Fri, 28 Mar 2025 10:04:19 -0600
> From: Tom Rini
>
> On Fri, Mar 28, 2025 at 02:26:39PM +0200, Ilias Apalodimas wrote:
> > On Fri, 28 Mar 2025 at 13:34, Simon Glass wrote:
> > >
> > > Hi Ilias,
> > >
> > > On Thu, 27 Mar 2025 at 15:19, Ilias Apalodimas
> > > wrote:
> > > >
> > > > Hi Si
On 3/28/25 18:06, Peter Robinson wrote:
> On Fri, 28 Mar 2025 at 16:52, Patrice Chotard
> wrote:
>
>> Since introduction of OF_UPSTREAM flag, U-Boot's dtc must be able
>> to compile Kernel's device tree.
>>
>> Since kernel commit 7de129f5389b ("ARM: dts: stm32: stm32mp151a-prtt1l:
>> Fix QSPI
Hi Simon,
On 2025-03-28 16:35, Simon Glass wrote:
> There doesn't seem to be a good reason to use a different value for TPL
> than SPL.
This reference to SPL stack addr is still a little bit confusing, all
RK3399 boards now use a SPL stack addr in DRAM and not i SRAM.
So SPL and TPL stack addr w
Hi Michael, Tom,
On ven., mars 28, 2025 at 09:59, Tom Rini wrote:
> On Fri, Mar 28, 2025 at 10:06:12AM +0100, Michael Walle wrote:
>> Hi Mattijs,
>>
>> > > Fastboot works either over TCP, UDP or USB. The latter doesn't have
>> > > anything to do with networking, thus should work just fine with
On Fri, 28 Mar 2025 at 16:52, Patrice Chotard
wrote:
> Since introduction of OF_UPSTREAM flag, U-Boot's dtc must be able
> to compile Kernel's device tree.
>
> Since kernel commit 7de129f5389b ("ARM: dts: stm32: stm32mp151a-prtt1l:
> Fix QSPI configuration"), label relative path references has be
The rockchip image is written to the media at block 64, which is a 32K
offset, so set the skip-at-start property to 0x8000
Update CONFIG_SPL_PAD_TO to point to the offset in the image, since
Binman is dealing with the 'missing' 32K now.
Signed-off-by: Simon Glass
---
(no changes since v2)
Chan
On 28.03.25 17:04, Tom Rini wrote:
On Fri, Mar 28, 2025 at 02:26:39PM +0200, Ilias Apalodimas wrote:
On Fri, 28 Mar 2025 at 13:34, Simon Glass wrote:
Hi Ilias,
On Thu, 27 Mar 2025 at 15:19, Ilias Apalodimas
wrote:
Hi Simon
On Thu, 27 Mar 2025 at 15:33, Simon Glass wrote:
Hi Ilias,
On
Hi Simon,
On Fri, 28 Mar 2025 at 15:38, Simon Glass wrote:
> Add support for this new phase, which runs after TPL. It determines the
> state of the machine, then selects which SPL image to use. SDRAM init is
> then done in SPL, so that it is updatable.
>
> Signed-off-by: Simon Glass
> ---
>
> (
Since introduction of OF_UPSTREAM flag, U-Boot's dtc must be able
to compile Kernel's device tree.
Since kernel commit 7de129f5389b ("ARM: dts: stm32: stm32mp151a-prtt1l:
Fix QSPI configuration"), label relative path references has been
introduced. These label relative path references is not suppo
On 2/24/25 15:58, Patrice CHOTARD wrote:
>
>
> On 2/3/25 08:23, Patrice CHOTARD wrote:
>>
>>
>> On 1/31/25 17:01, Tom Rini wrote:
>>> On Fri, Jan 31, 2025 at 03:41:37PM +0100, Patrice CHOTARD wrote:
On 1/29/25 23:01, Tom Rini wrote:
> On Tue, Jan 28, 2025 at 09:04:26AM -0600
Hi Simon,
On 2025-03-28 16:35, Simon Glass wrote:
> Add various symbols so that this feature works as intended. This allows
> xPL to copy the relocating-jump code up to the top of memory, then use
> it to decompress and start the next phase.
>
> Signed-off-by: Simon Glass
> ---
>
> (no changes
On Fri, Mar 28, 2025 at 07:05:35AM -0600, Simon Glass wrote:
> Hi Tom,
>
> On Thu, 27 Mar 2025 at 08:17, Tom Rini wrote:
> >
> > On Thu, Mar 27, 2025 at 07:36:02AM -0600, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Tue, 25 Mar 2025 at 10:24, Tom Rini wrote:
> > > >
> > > > On Fri, Mar 21, 20
Hi Simon,
On 2025-03-28 16:34, Simon Glass wrote:
> When VPL is in use, memory init happens in SPL, so there is no need to
> include the DMC device before that. Adjust the tags to save space.
>
> Signed-off-by: Simon Glass
> ---
>
> (no changes since v2)
>
> Changes in v2:
> - Only enable MMC
My preferred email address is mkorpersh...@kernel.org now.
This updates the MAINTAINERS files and adds an entry in the
.mailmap file.
Signed-off-by: Mattijs Korpershoek
---
.mailmap| 1 +
MAINTAINERS | 10 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/.mailmap b
>> > I see that the Azure failure is:
>> > https://dev.azure.com/u-boot/u-boot/_build/results?buildId=10824&view=results
>> > which was the unfortunate "next is broken because master has a fix and
>> > next has a test that needed updating now" that happened this week with
>> > -rc5 being merged. So
On Fri, Mar 28, 2025 at 05:17:36PM +0100, Heinrich Schuchardt wrote:
> On 28.03.25 17:04, Tom Rini wrote:
> > On Fri, Mar 28, 2025 at 02:26:39PM +0200, Ilias Apalodimas wrote:
> > > On Fri, 28 Mar 2025 at 13:34, Simon Glass wrote:
> > > >
> > > > Hi Ilias,
> > > >
> > > > On Thu, 27 Mar 2025 at
When using non-trivial values for parameters for this test it
will cause a spurious failure as the test passes a decimal value
to the mtest command which will interpret it as hexadecimal and
result in failure as below.
test/py/tests/test_memtest.py:66: in test_memtest_ddr
assert expected_respo
On Fri, Mar 21, 2025 at 07:38:27PM +0100, Simon Glass wrote:
> Hi Tom,
>
> On Thu, 20 Mar 2025 at 15:22, Tom Rini wrote:
> >
> > On Thu, Mar 20, 2025 at 03:43:36AM +, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Wed, 19 Mar 2025 at 16:40, Tom Rini wrote:
> > > >
> > > > On Wed, Mar 19, 20
Hi Simon,
On 2025-03-28 16:34, Simon Glass wrote:
> Move the FIT description into a template so that it can (later) be used
> in multiple places in the image.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Jonas Karlman
> ---
>
> Changes in v3:
> - Use HAS_FIT for the SPI node also
> - Leave fi
We don't need or want to parse the bloblist to obtain the FDT. Use the
feature in the transfer list that was designed for this situation.
This avoids the complexity of trying to init the bloblist twice before
relocation.
Signed-off-by: Simon Glass
---
common/bloblist.c | 32 ++
On Fri, Mar 28, 2025 at 09:43:54AM -0600, Simon Glass wrote:
> The bloblist code took what I consider to be a wrong turn a year or so
> ago. As discussed with Tom, this series proposes a way to arrange things
> so that it is simpler to understand and manage.
>
> - Unwind some of the nesting in bl
Hi Simon,
On 2025-03-28 16:34, Simon Glass wrote:
> Add support for this new phase, which runs after TPL. It determines the
> state of the machine, then selects which SPL image to use. SDRAM init is
> then done in SPL, so that it is updatable.
>
> Signed-off-by: Simon Glass
> ---
>
> (no change
This build-target is used to build an image which can run on multiple
rk3399 boards, using VBE to boot.
To use it, the TPL binary for a particular board must be placed into the
first part of the image. The rest of the image (i.e. VPL, SPL and
U-Boot) are largely generic and can work on any support
On Fri, Mar 28, 2025 at 02:26:39PM +0200, Ilias Apalodimas wrote:
> On Fri, 28 Mar 2025 at 13:34, Simon Glass wrote:
> >
> > Hi Ilias,
> >
> > On Thu, 27 Mar 2025 at 15:19, Ilias Apalodimas
> > wrote:
> > >
> > > Hi Simon
> > >
> > > On Thu, 27 Mar 2025 at 15:33, Simon Glass wrote:
> > > >
> > >
This series completes the work to enable VBE on a suitable board. Most
of it is rockchip-specific patches to support the VPL phase, i.e. the
one which decides which boot patch to take (A, B or recovery).
A good chunk of this series is adding an image for VBE, by creating a
new Binman image. Future
Fix the indentation on the template. This is done in a separate patch
so that it is easier to review.
Signed-off-by: Simon Glass
Reviewed-by: Jonas Karlman
---
(no changes since v1)
arch/arm/dts/rockchip-u-boot.dtsi | 176 +++---
1 file changed, 88 insertions(+), 88 de
Hey Caleb,
On Thu Mar 20, 2025 at 5:34 PM WET, Caleb Connolly wrote:
>
> Jaehoon: do you mind if I just take these both through the Qualcomm tree?
>
> If not then feel free to pick this one up
>
> Acked-by: Caleb Connolly
Maybe it is easier/faster for you to pick this ones, one month passed.
Tha
On Fri, Mar 28, 2025 at 11:50:14AM -0400, Raymond Mao wrote:
> Hi Simon,
>
>
> On Fri, 28 Mar 2025 at 11:36, Simon Glass wrote:
> >
> > The logic of this has become too confusing.
> >
> > The primary issue with the patch is that U-Boot needs to set up a
> > bloblist in the first phase where BLOB
On Fri, Mar 28, 2025 at 09:39:23AM +0100, Miquel Raynal wrote:
> On 27/03/2025 at 08:14:42 -06, Tom Rini wrote:
>
> > On Thu, Mar 27, 2025 at 10:31:18AM -0300, Fabio Estevam wrote:
> >> Hi Miquel,
> >>
> >> On Wed, Mar 26, 2025 at 12:01 PM Miquel Raynal
> >> wrote:
> >>
> >> > I rebased this w
Expo normally uses a pointer to show the current item. Add support for
highlighting as well, since this makes it easier for the user to see the
current item.
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/cedit.c | 1 +
boot/scene.c | 31 +--
b
On Fri, Mar 28, 2025 at 10:06:12AM +0100, Michael Walle wrote:
> Hi Mattijs,
>
> > > Fastboot works either over TCP, UDP or USB. The latter doesn't have
> > > anything to do with networking, thus should work just fine with
> > > regardless which network stack is selected. In practice, header symbo
Provide a compatible string so that U-Boot can decide which
configuration to use.
Signed-off-by: Simon Glass
Reviewed-by: Jonas Karlman
---
(no changes since v1)
arch/arm/dts/rockchip-u-boot.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/rockchip-u-boot.dtsi
b/arch/arm
Add bootstd information for VBE. Put it in a separate file to avoid
cluttering the main one.
Signed-off-by: Simon Glass
---
Changes in v3:
- Add a comment about the offsets
Changes in v2:
- Move VPL things into a separate file
arch/arm/dts/rockchip-u-boot.dtsi | 4 +++
arch/arm/dts/rockc
This has become quite complicated now, with much of the code indented,
gd->bloblist set in multiple places, multiple error paths and ret set to
different things in different places.
Make an attempt to simplify it, without changing functionality.
Signed-off-by: Simon Glass
---
common/bloblist.c
Hi Simon,
On Fri, 28 Mar 2025 at 11:36, Simon Glass wrote:
>
> The logic of this has become too confusing.
>
> The primary issue with the patch is that U-Boot needs to set up a
> bloblist in the first phase where BLOBLIST is enabled. Subsequent
> phases can then use that bloblist.
>
> But the fi
The firmware handoff specification provides for a devicetree pointer in
a register. Provide access to that so we don't have to parse the
bloblist to get it.
Signed-off-by: Simon Glass
---
arch/arm/lib/xferlist.c | 6 --
common/bloblist.c | 5 +++--
include/bloblist.h | 5 +++--
3
Add an option which indicates that the devicetree comes from the
bloblist.
After discussions with Tom, it seems we are comfortable with introducing
this option, ensuring of course that the transfer list is properly
supported.
Signed-off-by: Simon Glass
---
doc/develop/devicetree/control.rst |
The bloblist code took what I consider to be a wrong turn a year or so
ago. As discussed with Tom, this series proposes a way to arrange things
so that it is simpler to understand and manage.
- Unwind some of the nesting in bloblist_init()
- Avoid needing to init the bloblist just to get the FDT
-
Use U-Boot specific struct udevice instead of Linux compatibility
struct device in clk-gate registration.
Signed-off-by: Marek Vasut
---
Cc: Adam Ford
Cc: Christoph Niedermaier
Cc: Dong Aisheng
Cc: Fabio Estevam
Cc: Hou Zhiqiang
Cc: Michael Trimarchi
Cc: Peng Fan
Cc: Tim Harvey
Cc: Tom Ri
Where the bloblist is located in internal memory and TF-A's BL31 blob
removes access to this memory, the best option seems to be to relocate
the bloblist just before running TF-A.
We can do the relocation in board-specific code, but need an option to
pick up the correct address within U-Boot prope
Now that the skip-at-start feature is properly used in Binman, drop the
various workarounds in the image.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Split out the fixes for skip-at-start into a new patch
arch/arm/dts/rockchip-vpl-u-boot.dtsi | 7 +++
1 file chan
Where the bloblist is located in internal memory and TF-A's BL31 blob
removes access to this memory, the best option seems to be to relocate
the bloblist just before running TF-A.
Do this at the end of SPL.
Signed-off-by: Simon Glass
Suggested-by: Raymond Mao
---
Changes in v3:
- Add the BLOBL
The logic of this has become too confusing.
The primary issue with the patch is that U-Boot needs to set up a
bloblist in the first phase where BLOBLIST is enabled. Subsequent
phases can then use that bloblist.
But the first phase of U-Boot cannot assume that one exists.
Reverting this commit se
Add a VBE-ABrec bootmeth so that the VBE state can be accessed.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Add new patch with a bootmeth driver for abrec
boot/vbe_abrec.c | 99
1 file changed, 99 insertions(+)
diff -
Add a rockchip rk3399 board which runs Verified Boot for Embedded.
Signed-off-by: Simon Glass
---
(no changes since v1)
.gitlab-ci.yml | 5 +
1 file changed, 5 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0a7eef0a1d7..32c7b8e4a09 100644
--- a/.gitlab-ci.yml
+++ b/.gitl
Now that VBE is running at a basic level on rk3399, add mention of it in
the documentation.
Signed-off-by: Simon Glass
---
(no changes since v1)
doc/board/rockchip/rockchip.rst | 13 +
1 file changed, 13 insertions(+)
diff --git a/doc/board/rockchip/rockchip.rst b/doc/board/rockch
The current logic assumes that if TPL exists then it must be setting up
the SDRAM. This is not true with VBE, so allow this to be controlled by
whether CONFIG_TPL_RAM is enabled, or not.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/arm/mach-rockchip/tpl.c | 10 ++
1 file c
There doesn't seem to be a good reason to use a different value for TPL
than SPL. Change the TPL value, since it allows a 256-byte bloblist to
be safely located above the stack in all phases.
Note that for most boards, SDRAM init happens in TPL so the SPL stack
ends up in DRAM, at address CONFIG_S
Add various symbols so that this feature works as intended. This allows
xPL to copy the relocating-jump code up to the top of memory, then use
it to decompress and start the next phase.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/arm/mach-rockchip/u-boot-tpl-v8.lds | 13 +
Add support for this new phase, which runs after TPL. It determines the
state of the machine, then selects which SPL image to use. SDRAM init is
then done in SPL, so that it is updatable.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Rewrite help for VPL_ROCKCHIP_COMMON_
When VPL is in use, memory init happens in SPL, so there is no need to
include the DMC device before that. Adjust the tags to save space.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Only enable MMC when VPM is in use.
arch/arm/dts/rk3399-u-boot.dtsi | 11 ++-
The TPL image must be built for each board we need to support. It is the
only part of the image which is board-specific.
This helps to save space and reduce the size of TPL, so that it can fit
within the internal 192K IRAM of the RK3399 SoC.
As with other phases, the TPL devicetree is run through
The VPL image is immutable and has a single VPL binary plus a devicetree
for each board we need to support.
The devicetree is run through fdtgrep to remove unwanted nodes and
properties and reduce its size.
Changes in v2:
- Move VPL things into a separate file
Signed-off-by: Simon Glass
---
(n
The SPL phase has a single SPL binary plus a devicetree for each board
we need to support.
The devicetree is run through fdtgrep to remove unwanted nodes and
properties and reduce its size.
While it would be nicer to just have a single FIT holding both the SPL
and U-Boot images, there may not be
Add 'u-boot' as the phase for the images intended for use with U-Boot
proper.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/arm/dts/rockchip-u-boot.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/rockchip-u-boot.dtsi
b/arch/arm/dts/rockchip-u-boot.dtsi
in
VBE may want to load the SPL image from the same FIT as contains U-Boot,
if there is enough memory, so add it.
Changes in v2:
- Move VPL things into a separate file
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/arm/dts/rockchip-vpl-u-boot.dtsi | 29 +++
1 f
At present simple-bin-spi relies on the u-boot.itb file created by the
simple-bin image. Use the template to avoid this, since Binman may
change to process images in parallel in the future.
Signed-off-by: Simon Glass
Reviewed-by: Jonas Karlman
Suggested-by: Jonas Karlman
---
Changes in v3:
- K
Declare these at the top of the file to avoid needing #ifdefs in every
usage.
Add a few comments to help with the remaining #ifdefs
Signed-off-by: Simon Glass
Reviewed-by: Jonas Karlman
---
(no changes since v1)
arch/arm/dts/rockchip-u-boot.dtsi | 44 +++
1 file c
Move the FIT description into a template so that it can (later) be used
in multiple places in the image.
Signed-off-by: Simon Glass
Reviewed-by: Jonas Karlman
---
Changes in v3:
- Use HAS_FIT for the SPI node also
- Leave fit { node open within #ifdef HAS_FIT
- Move placement of CONFIG_SPL_PAD_
Add an fdtmap so it is possible to look at the image with 'binman ls'.
Signed-off-by: Simon Glass
Reviewed-by: Jonas Karlman
---
Changes in v3:
- Add blank lines before the node
arch/arm/dts/rockchip-u-boot.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/dts/rockchip-u
The U-Boot section is currently getting an invalid OS. Use the correct
value to fix this.
Signed-off-by: Simon Glass
Reviewed-by: Jonas Karlman
---
(no changes since v2)
Changes in v2:
- Put this patch before 'Factor out arch and compression'
arch/arm/dts/rockchip-u-boot.dtsi | 2 +-
1 file
TPL runs before VPL. The earliest updatable phase with VBE is SPL. We
want to be able to update the RAM-init code in the field.
So when VPL is being used, init the RAM later, in SPL.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/ram/rockchip/sdram_rk3399.c | 6 --
1 file ch
Update for the new xPL naming, which was missed in a previous patch
which purported to do this.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
---
(no changes since v1)
common/spl/spl_reloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/spl/spl_reloc.c b/common
Collect information about the memory-margin in each phase which uses
this feature. Update the 'vbe state' command to show it.
Signed-off-by: Simon Glass
---
(no changes since v1)
cmd/vbe.c | 8 ++--
common/spl/spl_reloc.c | 12
include/vbe.h | 3 +++
3
When VBE is in use, the size of each phase is obtained by reading it
from a FIT. Avoid using binman symbols unless necessary, i.e. in TPL.
Signed-off-by: Simon Glass
---
(no changes since v1)
common/spl/spl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/spl/spl.c b/common/spl/s
On 3/28/25 16:08, Quentin Schulz wrote:
Hi Michal,
On 3/27/25 10:11 AM, Michal Simek wrote:
Hi,
On 3/25/25 10:48, Quentin Schulz wrote:
Hi Michal,
On 3/19/25 2:08 PM, Michal Simek wrote:
u-boot.itb name is coming via CONFIG_SPL_FS_LOAD_PAYLOAD_NAME and it's
They are unrelated as far as
Hi Simon,
On Fri, 28 Mar 2025 at 07:35, Simon Glass wrote:
>
> Hi Raymond,
>
> On Thu, 27 Mar 2025 at 17:13, Raymond Mao wrote:
> >
> > Point fdt_addr to the fdt embedded in the bloblist since fdt_addr
> > is a default address for bootefi, bootm and booti to look for the
> > device tree when lau
Hi Raymond,
On Fri, 28 Mar 2025 at 08:38, Raymond Mao wrote:
>
> Hi Simon,
>
> On Fri, 28 Mar 2025 at 10:26, Simon Glass wrote:
> >
> > Hi Raymond,
> >
> > On Fri, 28 Mar 2025 at 08:17, Raymond Mao wrote:
> > >
> > > Hi Simon,
> > >
> > > On Fri, 28 Mar 2025 at 07:34, Simon Glass wrote:
> > >
Hi Michal,
On 3/27/25 10:11 AM, Michal Simek wrote:
Hi,
On 3/25/25 10:48, Quentin Schulz wrote:
Hi Michal,
On 3/19/25 2:08 PM, Michal Simek wrote:
u-boot.itb name is coming via CONFIG_SPL_FS_LOAD_PAYLOAD_NAME and it's
They are unrelated as far as I can tell?
Isn't CONFIG_SPL_FS_LOAD_PAYLO
From: Vladimir Mitrofanov
During Optimus protocol operations, BootROM may request to enter
Optimus mode after boot. So to support this, let's check for values
in sticky registers after boot (such registers could be updated
earlier by boot ROM, telling U-boot to enter Optimus mode).
Signed-off-by
On 3/20/25 10:13, Michal Simek wrote:
From: Venkatesh Yadav Abbarapu
Update the firmware driver UFS APIs zynqmp_pm_ufs_* to directly
read/write to the pmc_iou_slcr and efuse_cache registers. Replace
these raw reads/writes with the xilinx_pm_request() API with the
correct arguments once the P
On 3/20/25 10:05, Michal Simek wrote:
From: Venkatesh Yadav Abbarapu
Update the TEXT_BASE and DTB address as per the new memory map.
Signed-off-by: Venkatesh Yadav Abbarapu
Signed-off-by: Michal Simek
---
configs/amd_versal2_virt_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 del
On 3/20/25 09:43, Michal Simek wrote:
There is no reason to enable DEBUG uart used for early debugging by default
that's why disable it.
Signed-off-by: Michal Simek
---
configs/amd_versal2_mini_defconfig | 6 --
configs/amd_versal2_mini_emmc_defconfig | 6 --
configs/amd_ve
1 - 100 of 234 matches
Mail list logo