Re: [PATCH v6 0/6] Introduce UBI block device

2024-07-17 Thread Michael Nazzareno Trimarchi
Hi Alexey On Thu, Jul 18, 2024 at 7:45 AM Alexey Romanov wrote: > > Hello! > > This series adds support for the UBI block device, which > allows to read/write data block by block. For example, > it can now be used for BCB or Android AB command: > > $ bcb load ubi 0 part_name > > Tested only on

[PATCH v2 2/2] doc: spacemit: bananapi_f3: document Banana Pi F3 board

2024-07-17 Thread Kongyang Liu
Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC. Signed-off-by: Kongyang Liu --- (no changes since v1) doc/board/index.rst| 1 + doc/board/spacemit/bananapi_f3.rst | 78 ++ doc/board/spacemit/index.rst | 8 +++ 3 files ch

[PATCH v2 1/2] riscv: spacemit: bananapi_f3: initial support added

2024-07-17 Thread Kongyang Liu
Add basic support for SpacemiT's Banana Pi F3 board Signed-off-by: Kongyang Liu --- Changes in v2: - Change license to GPL-2.0-or-later - Add memory node for dts - Add ft_board_setup function for kernel memory init - Use default prompt arch/riscv/Kconfig | 5 + arch/risc

[PATCH v2 0/2] riscv: spacemit: bananapi_f3: add support for Banana Pi F3 board

2024-07-17 Thread Kongyang Liu
Banana Pi F3 board is a industrial grade RISC-V development board, it design with SpacemiT K1 8 core RISC-V chip, CPU integrates 2.0 TOPs AI computing power. 4G DDR and 16G eMMC onboard.2x GbE Ethernet prot, 4x USB 3.0 and PCIe for M.2 interface, support HDMI and Dual MIPI-CSI Camera. This patch i

Pull request: u-boot-rockchip-20240614

2024-07-17 Thread Kever Yang
Hi Tom, Please pull the fixex for rockchip platform: - pmic fix for rk8xx; - pinctrl fix for rk3188/rv1126/rk3588; - mkimage fix for rockcihp "-l" option; CI: https://source.denx.de/u-boot/custodians/u-boot-rockchip/-/pipelines/2 Thanks, - Kever The following changes since commit ca6a992e09

Re: [PATCH 1/3] riscv: qemu: Enable booting from NVMe

2024-07-17 Thread Eva Kurchatova
>From e6087bb6d1f25e8a5fddd4255fc07a957312b406 Mon Sep 17 00:00:00 2001 From: LekKit <50500857+lek...@users.noreply.github.com> Date: Wed, 17 Jul 2024 20:41:41 +0300 Subject: [PATCH 3/3] riscv: qemu: Explicitly advertise RVVM support This patch series enables full RVVM virtual machine support whic

Re: [PATCH 1/3] riscv: qemu: Enable booting from NVMe

2024-07-17 Thread Eva Kurchatova
>From 2f016333edcf18f520970c5ef02fcaa8d2b1b8f0 Mon Sep 17 00:00:00 2001 From: LekKit <50500857+lek...@users.noreply.github.com> Date: Wed, 17 Jul 2024 20:39:09 +0300 Subject: [PATCH 2/3] riscv: qemu: Enable EFI framebuffer Enable framebuffer for better virtual machine integration. Some guests need

[PATCH 1/3] riscv: qemu: Enable booting from NVMe

2024-07-17 Thread Eva Kurchatova
>From da876ced5ff607a4f21e30ab26fb1a972af56570 Mon Sep 17 00:00:00 2001 From: LekKit <50500857+lek...@users.noreply.github.com> Date: Wed, 17 Jul 2024 20:31:21 +0300 Subject: [PATCH 1/3] riscv: qemu: Enable booting from NVMe QEMU supports NVMe devices, but U-Boot only tries to boot from Virtio. Th

Re: [PATCH V5 0/6] Low Power Mode: Package TIFS Stub in BeaglePlay

2024-07-17 Thread Nishanth Menon
On 22:18-20240705, Dhruva Gole wrote: > This series includes the binman related changes required to package TIFS > Stub to support Low Power Modes on BeaglePlay. > It also documents the boot flow and tispl packaging details regarding > the same. > > Changelog: > * Add more documentation around las

Re: [PATCH V5 4/6] doc: ti: k3: Add TIFS Stub documentation

2024-07-17 Thread Nishanth Menon
On 22:18-20240705, Dhruva Gole wrote: > Add documentation to briefly explain the role of TIFS Stub in relevant > K3 SoC's. > This also sheds light on why TIFS Stub isn't package with the DM firmware > itself. > > Signed-off-by: Dhruva Gole > --- > doc/board/ti/k3.rst | 11 +++ > 1 file c

Re: [PATCH] board: rpi: Update memory layout for Aarch64

