This fragment enables falcon boot for the am62x, 62a and 62p.
To have enough stack and heap space for loading kernel image as FIT, the
memory map was modified as shown below, the PRELOADED_BL33_BASE in ATF
has to also be updated to 0x8020 since the kernel requires to be
loaded at 2MiB aligned
This makes spl_mmc_boot_mode consistent across am62x, 62a and 62p.
If MMCSD_MODE_EMMCBOOT is returned, FS boot fails since it checks for FS
on the hardware partitions, not the UDA. So to allow FS boot from EMMC,
the function should return MMCSD_MODE_FS instead which allows us to read
from FS on th
The bootph-all property in u-boot enables driver initialization prior to
relocation, this is necessary to use the device as boot media.
sdhci0 is the phandle for eMMC on am62a, so this change allows us to use
eMMC as a boot media.
Signed-off-by: Anshul Dalal
---
arch/arm/dts/k3-am62a7-sk-u-boot
fdtdec_get_addr_size uses architecture dependent datatypes which causes
the 32-bit R5 to fail when reading the 64-bit size and addr fields of
reg nodes from the fdt.
This changes it to a common api for both 64 and 32 bit platforms.
Now fdt fixups can be applied to the fdt from R5.
Signed-off-by:
On Thu, Mar 06, 2025 at 10:39:28AM +, manikanda...@microchip.com wrote:
> Hi Sumit,
>
> On 06/03/25 12:30 pm, Sumit Garg wrote:
> > [Some people who received this message don't often get email from
> > sumit.g...@kernel.org. Learn why this is important at
> > https://aka.ms/LearnAboutSenderI
Hi Simon,
On Thu, Mar 6, 2025 at 5:11 PM Simon Glass wrote:
>
> Hi Heinrich,
>
> On Thu, 6 Mar 2025 at 08:16, Heinrich Schuchardt wrote:
> >
> > On 06.03.25 15:31, Simon Glass wrote:
> > > When BLOBLIST_TABLES is used, the ACPI tables are not currently added to
> > > the list of EFI tables. While
Add USB related files to Starfive visionfive2 MAINTAINERS.
Signed-off-by: Minda Chen
Reviewed-by: Marek Vasut
---
board/starfive/visionfive2/MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/starfive/visionfive2/MAINTAINERS
b/board/starfive/visionfive2/MAINTAINERS
index d
Allow config headers that include zynq-common.h to provide their own
(distro) boot strategies. This is implemented by skipping the section
when BOOT_ENV has already been defined.
Signed-off-by: Mike Looijmans
---
include/configs/zynq-common.h | 6 ++
1 file changed, 6 insertions(+)
diff --
On 3/6/25 15:02, Tom Rini wrote:
On Thu, Mar 06, 2025 at 11:12:30AM +0100, Michal Simek wrote:
U-Boot version command is no longer showing information about GCC and LD.
The reason is that version.h has been removed that's why CC_VERSION_STRING
and LD_VERSION_STRING are not pass.
Values are ge
Hi Marek,
On Thu, 6 Mar 2025 at 17:19, Marek Vasut wrote:
>
> On 3/7/25 12:30 AM, Simon Glass wrote:
>
> Hi,
>
> >>> One of the main goals of binman is to reduce the work needed to create
> >>> a working image. If people have to go spelunking around the Internet,
> >>> build it themselves, etc. t
On 3/7/25 3:18 AM, Simon Glass wrote:
Hi,
One of the main goals of binman is to reduce the work needed to create
a working image. If people have to go spelunking around the Internet,
build it themselves, etc. that is not good.
What you are asking me for is not the tool itself, but key material
Update the miiphybb documentation to match current implementation.
The static struct bb_miiphy_bus bb_miiphy_buses[] array is removed.
The example is updated to match current Renesas RAVB driver, which
is one of the miiphybb users.
Signed-off-by: Marek Vasut
---
Cc: Jim Liu
Cc: Joe Hershberger
On 26/02/25 02:57, Simon Glass wrote:
Hi Moteen, On Thu, 13 Feb 2025 at 22: 05, Moteen Shah
wrote: > > > On 13/02/25 19: 31, Simon Glass wrote:
> > Hi Moteen, On Wed, 12 Feb 2025 at 02: 18, Moteen Shah > > ti. com> wrote: >
ZjQcmQRYFpfptBannerStart
This message was sent from outside of Texas
Move over to use this API before making the code even more complicated.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch to use the new e820 API
arch/x86/cpu/qemu/e820.c | 48 ++--
1 file changed, 12 insertions(+), 36 dele
On Fri, Mar 07, 2025 at 01:08:33AM +0100, Heinrich Schuchardt wrote:
> Am 7. März 2025 00:17:11 MEZ schrieb Tom Rini :
> >Now that we have no users of "virt-make-fs" nor users of "sudo" for
> >creating disk images update the documentation. We remove packages that
> >are no longer required (and rela
On 3/7/25 12:30 AM, Simon Glass wrote:
Hi,
One of the main goals of binman is to reduce the work needed to create
a working image. If people have to go spelunking around the Internet,
build it themselves, etc. that is not good.
What you are asking me for is not the tool itself, but key materia
On 3/4/25 11:32 AM, Paul Barker wrote:
On 03/03/2025 23:16, Marek Vasut wrote:
On 3/3/25 8:29 PM, Paul Barker wrote:
On 02/03/2025 01:24, Marek Vasut wrote:
Move miiphybb operations into separate struct bb_miiphy_bus_ops
structure, add pointer to struct bb_miiphy_bus_ops into the base
struct b
Am 7. März 2025 00:17:11 MEZ schrieb Tom Rini :
>Now that we have no users of "virt-make-fs" nor users of "sudo" for
>creating disk images update the documentation. We remove packages that
>are no longer required (and related text) as well as be firm in our
>wording around not using "sudo".
>
>Sign
Add some missing pieces to bootparams so that a 64-bit ramdisk address
can be used. Tidy up the logging while we are here.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch to support a 64-bit ramdisk address
arch/x86/include/asm/bootparam.h | 15
Hi Tom,
On Thu, 6 Mar 2025 at 09:43, Tom Rini wrote:
>
> On Thu, Mar 06, 2025 at 09:11:28AM -0700, Simon Glass wrote:
> > Hi Tom,
> >
> > On Thu, 6 Mar 2025 at 07:32, Tom Rini wrote:
> > >
> > > On Thu, Mar 06, 2025 at 07:16:08AM -0700, Simon Glass wrote:
> > > > Hi Heiko,
> > > >
> > > > On Thu
Hi Hendrik,
On Thu, 6 Mar 2025 at 13:16, Hendrik Donner wrote:
>
> The defines for the different build phases shouldn't be used in device
> trees, currently they aren't even defined for device tree pre processing,
> resulting in build errors.
>
> Link: https://lists.denx.de/pipermail/u-boot/2025-
Hey all,
One thing that Simon Glass has noted is that our pytest run time keeps
getting longer. Looking at:
https://source.denx.de/u-boot/u-boot/-/pipelines/25011/test_report?job_name=sandbox%20test.py%3A%20%5Bfast%20amd64%5D
we can see that some of the longest running tests are a little puzzling.
Hi Marek,
On Sat, 15 Feb 2025 at 08:30, Marek Vasut wrote:
>
> On 2/15/25 2:38 PM, Simon Glass wrote:
> > Hi Marek,
> >
> > On Sat, 8 Feb 2025 at 14:27, Marek Vasut wrote:
> >>
> >> On 2/7/25 1:49 AM, Simon Glass wrote:
> >>> Hi Marek,
> >>>
> >>> On Thu, 6 Feb 2025 at 13:52, Marek Vasut wrote:
Now that we have no users of "virt-make-fs" nor users of "sudo" for
creating disk images update the documentation. We remove packages that
are no longer required (and related text) as well as be firm in our
wording around not using "sudo".
Signed-off-by: Tom Rini
---
Cc: Heinrich Schuchardt
---
Now that we do not need nor want people to use virt-make-fs for
filesystem tests, remove the related packages from the installation
list.
Signed-off-by: Tom Rini
---
tools/docker/Dockerfile | 5 -
1 file changed, 5 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
The problem with using "virt-make-fs" to make a filesystem image is that
it is extremely slow. Switch to using the fs_helper functions we have
instead from the filesystem tests as these can add files to images and
are significantly faster and still do not require root access.
Signed-off-by: Tom Ri
The generic function in test_ut.py to create a disk image with partition
table can be useful outside of test_ut.py so move it to be available
more clearly.
To make this a bit more easily used library function, make use of
check_call directly rather than calling things though u_boot_utils. In
turn,
The problem with using "virt-make-fs" to make a filesystem image is that
it is extremely slow. Switch to using the fs_helper functions we have
instead from the filesystem tests as these can add files to images and
are significantly faster and still do not require root access.
The main change here
The problem with using "virt-make-fs" to make a filesystem image is that
it is extremely slow. Switch to using the fs_helper functions we have
instead from the filesystem tests as these can add files to images and
are significantly faster and still do not require root access.
Signed-off-by: Tom Ri
The problem with using "virt-make-fs" to make a filesystem image is that
it is extremely slow. Switch to using the fs_helper functions we have
instead from the filesystem tests as these can add files to images and
are significantly faster and still do not require root access.
As this test already
There are two issues with this function currently. One is that while we
can be passed an image size to use, we always called qemu-img with 20M
as the size. Fix this by using the size parameter. The second issue is
that reserving 2MiB at the end is not enough room to add a GPT (and the
backup GPT th
The problem with using "virt-make-fs" to make a filesystem image is that
it is extremely slow. Switch to using the fs_helper functions we have
instead from the filesystem tests as these can add files to images and
are significantly faster and still do not require root access.
Signed-off-by: Tom Ri
On Thu, Mar 06, 2025 at 06:28:54PM +0530, Aniket Limaye wrote:
> Hello Tom, Heiko,
>
> On 06/03/25 11:15, Heiko Schocher wrote:
> > Hello Tom, Aniket,
> >
> > On 05.03.25 16:50, Tom Rini wrote:
> > > On Wed, Mar 05, 2025 at 03:34:08AM +0530, Aniket Limaye wrote:
> > > > This series implements Rep
On Wed, Mar 5, 2025 at 3:17 PM Tom Rini wrote:
> The series is delayed until someone has a chance to look harder at
> what's causing the handoff test to now fail.
Ok, I marked this series as "Changes Requested" in patchwork.
Miquel, please make sure the next version passes CI.
The CONFIG option is no-longer correct since we can have SPL and PPL
with different bitness.
Fix this and sync up with Linux 6.13 in this area, since this is where
the code came from many years ago.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch to correct
This is required as part of the procedure. The existing code works
because it changes the GDT at the same time, but this makes kvm
unhappy.
Update the algorithm to disable and then re-enable paging.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/cpu/i386/call64.S | 8 +++-
The existing QEMU implementation mostly ignored BLOBLIST_TABLES and
allocates the bulk of the tables with malloc(). Update it to place all
tables in the bloblist. Since QEMU declares a size of 128KB regardless
of the size of its tables, this requires a larger bloblist.
Fix up the e820 table to han
On 06/03/25 11:24, Heiko Schocher wrote:
Hello Aniket,
On 04.03.25 23:04, Aniket Limaye wrote:
Repeated Start Condition (Sr) can be used to transfer multiple i2c msgs
without sending a Stop condition (P). So far, the driver default was to
always send a Stop condition after every i2c msg.
Ad
The defines for the different build phases shouldn't be used in device
trees, currently they aren't even defined for device tree pre processing,
resulting in build errors.
Link: https://lists.denx.de/pipermail/u-boot/2025-March/582787.html
Signed-off-by: Hendrik Donner
---
scripts/checkpatch.pl
Hi Tom,
On Wed, 5 Mar 2025 at 08:49, Tom Rini wrote:
>
> On Wed, Mar 05, 2025 at 07:15:50AM -0700, Simon Glass wrote:
> > Hi Tom,
> >
> > On Tue, 4 Mar 2025 at 13:41, Tom Rini wrote:
> > >
> > > It is confusing to have both "$(PHASE_)" and "$(XPL_)" be used in our
> > > Makefiles as part of the
The pwm source TIM1_CH3N channel (on PE12) in inverted polarity mode
will be used to manage the brightness of the panel backlight on
STM32MP135F-DK.
Signed-off-by: Cheick Traore
---
arch/arm/dts/stm32mp13-pinctrl.dtsi | 15 +++
arch/arm/dts/stm32mp135f-dk.dts | 14 ++
Hi Sebastian,
On Tue, 4 Mar 2025 at 20:20, Anand Moon wrote:
>
> Hi Sebastian,
>
> On Tue, 4 Mar 2025 at 18:12, Sebastian Reichel
> wrote:
> >
> > Hi,
> >
> > On Tue, Mar 04, 2025 at 10:35:03AM +0530, Anand Moon wrote:
> > > However, I have a question regarding the Type-C controller's
> > > conn
At present it is not possible to execution 64-bit code without
installing an entire new Global Descriptor Table. This is inconvenient
since kvm does not seem to like switching into long mode with a new
table.
It isn't actually necessary, since we can just extend the existing
table. Add some new en
While the dd command actually writes to the block device the truncate
command only updates the metadata (at least on ext4). This is faster and
reduces wear on the block device.
Signed-off-by: Heinrich Schuchardt
---
Gitlab CI showed no issues:
https://source.denx.de/u-boot/custodians/u-boot-efi/-
On Thu, Mar 6, 2025 at 9:55 AM Fabio Estevam wrote:
>
> On Sun, Mar 2, 2025 at 1:53 PM Adam Ford wrote:
>
> > @@ -312,7 +313,17 @@ int mxc_serial_setbrg(struct udevice *dev, int
> > baudrate)
> > static int mxc_serial_probe(struct udevice *dev)
> > {
> > struct mxc_serial_plat *plat =
Hi Hendrik,
On 3/6/25 5:28 PM, Hendrik Donner wrote:
[You don't often get email from h...@os-cillation.de. Learn why this is
important at https://aka.ms/LearnAboutSenderIdentification ]
Hello,
On 06.03.25 11:18, Quentin Schulz wrote:
Hi Hendrik,
On 3/5/25 7:35 PM, Hendrik Donner wrote:
[Yo
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, 5 Mar 2025 at 09:06, Tom Rini wrote:
> > > >
> > > > On Wed, Mar 05, 2025
On Thu, Mar 06, 2025 at 09:11:28AM -0700, Simon Glass wrote:
> Hi Tom,
>
> On Thu, 6 Mar 2025 at 07:32, Tom Rini wrote:
> >
> > On Thu, Mar 06, 2025 at 07:16:08AM -0700, Simon Glass wrote:
> > > Hi Heiko,
> > >
> > > On Thu, 27 Feb 2025 at 22:26, Heiko Schocher wrote:
> > > >
> > > > Hi Simon,
>
On 25.02.25 21:50, Tom Rini wrote:
As there is support within the Sphinx framework to take Python
docstrings and generate documentation from it, we can make use of that
to more clearly and consistently document our pytests and how to
configure them. To do this we:
- Add PYTHONPATH to DOC_TARGETS
Hello,
On 06.03.25 11:18, Quentin Schulz wrote:
Hi Hendrik,
On 3/5/25 7:35 PM, Hendrik Donner wrote:
[You don't often get email from h...@os-cillation.de. Learn why this is
important at https://aka.ms/LearnAboutSenderIdentification ]
The CONFIG_*PL_BUILD defines are currently not defined w
With the 64-bit descriptor we can use a jump instruction, rather than
pushing things on the stack.
Since the processor is in 64-bit mode by this point, pop a 64-bit value
from the stack, containing the target address.
This simplifies the code slightly, in particular its use of the stack.
Signed-
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, 5 Mar 2025 at 09:06, Tom Rini wrote:
> > >
> > > On Wed, Mar 05, 2025 at 07:18:40AM -0700, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Tue,
Hi Tom,
On Thu, 6 Mar 2025 at 07:32, Tom Rini wrote:
>
> On Thu, Mar 06, 2025 at 07:16:08AM -0700, Simon Glass wrote:
> > Hi Heiko,
> >
> > On Thu, 27 Feb 2025 at 22:26, Heiko Schocher wrote:
> > >
> > > Hi Simon,
> > >
> > > On 27.02.25 20:26, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > >
Hi Rasmus,
On Thu, 6 Mar 2025 at 07:21, Rasmus Villemoes wrote:
>
> On Wed, Mar 05 2025, Simon Glass wrote:
>
> > Hi Rasmus,
> >
> > On Tue, 4 Mar 2025 at 11:55, Rasmus Villemoes wrote:
> >>
> >> On Tue, Mar 04 2025, Simon Glass wrote:
> >>
> >> > Hi Rasmus,
> >> >
> >> > On Fri, 18 Oct 2024 a
Hi Tom,
On Wed, 5 Mar 2025 at 09:22, Tom Rini wrote:
>
> On Wed, Mar 05, 2025 at 07:19:25AM -0700, Simon Glass wrote:
> > Hi Tom,
> >
> > On Tue, 4 Mar 2025 at 08:29, Tom Rini wrote:
> > >
> > > On Tue, Mar 04, 2025 at 06:13:36AM -0700, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > (I chang
Now that U-Boot can boot this quickly, using kvm, add a test that the
installer starts up correctly.
Use the qemu-x86_64 board in the SJG lab.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Significantly expanded to correct e820 and other issues
Changes in v2:
- Add mor
The distro test takes a little longer to shut down and restart, so
add more time to this operation.
Disable the sleep command for now, as it seems to be unreliable on
QEMU with '-cpu host'.
More thought will be needed for both of these problems.
Signed-off-by: Simon Glass
---
(no changes since
When the ACPI tables come from an earlier bootloader it is helpful to
see whether the checksums are correct or not. Add a -c flag to the
'acpi list' command to support that.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch to support checking checksums with AC
Free the memory used in tests to avoid a leak. Also unmap the addresses
for sandbox.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch to correct memory leaks in the ACPI test
test/dm/acpi.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/t
This table lacks a correct checksum at present, so fix it.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch to add a checksum to the DMAR table
lib/acpi/acpi_table.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/acpi/acpi_table.c b/lib/acpi/acpi_ta
Update the string to take account of UARTs which are connected on I/O
ports, as on x86.
Fix a typo in an error message in the same command, while we are here.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch to support IO UARTs for earlycon and console
boot
Any 'bootable' flag in a DOS partition causes boostd to only scan
bootable partitions for that media. This can mean that extlinux.conf
files on the root disk are missed.
Put this logic behind a flag and update the documentation.
For now, the flag is enabled, to preserve existing behaviour. Future
At present the size of this struct is too large on 64-bit machines.
Annotate it with __packed to fix this.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch to mark struct acpi_rsdp as packed
include/acpi/acpi_table.h | 2 +-
1 file changed, 1 insertion(+), 1
The existing mechanism is pretty painful as it requires manual
calculations for anything but a trivial setup.
Add a new API for adding e820 entries.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch with an API for e820
arch/x86/include/asm/e820.h | 87 +
There is already code for this in zimage. Move it to the e820 file so
it can be used elsewhere.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch with a function to dump the e820 table
arch/x86/include/asm/e820.h | 8
arch/x86/lib/e820.c | 2
Some test can only be run by a particular board in a lab, e.g. because
they are loaded with an OS image used by the test. Add a way to specify
this in tests.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Add new patch to allow tests to be filtered by role
test/py/conft
At present the disks end up being 1MB shorter than they should be,
since dd truncates by default.
Move the code into a function and update it to avoid truncation.
This resolves various warnings when running sandbox tests, of the form:
mmc_bread() MMC: block number 0x9801 exceeds max(0x9800)
Add support for an environment stored in the first partition of the
disk, which is assumed to hold a FAT filesystem.
Support the 'cat' command as it is useful for looking at extlinux.conf
files.
Signed-off-by: Simon Glass
---
(no changes since v1)
configs/qemu-x86_64_defconfig | 6 --
con
QEMU likes to have an MTRR set up, just like real machines. Add an MTRR
which covers the total RAM size.
This does nothing on machines without MTRRs.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Support memory sizes above 3GB properly
Changes in v2:
- Add new patch to
At present mtrr_add_request() requires that the size is a power of two.
This is too limiting for machines with 4GB (or more) of RAM, since they
often must take account of a memory hole at 3GB.
Update the function to automatically deal with an unaligned size, using
more MTRRs as required.
The algo
Rather than repeating the same code in several places, add some
functions which can do the conversion.
Use the cpu_phys_address_size() function to obtain the physical-address
size, since it is more reliable with kvm, where the host CPU may have a
different value from the emulation CPU.
Signed-off
The MTRR registers have 64-bit values. Update the command to use 64-bit
values so that memory larger than 4GB can be handled.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch to update mtrr command to support 64-bit values
cmd/x86/mtrr.c | 6 +++---
1 file c
This value happens to be used by ctype.h so chose a different name.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Add new patch to rename the _D dirty flag
arch/x86/cpu/i386/cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/cpu/i386
Make use the existing GDT which now includes entries for 64-bit code.
Leave the interrupt descriptors alone. They can be tidied up once U-Boot
starts up.
With this, kvm mode works with QEMU.
Signed-off-by: Simon Glass
Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/31
---
(no
This makes use of a 'bool' type, so include the required header.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/include/asm/interrupt.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/include/asm/interrupt.h b/arch/x86/include/asm/interrupt.h
index e23fb2c8e72..c689
This functions normally and has done for a while, so drop this scary
message.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c
index 47cf9c862b5..0a6a761987e 10064
x86_cpu_init_f() is called by arch_cpu_init() a few lines below this
code. Drop the duplicate call.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/spl.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c
index 7a033505101..47cf9c862b
U-Boot clears the display when it starts up, so there is no need to ask
the VESA driver to do this. Fix this and add a comment explaining the
flags.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/bios.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a
This is not needed in SPL, so drop it.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile
index 43e6a1de77d..a908356e8a6 100644
--- a/arch/x86/lib/Makefile
+++ b/arch/x86
Add categories for i8259 and bios files, so that log statements have the
right category.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/bios.c| 3 +++
arch/x86/lib/bios_interrupts.c | 2 ++
arch/x86/lib/i8259.c | 2 ++
3 files changed, 7 insertions(+)
The vesa display is widely used on hardware, but it is a bit of a pain
with QEMU. It requires executing option ROMs, which either doesn't work
with kvm, or is difficult to do in a kvm/QEMU-friendly way.
THe bochs display is probably better anyway, so switch to that. It works
fine with kvm as it do
BSS is placed in DRAM which is actually available early with QEMU. But
it is cleared by the init sequence, so values stored there are lost.
Move the system-type flag into a function, instead.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/cpu/qemu/qemu.c | 20 ++
Provide the 'dhry' command, which helps to check that kvm is being used
properly with QEMU.
Signed-off-by: Simon Glass
---
(no changes since v1)
configs/qemu-x86_64_defconfig | 1 +
configs/qemu-x86_defconfig| 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/qemu-x86_64_defconfi
The SPL and pre-reloc malloc()-space is not large enough to start up
with a display. Expand it.
Switch the order of SPL_SYS_MALLOC_F_LEN and SPL_TEXT_BASE since this
matches what 'savedefconfig' gives us.
Signed-off-by: Simon Glass
---
(no changes since v1)
configs/qemu-x86_64_defconfig | 4 +
This should say 'cast', not 'case', so fix it.
Signed-off-by: Simon Glass
---
(no changes since v1)
include/mapmem.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/mapmem.h b/include/mapmem.h
index f496c96d16c..8ec03d59f0b 100644
--- a/include/mapmem.h
+++ b/includ
We must use the ramdisk address for the initrd_addr field, not the kernel
address. Fix this.
Signed-off-by: Simon Glass
Fixes: e05cda3004f ("boot: pxe: Refactor label_run_boot() to avoid")
---
(no changes since v1)
boot/pxe_utils.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
U-Boot can start and boot an OS in both qemu-x86 and qemu-x86_64 but it
is not perfect.
With both builds, executing the VESA ROM causes an intermittent hang, at
least on some AMD CPUs.
With qemu-x86_64 kvm cannot be used since the move to long mode (64-bit)
is done in a way that works on real har
On Sun, Mar 2, 2025 at 1:53 PM Adam Ford wrote:
>
> The ECSPI clock has the ability to select between pll3_60m and
> osc on the imx6qp, where it's fixed on other variants. Fix this
> by adding using a helper function to determine SoC variant and
> register the clock accordingly.
s/ESPI/ECSPI in
On Sun, 02 Mar 2025 19:29:31 +0100, Andrea della Porta wrote:
> In case MAX_SYMLINK_NEST is reached while determining the size
> on a symlink node, the function returns immediately.
> This would not free the resources after the free_strings: label
> causing a memory leak.
>
> Set the ret value an
On Sun, Mar 2, 2025 at 1:53 PM Adam Ford wrote:
> @@ -312,7 +313,17 @@ int mxc_serial_setbrg(struct udevice *dev, int baudrate)
> static int mxc_serial_probe(struct udevice *dev)
> {
> struct mxc_serial_plat *plat = dev_get_plat(dev);
> + int ret;
>
> +#if CONFIG_IS_ENABLED(CLK_CC
On 3/6/25 11:56, Cheick Traore wrote:
> Add support for STM32MP timer multi-function driver.
> These timers can be use as counter, trigger or pwm generator.
> This driver will be used to manage the main resources of the timer to
> provide them to the functionnalities which need these ones.
>
>
On Wed, Mar 05, 2025 at 07:46:56PM -0800, Sam Edwards wrote:
> On Sun, Feb 23, 2025 at 9:55 PM Sam Edwards wrote:
> >
> > Long time no see, U-Boot folks!
> >
> > This patchset consists of various bug fixes and correctness improvements
> > that
> > I discovered while attempting to add first-class
On Thu, 27 Feb 2025 17:39:04 +0530, Sumit Garg wrote:
> Update Sumit Garg's email address to @kernel.org.
>
>
Applied to u-boot/master, thanks!
[1/1] MAINTAINERS: .mailmap: Update Sumit Garg's email address
commit: 19715a7f031a998f8641949fbbf29a2fd1a58f0f
--
Tom
On Wed, 05 Mar 2025 17:52:16 +0100, Michal Simek wrote:
> please pull these fixes to your tree. Especially patches from Padmarao are
> must
> have. One is fixing issue around using BSS section before relocation and
> second
> is fix connected to switching to LWIP. 4k MTU size never really worked
On 06.03.25 15:31, Simon Glass wrote:
When BLOBLIST_TABLES is used, the ACPI tables are not currently added to
the list of EFI tables. While we don't want to create a new memory
EFI tables are added by InstallConfigurationTable().
It seems this patch is not about the list of EFI configuration
From: Michael Nazzareno Trimarchi
Sent: Thursday, 6 March 2025 12:24 pm
To: Maniyam, Dinesh
Cc: U-Boot-Denx ; Marek ; Simon
; Tom Rini ; Dario
Binacchi ; Johan Jonker
; Michal Simek ; Arseniy Krasnov
; Alexander Dahl ; William Zhang
; Igor Prusov ; Meng,
Tingting ; Chee, Tien Fong ;
Hea,
This is a small NET_LWIP cleanup. Instead of re-creating a struct netif
from a struct udevice every time a nework operation is requested (dhcp,
ping, etc.), store the netif inside the udevice.
No functional change is expected, but the behavior of the network stack
might change a bit since not remo
Add Kconfig symbol LWIP_DEBUG_RXTX to dump the incoming and outgoing
packets when NET_LWIP=y.
Signed-off-by: Jerome Forissier
---
net/lwip/Kconfig| 6 ++
net/lwip/net-lwip.c | 14 ++
2 files changed, 20 insertions(+)
diff --git a/net/lwip/Kconfig b/net/lwip/Kconfig
index 40
Rename static function linkoutput() as net_lwip_tx() for consistency
with net_lwip_rx().
Signed-off-by: Jerome Forissier
---
net/lwip/net-lwip.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/lwip/net-lwip.c b/net/lwip/net-lwip.c
index cab1dd7d483..5a2a86686f4 100644
net_lwip_remove_netif() is not used, remove it.
Signed-off-by: Jerome Forissier
---
include/net-lwip.h | 1 -
net/lwip/net-lwip.c | 6 --
2 files changed, 7 deletions(-)
diff --git a/include/net-lwip.h b/include/net-lwip.h
index 58ff2bb2d43..36df78d61db 100644
--- a/include/net-lwip.h
+++
1 - 100 of 128 matches
Mail list logo