Sometimes we know that the board is already running the right software,
so provide an option to allow running of tests directly, without first
resetting the board.
This saves time when re-running a test where only the Python code is
changing.
Note that this feature is open to errors, since the us
We expect commands to be echoed and this should happen quite quickly,
since U-Boot is sitting at the prompt waiting for a command.
Reduce the timeout for this situation. Try to produce a more useful
error message when something goes wrong. Also handle the case where the
connection has gone away si
This can take a while and involve multiple steps (e.g. turning the board
back off). Add a section for it and show the output.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
---
(no changes since v1)
test/py/u_boot_console_base.py | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
di
The Beagleplay board uses an SoC from the TI K3 family. This has both a
Cortex-R core and a Cortex-A core and the R core needs to come up before
the A core. In both cases we have U-Boot SPL then U-Boot proper being
used.
In practice this means we need two entirely separate builds to produce
an ima
Send the Labgrid quit characters to ask it to exit gracefully. This
typically allows it to power off the board being used. Only do this when
labgrid is being used (detected with an env var).
If that doesn't work, try the less graceful approach.
The normal approach for pytest is to simply kill the
There is a very annoying bug at present where the terminal echos part
of the first command sent to the board. This happens because the
terminal is still set to echo for a period until Labgrid starts up and
can change this.
Fix this by disabling echo (and other terminal features) as soon as the
spa
Use an 'r' string to avoid a warning:
test/py/tests/test_spi.py:698: DeprecationWarning: invalid escape
sequence '\s'
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Add new patch to correct a regex string in test_spi
test/py/tests/test_spi.py | 2 +-
1 file chan
Add a way to run tests on a real hardware lab. This is in the very early
experimental stages. There are only 23 boards and 3 of those are broken!
(bob, ff3399, samus). A fourth fails due to problems with the TPM tests.
To try this, assuming you have gitlab access, set SJG_LAB=1, e.g.:
git push
On 11/12/24 12:23, Patrick DELAUNAY wrote:
Hi,
On 11/6/24 20:04, Marek Vasut wrote:
Add manufacturing environment into STM32MP15xx DH electronics DHSOM
configuration. This environment is part of every board build, but only
takes effect on systems booted with the dh,stm32mp15xx-dhcor-testbench
On 11/12/24 12:48, Patrick DELAUNAY wrote:
Hi,
On 10/27/24 02:03, Marek Vasut wrote:
Deduplicate defconfigs for all DH STM32MP15xx DHSOM systems by factoring
out the common parts into generic stm32mp15_dhsom.config and including
those using the #include preprocessor macro in the current
set
On 11/12/24 12:49, Patrick DELAUNAY wrote:
Hi,
On 10/27/24 02:03, Marek Vasut wrote:
Deduplicate defconfigs for all DH STM32MP1xx DHSOM systems by factoring
out the common parts into generic stm32mp_dhsom.config and including
those using the #include preprocessor macro in the current
set of
On 11/12/24 12:33, Patrick DELAUNAY wrote:
Hi,
On 10/21/24 21:44, Marek Vasut wrote:
The ethernet0_rmii_pins_a pinmux change has no effect on any
DHSOM based hardware. The mco2_pins_a and mco2_sleep_pins_a
are both part of stm32mp15-pinctrl.dtsi . Drop both pinmux
changes.
Signed-off-by: Mar
On 11/12/24 12:29, Patrick DELAUNAY wrote:
Hi,
On 10/21/24 21:34, Marek Vasut wrote:
Remove unused local DT copies after the OF_UPSTREAM conversion.
Fixes: cccb29fc1270 ("ARM: dts: stm32: Switch to using upstream DT on
DH STM32 DHSOM")
Reported-by: Patrick Delaunay
Signed-off-by: Marek Va
Hello Heinrich,
> The file system layer in fs/fat/fat_write.c does not support renaming, yet.
>
> You would have to start your contributions there.
thanks - so the rough roadmap in my head seems to be fine.
Manuel
On Tue, 12 Nov 2024 at 16:22, Traut Manuel LCPF-CH wrote:
>
> Hi Ilias,
>
> On Tue, Nov 12, 2024 at 03:46:48PM +0200, Ilias Apalodimas wrote:
> > Hello Manuel,
> >
> > On Tue, 12 Nov 2024 at 15:21, Traut Manuel LCPF-CH
> > wrote:
> > >
> > > Hi,
> > >
> > > systemd-boot counting logic requires [
On 12.11.24 15:10, Simon Glass wrote:
The cache-flush function is incorrect which causes a crash in the
remoteproc tests with arm64.
We should throw out all these sandbox virtual addresses where they are
not needed.
Just add the missing conversion to drivers/remoteproc/rproc-elf-loader.c.
And
Hi,
On 11/2/24 23:17, Simon Glass wrote:
This predates the LED framework, so drop it.
Signed-off-by: Simon Glass
---
(no changes since v1)
board/st/stm32f429-discovery/Makefile | 1 -
board/st/stm32f429-discovery/led.c| 39 ---
2 files changed, 40 deletions(-
Hi,
On 11/6/24 20:04, Marek Vasut wrote:
Add manufacturing environment into STM32MP15xx DH electronics DHSOM
configuration. This environment is part of every board build, but only
takes effect on systems booted with the dh,stm32mp15xx-dhcor-testbench
device tree, i.e. systems populated with fact
Without 'nvme scan' the ESP on the NVMe drive is not found early.
EFI variables cannot be persisted.
Hit any key to stop autoboot: 0
Cannot persist EFI variables without system partition
** Booting bootflow '' with efi_mgr
Loading Boot 'mmc 0' failed
EFI boot manager: Cann
Without 'nvme scan' the ESP on the NVMe drive is not found early.
EFI variables cannot be persisted.
Hit any key to stop autoboot: 0
Cannot persist EFI variables without system partition
** Booting bootflow '' with efi_mgr
Loading Boot 'mmc 0' failed
EFI boot manager: Cann
On 12.11.24 15:28, Heinrich Schuchardt wrote:
On 12.11.24 15:10, Simon Glass wrote:
The cache-flush function is incorrect which causes a crash in the
remoteproc tests with arm64.
We should throw out all these sandbox virtual addresses where they are
not needed.
Just add the missing conversion
On 11/12/24 15:57, Benedikt Spranger wrote:
> On Tue, 12 Nov 2024 15:39:23 +0200
> Eugen Hristev wrote:
>
> Hi Eugen,
>> On 10/18/24 11:30, Benedikt Spranger wrote:
>>> Align manufacturer Ids with the Id list from Linux kernel v6.11.
>>> While at it, sort the entries in alphabetical order.
>>>
It is handy to be able to quickly build and boot a QEMU image for a
particular architecture and distro.
Add a script for this purpose. It supports only arm and x86 at present.
For distros it only supports Ubuntu. Both 32- and 64-bit builds are
supported.
Signed-off-by: Simon Glass
---
MAINTAIN
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
---
configs/qemu-x86_64_defconfig | 4 ++--
1 file changed, 2
For RTC to start to operate there is a need to call the driver. The simple
way to do it is to set default RTC instance which will call the probe and
do basic initialization.
Signed-off-by: Michal Simek
---
board/xilinx/zynqmp/zynqmp_kria.env | 1 +
1 file changed, 1 insertion(+)
diff --git a/b
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
Provide the 'dhry' command, which helps to check that kvm is being used
properly with QEMU.
Signed-off-by: Simon Glass
---
configs/qemu-x86_64_defconfig | 1 +
configs/qemu-x86_defconfig| 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/qemu-x86_64_defconfig b/configs/qemu-x86_64
Add categories for i8259 and bios files, so that log statements have the
right category.
Signed-off-by: Simon Glass
---
arch/x86/lib/bios.c| 3 +++
arch/x86/lib/bios_interrupts.c | 2 ++
arch/x86/lib/i8259.c | 2 ++
3 files changed, 7 insertions(+)
diff --git a/arch/x86/l
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
---
arch/x86/cpu/qemu/qemu.c | 20 ++--
1 file changed, 14
This is not needed in SPL, so drop it.
Signed-off-by: Simon Glass
---
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/lib/Makefile
@@ -26,7
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
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 option is not actually defined in Kconfig anymore. Use a normal
debug print instead, which has a similar effect.
Signed-off-by: Simon Glass
---
arch/x86/lib/bios.c| 18 --
arch/x86/lib/bios_interrupts.c | 6 ++
2 files changed, 10 insertions(+), 14 deletion
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
---
arch/x86/lib/bios.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/x86/lib/bios.c b/
Use some named flags when setting up the cache, so it is easier to see
what is going on.
Signed-off-by: Simon Glass
---
arch/x86/cpu/i386/cpu.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/arch/x86/cpu/i386/cpu.c b/arch/x86/cpu/i386/cpu.c
index 3bbad3b2ec
This makes use of a 'bool' type, so include the required header.
Signed-off-by: Simon Glass
---
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..c689fc23d08 100644
--- a/ar
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
---
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 f761fbc8bc3..2586a81093b 100644
--- a/arch/x86
Use a symbol to select the size of the GDT, rather than hard-coding a
value. This matches how it is done in start64
Signed-off-by: Simon Glass
---
arch/x86/cpu/start.S | 4 +++-
arch/x86/cpu/start16.S | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/x86/cpu/start.S
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
---
arch/x86/cpu/i386/call64.S | 8 +++-
1 file changed, 7 inser
This functions normally and has done for a while, so drop this scary
message.
Signed-off-by: Simon Glass
---
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 2586a81093b..715c8cdc3ac 100644
--- a/arch/x86/lib/sp
On 11.11.24 22:09, Adriano Cordova wrote:
Add an EFI HTTP driver. This commit implements the
EFI_HTTP_PROTOCOL and the EFI_HTTP_SERVICE_BINDING_PROTOCOL.
The latter is attached to the handle of th efi network
device. This is the same handle where snp, pxe, and ipconfig
are attached to.
Signed-of
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-
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
---
ar
Hi,
On 10/27/24 02:03, Marek Vasut wrote:
Deduplicate defconfigs for all DH STM32MP1xx DHSOM systems by factoring
out the common parts into generic stm32mp_dhsom.config and including
those using the #include preprocessor macro in the current
set of board specific defconfigs. The preprocessor ma
Hi Benedikt ,
On 10/18/24 11:30, Benedikt Spranger wrote:
> Align manufacturer Ids with the Id list from Linux kernel v6.11.
> While at it, sort the entries in alphabetical order.
>
> Signed-off-by: Benedikt Spranger
> Reviewed-by: John Ogness
> ---
> drivers/mtd/nand/raw/nand_ids.c | 22 +
We should remove bindings and dtsi from include/ folder for A1
and AXG Amlogic devices. We have exactly the same, or with minor
differences in dts/upstream folder.
I tested this changes on devices closes to reference A1 and AXG SoCs
devices and didn't receive any problems.
Alexey Romanov (4):
a
Hi,
systemd-boot counting logic requires [0] to be implemented.
Is anybody already working on this?
If not we plan to add the functionality in fs/fs.c and fs/fat - correct?
Cheers
Manuel
[0]
https://elixir.bootlin.com/u-boot/v2025.01-rc1/source/lib/efi_loader/efi_file.c#L971
On 10/19/24 00:57, Zixun LI wrote:
> Add ops get_dir_flags() to read status from GPIO registers.
>
> Signed-off-by: Zixun LI
>
> ---
> Changes in v2:
> - Fix pullup read polarity
> ---
> drivers/gpio/at91_gpio.c | 45
> 1 file changed, 45 insertions(+
Hello,
On 10/18/24 23:27, Zixun LI wrote:
> Support GPIO configuration with following flags:
> - in, out, out_active
> - open_drain, pull_up
>
> Signed-off-by: Zixun LI
> ---
> drivers/gpio/at91_gpio.c | 41
> 1 file changed, 41 insertions(+)
>
> diff -
For Amlogic A1, we have to use dtsi from dts/upstream folder.
The only difference between this two files is the added cpu temperature
node definition in upstream version and additional assigned-clock for
USB. This patch is tested on a device with A113L SoC (AD401-like) and
everything is okay.
So,
On 10/18/24 11:30, Benedikt Spranger wrote:
> Hi,
>
> while porting an ATSAMA5D2 based board (booting from NAND flash with UBI)
> I stumbled over generic, NAND- and UBI related asperity:
>
> 1. tiny-printf does not handle NULL arguments to '%s' in a proper way
> 2. vtbl_check() has an useless
Hi Simon,
On Tue, 12 Nov 2024 at 15:18, Simon Glass wrote:
>
> A bisect of Ubuntu 2022.04 boot-failure on qemu-x86_64 resulted in this
> patch. I am not sure how to investigate it.
>
> The boot hangs at some point during booting of the install image, before
> the Ubuntu logo appears.
Any idea if
Hello Manuel,
On Tue, 12 Nov 2024 at 15:21, Traut Manuel LCPF-CH wrote:
>
> Hi,
>
> systemd-boot counting logic requires [0] to be implemented.
>
> Is anybody already working on this?
I am not aware of any patches
>
> If not we plan to add the functionality in fs/fs.c and fs/fat - correct?
We
We have exactly the same in upstream bindings.
Signed-off-by: Alexey Romanov
---
.../clock/amlogic,a1-peripherals-clkc.h | 168 --
.../dt-bindings/clock/amlogic,a1-pll-clkc.h | 25 ---
include/dt-bindings/gpio/meson-a1-gpio.h | 73
include/dt-bindings/powe
We have exactly the same in upstream bindings.
Signed-off-by: Alexey Romanov
---
include/dt-bindings/clock/axg-audio-clkc.h | 94 ---
include/dt-bindings/clock/axg-clkc.h | 100 -
2 files changed, 194 deletions(-)
delete mode 100644 include/dt-bindings
We have exactly the same in upstream bindings.
Signed-off-by: Alexey Romanov
---
.../interrupt-controller/arm-gic.h| 23 ---
1 file changed, 23 deletions(-)
delete mode 100644 include/dt-bindings/interrupt-controller/arm-gic.h
diff --git a/include/dt-bindings/interr
Hi,
I have recently built U-Boot for an armv7 board (OrangePi PC). It took me
some googling to find the dependencies needed to cross compile on Ubuntu.
I am thinking about adding the info to the documentation here:
https://github.com/u-boot/u-boot/blob/master/doc/build/gcc.rst#debian-based
I have
On 11.11.24 22:09, Adriano Cordova wrote:
Add network-stack agnostic way to send an http request and
parse http headers from efi drivers. This uses wget as a
backend and communicates with it via efi_wget_info.
The function efi_net_do_request allocates a buffer on behalf of an
efi application usi
On 11/12/24 18:17, Zixun LI wrote:
> On Tue, Nov 12, 2024 at 4:59 PM Eugen Hristev
> wrote:
>>
>>
>>
>> On 11/12/24 17:57, Zixun LI wrote:
>>> Hello,
>>>
>>>
>>> On Tue, Nov 12, 2024 at 2:13 PM Eugen Hristev
>>> wrote:
> +static bool at91_get_port_pio(struct at91_port *at91_por
To restore MMC boot, enable SPL_SYS_MMCSD_RAW_MODE and recover
SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION and
SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION.
Fixes: 2a00d73d081 ("spl: mmc: Try to clean up raw-mode options")
Signed-off-by: Andreas Schwab
---
configs/starfive_visionfive2_defconfig | 3 +++
1 fi
101 - 160 of 160 matches
Mail list logo