2024-07-17 Thread Walter Lozano
On 7/17/24 12:44, Tom Rini wrote: On Wed, Jul 17, 2024 at 11:59:50AM +0100, Peter Robinson wrote: On Tue, 16 Jul 2024 at 18:21, Tom Rini wrote: On Tue, Jul 16, 2024 at 02:16:02PM -0300, Walter Lozano wrote: ARM and Aarch64 have different restrictions and trying to accommodate larger kern

Re: [PATCH v2 1/5] usb: tcpm: add core framework

2024-07-17 Thread Tim Harvey
On Tue, Jul 16, 2024 at 7:00 PM Tim Harvey wrote: > > On Fri, Jul 12, 2024 at 5:23 PM Tim Harvey wrote: > > > > On Tue, Jun 4, 2024 at 9:36 AM Sebastian Reichel > > wrote: > > > > > > This adds TCPM framework in preparation for fusb302 support, which can > > > handle USB power delivery messages.

Re: [PATCH] b4-config: configure `b4` for U-Boot

2024-07-17 Thread Tom Rini
On Thu, Jul 18, 2024 at 12:44:03AM +0800, Jiaxun Yang wrote: > > > 在2024年7月17日七月 下午11:26,Quentin Schulz写道: > > Hi Juaxun, > > > > On 7/17/24 5:12 PM, Jiaxun Yang wrote: > >> `b4` is a commandline tool to make patch-based development easier[1] > >> > >> Provide a .b4-config file to match U-Boot's

Re: [PATCH 1/4] lib: sha256: add feature sha256_hmac

2024-07-17 Thread Tom Rini
On Wed, Jul 17, 2024 at 07:08:27PM +0200, Philippe REYNES wrote: > Hi Peter, > > Le 16/07/2024 à 18:56, Peter Robinson a écrit : > > This Mail comes from Outside of SoftAtHome: Do not answer, click links or > > open attachments unless you recognize the sender and know the content is > > safe. >

Re: [PATCH] sunxi: dts: arm/arm64: update devicetree files from Linux-v6.10

2024-07-17 Thread Tom Rini
On Wed, Jul 17, 2024 at 03:34:15PM +0100, Andre Przywara wrote: > Sync the devicetree files from the official Linux kernel tree, v6.10. > This is covering Allwinner SoCs with 32-bit and 64-bit ARM cores. > > Besides mostly cosmectic changes, this adds cpufreq support to H616 > boards, Nothing tha

[PATCH 1/1] test/py/requirements.txt: Bump setuptools to 70.3.0

2024-07-17 Thread Tom Rini
There is some potential security issue resolved by upgrading to v70.0.0 here and the latest is now v70.3.0. Reported-by: GitHub dependabot Suggested-by: Sebastian Kropatsch Signed-off-by: Tom Rini --- test/py/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t

Re: [PATCH 1/4] lib: sha256: add feature sha256_hmac

2024-07-17 Thread Philippe REYNES
Hi Peter, Le 16/07/2024 à 18:56, Peter Robinson a écrit : This Mail comes from Outside of SoftAtHome: Do not answer, click links or open attachments unless you recognize the sender and know the content is safe. Hi Philippe, It might be useful to have a cover letter explaining what the plans f

Re: [PATCH] b4-config: configure `b4` for U-Boot

2024-07-17 Thread Jiaxun Yang
在2024年7月17日七月 下午11:26,Quentin Schulz写道: > Hi Juaxun, > > On 7/17/24 5:12 PM, Jiaxun Yang wrote: >> `b4` is a commandline tool to make patch-based development easier[1] >> >> Provide a .b4-config file to match U-Boot's patch preference so it will >> be easier for people to use b4 with U-Boot dev

Re: [PATCH] cmd: move CMD_DHCP6 options beneath CMD_DHCP6

2024-07-17 Thread Mattijs Korpershoek
Hi Heinrich, Thank you for the patch. On mer., juil. 17, 2024 at 16:54, Heinrich Schuchardt wrote: > All Kconfig options that depend on CONFIG_CMD_DHCP6 should immediately > follow it. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Mattijs Korpershoek > --- > cmd/Kconfig | 34 +++

[PATCH 24/24] qconfig: Allow searching for CONFIG values

