Hang has been observed on QEMU, as it starts with indac
read and fills sram, but after dma is triggered, it tries
dac read instead (based on priority) which gets blocked.
Disable the DAC mode in indirect DMA read and enable back
for writes as DAC mode is used.
Signed-off-by: Venkatesh Yadav Abbara
Hi Mattijs,
CC: Casey,
Thx for your reply.
在 2025年4月29日週二 16:30,Mattijs Korpershoek 寫道:
> Hi George,
>
> Thank you for contributing.
>
> On lun., avril 28, 2025 at 15:53, Casey Connolly <
> casey.conno...@linaro.org> wrote:
>
> > Hi George,
> >
> > Thanks a lot for the series, it's super excit
Currently, when decompressing a gzip-compressed image during bootm, a
generic error such as "inflate() returned -5" is shown when the buffer is
too small. However, it is not immediately clear that this is caused by
CONFIG_SYS_BOOTM_LEN being too small.
This patch improves error handling by:
- Dete
Hi Jerome
On Fri, 2025-04-04 at 15:50 +0200, Jerome Forissier wrote:
> This series replaces the dynamic initcalls (with function pointers) with
> static calls, and gets rid of initcall_run_list(), init_sequence_f,
> init_sequence_f_r and init_sequence_r. This makes the code simpler and the
> binar
On Mon, Apr 28, 2025 at 03:40:32PM -0600, Tom Rini wrote:
> Hey all,
>
> So it's release day and I have tagged and pushed things out. Looking at
> my own TODO list, I think it's in reasonable shape. I do think there's a
> few other pull requests that need to happen still and I am optimistic
> wil
Hey Casey, Varadarajan,
On Tuesday, April 29th, 2025 at 12:22 AM, Casey Connolly
wrote:
>
>
>
>
> On 4/10/25 14:02, Varadarajan Narayanan wrote:
>
> > Add SYSRESET_EDL to sysreset_t and handle the different SYSRESET_xxx
> > requests in sysreset_qcom-psci.c.
>
>
> To be honest, I'm not re
On Tue, 22 Apr 2025 13:36:56 -0600, Tom Rini wrote:
> This adds the vexpress_fvp and vexpress_fvp_bloblist platforms to the
> list of platforms we test via emulator in CI. In order to do this we
> need to first have our container runtime have TF-A builds for the
> vexpress_fvp platform, both with
t.dtsi
index ede5d6e58f5ea..15d72105861ac 100644
--- a/arch/arm/dts/k3-j742s2-evm-u-boot.dtsi
+++ b/arch/arm/dts/k3-j742s2-evm-u-boot.dtsi
@@ -48,7 +48,6 @@
blob-ext {
filename =
"ti-dm/j742s2/ipc_echo_testb_mcu1_0_release_strip.xer5f";
- optional;
};
};
diff --git a/arch/arm/dts/k3-j784s4-binman.dtsi
b/arch/arm/dts/k3-j784s4-binman.dtsi
index 0553825b38350..1bdc6d701f036 100644
--- a/arch/arm/dts/k3-j784s4-binman.dtsi
+++ b/arch/arm/dts/k3-j784s4-binman.dtsi
@@ -39,7 +39,6 @@
ti_fs_enc: ti-fs-enc.bin {
type = "blob-ext";
- optional;
};
combined_tifs_cfg: combined-tifs-cfg.bin {
@@ -49,7 +48,6 @@
sysfw_inner_cert: sysfw-inner-cert {
type = "blob-ext";
- optional;
};
combined_dm_cfg: combined-dm-cfg.bin {
@@ -88,7 +86,6 @@
ti_fs_enc_fs: ti-fs-enc.bin {
type = "blob-ext";
- optional;
};
combined_tifs_cfg_fs: combined-tifs-cfg.bin {
@@ -98,7 +95,6 @@
sysfw_inner_cert_fs: sysfw-inner-cert {
type = "blob-ext";
- optional;
};
combined_dm_cfg_fs: combined-dm-cfg.bin {
@@ -135,7 +131,6 @@
ti_fs_gp: ti-fs-gp.bin {
type = "blob-ext";
- optional;
};
combined_tifs_cfg_gp: combined-tifs-cfg-gp.bin {
diff --git a/arch/arm/dts/k3-j784s4-evm-u-boot.dtsi
b/arch/arm/dts/k3-j784s4-evm-u-boot.dtsi
index 8a60d7c61075b..cc0dc6ce5e3fa 100644
--- a/arch/arm/dts/k3-j784s4-evm-u-boot.dtsi
+++ b/arch/arm/dts/k3-j784s4-evm-u-boot.dtsi
@@ -57,7 +57,6 @@
blob-ext {
filename =
"ti-dm/j784s4/ipc_echo_testb_mcu1_0_release_strip.xer5f";
- optional;
};
};
---
base-commit: b249e08ec9b71f9d0b4eb48e3e63f63e8366b7e6
change-id: 20250429-non-optional-7dbf2bbdb15f
Best regards,
--
Bryan Brattlof
On Tue, Apr 29, 2025 at 11:15:58PM +0800, Aristo Chen wrote:
> Tom Rini 於 2025年4月29日 週二 下午10:15寫道:
> >
> > On Tue, Apr 29, 2025 at 06:08:50PM +0800, 陳偉銘 wrote:
> > > Tom Rini 於 2025年4月29日 週二 上午1:24寫道:
> > > >
> > > > On Mon, Apr 28, 2025 at 02:07:57PM +0800, Aristo Chen wrote:
> > > >
> > > > > C
On Tue, Apr 29, 2025 at 12:31:29PM +, Yao Zi wrote:
> On Mon, Apr 28, 2025 at 08:49:43AM -0600, Tom Rini wrote:
> > On Mon, Apr 28, 2025 at 03:57:27AM +, Yao Zi wrote:
> > > On Sun, Apr 27, 2025 at 10:16:27AM -0600, Tom Rini wrote:
> > > > On Sun, Apr 27, 2025 at 03:46:56PM +, Yao Zi wr
On Wed, Apr 30, 2025 at 12:30 AM Quentin Schulz
wrote:
>
> Hi Chen-Yu,
>
> On 4/29/25 5:44 PM, Chen-Yu Tsai wrote:
> > From: Chen-Yu Tsai
> >
> > The rockchip_dw_mmc driver supports the MMC controller found in Rockchip
> > SoCs. This controller is used for the SD card on all SoCs and eMMC on
> >
Please ignore this. I accidentally sent out the patches with incorrect
patman tags.
ChenYu
On Wed, Apr 30, 2025 at 1:41 AM Chen-Yu Tsai wrote:
>
> From: Chen-Yu Tsai
>
> The rockchip_dw_mmc driver supports the MMC controller found in Rockchip
> SoCs. This controller is used for the SD card on
Hi Chen-Yu,
On 4/29/25 7:34 PM, Chen-Yu Tsai wrote:
On Wed, Apr 30, 2025 at 12:30 AM Quentin Schulz
wrote:
Hi Chen-Yu,
On 4/29/25 5:44 PM, Chen-Yu Tsai wrote:
From: Chen-Yu Tsai
The rockchip_dw_mmc driver supports the MMC controller found in Rockchip
SoCs. This controller is used for the
On Mon, Apr 28, 2025 at 10:41:25AM -0400, Raymond Mao wrote:
> Hi Simon,
>
> On Thu, 17 Apr 2025 at 14:16, Simon Glass wrote:
> >
> >
> > This series adds a standard way of passing information between different
> > firmware phases. This already exists in U-Boot at a very basic level, in
> > the f
From: Chen-Yu Tsai
The rockchip_dw_mmc driver supports the MMC controller found in Rockchip
SoCs. This controller is used for the SD card on all SoCs and eMMC on
older SoCs. Almost all defconfigs for Rockchip platforms have this
enabled.
Enable it by default for all supported Rockchip SoCs. Disa
From: Chen-Yu Tsai
The rockchip_sdhci driver supports the alternative MMC controller found
in newer Rockchip SoCs. This controller is used for eMMC. Almost all
defconfigs for Rockchip platforms with this controller have it enabled.
Enable it by default for all supported Rockchip SoCs. Disable it
On K3 devices two drivers ti_sci and ti_sci_dm are supporting firmware
functions. At run time one of driver is used.
Driver ti_sci already initializing head for dev_list in its probe
function, but it was missed in ti_sci_dm driver.
So add head list init support for ti_sci_dm driver.
While at this
On Tue, Apr 29, 2025 at 06:30:42PM +0200, Quentin Schulz wrote:
> Hi Chen-Yu,
>
> On 4/29/25 5:44 PM, Chen-Yu Tsai wrote:
> > From: Chen-Yu Tsai
> >
> > The rockchip_dw_mmc driver supports the MMC controller found in Rockchip
> > SoCs. This controller is used for the SD card on all SoCs and eMMC
From: Chen-Yu Tsai
The rockchip_dw_mmc driver supports the MMC controller found in Rockchip
SoCs. This controller is used for the SD card on all SoCs and eMMC on
older SoCs. Almost all defconfigs for Rockchip platforms have this
enabled.
Enable it by default for all supported Rockchip SoCs. Disa
From: Chen-Yu Tsai
The rockchip_sdhci driver supports the alternative MMC controller found
in newer Rockchip SoCs. This controller is used for eMMC. Almost all
defconfigs for Rockchip platforms with this controller have it enabled.
Enable it by default for all supported Rockchip SoCs. Disable it
On Tue, Apr 29, 2025 at 08:33:16AM -0600, Simon Glass wrote:
> Hi Raymond,
>
> On Mon, 28 Apr 2025 at 08:41, Raymond Mao wrote:
> >
> > Hi Simon,
> >
> > On Thu, 17 Apr 2025 at 14:16, Simon Glass wrote:
> > >
> > >
> > > This series adds a standard way of passing information between different
>
Hi Simon,
On Tue, 29 Apr 2025 at 10:33, Simon Glass wrote:
>
> Hi Raymond,
>
> On Mon, 28 Apr 2025 at 08:41, Raymond Mao wrote:
> >
> > Hi Simon,
> >
> > On Thu, 17 Apr 2025 at 14:16, Simon Glass wrote:
> > >
> > >
> > > This series adds a standard way of passing information between different
>
Hi Raymond,
On Mon, 28 Apr 2025 at 08:41, Raymond Mao wrote:
>
> Hi Simon,
>
> On Thu, 17 Apr 2025 at 14:16, Simon Glass wrote:
> >
> >
> > This series adds a standard way of passing information between different
> > firmware phases. This already exists in U-Boot at a very basic level, in
> > th
Hi Chen-Yu,
On 4/29/25 5:44 PM, Chen-Yu Tsai wrote:
From: Chen-Yu Tsai
The rockchip_sdhci driver supports the alternative MMC controller found
in newer Rockchip SoCs. This controller is used for eMMC. Almost all
defconfigs for Rockchip platforms with this controller have it enabled.
Enable it
Hi Chen-Yu,
On 4/29/25 5:44 PM, Chen-Yu Tsai wrote:
From: Chen-Yu Tsai
The rockchip_dw_mmc driver supports the MMC controller found in Rockchip
SoCs. This controller is used for the SD card on all SoCs and eMMC on
older SoCs. Almost all defconfigs for Rockchip platforms have this
enabled.
Ena
Tom Rini 於 2025年4月29日 週二 下午10:15寫道:
>
> On Tue, Apr 29, 2025 at 06:08:50PM +0800, 陳偉銘 wrote:
> > Tom Rini 於 2025年4月29日 週二 上午1:24寫道:
> > >
> > > On Mon, Apr 28, 2025 at 02:07:57PM +0800, Aristo Chen wrote:
> > >
> > > > Currently, when decompressing a gzip-compressed image during bootm, a
> > > >
Hi Simon
On Thu, 17 Apr 2025 at 21:16, Simon Glass wrote:
>
>
> This series adds a standard way of passing information between different
> firmware phases. This already exists in U-Boot at a very basic level, in
> the form of a bloblist containing an spl_handoff structure, but the intent
> here i
From: Marek Vasut
Sent: Tuesday, April 29, 2025 5:28 PM
> On 4/29/25 4:47 PM, Christoph Niedermaier wrote:
>> The formatting with %pa / %pap behaves like %x, which results in an
>> incorrect value being output. To improve this, a new fine-tuning
>> Kconfig SPL_USE_TINY_PRINTF_POINTER_SUPPORT for p
Hi,
But using raw partition descriptors[1] does not work with the above
[1]
https://docs.u-boot.org/en/latest/android/fastboot.html#raw-partition-descriptors
Right, not all features will work with generic block backend, but it's a start!
+
+config FASTBOOT_FLASH_BLOCK_DEVICE_ID
+
On 4/29/25 4:47 PM, Christoph Niedermaier wrote:
The formatting with %pa / %pap behaves like %x, which results in an
incorrect value being output. To improve this, a new fine-tuning
Kconfig SPL_USE_TINY_PRINTF_POINTER_SUPPORT for pointer formatting
has been added. If it is enabled, the output of
On Tue, Apr 29, 2025 at 08:35:24AM -0600, Simon Glass wrote:
> Hi Tom,
>
> On Tue, 29 Apr 2025 at 07:48, Tom Rini wrote:
> >
> > On Tue, Apr 29, 2025 at 07:21:57AM -0600, Simon Glass wrote:
> >
> > > This series moves patman to use asyncio instead of ThreadPoolExecutor
> > > since it makes it eas
From: Christoph Niedermaier
Sent: Thursday, April 10, 2025 2:17 PM
> From: Michael Walle
> Sent: Thursday, April 10, 2025 12:44 PM
> > On Wed Apr 9, 2025 at 5:22 PM CEST, Tom Rini wrote:
> > > On Wed, Apr 09, 2025 at 02:33:08PM +0200, Michael Walle wrote:
> > > > Hi,
> > > >
> > > > > >> The forma
Hi Tom,
On Tue, 29 Apr 2025 at 07:48, Tom Rini wrote:
>
> On Tue, Apr 29, 2025 at 07:21:57AM -0600, Simon Glass wrote:
>
> > This series moves patman to use asyncio instead of ThreadPoolExecutor
> > since it makes it easier to handle requests sent from different parts
> > of the code.
> >
> > It
On Tue, Apr 29, 2025 at 04:04:32PM +0200, Quentin Schulz wrote:
> Hi Tom,
>
> On 4/29/25 3:52 PM, Tom Rini wrote:
> > On Tue, Apr 29, 2025 at 03:28:35PM +0200, Quentin Schulz wrote:
> > > Hi Simon,
> > >
> > > On 4/29/25 3:15 PM, Simon Glass wrote:
> > > > Recent versions of Python complain about
Hi Niklas,
On Tue, 29 Apr 2025 at 05:30, Niklas Sombert
wrote:
>
> Hi Simon,
>
> this solves my problem, thanks!
>
> Since SMBIOS is broken again in v2025.07-rc1 (and disabling bloblist
> doesn't work anymore), I applied this patch and it worked.
> I probably should have tried this sooner.
Thank
Hi Tom,
On Fri, 25 Apr 2025 at 10:19, Tom Rini wrote:
>
> On Fri, Apr 25, 2025 at 09:03:17AM -0600, Simon Glass wrote:
> > Hi Tom,
> >
> > On Fri, 25 Apr 2025 at 08:37, Tom Rini wrote:
> > >
> > > On Fri, Apr 25, 2025 at 08:35:52AM -0600, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Thu
On Tue, Apr 29, 2025 at 02:14:54PM +0200, Daniel Schultz wrote:
>
> On 4/28/25 18:10, Tom Rini wrote:
> > On Mon, Apr 28, 2025 at 07:49:04AM -0700, Daniel Schultz wrote:
> >
> > > Add fit_addr_r to the environment to allow us to boot from a FIT image.
> > >
> > > Increase the maximum Image size
On Tue, Apr 29, 2025 at 06:08:50PM +0800, 陳偉銘 wrote:
> Tom Rini 於 2025年4月29日 週二 上午1:24寫道:
> >
> > On Mon, Apr 28, 2025 at 02:07:57PM +0800, Aristo Chen wrote:
> >
> > > Currently, when decompressing a gzip-compressed image during bootm, a
> > > generic error such as "inflate() returned -5" is show
Hi Tom,
On 4/29/25 3:52 PM, Tom Rini wrote:
On Tue, Apr 29, 2025 at 03:28:35PM +0200, Quentin Schulz wrote:
Hi Simon,
On 4/29/25 3:15 PM, Simon Glass wrote:
Recent versions of Python complain about the license being in the
I believe this isn't related to Python but rather setuptools.
setup
On Tue, Apr 29, 2025 at 03:28:35PM +0200, Quentin Schulz wrote:
> Hi Simon,
>
> On 4/29/25 3:15 PM, Simon Glass wrote:
> > Recent versions of Python complain about the license being in the
>
> I believe this isn't related to Python but rather setuptools.
>
> setuptools 77.0.3 and later support P
The code-block directive supports the optional language property which
enables syntax highlighting for the block[1].
This patch adds the relevant language property for code-blocks in k3
docs.
[1]:
https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-code-block
Si
The code-block directive requires addition of the prompt symbol for each
line, using the prompt directive instead allows for auto insertion of
the symbol per line[1].
For the readers, the character added by the prompt directive is
un-selectable i.e the entire line can be more easily selected for c
On Tue, Apr 29, 2025 at 12:16:03PM +0200, Jerome Forissier wrote:
> Hi Tom,
>
> On 4/28/25 23:40, Tom Rini wrote:
> > Hey,
> >
> > As part of manually building the docs before doing -rc1, I saw the
> > following:
> > ./include/uthread.h:56: warning: cannot understand function prototype:
> > 'enum
On Tue, Apr 29, 2025 at 07:21:57AM -0600, Simon Glass wrote:
> This series moves patman to use asyncio instead of ThreadPoolExecutor
> since it makes it easier to handle requests sent from different parts
> of the code.
>
> It also includes some updates to bring patman in line with the other
> ma
Hi Simon,
On 4/29/25 3:15 PM, Simon Glass wrote:
Recent distros complain about using 'pip install'. Adjust the script to
use 'apt get' instead where possible/required (e.g. with Ubuntu 24.04).
I believe this should already be handled by 9d3f1ebaf875
("tools/make_pip: Use venv when invoking p
From: Chen-Yu Tsai
The IO domain driver controls the I/O voltage for various pins,
MMC included.
Enable it by default for all supported Rockchip SoCs.
Signed-off-by: Chen-Yu Tsai
Reviewed-by: Quentin Schulz
Reviewed-by: Paul Kocialkowski
Reviewed-by: Jonas Karlman
Reviewed-by: Anand Moon
-
Hi Simon,
On 4/29/25 3:15 PM, Simon Glass wrote:
Recent versions of Python complain about the license being in the
I believe this isn't related to Python but rather setuptools.
setuptools 77.0.3 and later support PEP-639 which recommends to ditch
the License :: classifier for a license prope
Signed-off-by: Adriano Cordova
Reviewed-by: Ilias Apalodimas
Reviewed-by: Heinrich Schuchardt
---
No changes since v1
lib/efi_loader/efi_bootbin.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/efi_loader/efi_bootbin.c b/lib/efi_loader/efi_bootbin.c
index 6a189c31
Do not try to create an initrd device path nor try to register
an initrd with the EFI_LOAD_FILE2_PROTOCOL if none is provided.
Handle initrd installation in efi_binary_run_dp with
efi_install_initrd, imitating what is done for the fdt.
Fixes: 36835a9105c ("efi_loader: binary_run: register an init
This series consists on a couple of fixes for initrd loading when
booting an EFI binary. First patch fixes
36835a9105c ("efi_loader: binary_run: register an initrd"),
second one fixes a small typo on efi_binary_run_dp. Patches are sent
together as the typo propagates to the first patch.
Adriano Co
Hi Jerome,
On Tue, 29 Apr 2025 at 04:16, Jerome Forissier
wrote:
>
> Hi Tom,
>
> On 4/28/25 23:40, Tom Rini wrote:
> > Hey,
> >
> > As part of manually building the docs before doing -rc1, I saw the
> > following:
> > ./include/uthread.h:56: warning: cannot understand function prototype:
> > 'enu
Now that we have the new asyncio implementation, drop the unused
ThreadPoolExecutor code.
Signed-off-by: Simon Glass
---
tools/patman/status.py | 125 -
1 file changed, 125 deletions(-)
diff --git a/tools/patman/status.py b/tools/patman/status.py
index d
The pager makes it easier to review large number of comments. Add it
around the output.
Patman normally sends multiple concurrent requests to the patchwork
server, as this is faster. Provide an option to disable this.
Signed-off-by: Simon Glass
---
tools/patman/status.py | 35 +
Patman normally sends multiple concurrent requests to the patchwork
server, as this is faster. Provide an option to disable this.
Signed-off-by: Simon Glass
---
tools/patman/cmdline.py | 2 ++
tools/patman/control.py | 4 ++--
tools/patman/patchwork.py | 5 +++--
3 files changed, 7 insertio
Now that all the pieces are in place, switch over from using an executor
to using asyncio.
While we are here, import defaultdict to avoid needing to specify its
module.
Signed-off-by: Simon Glass
---
tools/patman/func_test.py | 4 +-
tools/patman/patchwork.py | 8 +--
tools/patman/status.p
Import defaultdict to avoid needing to specify its module in multiple
places. Fix an extra blank line while here.
Signed-off-by: Simon Glass
---
tools/patman/status.py | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tools/patman/status.py b/tools/patman/status.py
inde
The cover letter has some information on each patch, so allow this to be
stored in the Patch object.
Signed-off-by: Simon Glass
---
tools/patman/patchwork.py | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/tools/patman/patchwork.py b/tools/patman/patchwork.py
index 3
When comments are shown below patches it can be hard to see the patch
subject. Use yellow instead of blue, since it stands out better.
Pass the colour object into show_responses() rather than creating a new
one, since that is tidier.
Signed-off-by: Simon Glass
---
tools/patman/func_test.py |
This test uses the find_new_responses() function which combines
accessing patchwork and processing the results.
Since the test is aimed at testing processing, adjust it to call
process_reviews() instead.
Signed-off-by: Simon Glass
---
tools/patman/func_test.py | 28
Instead of passing the URL and function to each call, put the fake
into the Patchwork object instead.
Signed-off-by: Simon Glass
---
tools/patman/control.py | 4 ++-
tools/patman/func_test.py | 41 +--
tools/patman/patchwork.py | 26 ++
tools/patman/st
This function does patchwork calls and then processes the results. Move
the processing out so we can (later) test it separately.
Signed-off-by: Simon Glass
---
tools/patman/status.py | 74 +++---
1 file changed, 48 insertions(+), 26 deletions(-)
diff --git a
This function has three phases:
- collecting things from patchwork
- doing some processing
- showing the results to the user / creating a branch
Refactor into two functions so we can eventually have the patchwork part
fully separated out.
Signed-off-by: Simon Glass
---
tools/patman/func_test.
This function actually shows the status and does some other things.
Rename it to better reflect its purpose.
Signed-off-by: Simon Glass
---
tools/patman/control.py | 4 ++--
tools/patman/func_test.py | 14 +++---
tools/patman/status.py| 6 +++---
3 files changed, 12 insertions(
Expand the patchwork module so that it can match the current
requirements of the 'patman status' command, i.e. reading the state of a
series and the patches associated with it.
Since the format of each patchwork response is a little tricky to
understand, add examples in comments at the top of each
These relate to information obtained from the patchwork server, so move
their definition into the new patchwork module.
Signed-off-by: Simon Glass
---
tools/patman/func_test.py | 21 +++
tools/patman/patchwork.py | 113
tools/patman/status.py| 119 +
The control module includes much of the implementation of patman's
'send' feature. As a first step to separating this out, move the sending
code into its own file.
Signed-off-by: Simon Glass
---
tools/patman/__main__.py | 2 +-
tools/patman/control.py | 161 +---
At present the patchwork implementation is very simple, just consisting
of a function which calls the REST API.
We want to create a fake patchwork for use in tests. So start a new
module to encapsulate communication with the patchwork server.
Use asyncio since it is easier to handle lots of concu
Now that patman has an unusual dependency, add a requirements.txt file
and use it in CI
Signed-off-by: Simon Glass
---
.azure-pipelines.yml | 2 ++
.gitlab-ci.yml| 2 ++
tools/patman/requirements.txt | 1 +
3 files changed, 5 insertions(+)
create mode 100644 tools/patm
Provide support for the -X flag, which preserves the working directory
used by tests. Also support -N which shows captured output for tests.
Finally, allow selection of a particular test to run.
Signed-off-by: Simon Glass
---
tools/patman/__main__.py | 4 +++-
tools/patman/cmdline.py | 6
This currently has the same name as a test in func_test.py so it isn't
possible to select one or the other with 'patman test test_basic': both
are executed.
Rename this one to avoid confusion.
Signed-off-by: Simon Glass
---
tools/patman/test_checkpatch.py | 2 +-
1 file changed, 1 insertion(+)
Much of this was written before the other Python tools and they have
evolved. Make a few updates:
- Rather than calling sys.exit(), return the exit code from the control
module and use it in __main__
- Set up tout as it is used in some places
- We now have quite a few tests, so update the commen
A quote character was added a few years ago, but was not intended. Drop
it.
Signed-off-by: Simon Glass
---
tools/patman/func_test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py
index a31c950051b..161b5ad4288 100644
--
Add control of capturing output into u_boot_pylib and the tools which
use it.
Signed-off-by: Simon Glass
---
tools/binman/ftest.py | 3 ++-
tools/binman/main.py| 4 ++--
tools/buildman/main.py | 2 +-
tools/dtoc/main.py | 5 +++--
tools/dtoc/test_
When running tests there is no situation in which we want ANSI output as
it makes it much harder to see what is going on in logs, tests, etc.
Provide a way to disable this.
Signed-off-by: Simon Glass
---
tools/u_boot_pylib/tout.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
dif
There is no point in spinning up multiple processes if there is only one
test to execute. Add a check for this.
Signed-off-by: Simon Glass
---
tools/u_boot_pylib/test_util.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/u_boot_pylib/test_util.py b/tools/u_boot_pylib
The current implementation does not handle background colours very well:
- It outputs an incorrect code in some cases, leading to wrong colours
- Some functions lack a control for the background
Tidy this up so that background colours can be used in more places.
Signed-off-by: Simon Glass
---
It is useful to have a pager when outputting a lot of text. Add support
for this in the terminal library, making use of a context manager.
Also add a function to indicate whether the output device is a terminal
or not, while we are here, to avoid duplicating this code.
Signed-off-by: Simon Glass
Tests often capture output so they can check it. This means that if the
test fails it is not easy to see what the output actually was.
Add a -N flag which writes out the output after it has been captured.
This is not a perfect solution but it is simple and seems to work well
in practice.
Signed-o
Fix the 'ist' typo in the comment for TestFunctional
Signed-off-by: Simon Glass
---
tools/binman/ftest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py
index 7ee43d87b25..3fb7416a567 100644
--- a/tools/binman/ftest.py
+++ b/too
This function is sometimes useful outside tests. Also it can affect how
terminal output is done, e.g. whether ANSI characters should be emitted
or not.
Move it out of the test_util package and into terminal.
Signed-off-by: Simon Glass
---
doc/develop/binman_tests.rst| 6 +-
tools/binman/
It is easier for tests if the top-level control logic is all in one
module. Create a new do_patman() function to handle this. Move the
existing code into it.
Signed-off-by: Simon Glass
---
tools/patman/__main__.py | 49 ++--
tools/patman/control.py | 54
This series moves patman to use asyncio instead of ThreadPoolExecutor
since it makes it easier to handle requests sent from different parts
of the code.
It also includes some updates to bring patman in line with the other
major Python tools (buildman and binman).
With this series, we have a bette
Recent versions of Python complain about the license being in the
classifiers part. Use a 'license' property instead.
Signed-off-by: Simon Glass
---
tools/binman/pyproject.toml | 2 +-
tools/buildman/pyproject.toml | 2 +-
tools/dtoc/pyproject.toml | 2 +-
tools/patman/pyproje
Recent distros complain about using 'pip install'. Adjust the script to
use 'apt get' instead where possible/required (e.g. with Ubuntu 24.04).
Signed-off-by: Simon Glass
---
scripts/make_pip.sh | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/scripts/make_pip.sh b/scri
On 29/04/2025 14:32, Mattijs Korpershoek wrote:
On mar., avril 29, 2025 at 11:45, Dmitrii Merkurev wrote:
Dmitrii, are you okay to re-licence this code under GPL v2 (which is
common licence for this project)
Yes, I'm ok with that.
Fantastic, thanks a lot for answering so quickly!
Thank
On mar., avril 29, 2025 at 11:45, Dmitrii Merkurev wrote:
>>
>> Dmitrii, are you okay to re-licence this code under GPL v2 (which is
>> common licence for this project)
>>
>
> Yes, I'm ok with that.
Fantastic, thanks a lot for answering so quickly!
On Mon, Apr 28, 2025 at 08:49:43AM -0600, Tom Rini wrote:
> On Mon, Apr 28, 2025 at 03:57:27AM +, Yao Zi wrote:
> > On Sun, Apr 27, 2025 at 10:16:27AM -0600, Tom Rini wrote:
> > > On Sun, Apr 27, 2025 at 03:46:56PM +, Yao Zi wrote:
> > > > On Sun, Apr 27, 2025 at 05:19:04PM +0200, Heinrich
Hi Daniel,
Thank you for the patch.
On mar., avril 29, 2025 at 05:08, Daniel Schultz wrote:
> This config was defined with the default value of 8 MiB. However,
> the default value is different when CONFIG_ARM64 is enabled and
> should be 64 MiB.
>
> Remove this config from the A53 defconfig and
Tom Rini 於 2025年4月29日 週二 上午1:24寫道:
>
> On Mon, Apr 28, 2025 at 02:07:57PM +0800, Aristo Chen wrote:
>
> > Currently, when decompressing a gzip-compressed image during bootm, a
> > generic error such as "inflate() returned -5" is shown when the buffer is
> > too small. However, it is not immediatel
From: Tingting Meng
A redundant comparison (jtag_usercode >= 0) was removed from the
condition checking jtag_usercode. Since jtag_usercode is an unsigned
integer, the check for non-negativity was always true. The code was
simplified to resolve the Coverity warning.
Signed-off-by: Tingting Meng
From: Tingting Meng
Sub-device information is retrieved from the JTAG ID in Boot Scratch
Cold 4 Register. This interface is introduced to allow device-specific
errata workarounds to be applied in the future, based on the detected
sub-device type.
Signed-off-by: Tingting Meng
---
arch/arm/mach-
On 4/28/25 18:10, Tom Rini wrote:
On Mon, Apr 28, 2025 at 07:49:04AM -0700, Daniel Schultz wrote:
Add fit_addr_r to the environment to allow us to boot from a FIT image.
Increase the maximum Image size from 23 MB to 26 MB by moving the
initramfs start address up. This gives us a bigger range
This config was defined with the default value of 8 MiB. However,
the default value is different when CONFIG_ARM64 is enabled and
should be 64 MiB.
Remove this config from the A53 defconfig and use the correct
default config.
Signed-off-by: Daniel Schultz
---
configs/phycore_am62x_a53_defconfig
Hi Tom,
On 4/28/25 23:59, Tom Rini wrote:
> Hey all,
>
> Here's the latest set of Coverity defects. Please let me know if some of
> these are false positives for example, thanks.
>
> -- Forwarded message -
> From:
> Date: Mon, Apr 28, 2025 at 3:52 PM
> Subject: New Defects repor
Job IDs are positive integers greater than 1. 0 is not a valid job ID,
therefore fix the comparison in do_wait().
Fixes Coverity defects:
*** CID 550296: Control flow issues (NO_EFFECT)
/cmd/spawn.c: 172 in do_wait()
166 for (i = 0; i < CONFIG_CMD_SPAWN_NUM_JOBS; i++)
167
On 4/29/25 04:04, Weijie Gao wrote:
> CONFIG_SYS_NONCACHED_MEMORY is defined as hex, not bool. It should be
> replaced with CONFIG_SYS_HAS_NONCACHED_MEMORY when switched from #ifdef to
> CONFIG_IS_ENABLED().
>
> Fixes: 6c171f7a184 (common: board: make initcalls static)
> Signed-off-by: Weijie G
On Mon, Apr 28, 2025 at 04:22:47PM +0200, Casey Connolly wrote:
>
>
> On 4/10/25 14:02, Varadarajan Narayanan wrote:
> > Add SYSRESET_EDL to sysreset_t and handle the different SYSRESET_xxx
> > requests in sysreset_qcom-psci.c.
>
> To be honest, I'm not really excited about this. Copying the entire
On 13:19-20250429, Udit Kumar wrote:
> On K3 devices two drivers ti_sci and ti_sci_dm are supporting firmware
> functions. At run time one of driver is used.
>
> Driver ti_sci already initializing head for dev_list in its probe
> function, but it was missed in ti_sci_dm driver.
&
Hi Simon,
this solves my problem, thanks!
Since SMBIOS is broken again in v2025.07-rc1 (and disabling bloblist
doesn't work anymore), I applied this patch and it worked.
I probably should have tried this sooner.
Greetings,
Niklas
Simon Glass wrote:
The EFI-loader code has not been fully con
Hi Udit
On 4/29/2025 1:19 PM, Udit Kumar wrote:
> On K3 devices two drivers ti_sci and ti_sci_dm are supporting firmware
> functions. At run time one of driver is used.
>
> Driver ti_sci already initializing head for dev_list in its probe
> function, but it was missed in ti_sci_dm driver.
>
> So
1 - 100 of 112 matches
Mail list logo