UEFI applications call file system functions to determine if a file exists.
The return codes are evaluated to show appropriate messages.
U-Boot's file system layer should not interfere with the output.
Rename file_fat_read_at() to fat_read_file() adjusting the parameter
sequence and names and
On Thu, Jan 19, 2023 at 3:36 PM Ilias Apalodimas
wrote:
>
> commit fe8a4ed0111073 ("tee: optee: discover services dependent on
> tee-supplicant")
> is trying to automatically scan and add TAs that are presented on pseudo
> bus from the secure world.
> In orer to be able to list and compare the
Since I do have a look on TEE patches regardless and Jens doesn't have
his own tree, add myself as a co-maintainer. I'll be carrying over the
TEE related patches from now own. While at it add the maintenance tree
for TPM
Signed-off-by: Ilias Apalodimas
---
MAINTAINERS | 3 +++
1 file changed,
On Thu, Jan 19, 2023 at 10:21 AM Ilias Apalodimas
wrote:
>
> When comparing UUIDs for discovered services we only compare up to the
> ptr size instead of the entire UUID
>
> Fixes: 94ccfb78a4d61 ("drivers: tee: optee: discover OP-TEE services")
> Signed-off-by: Ilias Apalodimas
> ---
>
On Wed, Jan 18, 2023 at 05:54:44PM +0200, Eugen Hristev wrote:
> Update e-mail address.
>
> Signed-off-by: Eugen Hristev
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Tue, Jan 17, 2023 at 11:44:45AM +0100, Michal Simek wrote:
> The first name is taken from command name that's why shouldn't be listed in
> help. The similar change was also done by commit a84d3b6c5634 ("cmd: pwm:
> Remove additional pwm description").
> Also remove additional spaces in help
On Mon, Jan 16, 2023 at 03:46:49PM -0500, Tom Rini wrote:
> The event framework is just that, a framework. Enabling it by itself
> does nothing, so we shouldn't ask the user about it. Reword (and correct
> typos) around this the option and help text. This also applies to
> DM_EVENT and
On Sat, Jan 14, 2023 at 03:49:35PM -0500, Tom Rini wrote:
> The function arch_cpu_init_dm was renamed to fsp_setup_pinctrl in these
> cases, so rename debug / docs to match.
>
> Cc: Simon Glass
> Fixes: 7fe32b3442f0 ("event: Convert arch_cpu_init_dm() to use events")
> Signed-off-by: Tom Rini
On Sun, Jan 15, 2023 at 12:57:30AM +0100, Joost van Zwieten wrote:
> Commit 4963f63fe61f15329d77472a762b1d8bf754d24b changed the default
> value of the `bootm_size` environment variable. For the odroid board
> this caused the initrd and fdt to be placed in highmem. This patch
> restricts the boot
On Fri, Jan 13, 2023 at 08:02:28PM +0100, Heinrich Schuchardt wrote:
> Enable the sysreset based poweroff command. It invokes PSCI.
>
> Signed-off-by: Heinrich Schuchardt
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Thu, Jan 12, 2023 at 04:48:54PM -0700, Simon Glass wrote:
> This device is created when there are no bootmeths defined in the device
> tree. But it cannot be probed without a device tree node.
>
> For now, ignore a probe failure.
>
> Signed-off-by: Simon Glass
> Reported-by: Karsten Merker
On Thu, Jan 12, 2023 at 10:27:46AM -0600, Brandon Maier wrote:
> Signed-off-by: Brandon Maier
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Thu, Jan 12, 2023 at 10:27:45AM -0600, Brandon Maier wrote:
> Update the zstd implementation to match Linux zstd 1.5.2 from commit
> 2aa14b1ab2.
>
> This was motivated by running into decompression corruption issues when
> trying to uncompress files compressed with newer versions of zstd.
On Wed, Jan 11, 2023 at 06:11:23PM +0530, Neha Malcom Francis wrote:
> Current default size of 0x10 is not capable of getting the FIT
> buffer during boot when transitioning to using binman generated boot
> images for certain K3 devices, so increase it to 0x40. Since A72 SPL
> is coming
On Wed, Jan 11, 2023 at 07:43:30AM +0100, Heinrich Schuchardt wrote:
> When building tools only there is no point in requiring the SDL2 library.
>
> Signed-off-by: Heinrich Schuchardt
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Tue, Jan 10, 2023 at 06:29:48PM +0100, Jorge Ramirez-Ortiz wrote:
> Fix AUTH_BOOT message identifier (s/IMIAGE/IMAGE)
>
> Signed-off-by: Jorge Ramirez-Ortiz
> Reviewed-by: Oleksandr Suvorov
> Acked-by: Andrew Davis
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description:
On Tue, Jan 10, 2023 at 05:19:35PM +0100, Enric Balletbo i Serra wrote:
> Add sandbox test for the gpt partition type command, the test uses the
> persistent data test_gpt_disk_image.bin to check that the first
> partition type GUID that identifies the type of the partition has the
> "Linux
On Tue, Jan 10, 2023 at 05:19:34PM +0100, Enric Balletbo i Serra wrote:
> This implements the following command:
>
> part type mmc 0:1
> -> print partition type UUID
> part type mmc 0:1 uuid
> -> set environment variable to partition type UUID
>
> "part type" can be useful
On Tue, Jan 10, 2023 at 05:19:33PM +0100, Enric Balletbo i Serra wrote:
> Change the string 'a optionnal' to 'an optional'.
>
> Signed-off-by: Enric Balletbo i Serra
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Tue, Jan 10, 2023 at 05:19:32PM +0100, Enric Balletbo i Serra wrote:
> Provide a man-page for the part command.
>
> Signed-off-by: Enric Balletbo i Serra
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Tue, Jan 10, 2023 at 11:04:12AM +0800, Jim Liu wrote:
> Add add full function config for nuvoton npcm750
>
> Signed-off-by: Jim Liu
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Mon, Jan 09, 2023 at 12:42:58PM -0600, Brandon Maier wrote:
> Signed-off-by: Brandon Maier
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Mon, Jan 09, 2023 at 08:13:31AM +0100, Andreas Kemnade wrote:
> Add the separate IRQ handling function and change the registration.
>
> Signed-off-by: Andreas Kemnade
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Mon, Jan 09, 2023 at 08:13:30AM +0100, Andreas Kemnade wrote:
> Avoid accessing structures (usb_bus_priv) only present when musb is
> in host mode.
>
> Signed-off-by: Andreas Kemnade
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
commit fe8a4ed0111073 ("tee: optee: discover services dependent on
tee-supplicant")
is trying to automatically scan and add TAs that are presented on pseudo
bus from the secure world.
In orer to be able to list and compare the scanned devices the available drivers
have to register themselves on
"Unable to find TPMv2 device" doesn't explain much with regards to the
error origin. Update it to match what we have in the RNG protocol
installation.
Signed-off-by: Ilias Apalodimas
---
lib/efi_loader/efi_tcg2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
On Thu, 19 Jan 2023 at 15:54, Heinrich Schuchardt
wrote:
>
> Currently file ubootefi.var is only created if the user sets a non-volatile
> EFI variable. If the file is missing, a warning is written.
>
> With the change PlatformLang is always persisted. So the file will exist on
> second boot.
>
>
On Thu, Jan 19, 2023 at 11:52:11AM +, Peter Robinson wrote:
> On Thu, Jan 19, 2023 at 11:33 AM Fabio Estevam wrote:
> >
> > On Thu, Jan 19, 2023 at 8:18 AM Peter Robinson wrote:
> >
> > > Did you read the original thread?
> >
> > I only read your commit log and it is not clear if it is a
Currently file ubootefi.var is only created if the user sets a non-volatile
EFI variable. If the file is missing, a warning is written.
With the change PlatformLang is always persisted. So the file will exist on
second boot.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_variable.c
Right,
I'll answer to myself here.
On Thu, 19 Jan 2023 at 15:26, Ilias Apalodimas
wrote:
>
> Hi Etienne,
>
> On Thu, 19 Jan 2023 at 15:15, Etienne Carriere
> wrote:
> >
> > On Thu, 19 Jan 2023 at 13:53, Ilias Apalodimas
> > wrote:
> > >
> > > Hi Heinrich,
> > > On Thu, Jan 19, 2023 at
This adds initial support for the Hardkernel Odroid Go Ultra.
The Odroid Go Ultra is a portable gaming device with the following
characteristics:
- Amlogic S922X SoC
- RK817 & RK818 PMICs
- 2GiB LPDDR4
- On board 16GiB eMMC
- Micro SD Card slot
- 5inch 854×480 MIPI-DSI TFT LCD
- Earphone stereo
This syncs the Amlogic G12A, G12B & SM1 base DT + the
Odroid Go Ultra DT from Linux v6.2-rc1 from commmit [1].
[1] 1b929c02afd3 ("Linux 6.2-rc1")
Signed-off-by: Neil Armstrong
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/meson-g12-common.dtsi | 167 ---
ions(-)
---
base-commit: 62e2ad1ceafbfdf2c44d3dc1b6efc81e768a96b9
change-id: 20230119-u-boot-odroid-go-ultra-9d3c7ae3c910
Best regards,
--
Neil Armstrong
Hi Etienne,
On Thu, 19 Jan 2023 at 15:15, Etienne Carriere
wrote:
>
> On Thu, 19 Jan 2023 at 13:53, Ilias Apalodimas
> wrote:
> >
> > Hi Heinrich,
> > On Thu, Jan 19, 2023 at 01:42:20PM +0100, Heinrich Schuchardt wrote:
> > > On 1/19/23 12:45, Ilias Apalodimas wrote:
> > > > Hi Etienne,
> > > >
On Thu, 19 Jan 2023 at 13:53, Ilias Apalodimas
wrote:
>
> Hi Heinrich,
> On Thu, Jan 19, 2023 at 01:42:20PM +0100, Heinrich Schuchardt wrote:
> > On 1/19/23 12:45, Ilias Apalodimas wrote:
> > > Hi Etienne,
> > >
> > > On Thu, 19 Jan 2023 at 13:17, Etienne Carriere
> > > wrote:
> > > >
> > > > On
On Thu, 19 Jan 2023 at 12:46, Ilias Apalodimas
wrote:
>
> Hi Etienne,
>
> On Thu, 19 Jan 2023 at 13:17, Etienne Carriere
> wrote:
> >
> > On Wed, 18 Jan 2023 at 17:12, Ilias Apalodimas
> > wrote:
> > >
> > > When we try to load EFI variables from a file in the ESP partition and the
> > > file
The highest register on ACT8846 is 0xf5, so set the number of registers
to 0xf6, ensuring that the pmic read/write commands are able to access
all of the supported registers (and many that are not valid, since the
register space is quite sparse).
Signed-off-by: John Keeping
---
Add the related include files to the power MAINTAINERS entry.
Signed-off-by: John Keeping
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index b2de50ccfc..282dce67b3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1245,6 +1245,7 @@ M:Jaehoon
Hi Heinrich,
On Thu, Jan 19, 2023 at 01:42:20PM +0100, Heinrich Schuchardt wrote:
> On 1/19/23 12:45, Ilias Apalodimas wrote:
> > Hi Etienne,
> >
> > On Thu, 19 Jan 2023 at 13:17, Etienne Carriere
> > wrote:
> > >
> > > On Wed, 18 Jan 2023 at 17:12, Ilias Apalodimas
> > > wrote:
> > > >
> > > >
Hello!
Why is not there a scripts/makelst file?
Command "make net/net6.lst" produces error output:
MKLST net/net6.lst
/bin/bash: .../u-boot/scripts/makelst: No such file or directory
I was only able to create a listing when I copied scripts/makelst from
Linux source tree.
On 1/19/23 12:45, Ilias Apalodimas wrote:
Hi Etienne,
On Thu, 19 Jan 2023 at 13:17, Etienne Carriere
wrote:
On Wed, 18 Jan 2023 at 17:12, Ilias Apalodimas
wrote:
When we try to load EFI variables from a file in the ESP partition and the
file is missing We print a scary error looking like
Hi Simon,
On 2023-01-18 20:42, Simon Glass wrote:
> Hi Jonas,
>
> On Tue, 17 Jan 2023 at 15:54, Jonas Karlman wrote:
>>
>> Add support to indicate what alignment to use for the FIT and its
>> external data. Pass the alignment to mkimage via the -B flag.
>>
>> Signed-off-by: Jonas Karlman
>>
On Thu, 2023-01-19 at 14:05 +0300, Sergei Antonov wrote:
>
> On Thu, 19 Jan 2023 at 11:18, Vyacheslav V. Mitrofanov
> wrote:
> > On Wed, 2023-01-18 at 20:52 +0300, Sergei Antonov wrote:
> > > Commands "ping6" and "tftpboot ... -ipv6" did not work on ARM
> > > because
> > > machine code expects
On Thu, Jan 19, 2023 at 11:33 AM Fabio Estevam wrote:
>
> On Thu, Jan 19, 2023 at 8:18 AM Peter Robinson wrote:
>
> > Did you read the original thread?
>
> I only read your commit log and it is not clear if it is a regression
> and which commit caused the problem.
I don't remember, this was
Hi Etienne,
On Thu, 19 Jan 2023 at 13:17, Etienne Carriere
wrote:
>
> On Wed, 18 Jan 2023 at 17:12, Ilias Apalodimas
> wrote:
> >
> > When we try to load EFI variables from a file in the ESP partition and the
> > file is missing We print a scary error looking like
> > => printenv -e
> > **
On Thu, Jan 19, 2023 at 8:18 AM Peter Robinson wrote:
> Did you read the original thread?
I only read your commit log and it is not clear if it is a regression
and which commit caused the problem.
It lacks a Fixes tag too.
> > - What is the exact problem you are trying to solve? How can we
On 13.01.23 01:52, Fabio Estevam wrote:
> As explained in the text at the bottom of the page
> https://source.codeaurora.org/external/imx/imx-atf:
>
> "QUIC repositories on this site will not receive any updates after
> March 31, 2022, and will be deleted on March 31, 2023."
>
> Point to the
From: Frieder Schrempf
Add the CROSS_COMPILE flag as we assume we build in a cross environment.
Also improve the comment about copying the binary to SD card.
Signed-off-by: Frieder Schrempf
---
doc/board/kontron/sl-mx8mm.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
From: Frieder Schrempf
This adds a guide for copying the raw bootloader image on the SD card
to the SPI NOR using U-Boot itself.
Signed-off-by: Frieder Schrempf
---
doc/board/kontron/sl-mx8mm.rst | 34 +-
1 file changed, 33 insertions(+), 1 deletion(-)
diff
From: Frieder Schrempf
Use the latest firmware available from NXP.
Signed-off-by: Frieder Schrempf
---
doc/board/kontron/sl-mx8mm.rst | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst
index
From: Frieder Schrempf
This clarifies the usage of a cross toolchain to build U-Boot
and TF-A.
Signed-off-by: Frieder Schrempf
---
doc/board/kontron/sl-mx8mm.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst
index
From: Frieder Schrempf
Use the latest version of the NXP TF-A code and add a note about
quirks with GCC 12.
Signed-off-by: Frieder Schrempf
---
doc/board/kontron/sl-mx8mm.rst | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/doc/board/kontron/sl-mx8mm.rst
From: Frieder Schrempf
The latest revision of the SoM is compliant to OSM 1.1.
Signed-off-by: Frieder Schrempf
---
doc/board/kontron/sl-mx8mm.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst
index
From: Frieder Schrempf
This depends on Fabio's doc patch [1].
Changes in v2:
* Rebase onto Fabio's patch [1]
* Remove dot in subject line of patch 6
[1]
https://patchwork.ozlabs.org/project/uboot/patch/20230113005223.1979599-1-feste...@denx.de/
Frieder Schrempf (6):
doc: sl-mx8mm:
On Thu, Jan 19, 2023 at 11:10 AM Fabio Estevam wrote:
>
> Hi Peter,
>
> On Thu, Jan 19, 2023 at 8:04 AM Peter Robinson wrote:
>
> > So how do you propose to fix the issue I have which this fixes?
>
> Ok, we need some more information here:
Did you read the original thread?
> - What is the
On Wed, 18 Jan 2023 at 17:12, Ilias Apalodimas
wrote:
>
> When we try to load EFI variables from a file in the ESP partition and the
> file is missing We print a scary error looking like
> => printenv -e
> ** Unable to read file ubootefi.var **
> Failed to load EFI variables
>
> This is not an
Hi Peter,
On Thu, Jan 19, 2023 at 8:04 AM Peter Robinson wrote:
> So how do you propose to fix the issue I have which this fixes?
Ok, we need some more information here:
- What is the exact problem you are trying to solve? How can we reproduce it?
- Is it a regression? What is the commit
Hi Fabio,
On 19.01.23 12:04, Fabio Estevam wrote:
> Hi Frieder,
>
> On 19/01/2023 07:52, Frieder Schrempf wrote:
>
>> -1. Get TF-A from:
>>
On Thu, 19 Jan 2023 at 11:18, Vyacheslav V. Mitrofanov
wrote:
>
> On Wed, 2023-01-18 at 20:52 +0300, Sergei Antonov wrote:
> > Commands "ping6" and "tftpboot ... -ipv6" did not work on ARM because
> > machine code expects 4-byte alignment and some structures from net6.h
> > are not aligned in
Hi Frieder,
On 19/01/2023 07:52, Frieder Schrempf wrote:
-1. Get TF-A from: https://source.codeaurora.org/external/imx/imx-atf,
branch: imx_5.4.70_2.3.0
-2. Apply the patch to select the correct UART for the console,
otherwise the TF-A will lock up during boot.
-3. Build
+1. Get TF-A from:
On Thu, Jan 19, 2023 at 1:23 AM Fabio Estevam wrote:
>
> This reverts commit 1cfba53ca46cade2dbf4e067afc8c19e72909a4b.
>
> Since commit 1cfba53ca46c ("config: tools only: add VIDEO to build
> bmp_logo") the build of tools-only_defconfig fails:
>
> | /bin/sh: line 1: tools/bmp_logo: No such file
From: Frieder Schrempf
Add the CROSS_COMPILE flag as we assume we build in a cross environment.
Also improve the comment about copying the binary to SD card.
Signed-off-by: Frieder Schrempf
---
doc/board/kontron/sl-mx8mm.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
From: Frieder Schrempf
This adds a guide for copying the raw bootloader image on the SD card
to the SPI NOR using U-Boot itself.
Signed-off-by: Frieder Schrempf
---
doc/board/kontron/sl-mx8mm.rst | 34 +-
1 file changed, 33 insertions(+), 1 deletion(-)
diff
From: Frieder Schrempf
The latest revision of the SoM is compliant to OSM 1.1.
Signed-off-by: Frieder Schrempf
---
doc/board/kontron/sl-mx8mm.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst
index
From: Frieder Schrempf
Use the latest firmware available from NXP.
Signed-off-by: Frieder Schrempf
---
doc/board/kontron/sl-mx8mm.rst | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst
index
From: Frieder Schrempf
Use the latest version of the NXP TF-A code and add a note about
quirks with GCC 12.
Signed-off-by: Frieder Schrempf
---
doc/board/kontron/sl-mx8mm.rst | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/doc/board/kontron/sl-mx8mm.rst
From: Frieder Schrempf
This clarifies the usage of a cross toolchain to build U-Boot
and TF-A.
Signed-off-by: Frieder Schrempf
---
doc/board/kontron/sl-mx8mm.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst
index
Hi Simon
On Wed, 2023-01-18 at 21:11 -0500, Simon Glass wrote:
> On Fri, 2023-01-13 at 08:50 -0500, Maxim Cournoyer wrote:
> > This reverts commit 648d8186dd7f9c444fb07f355090d275dcdd4de4, because
> > it broke usage of patman on Linux, whose check script doesn't know
> > about '--strict' or
On 1/18/23 17:13, John Keeping wrote:
> On Tue, Jan 17, 2023 at 08:52:22PM +0100, Johan Jonker wrote:
>>
>>
>> On 1/17/23 19:15, John Keeping wrote:
>>> Upstream device trees now use standard node names like "gpio@ff..." but
>>> the rk_gpio driver expects a name like "gpio0@ff..." (note the
U-Boot is composing u-boot.bin from u-boot-nodtb.bin with appended
dts/dt.dtb. It means U-Boot doesn't have DTB inside. When REMAKE_ELF is
enabled make will also create u-boot.elf which is recreated from
u-boot.bin. Below is build output for mini configuration how ELF is
recreated.
cat
When comparing UUIDs for discovered services we only compare up to the
ptr size instead of the entire UUID
Fixes: 94ccfb78a4d61 ("drivers: tee: optee: discover OP-TEE services")
Signed-off-by: Ilias Apalodimas
---
drivers/tee/optee/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On Mon, 16 Jan 2023 at 06:04, Alexey Minnekhanov
wrote:
>
> In commit f5a2d6b4b03a ("spmi: msm: add arbiter version 5 support")
> support for arbiter V5 was introduced, and msm_spmi_read() was
> correctly converted to use varying channel offset depending on
> ARB version. But msm_spmi_write() was
On Mon, 16 Jan 2023 at 06:04, Alexey Minnekhanov
wrote:
>
> Now that reg-names is required, specify them, and use correct
> addresses for SPMI arbiter regs, taken from Linux dts [1] [2].
>
> [1]
> https://elixir.bootlin.com/linux/v6.1.5/source/arch/arm64/boot/dts/qcom/qcs404.dtsi#L739
> [2]
>
On Mon, 16 Jan 2023 at 06:04, Alexey Minnekhanov
wrote:
>
> Update spmi-msm documentation and example to reflect the current
> state of the driver.
>
> Signed-off-by: Alexey Minnekhanov
> ---
> doc/device-tree-bindings/spmi/spmi-msm.txt | 21 ++---
> 1 file changed, 14
In various cases logical memory blocks are coalesced; As a result doing
a strict check whether memory blocks are the same doesn't necessarily
work as a previous addition of a given block might have been merged into
a bigger block.
Fix this by considering a block is already registered if it's a
When adding reserved memory areas from the EFI memory map set the NOMAP
flag when applicable. When this isn't done adding "no-map" flagged entries
from the fdt after receiving the same from the EFI memory map fails due
to non-matching flags.
Signed-off-by: Sjoerd Simons
---
lib/lmb.c | 13
Since commit 06d514d77c37 ("lmb: consider EFI memory map") the EFI regions
are also pushed into the lmb if EFI_LOADER is enabled (which is by
default on most system). Which can cause the number of entries to go
over the maximum as it's default is only 8.
Specifically i ran into this case on an TI
When booting a recent u-boot master on TI am62x with the distro boot
sequence it fails loading the FDT:
Booting using the fdt blob at 0x8800
Working FDT set to 8800
Loading Ramdisk to 8d711000, end 8d95 ... OK
ERROR: reserving fdt memory region failed (addr=9e78 size=8
On Mon, 16 Jan 2023 at 06:03, Alexey Minnekhanov
wrote:
>
> First of all, use dev_read_addr_name() instead of
> dev_read_addr_index() to avoid confusion: most dts files
> have their regs specified in the wrong order, so driver
> is reading config reg and using it instead of core reg.
> Using
On Wed, 2023-01-18 at 20:52 +0300, Sergei Antonov wrote:
> Commands "ping6" and "tftpboot ... -ipv6" did not work on ARM because
> machine code expects 4-byte alignment and some structures from net6.h
> are not aligned in memory.
>
> Fix by adding __packed, since it is already used in this file.
On Mon, 16 Jan 2023 at 06:03, Alexey Minnekhanov
wrote:
>
> Variable err is never initialized and therefore not needed,
> as well as the whole error handler block; the mentioned
> "APID->PPID mapping table" is never read in the code anyways.
>
> Signed-off-by: Alexey Minnekhanov
> ---
>
101 - 181 of 181 matches
Mail list logo