2024-07-17 Thread Simon Glass
Add basic support for searching for matching of non-matching values. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/20 --- doc/develop/qconfig.rst | 14 ++ tools/qconfig.py| 16 2 files changed, 26 insertions(+

[PATCH 23/24] qconfig: Move operation check into parse_args()

2024-07-17 Thread Simon Glass
Put the check for an operation being provided into the parse_args() function, to reduce the size of main(). Signed-off-by: Simon Glass --- tools/qconfig.py | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index dd24e4b398b..40

[PATCH 22/24] qconfig: Drop col argument from Slots()

2024-07-17 Thread Simon Glass
This is not needed since the progress indicator has the object. Use that instead. Signed-off-by: Simon Glass --- tools/qconfig.py | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index c4171cf9076..dd24e4b398b 100755 --- a/t

[PATCH 21/24] qconfig: Use the Color object in Progress

2024-07-17 Thread Simon Glass
Since the Progress class has the required object, use it from there instead of passing it around. Signed-off-by: Simon Glass --- tools/qconfig.py | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index ec59ef4ec71..c4

[PATCH 20/24] qconfig: Move the last two operations into their own functions

2024-07-17 Thread Simon Glass
Put the summary and database-writing code into separate functions to reduce the size of main(). Signed-off-by: Simon Glass --- tools/qconfig.py | 66 ++-- 1 file changed, 47 insertions(+), 19 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig

[PATCH 19/24] qconfig: Move progress output into the class

2024-07-17 Thread Simon Glass
Rather than create these outputs separately, put them in the class so that the main program doesn't need to deal with them. Signed-off-by: Simon Glass --- tools/qconfig.py | 28 +++- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/tools/qconfig.py b/tools/

[PATCH 18/24] qconfig: Move commit code into a separate function

2024-07-17 Thread Simon Glass
Reduce the size of main() by putting this code into its own function. Signed-off-by: Simon Glass --- tools/qconfig.py | 31 --- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index 74d7d1bd175..dc5b7691064 100755 -

[PATCH 17/24] qconfig: Move all move_config code into move_config()

2024-07-17 Thread Simon Glass
Move the setup and completion code into the move_config() function so it is all in one place. Signed-off-by: Simon Glass --- tools/qconfig.py | 45 + 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py i

[PATCH 16/24] qconfig: Add a return value to do_find_config()

2024-07-17 Thread Simon Glass
Return an exit code so we can use this function like do_tests(). Refactor the caller to handle this. Reduce the size of main() by putting this code into its own function. Signed-off-by: Simon Glass --- tools/qconfig.py | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) d

[PATCH 15/24] qconfig: Move imply into a separate function

2024-07-17 Thread Simon Glass
Reduce the size of main() by putting this code into its own function, with the usage message staying in main(). Tidy up the comments for do_imply_config() while we are here. Signed-off-by: Simon Glass --- tools/qconfig.py | 66 1 file changed, 3

[PATCH 14/24] qconfig: Add a return value to do_scan_source()

2024-07-17 Thread Simon Glass
Return an exit code so we can use this function like do_tests(). Refactor the caller to handle this. Reduce the size of main() by putting this code into its own function. Signed-off-by: Simon Glass --- tools/qconfig.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/to

[PATCH 13/24] qconfig: Move testing into a separate function

2024-07-17 Thread Simon Glass
Reduce the size of main() by putting this code into its own function. Signed-off-by: Simon Glass --- tools/qconfig.py | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index a33fb2aa22b..0bdabccba07 100755 --- a/tools/qconf

[PATCH 12/24] qconfig: Move converting config args to the top

2024-07-17 Thread Simon Glass
Move this check to the top, so it happens always. There is no harm to doing this earlier and it separates the setup from actual program logic. Update the arg rather than adding a new variable, with the new variable only created when moving or building, since it is used more heavily. Signed-off-by

[PATCH 11/24] qconfig: Move checking directory to the top

2024-07-17 Thread Simon Glass
Move this check to the top, so it happens always. The tool should be run from the U-Boot source directory. Signed-off-by: Simon Glass --- tools/qconfig.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index 5d6e468d1d8..832e524c25c

[PATCH 10/24] qconfig: Move getting the colour to where it is needed

2024-07-17 Thread Simon Glass
Move this assignment down to just above where it is needed. Signed-off-by: Simon Glass --- tools/qconfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index 9052aedf57d..5d6e468d1d8 100755 --- a/tools/qconfig.py +++ b/tools/qcon

[PATCH 09/24] qconfig: Move arg checking to the top of main()

2024-07-17 Thread Simon Glass
Check for 'test' as one of the possible operations for this tool, moving the check above the implementation. Signed-off-by: Simon Glass --- tools/qconfig.py | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index 6d263ce30db..9052ae

[PATCH 08/24] qconfig: Move arg checking a little higher

2024-07-17 Thread Simon Glass
Check for scan_source as one of the possible operations for this tool, moving the check above the scan_source implementation. Signed-off-by: Simon Glass --- tools/qconfig.py | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index d8

[PATCH 07/24] qconfig: Move arg parsing into a separate function

2024-07-17 Thread Simon Glass
Reduce the size of main() by putting this code into its own function. For now the parser object needs to be returned too. Signed-off-by: Simon Glass --- tools/qconfig.py | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py ind

[PATCH 06/24] qconfig: Rename the doc link

