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
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
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
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
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
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
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
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-
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(+)
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 ++
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
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
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
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 +
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 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 =
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 ++
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 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
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/-
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
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
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
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 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
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
101 - 128 of 128 matches
Mail list logo