2024-07-17 Thread Simon Glass
This was missed during the renaming of the tool. Fix it. Signed-off-by: Simon Glass Fixes: ea4d6dead37 ("moveconfig: Rename the tool to qconfig") --- tools/qconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index 8a2384d895b..07d78

[PATCH 02/24] qconfig: Drop the try_expand() function

2024-07-17 Thread Simon Glass
This is not used anymore, so drop it. Signed-off-by: Simon Glass --- tools/qconfig.py | 21 - 1 file changed, 21 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index 2492b37444a..7d3989c7c3e 100755 --- a/tools/qconfig.py +++ b/tools/qconfig.py @@ -29,7 +29,6

[PATCH 04/24] qconfig: Tidy up some pylint warnings

2024-07-17 Thread Simon Glass
Reduce the number of warnings in this file a little bit. Add my own name to the copyright message. Signed-off-by: Simon Glass --- tools/qconfig.py | 33 ++--- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index a

[PATCH 05/24] qconfig: Correct format string in do_imply_config()

2024-07-17 Thread Simon Glass
One of the strings was converted incorrectly. Fix it. Signed-off-by: Simon Glass Fixes: 1bd43060b3e ("moveconfig: Use f strings where possible") --- tools/qconfig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index 4f1ad2703c7..8a

[PATCH 03/24] qconfig: Make KconfigScanner a function

2024-07-17 Thread Simon Glass
This doesn't have any methods so is not good as a class. Make it a function instead, to keep pylint happy. Signed-off-by: Simon Glass --- tools/qconfig.py | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index 7d

[PATCH 01/24] qconfig: Fix pylint error in read_database()

2024-07-17 Thread Simon Glass
Fix this error by initing the variable before the loop: tools/qconfig.py:880:22: E0606: Possibly using variable 'defconfig' before assignment (possibly-used-before-assignment) Signed-off-by: Simon Glass --- tools/qconfig.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/qconfig.p

[PATCH 00/24] qconfig: Tidy up main() and add a small feature

2024-07-17 Thread Simon Glass
This series improves the code a little by reducing the size of the main() function. It also allows searching for CONFIG values. Simon Glass (24): qconfig: Fix pylint error in read_database() qconfig: Drop the try_expand() function qconfig: Make KconfigScanner a function qconfig: Tidy up s

Re: [PATCH] board: rpi: Update memory layout for Aarch64

2024-07-17 Thread Tom Rini
On Wed, Jul 17, 2024 at 11:59:50AM +0100, Peter Robinson wrote: > On Tue, 16 Jul 2024 at 18:21, Tom Rini wrote: > > > > On Tue, Jul 16, 2024 at 02:16:02PM -0300, Walter Lozano wrote: > > > > > ARM and Aarch64 have different restrictions and trying to accommodate > > > larger kernels like the ones

Re: [PATCH] b4-config: configure `b4` for U-Boot

2024-07-17 Thread Quentin Schulz
Hi Juaxun, On 7/17/24 5:12 PM, Jiaxun Yang wrote: `b4` is a commandline tool to make patch-based development easier[1] Provide a .b4-config file to match U-Boot's patch preference so it will be easier for people to use b4 with U-Boot development. I've been using b4 with the default settings

[PATCH] b4-config: configure `b4` for U-Boot

2024-07-17 Thread Jiaxun Yang
://b4.docs.kernel.org/en/latest/config.html + +[b4] +send-series-to = u-boot@lists.denx.de +send-auto-to-cmd = echo "" +send-auto-cc-cmd = scripts/get_maintainer.pl --- base-commit: 902d8ee94ce29a088a325da6e69eeb1a25f1fec7 change-id: 20240717-b4-config-a717ba519064 Best rega

[PATCH] cmd: move CMD_DHCP6 options beneath CMD_DHCP6

2024-07-17 Thread Heinrich Schuchardt
All Kconfig options that depend on CONFIG_CMD_DHCP6 should immediately follow it. Signed-off-by: Heinrich Schuchardt --- cmd/Kconfig | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index 0cf0d8ad8ab..323e473cd64 1

Re: [PATCH 0/6] video: pixel format handling fixes and improvements

2024-07-17 Thread Jiaxun Yang
在2024年5月17日五月 上午6:16,Jiaxun Yang写道: > Hi all, > > This series fixes endian related problem I found in general > video system when testing my fresh virtio-gpu driver on big > endian target. > > It also removed a lot of duplicated code on pixel handling, > and make implementation of new pixel form

[PATCH] sunxi: dts: arm/arm64: update devicetree files from Linux-v6.10

2024-07-17 Thread Andre Przywara
Sync the devicetree files from the official Linux kernel tree, v6.10. This is covering Allwinner SoCs with 32-bit and 64-bit ARM cores. Besides mostly cosmectic changes, this adds cpufreq support to H616 boards, Nothing that U-Boot needs for itself, but helpful to pass on to kernels. We also get t

Re: [PATCH v2 1/2] virtio: New virtio_gpu driver

2024-07-17 Thread Jiaxun Yang
在2024年5月24日五月 下午9:02,Jiaxun Yang写道: > This driver is implemened based on latest VirtIO spec. > It follows operation prodcure as defined in the spec. > > It implemented multihead (mirroring) support as well. > > Signed-off-by: Jiaxun Yang Ping > --- > v2: > - Add big endian code path >

Re: [PATCH v3 00/12] MIPS: Boston: Various enhancements

2024-07-17 Thread Jiaxun Yang
在2024年5月18日五月 上午2:14,Jiaxun Yang写道: > Hi all, > > This is a huge series which promoted MIPS/Boston target into a > usable state, with fixes to drivers and general framework issues > I found in this process. > > I also converted the target to OF_UPSTREAM. > > This target is covered by QEMU, to te

[PATCH NFC 18/18] Use Jiaxun's CI Image

2024-07-17 Thread Jiaxun Yang
Use Jiaxun's CI Image for demonstration. NOT FOR COMMIT! Signed-off-by: Jiaxun Yang --- .azure-pipelines.yml| 4 ++-- .gitlab-ci.yml | 4 ++-- tools/docker/Dockerfile | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.

[PATCH 17/18] CI: Dockerfile: Add LoongArch64 support

2024-07-17 Thread Jiaxun Yang
Install LoongArch64 toolchains, build LoongArch64 QEMU, build LoongArch64 GRUB. Signed-off-by: Jiaxun Yang --- tools/docker/Dockerfile | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 5ff1ac449e1f..35

[PATCH 16/18] CI: Dockerfile: Bump coreboot to 24.05

2024-07-17 Thread Jiaxun Yang
Signed-off-by: Jiaxun Yang --- tools/docker/Dockerfile | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index f45283d72441..5ff1ac449e1f 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -243,15 +243,

[PATCH 15/18] CI: Dockerfile: Use kernel.org upstream for trace-cmd

2024-07-17 Thread Jiaxun Yang
This is project's upstream URL. Signed-off-by: Jiaxun Yang --- tools/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index cc6e9dc4812d..f45283d72441 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Do

[PATCH 14/18] CI: Dockerfile: Bump genimage to 17

2024-07-17 Thread Jiaxun Yang
Signed-off-by: Jiaxun Yang --- tools/docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 91256f0248e4..cc6e9dc4812d 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -200,12 +200,12

[PATCH 13/18] CI: Dockerfile: Bump fiptool to 2.10.4

2024-07-17 Thread Jiaxun Yang
Signed-off-by: Jiaxun Yang --- tools/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 8e242d08297a..91256f0248e4 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -192,7 +192,7 @@ RUN

[PATCH 12/18] CI: Dockerfile: Bump QEMU to 9.0.1

2024-07-17 Thread Jiaxun Yang
Previous patches had been applied in 9.0.1 so remove cherry-picks as well. Signed-off-by: Jiaxun Yang --- tools/docker/Dockerfile | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 8e144a2b64e9..8e242d08297a 100644 ---

[PATCH 11/18] CI: Dockerfile: Bump GRUB to 2.12

2024-07-17 Thread Jiaxun Yang
Signed-off-by: Jiaxun Yang --- tools/docker/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 0bf2d180e255..8e144a2b64e9 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -136,9 +136,7 @@ R

[PATCH 10/18] CI: Dockerfile: Bump base OS version

2024-07-17 Thread Jiaxun Yang
Bump base os to latest jammy release and install more required dependencies. Signed-off-by: Jiaxun Yang --- tools/docker/Dockerfile | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 5824d371f259..0bf2d180e255 100644

[PATCH 09/18] CI: Dockerfile: Set global git name & email config

2024-07-17 Thread Jiaxun Yang
Set global git name & email config so we don't have to setup it for every project. Signed-off-by: Jiaxun Yang --- tools/docker/Dockerfile | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index cda87354566d..5824d371f25

[PATCH 08/18] CI: Ensure pip install is always performed in venv

2024-07-17 Thread Jiaxun Yang
Since Ubuntu focal it's nolonger permitted to perform global pip install. Ensure that pip install is always performed in venv. For buildman alone, all dependencies are already in docker so there is no need to perform pip install. Signed-off-by: Jiaxun Yang --- .azure-pipelines.yml | 16

[PATCH 07/18] lib/charset & efi: Fix possible unaligned accesses

2024-07-17 Thread Jiaxun Yang
As per armv7 arch spec, for A-profile CPU if translation is disabled, then the default memory type is Device(-nGnRnE) instead of Normal, which requires that alignment be enforced. This means in some cases we can't perform unaligned access even after allow_unaligned is called. We do have many plat

[PATCH 06/18] tests/test_event_dump: Relax match rule for output

2024-07-17 Thread Jiaxun Yang
event_dump.py relies on addr2line to obtain source location information, however newer addr2line is unable to determine line numbers for some functions. With addr2line from binutils 2.34 we got: Event typeId Source location --

[PATCH 05/18] binman: Workaround lz4 cli padding in test cases

2024-07-17 Thread Jiaxun Yang
Newer lz4 util is not happy with any padding at end of file, it would abort with error message like: Stream followed by undecodable data at position 43. Workaround by skipping testCompUtilPadding test case and manually strip padding in testCompressSectionSize test case. Signed-off-by: Jiaxun Yan

[PATCH 04/18] py: Bump pylint version and clear warnings

2024-07-17 Thread Jiaxun Yang
Bump pylint to 3.2.3 as old versions are not working with python 3.12. Clear warnings, mostly E0606: (possibly-used-before-assignment). Signed-off-by: Jiaxun Yang --- .azure-pipelines.yml | 2 +- .gitlab-ci.yml| 2 +- doc/develop/python_cq.rst

[PATCH 03/18] doc/sphinx: Remove usage of six

2024-07-17 Thread Jiaxun Yang
We don't support python2 any more so there is no point to use six here. Signed-off-by: Jiaxun Yang --- doc/sphinx/kfigure.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/sphinx/kfigure.py b/doc/sphinx/kfigure.py index dea7f91ef5ab..9467e8d52ac0 100644 --- a/doc/sphin

[PATCH 02/18] py: Replace distutils.core with setuptools

2024-07-17 Thread Jiaxun Yang
distutils is deprecated long ago and being removed in python 3.12. Signed-off-by: Jiaxun Yang --- tools/binman/setup.py | 2 +- tools/buildman/requirements.txt | 1 + tools/dtoc/setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/binman/set

[PATCH 01/18] binman: Replace pkg_resources with importlib.resources

2024-07-17 Thread Jiaxun Yang
pkg_resources is deprecated long ago and being removed in python 3.12. Reimplement functions with importlib.resources. Link: https://docs.python.org/3/library/importlib.resources.html Signed-off-by: Jiaxun Yang --- tools/binman/control.py | 18 +- 1 file changed, 9 insertions(+)

[PATCH 00/18] New CI image and fixes

2024-07-17 Thread Jiaxun Yang
Hi all, This series build a new CI image based on Ubuntu focal with LoongArch64 support, fixed various python scripts for python 3.12, fixed various problems popped up when testing againt latest software. Last two commits are for demonstration purpose and not for commit into repo. CI runs passed

Re: [PATCH] configs: j784s4_evm : Increase Dynamic memory allocation size

2024-07-17 Thread Francesco Dolcini
On Wed, Jul 17, 2024 at 09:09:13AM -0500, Nishanth Menon wrote: > On 09:40-20240717, Kumar, Udit wrote: > > On 7/17/2024 1:35 AM, Francesco Dolcini wrote: > > > On Mon, Jul 15, 2024 at 11:13:01PM +0530, Udit Kumar wrote: > > > > Increase malloc size to 32 MB to alig

Re: [PATCH v4 09/10] tools: mkeficapsule: support generating dynamic GUIDs

2024-07-17 Thread Vincent Stehlé
On Tue, Jul 02, 2024 at 03:30:49PM +0200, Caleb Connolly wrote: Hi Caleb, Thanks for re-spinning this series; it looks very good. My comments below. Best regards, Vincent. > Add a tool that can generate GUIDs that match those generated internally > by U-Boot for capsule update fw_images. Nit p

Re: [PATCH] configs: j784s4_evm : Increase Dynamic memory allocation size

2024-07-17 Thread Nishanth Menon
On 09:33-20240717, Francesco Dolcini wrote: > Hello, > > On Wed, Jul 17, 2024 at 09:40:11AM +0530, Kumar, Udit wrote: > > On 7/17/2024 1:35 AM, Francesco Dolcini wrote: > > > On Mon, Jul 15, 2024 at 11:13:01PM +0530, Udit Kumar wrote: > > > > Increase malloc

Re: [PATCH] configs: j784s4_evm : Increase Dynamic memory allocation size

2024-07-17 Thread Nishanth Menon
On 09:40-20240717, Kumar, Udit wrote: > Hi Francesco > > On 7/17/2024 1:35 AM, Francesco Dolcini wrote: > > Hello, > > > > On Mon, Jul 15, 2024 at 11:13:01PM +0530, Udit Kumar wrote: > > > Increase malloc size to 32 MB to align with other J7 > > &g

Re: [PATCH] test/py/requirements.txt: Bump setuptools to 70.0.0

2024-07-17 Thread Sebastian Kropatsch
Hi Tom, Am 15.07.2024 um 20:45 schrieb Tom Rini: There is some potential security issue resolved by upgrading to the latest here. Reported-by: GitHub dependabot Signed-off-by: Tom Rini --- test/py/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/r

[PATCH v3 5/5] net: dwc_eth_qos: Add glue driver for Intel MAC

2024-07-17 Thread Philip Oberfichtner
Add dwc_eth_qos glue driver for the Intel Elkhart-Lake SOC. Signed-off-by: Philip Oberfichtner --- Notes: Changes in V3: - update linux reference to current stable - replace pr_err by dev_err - drop __prefix from local function names - use FIELD_PREP to simplify bitfield extr

[PATCH v3 4/5] net: dwc_eth_qos: Implement bind() for PCI devices

2024-07-17 Thread Philip Oberfichtner
PCI devices do not necessarily use a device tree. Implement a bind() function to assign unique device names in that case. Signed-off-by: Philip Oberfichtner --- drivers/net/dwc_eth_qos.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net

[PATCH v3 3/5] net: dwc_eth_qos: Adapt probe() for PCI devices

2024-07-17 Thread Philip Oberfichtner
PCI devices do not necessarily use a device tree. In that case, the driver currently fails to find eqos->config and eqos->regs. This commit factors out the respective functionality. Device tree usage remains default, but board specific implementations will be possible as well. Signed-off-by: Phil

[PATCH v3 2/5] net: dwc_eth_qos: Fix header to be self-contained

2024-07-17 Thread Philip Oberfichtner
Before this commit, usage of this header relied on a specific include order. Fix it by including all dependencies. Signed-off-by: Philip Oberfichtner Reviewed-by: Marek Vasut --- drivers/net/dwc_eth_qos.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/dwc_et

[PATCH v3 1/5] x86: provide mb() macro

2024-07-17 Thread Philip Oberfichtner
Implement a x86 memory barrier mb(). Furthermore, remove the previously used mfence() function, which does the same thing. The mb() macro is now equivalent to Linux (v6.9): linux/arch/x86/include/asm/barrier.h Signed-off-by: Philip Oberfichtner --- Notes: Changes in V3: - Remove mfe

[PATCH v3 0/5] net: dwc_eth_qos: Add glue driver for Intel MAC

2024-07-17 Thread Philip Oberfichtner
This patch series implements the dwc_eth_qos glue driver for Intel SOCs. Before doing that, a few general adaptions to the dwc_eth_qos.c main driver are required. Most notably, the preparation for PCI based driver instances, which do not necessarily use a device tree. This patch series depends on:

Re: Request for hosting a boot-firmware repository in u-boot git (denx and GitHub)

2024-07-17 Thread Nishanth Menon
On 15:36-20240716, Tom Rini wrote: [...] > > > > Distributing the closed source binaries and U-Boot in separate packages > > > > according to their respective licenses and only assemble them on the > > > > target > > > > device via a post-installation script might be allowable. > > > > > > For t

Re: [RESEND PATCH] soc: ti: k3-socinfo: Add support for J721E SR2.0

2024-07-17 Thread Nishanth Menon
On 16:45-20240715, Neha Malcom Francis wrote: > Add support for identifying J721E SR2.0 > > Signed-off-by: Neha Malcom Francis > --- > Resending as it was not sent to the mailing-list earlier, sorry for the > spam. > > Boot logs: > https://gist.github.com/nehamalcom/e5c3884961c3eb70464321aa4bfbc

Re: [EXTERNAL] Re: [PATCH 1/6] sound: ti: Add sound support for am625 board in Uboot

2024-07-17 Thread Nishanth Menon
On 16:56-20240709, Scaria Kochidanadu wrote: > I wanted to reuse the sound card DT node in the upstream kernel > device-tree. The U-boot upstrem repo does not have the node as it is > using an older version of DT. Please DONOT do this. migrate to OF_UPSTREAM is it is not done (and as I recollect I

Re: [PATCH] board: rpi: Update memory layout for Aarch64

2024-07-17 Thread Peter Robinson
On Tue, 16 Jul 2024 at 18:21, Tom Rini wrote: > > On Tue, Jul 16, 2024 at 02:16:02PM -0300, Walter Lozano wrote: > > > ARM and Aarch64 have different restrictions and trying to accommodate > > larger kernels like the ones used in distros can be challenging. For this > > reason, separate the layout

Re: [PATCH 1/5] arm: Remove omap4_panda board

2024-07-17 Thread Simon Glass
Hi Tom, On Mon, 15 Jul 2024 at 20:36, Tom Rini wrote: > > This board has not been converted to CONFIG_DM_I2C by the deadline. > Remove it. > > Signed-off-by: Tom Rini > --- > arch/arm/dts/Makefile| 4 - > arch/arm/dts/omap4-panda-common.dtsi | 573 --- >

Re: [PATCH 4/4] squashfs: Fix stack overflow while symlink resolving

2024-07-17 Thread Richard Weinberger
Am Mittwoch, 17. Juli 2024, 10:26:29 CEST schrieb Miquel Raynal: > > Since U-Boot lacks a common filesystem code, there will be always > > duplication. I can happily add a common define for the value. > > Oh yeah, I meant a define in squashfs' code. Ah! I thought I did so, but seems like I did th

Re: [PATCH v2 1/1] boot: provide CONFIG_BOOTMETH_QFW Kconfig parameter

2024-07-17 Thread Simon Glass
On Tue, 16 Jul 2024 at 09:35, Heinrich Schuchardt wrote: > > U-Boot is often used conjunction with QEMU to boot via EFI or syslinux. > Here the QFW boot method is not needed. > > At least for qemu-riscv64_smode_defconfig the kernel parameter is used > to specify the U-Boot binary. Trying to run U-

[PATCH v3 14/14] doc: Describe the bootstd settings

2024-07-17 Thread Simon Glass
The bootstd node provides some configuration properties. Add these to the documentation. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Reviewed-by: Mattijs Korpershoek --- (no changes since v1) doc/develop/bootstd/overview.rst | 13 + 1 file changed, 13 insertions(+) di

[PATCH v3 13/14] boot: Correct indentation in efi bootmeth

2024-07-17 Thread Simon Glass
Fix a minor indentation / whitespace problem in a comment. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt Reviewed-by: Quentin Schulz Reviewed-by: Mattijs Korpershoek --- (no changes since v1) boot/bootmeth_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 12/14] doc: Add a link to VBE from the bootstd docs

2024-07-17 Thread Simon Glass
Link to this page to make it easier to find the VBE docs. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt Reviewed-by: Quentin Schulz Reviewed-by: Mattijs Korpershoek --- (no changes since v1) doc/develop/bootstd/overview.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v3 11/14] doc: Add a description for bootmeth_script

2024-07-17 Thread Simon Glass
Add documentation for the script bootmeth. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Reviewed-by: Mattijs Korpershoek --- Changes in v3: - Quote the list Changes in v2: - Adjustments from Heinrich's comments doc/develop/bootstd/index.rst| 1 + doc/develop/bootstd/overview.

[PATCH v3 10/14] bootstd: Correct handling of script from network

2024-07-17 Thread Simon Glass
When reading a script from a network, no block device is available. Update the implementation to support this correctly, avoiding setting environment variables which relate only to block devices. Signed-off-by: Simon Glass Reviewed-by: Mattijs Korpershoek --- (no changes since v1) boot/bootme

[PATCH v3 09/14] bootstd: Tidy up comments on the boothmeth drivers

2024-07-17 Thread Simon Glass
Fix a typo in the comment and add one to the EFI driver too. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt Reviewed-by: Quentin Schulz Reviewed-by: Mattijs Korpershoek --- (no changes since v1) boot/bootmeth_efi.c | 1 + boot/bootmeth_extlinux.c | 2 +- boot/bootmeth_scri

[PATCH v3 07/14] doc: Add a description for bootmeth_cros

2024-07-17 Thread Simon Glass
Add documentation for the cros bootmeth. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Reviewed-by: Mattijs Korpershoek --- Changes in v3: - Quote the %U Changes in v2: - Adjustments from Heinrich's comments doc/develop/bootstd/cros.rst | 33 do

[PATCH v3 08/14] doc: Add a description for bootmeth_sandbox

2024-07-17 Thread Simon Glass
Add documentation for the sandbox bootmeth. Fix up the compatible string to drop the 'extlinux' part, which is not relevant to this bootmeth. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Reviewed-by: Mattijs Korpershoek --- Changes in v3: - Fix EENOTSUPP typo and add quotes Changes

[PATCH v3 06/14] doc: Add a description for bootmeth_qfw

2024-07-17 Thread Simon Glass
Add documentation for the qfw bootmeth. Fix up the compatible string to drop the 'extlinux' part, which is not relevant to this bootmeth. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Reviewed-by: Mattijs Korpershoek --- Changes in v3: - Drop extra 'and' Changes in v2: - Adjustments

[PATCH v3 05/14] doc: Add a description for bootmeth_pxe

2024-07-17 Thread Simon Glass
Add documentation for the pxe bootmeth. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Reviewed-by: Mattijs Korpershoek --- Changes in v3: - Link to pxelinux from extlinux - Use quoting on function names Changes in v2: - Adjustments from Heinrich's comments doc/develop/bootstd/extli

[PATCH v3 04/14] doc: Add a description for bootmeth_extlinux

2024-07-17 Thread Simon Glass
Add documentation for the extlinux bootmeth. Signed-off-by: Simon Glass Reviewed-by: Quentin Schulz Reviewed-by: Mattijs Korpershoek --- Changes in v3: - Use quoting on list and function names Changes in v2: - Adjustments from Heinrich's comments doc/develop/bootstd/extlinux.rst | 28 ++

  1   2   >