Re: [PATCH 1/1] test: add unit test for u16_strnlen()

2022-12-17 Thread Ilias Apalodimas
On Sun, 18 Dec 2022 at 07:32, Heinrich Schuchardt wrote: > > Add the missing unit test. It can be executed with: > > ut unicode u16_strnlen > > Signed-off-by: Heinrich Schuchardt > --- > test/unicode_ut.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git

Re: [PATCH] doc: Fix eth_env_[gs]et_enetaddr() return value

2022-12-17 Thread Marek Vasut
On 12/18/22 07:37, Heinrich Schuchardt wrote: On 12/18/22 04:11, Marek Vasut wrote: Per env/common.c, eth_env_get_enetaddr() returns the same return values as is_valid_ethaddr(), i.e. true if valid, false otherwise. Per env/common.c, eth_env_set_enetaddr() may return -EEXIST is the ethaddr is

[PATCH v2] doc: Fix eth_env_[gs]et_enetaddr() return value

2022-12-17 Thread Marek Vasut
Per env/common.c, eth_env_get_enetaddr() returns the same return values as is_valid_ethaddr(), i.e. true if valid, false otherwise. Per env/common.c, eth_env_set_enetaddr() may return -EEXIST is the ethaddr is already set. Fix both. Signed-off-by: Marek Vasut --- Cc: Heinrich Schuchardt Cc:

Re: [PATCH] doc: Fix eth_env_[gs]et_enetaddr() return value

2022-12-17 Thread Heinrich Schuchardt
On 12/18/22 04:11, Marek Vasut wrote: Per env/common.c, eth_env_get_enetaddr() returns the same return values as is_valid_ethaddr(), i.e. true if valid, false otherwise. Per env/common.c, eth_env_set_enetaddr() may return -EEXIST is the ethaddr is already set. Fix both. Signed-off-by: Marek

[PATCH 1/2] efi_loader: fix efi_get_next_variable_name_mem()

2022-12-17 Thread Heinrich Schuchardt
The VariableNameSize parameter is in bytes but u16_strnlen() counts u16. Fix the parameter check for null termination. Signed-off-by: Heinrich Schuchardt --- include/efi_variable.h | 3 ++- lib/efi_loader/efi_var_mem.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff

[PATCH 2/2] efi_selftest: conformance test for GetNextVariableName

2022-12-17 Thread Heinrich Schuchardt
Test that GetNextVariableName() checks the parameters. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/efi_selftest_variables.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/lib/efi_selftest/efi_selftest_variables.c

[PATCH 0/2] efi_loader: fix efi_get_next_variable_name_mem()

2022-12-17 Thread Heinrich Schuchardt
The VariableNameSize parameter is in bytes but u16_strnlen() counts u16. Fix the parameter check for null termination. Provide unit test for parameter checks in GetNextVariableName @Ilias: Could you, please, run the unit test against the OP-TEE variable store (CONFIG_EFI_MM_COMM_TEE=y)..

[PATCH 1/1] test: add unit test for u16_strnlen()

2022-12-17 Thread Heinrich Schuchardt
Add the missing unit test. It can be executed with: ut unicode u16_strnlen Signed-off-by: Heinrich Schuchardt --- test/unicode_ut.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/test/unicode_ut.c b/test/unicode_ut.c index d104bd5997..3547aeffe7 100644 ---

[PATCH] ARM: dts: imx: Add support for Data Modul i.MX8M Plus eDM SBC

2022-12-17 Thread Marek Vasut
Add support for Data Modul i.MX8M Plus eDM SBC board. This is an evaluation board for various custom display units. Currently supported are serial console, ethernet, eMMC, SD, SPI NOR, USB. Signed-off-by: Marek Vasut --- Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic ---

[PATCH] doc: Fix eth_env_[gs]et_enetaddr() return value

2022-12-17 Thread Marek Vasut
Per env/common.c, eth_env_get_enetaddr() returns the same return values as is_valid_ethaddr(), i.e. true if valid, false otherwise. Per env/common.c, eth_env_set_enetaddr() may return -EEXIST is the ethaddr is already set. Fix both. Signed-off-by: Marek Vasut --- Cc: Heinrich Schuchardt Cc:

[PATCH 1/1] doc: correct heading level in printenv man-page

2022-12-17 Thread Heinrich Schuchardt
The 'Configuration' heading should be on level 2, not on level 1. Fixes: eaa268589e9c ("doc: man-page for the printenv command") Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/printenv.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage/cmd/printenv.rst

Re: [PATCH] usb: gadget: ether: split start/stop from init/halt

2022-12-17 Thread Marek Vasut
On 12/16/22 17:35, lu...@denx.de wrote: Hi Marek, Hi, [...] Should "[PATCH v2] net: eth-uclass: revalidate priv after stop() in eth_halt()" be dropped ? It seems this patch fully replaces it. That old patch only exists for in case there were showstopper issues with the new patch which I

Re: [PATCH] usb: gadget: ether: split start/stop from init/halt

2022-12-17 Thread Marek Vasut
On 12/12/22 16:29, Niel Fourie wrote: [...] +static int _usb_eth_start(struct ether_priv *priv) +{ + unsigned long ts; + unsigned long timeout = USB_CONNECT_TIMEOUT; + struct eth_dev *dev = >ethdev; + + if (!dev->gadget) + return -1; +

Re: [PATCH v2] net: eth-uclass: revalidate priv after stop() in eth_halt()

2022-12-17 Thread Marek Vasut
On 12/12/22 16:29, Niel Fourie wrote: In eth_halt(), reread and revalidate priv after calling stop(), as it may have been freed, leaving a dangling pointer. In the ethernet gadget implementation, the gadget device gets probed during start() and removed during stop(), which includes freeing

[PATCH v2] doc: add texinfodocs and infodocs targets

2022-12-17 Thread Maxim Cournoyer
Sphinx supports generating Texinfo sources and Info documentation, which can be navigated easily and is convenient to search (via the indexed nodes or anchors, for example). This is basically the same as 1f050e904dd6f2955eecbd22031d912ccb2e7683, which was recently applied to the Linux kernel.

Re: [PATCH] lds: align u-boot-nodtb with 8 bytes boundary

2022-12-17 Thread Pali Rohár
On Saturday 17 December 2022 23:54:40 Pali Rohár wrote: > On Saturday 17 December 2022 23:04:08 Pali Rohár wrote: > > On Saturday 17 December 2022 14:40:44 Simon Glass wrote: > > > Hi Pali, > > > > > > On Thu, 15 Dec 2022 at 16:13, Pali Rohár wrote: > > > > > > > > On Thursday 15 December 2022

Re: [PATCH] lds: align u-boot-nodtb with 8 bytes boundary

2022-12-17 Thread Pali Rohár
On Saturday 17 December 2022 23:04:08 Pali Rohár wrote: > On Saturday 17 December 2022 14:40:44 Simon Glass wrote: > > Hi Pali, > > > > On Thu, 15 Dec 2022 at 16:13, Pali Rohár wrote: > > > > > > On Thursday 15 December 2022 06:24:16 Simon Glass wrote: > > > > Hi Eugen, > > > > > > > > On Thu,

Re: [PATCH 3/3] patman: locate README.rst via importlib

2022-12-17 Thread Simon Glass
On Fri, 16 Dec 2022 at 18:45, Maxim Cournoyer wrote: > > Rationale: this is more robust than assumptions about the file > hierarchy layout of the installation of patman, for example on non > file-hierarchy standard (FHS) systems such as Guix System or Nix OS. > > Signed-off-by: Maxim Cournoyer >

Re: [PATCH 2/3] patman: fix installation of README.rst data file

2022-12-17 Thread Simon Glass
On Fri, 16 Dec 2022 at 18:45, Maxim Cournoyer wrote: > > This fixes a regression introduced in commit 74df491051d6 ("buildman: > Convert documentation to rST"). > > Signed-off-by: Maxim Cournoyer > --- > > tools/patman/setup.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 1/3] patman: remove extraneous imports

2022-12-17 Thread Simon Glass
On Fri, 16 Dec 2022 at 18:45, Maxim Cournoyer wrote: > > * tools/patman/main.py: Remove extraneous imports and fix indentation. > > Signed-off-by: Maxim Cournoyer > --- > > tools/patman/main.py | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v3] console: usb: kbd: Limit poll frequency to improve performance

2022-12-17 Thread Simon Glass
Hi Filip, On Sat, 17 Dec 2022 at 05:50, Filip Žaludek wrote: > > > > Hello, > change seems to be unfriendly to RPi3B+, it allows to enter 'U-Boot>' shell > but usb keyboard > does not respond. Keyboard is detected by 'usb info' in v2023.01-rc3, not in > v2022.10. > When reverted, usb

Re: [PATCH] powerpc: dts: keymile: Deduplicate binman code

2022-12-17 Thread Pali Rohár
+ Christophe and Mario: Could you please take this u-boot ppc patch? On Friday 16 December 2022 19:16:38 Pali Rohár wrote: > PING? > > On Monday 21 November 2022 18:40:41 Pali Rohár wrote: > > + Tom > > > > On Tuesday 01 November 2022 23:57:08 Pali Rohár wrote: > > > PING? > > > > > > On

Re: [PATCH] lds: align u-boot-nodtb with 8 bytes boundary

2022-12-17 Thread Mark Kettenis
> From: Eugen Hristev > Date: Thu, 15 Dec 2022 13:58:25 +0200 > > Newer DTC require that the DTB start address is aligned at 8 bytes. > In the u-boot.bin case, the u-boot-nodtb.bin is concatenated with the > DTB, but there is no alignment/padding to the next 8byte aligned address. > This causes

Re: [HELP] Need help about quemu + u-root + x86 Linux kernel running in sd card like quemu + grub2 + x86 Linux kernel way

2022-12-17 Thread Simon Glass
Hi, On Fri, 18 Nov 2022 at 21:53, 黄蓉刚 wrote: > > November 19, 2022 > > > Dear All, > > > Execute me. I need your help. > > > I am interested in qemu x86_64 and I have a problem that I want to input > u-boot into a sdcard file and start Linux with the sdcard file, like > grub-install(grub2)

Re: [PATCH] lds: align u-boot-nodtb with 8 bytes boundary

2022-12-17 Thread Pali Rohár
On Saturday 17 December 2022 14:40:44 Simon Glass wrote: > Hi Pali, > > On Thu, 15 Dec 2022 at 16:13, Pali Rohár wrote: > > > > On Thursday 15 December 2022 06:24:16 Simon Glass wrote: > > > Hi Eugen, > > > > > > On Thu, 15 Dec 2022 at 03:58, Eugen Hristev > > > wrote: > > > > > > > > Newer

Re: [PATCH 1/3] binman: add sign option for binman

2022-12-17 Thread Simon Glass
Hi Ivan, On Tue, 13 Dec 2022 at 11:51, Ivan Mikhaylov wrote: > > On Fri, 2022-11-18 at 13:50 -0700, Simon Glass wrote: > > Hi Ivan, > > > > On Thu, 15 Sept 2022 at 13:44, Ivan Mikhaylov > > wrote: > > > > > > On Wed, 2022-09-07 at 15:10 -0600, Simon Glass wrote: > > > > Hi Ivan, > > > > > > > >

Re: [PATCH] powerpc: dts: keymile: Deduplicate binman code

2022-12-17 Thread Simon Glass
Hi Pali, On Fri, 16 Dec 2022 at 15:00, Pali Rohár wrote: > > On Friday 16 December 2022 11:35:53 Simon Glass wrote: > > Hi, > > > > > > On Fri, 16 Dec 2022 at 11:16, Pali Rohár wrote: > > > > > > PING? > > > > Shouldn't these be dealt with by the PPC maintainer? > > I'm reminding patch for 4

Re: [PATCH 1/1] cmd: allow sound command to play multiple sounds

2022-12-17 Thread Simon Glass
On Thu, 15 Dec 2022 at 17:56, Heinrich Schuchardt wrote: > > Currently the sound command accepts only one value each for duration and > frequency. Allowing more duration and frequency arguments enables playing a > tune. > > Signed-off-by: Heinrich Schuchardt > --- > cmd/sound.c | 41

Re: [PATCH] lds: align u-boot-nodtb with 8 bytes boundary

2022-12-17 Thread Simon Glass
Hi Pali, On Thu, 15 Dec 2022 at 16:13, Pali Rohár wrote: > > On Thursday 15 December 2022 06:24:16 Simon Glass wrote: > > Hi Eugen, > > > > On Thu, 15 Dec 2022 at 03:58, Eugen Hristev > > wrote: > > > > > > Newer DTC require that the DTB start address is aligned at 8 bytes. > > > In the

Re: [PATCH] Makefile: With BINMAN_ALLOW_MISSING=1 don't error on missing

2022-12-17 Thread Simon Glass
Hi Tom, On Tue, 13 Dec 2022 at 09:39, Tom Rini wrote: > > On Mon, Dec 12, 2022 at 10:59:01PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 12 Dec 2022 at 16:43, Tom Rini wrote: > > > > > > On Tue, Dec 06, 2022 at 10:03:37AM -0500, Tom Rini wrote: > > > > On Tue, Dec 06, 2022 at

Re: [PATCH] Makefile: add -W for BINMAN_ALLOW_MISSING

2022-12-17 Thread Simon Glass
Hi, +Tom Rini On Fri, 16 Dec 2022 at 02:27, Nikita Shubin wrote: > > From: Nikita Shubin > > Otherwise make will produce an error even with --allow-missing and > --fake-ext-blobs set. > > Fixes: b38da15a054 ("binman: Use an exit code when blobs are missing") > Signed-off-by: Nikita Shubin >

[PATCH] binman: Support optional external blobs

2022-12-17 Thread Simon Glass
Some blobs are actually not necessary for the board to work correctly. Add a property to allow this to be indicated. Missing optional blobs do not cause a build failure. Signed-off-by: Simon Glass --- tools/binman/binman.rst| 9 + tools/binman/control.py

[PATCH v7 12/12] treewide: Disable USE_SPL_FIT_GENERATOR by default

2022-12-17 Thread Simon Glass
This option is deprecated and only used by two boards. Enable it for just those two boards, so others don't accidentally enable it. Signed-off-by: Simon Glass --- (no changes since v6) Changes in v6: - Add new patch to disable USE_SPL_FIT_GENERATOR by default - Add new patch to allow a binman

[PATCH v7 11/12] rockchip: Drop the FIT generator script

2022-12-17 Thread Simon Glass
This is not used anymore. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 3 - arch/arm/mach-rockchip/make_fit_atf.py | 267 - boot/Kconfig | 1 - 3 files changed, 271 deletions(-)

[PATCH v7 10/12] rockchip: Convert all boards to use binman

2022-12-17 Thread Simon Glass
Instead of the bash script, use binman to generate the FIT for arm64. For 32-bit boards, use binman for all images, dropping the intermediate files. With this change, only Zynq is now using SPL_FIT_GENERATOR so update the Kconfig rule accordingly. Clean up the Makefile to the extent possible.

[PATCH v7 09/12] rockchip: Support building the all output files in binman

2022-12-17 Thread Simon Glass
Add the required binman images to replace the Makefile rules which are currently used. This includes subsuming: - tpl/u-boot-tpl-rockchip.bin if TPL is enabled - idbloader.img if either or both of SPL and TPL are enabled - u-boot.itb if SPL_FIT is enabled - u-boot-rockchip.bin if SPL

[PATCH v7 08/12] rockchip: Use multiple-images for rk3399

2022-12-17 Thread Simon Glass
Enable multiple-images so we can generate more than one image. Also add a comment for the end of the #if block. Signed-off-by: Simon Glass --- (no changes since v5) Changes in v5: - Rename from 'Include binman script in 64-bit boards' - Drop duplicate #include in rk3368-u-boot.dtsi - Keep the

[PATCH v7 06/12] binman: Support new op-tee binary format

2022-12-17 Thread Simon Glass
OP-TEE has a format with a binary header that can be used instead of the ELF file. With newer versions of OP-TEE this may be required on some platforms. Add support for this in binman. First, add a method to obtain the ELF sections from an entry, then use that in the FIT support. We then end up

[PATCH v7 07/12] rockchip: evb-rk3288: Drop raw-image support

2022-12-17 Thread Simon Glass
This boards uses SPL_FIT so does not need to support loading a raw image. Drop it to avoid binman trying to insert a symbol which has no value. Signed-off-by: Simon Glass --- (no changes since v1) configs/evb-rk3288_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v7 04/12] binman: Support optional entries

2022-12-17 Thread Simon Glass
Support entries which can be optional depending on their contents. This allows special entry types which appear in the image only when needed. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/binman.rst | 22 ++ tools/binman/control.py |

[PATCH v7 03/12] binman: Update entry docs

2022-12-17 Thread Simon Glass
These have got out of data recently. Regenerate them. Signed-off-by: Simon Glass --- Changes in v7: - Correct an rST formatting error Changes in v6: - Add new patch to update entry docs tools/binman/entries.rst | 171 ++ tools/binman/etype/mkimage.py |

[PATCH v7 05/12] binman: Add a way to check for a valid ELF file

2022-12-17 Thread Simon Glass
Add a function which checks whether data is in ELF format or not. This will be used by binman to check this for entries. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/elf.py | 16 tools/binman/elf_test.py | 10 ++ 2 files changed, 26

[PATCH v7 02/12] binman: Tidy up comment in fit _gen_node

2022-12-17 Thread Simon Glass
Expand this comment to cover both cases that are supported. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/etype/fit.py | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/tools/binman/etype/fit.py b/tools/binman/etype/fit.py index

[PATCH v7 01/12] binman: Allow writing section contents to a file

2022-12-17 Thread Simon Glass
At present only the image (which is a section) has a filename. Move this implementation to the entry_Section class so that any section can have a filename. With this, the section data is written to a file. This allows parts of an image to be written, along with the entire image. Make a note that

[PATCH v7 00/12] binman: rockchip: Migrate from rockchip SPL_FIT_GENERATOR script

2022-12-17 Thread Simon Glass
At present rockchip 64-bit boards make use of a FIT-generator script written in Python. The script supports splitting an ELF file into several 'loadable' nodes in the FIT. Binman does not current support this feature. This series adds binman support for ELF splitting. This works by adding a new

Re: [PATCH v6 00/12] binman: rockchip: Migrate from rockchip SPL_FIT_GENERATOR script

2022-12-17 Thread Simon Glass
Hi, On Sat, 17 Dec 2022 at 09:11, Simon Glass wrote: > > At present rockchip 64-bit boards make use of a FIT-generator script > written in Python. The script supports splitting an ELF file into several > 'loadable' nodes in the FIT. Binman does not current support this feature. > > This series

Re: [PATCH] doc: add texinfodocs and infodocs targets

2022-12-17 Thread Heinrich Schuchardt
On 12/17/22 16:02, Maxim Cournoyer wrote: Hi Heinrich, Heinrich Schuchardt writes: On 12/17/22 02:51, Maxim Cournoyer wrote: Sphinx supports generating Texinfo sources and Info documentation, which can be navigated easily and is convenient to search (via the indexed nodes or anchors, for

[PATCH] Revert "Revert "cmd: pxe_utils: Check fdtcontroladdr in label_boot""

2022-12-17 Thread Marek Vasut
This reverts commit ed6251187afabf811a5fd49a44ebd61c53c7b378. Superseded by "cmd: pxe_utils: Limit fdtcontroladdr usage to non-fitImage" which is less heavy-handed approach and retains part of the original behavior for non-fitImage. Signed-off-by: Marek Vasut --- Cc: Neil Armstrong Cc: Peter

[PATCH v6 12/12] treewide: Disable USE_SPL_FIT_GENERATOR by default

2022-12-17 Thread Simon Glass
This option is deprecated and only used by two boards. Enable it for just those two boards, so others don't accidentally enable it. Signed-off-by: Simon Glass --- Changes in v6: - Add new patch to disable USE_SPL_FIT_GENERATOR by default - Add new patch to allow a binman entry to be marked

[PATCH v6 11/12] rockchip: Drop the FIT generator script

2022-12-17 Thread Simon Glass
This is not used anymore. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 3 - arch/arm/mach-rockchip/make_fit_atf.py | 267 - boot/Kconfig | 1 - 3 files changed, 271 deletions(-)

[PATCH v6 10/12] rockchip: Convert all boards to use binman

2022-12-17 Thread Simon Glass
Instead of the bash script, use binman to generate the FIT for arm64. For 32-bit boards, use binman for all images, dropping the intermediate files. With this change, only Zynq is now using SPL_FIT_GENERATOR so update the Kconfig rule accordingly. Clean up the Makefile to the extent possible.

[PATCH v6 08/12] rockchip: Use multiple-images for rk3399

2022-12-17 Thread Simon Glass
Enable multiple-images so we can generate more than one image. Also add a comment for the end of the #if block. Signed-off-by: Simon Glass --- (no changes since v5) Changes in v5: - Rename from 'Include binman script in 64-bit boards' - Drop duplicate #include in rk3368-u-boot.dtsi - Keep the

[PATCH v6 06/12] binman: Support new op-tee binary format

2022-12-17 Thread Simon Glass
OP-TEE has a format with a binary header that can be used instead of the ELF file. With newer versions of OP-TEE this may be required on some platforms. Add support for this in binman. First, add a method to obtain the ELF sections from an entry, then use that in the FIT support. We then end up

[PATCH v6 09/12] rockchip: Support building the all output files in binman

2022-12-17 Thread Simon Glass
Add the required binman images to replace the Makefile rules which are currently used. This includes subsuming: - tpl/u-boot-tpl-rockchip.bin if TPL is enabled - idbloader.img if either or both of SPL and TPL are enabled - u-boot.itb if SPL_FIT is enabled - u-boot-rockchip.bin if SPL

[PATCH v6 07/12] rockchip: evb-rk3288: Drop raw-image support

2022-12-17 Thread Simon Glass
This boards uses SPL_FIT so does not need to support loading a raw image. Drop it to avoid binman trying to insert a symbol which has no value. Signed-off-by: Simon Glass --- (no changes since v1) configs/evb-rk3288_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v6 05/12] binman: Add a way to check for a valid ELF file

2022-12-17 Thread Simon Glass
Add a function which checks whether data is in ELF format or not. This will be used by binman to check this for entries. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/elf.py | 16 tools/binman/elf_test.py | 10 ++ 2 files changed, 26

[PATCH v6 04/12] binman: Support optional entries

2022-12-17 Thread Simon Glass
Support entries which can be optional depending on their contents. This allows special entry types which appear in the image only when needed. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/binman.rst | 22 ++ tools/binman/control.py |

[PATCH v6 03/12] binman: Update entry docs

2022-12-17 Thread Simon Glass
These have got out of data recently. Regenerate them. Signed-off-by: Simon Glass --- Changes in v6: - Add new patch to update entry docs tools/binman/entries.rst | 187 ++- 1 file changed, 163 insertions(+), 24 deletions(-) diff --git

[PATCH v6 02/12] binman: Tidy up comment in fit _gen_node

2022-12-17 Thread Simon Glass
Expand this comment to cover both cases that are supported. Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/etype/fit.py | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/tools/binman/etype/fit.py b/tools/binman/etype/fit.py index

[PATCH v6 01/12] binman: Allow writing section contents to a file

2022-12-17 Thread Simon Glass
At present only the image (which is a section) has a filename. Move this implementation to the entry_Section class so that any section can have a filename. With this, the section data is written to a file. This allows parts of an image to be written, along with the entire image. Make a note that

[PATCH v6 00/12] binman: rockchip: Migrate from rockchip SPL_FIT_GENERATOR script

2022-12-17 Thread Simon Glass
At present rockchip 64-bit boards make use of a FIT-generator script written in Python. The script supports splitting an ELF file into several 'loadable' nodes in the FIT. Binman does not current support this feature. This series adds binman support for ELF splitting. This works by adding a new

Re: [PATCH] doc: add texinfodocs and infodocs targets

2022-12-17 Thread Maxim Cournoyer
Hi Heinrich, Heinrich Schuchardt writes: > On 12/17/22 02:51, Maxim Cournoyer wrote: >> Sphinx supports generating Texinfo sources and Info documentation, >> which can be navigated easily and is convenient to search (via the >> indexed nodes or anchors, for example). This is basically the same

Re: [bug#60135] [PATCH] doc: fix typos

2022-12-17 Thread Maxim Cournoyer
Hi, Heinrich Schuchardt writes: > On 12/17/22 06:28, Julien Lepiller wrote: >> Le 17 décembre 2022 03:09:40 GMT+01:00, Maxim Cournoyer >> a écrit : >>> Fix a few typos spot during a first read of the contribution process. >>> >>> Signed-off-by: Maxim Cournoyer >>> --- >>> >>>

Re: [bug#60135] [PATCH] doc: fix typos

2022-12-17 Thread Maxim Cournoyer
Hi Julien, Julien Lepiller writes: > Le 17 décembre 2022 03:09:40 GMT+01:00, Maxim Cournoyer > a écrit : >>Fix a few typos spot during a first read of the contribution process. >> >>Signed-off-by: Maxim Cournoyer >>--- >> >> doc/develop/process.rst | 4 ++-- >>

Pull request for efi-2023-01-rc4

2022-12-17 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 9bd3d354a1a0712ac27c717df9ad60566b0406ee: Merge https://source.denx.de/u-boot/custodians/u-boot-x86 (2022-12-15 13:06:00 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2023-01-rc4

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-12-17 Thread Michael Nazzareno Trimarchi
Hi On Sat, Dec 17, 2022 at 3:09 PM Michael Nazzareno Trimarchi wrote: > > Hi Roger > > On Sat, Dec 17, 2022 at 2:59 PM Roger Quadros wrote: > > > > > > > > On 17/12/2022 15:51, Michael Nazzareno Trimarchi wrote: > > > Hi > > > > > > Minimal diff > > > > > > diff --git

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-12-17 Thread Michael Nazzareno Trimarchi
Hi Roger On Sat, Dec 17, 2022 at 2:59 PM Roger Quadros wrote: > > > > On 17/12/2022 15:51, Michael Nazzareno Trimarchi wrote: > > Hi > > > > Minimal diff > > > > diff --git a/configs/chiliboard_defconfig b/configs/chiliboard_defconfig > > index 458c4558fd..c7f8fd2e25 100644 > > ---

Re: [PATCH v2] board: ti: common: board_detect: Fix EEPROM read quirk for 2-byte

2022-12-17 Thread Matwey V. Kornilov
вт, 13 дек. 2022 г. в 09:27, Neha Malcom Francis : > > EEPROM detection logic in ti_i2c_eeprom_get() involves figuring out > whether addressing is 1-byte or 2-byte. There are currently different > behaviours seen across boards as documented in commit bf6376642fe8 > ("board: ti: common:

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-12-17 Thread Roger Quadros
On 17/12/2022 15:51, Michael Nazzareno Trimarchi wrote: > Hi > > Minimal diff > > diff --git a/configs/chiliboard_defconfig b/configs/chiliboard_defconfig > index 458c4558fd..c7f8fd2e25 100644 > --- a/configs/chiliboard_defconfig > +++ b/configs/chiliboard_defconfig > @@ -47,12 +47,14 @@

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-12-17 Thread Michael Nazzareno Trimarchi
Hi Minimal diff diff --git a/configs/chiliboard_defconfig b/configs/chiliboard_defconfig index 458c4558fd..c7f8fd2e25 100644 --- a/configs/chiliboard_defconfig +++ b/configs/chiliboard_defconfig @@ -47,12 +47,14 @@ CONFIG_CMD_MTDPARTS=y CONFIG_MTDIDS_DEFAULT="nand0=800.nand"

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-12-17 Thread Michael Nazzareno Trimarchi
Hi take my config Michael On Sat, Dec 17, 2022 at 2:43 PM Roger Quadros wrote: > > On 17/12/2022 15:38, Michael Nazzareno Trimarchi wrote: > > Hi > > > > On Sat, Dec 17, 2022 at 2:00 PM Roger Quadros wrote: > >> > >> Hi Michael & Dario, > >> > >> On 12/12/2022 11:39, Michael Nazzareno

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-12-17 Thread Roger Quadros
On 17/12/2022 15:38, Michael Nazzareno Trimarchi wrote: > Hi > > On Sat, Dec 17, 2022 at 2:00 PM Roger Quadros wrote: >> >> Hi Michael & Dario, >> >> On 12/12/2022 11:39, Michael Nazzareno Trimarchi wrote: >>> Hi Roger >>> >>> Most of the building problem can be tested with this configuration

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-12-17 Thread Michael Nazzareno Trimarchi
Hi On Sat, Dec 17, 2022 at 2:00 PM Roger Quadros wrote: > > Hi Michael & Dario, > > On 12/12/2022 11:39, Michael Nazzareno Trimarchi wrote: > > Hi Roger > > > > Most of the building problem can be tested with this configuration > > > > make ARCH=arm chiliboard_defconfig > > I resolved the

Re: [PATCH] doc: add texinfodocs and infodocs targets

2022-12-17 Thread Heinrich Schuchardt
On 12/17/22 02:51, Maxim Cournoyer wrote: Sphinx supports generating Texinfo sources and Info documentation, which can be navigated easily and is convenient to search (via the indexed nodes or anchors, for example). This is basically the same as 1f050e904dd6f2955eecbd22031d912ccb2e7683, which

Re: [bug#60135] [PATCH] doc: fix typos

2022-12-17 Thread Heinrich Schuchardt
On 12/17/22 06:28, Julien Lepiller wrote: Le 17 décembre 2022 03:09:40 GMT+01:00, Maxim Cournoyer a écrit : Fix a few typos spot during a first read of the contribution process. Signed-off-by: Maxim Cournoyer --- doc/develop/process.rst | 4 ++--

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-12-17 Thread Roger Quadros
Hi Michael & Dario, On 12/12/2022 11:39, Michael Nazzareno Trimarchi wrote: > Hi Roger > > Most of the building problem can be tested with this configuration > > make ARCH=arm chiliboard_defconfig I resolved the original issue for all boards but now face a new issue only with the chiliboard.

Re: [bug#60135] [PATCH] doc: fix typos

2022-12-17 Thread Julien Lepiller
Le 17 décembre 2022 03:09:40 GMT+01:00, Maxim Cournoyer a écrit : >Fix a few typos spot during a first read of the contribution process. > >Signed-off-by: Maxim Cournoyer >--- > > doc/develop/process.rst | 4 ++-- > doc/develop/sending_patches.rst | 6 +++--- >

[PATCH] doc: add texinfodocs and infodocs targets

2022-12-17 Thread Maxim Cournoyer
Sphinx supports generating Texinfo sources and Info documentation, which can be navigated easily and is convenient to search (via the indexed nodes or anchors, for example). This is basically the same as 1f050e904dd6f2955eecbd22031d912ccb2e7683, which was recently applied to the Linux kernel.

[PATCH] doc: fix typos

2022-12-17 Thread Maxim Cournoyer
Fix a few typos spot during a first read of the contribution process. Signed-off-by: Maxim Cournoyer --- doc/develop/process.rst | 4 ++-- doc/develop/sending_patches.rst | 6 +++--- doc/develop/system_configuration.rst | 6 +++--- 3 files changed, 8 insertions(+), 8

[PATCH 3/3] patman: locate README.rst via importlib

2022-12-17 Thread Maxim Cournoyer
Rationale: this is more robust than assumptions about the file hierarchy layout of the installation of patman, for example on non file-hierarchy standard (FHS) systems such as Guix System or Nix OS. Signed-off-by: Maxim Cournoyer --- tools/patman/main.py | 8 +++- 1 file changed, 3

[PATCH 2/3] patman: fix installation of README.rst data file

2022-12-17 Thread Maxim Cournoyer
This fixes a regression introduced in commit 74df491051d6 ("buildman: Convert documentation to rST"). Signed-off-by: Maxim Cournoyer --- tools/patman/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/setup.py b/tools/patman/setup.py index

[PATCH 1/3] patman: remove extraneous imports

2022-12-17 Thread Maxim Cournoyer
* tools/patman/main.py: Remove extraneous imports and fix indentation. Signed-off-by: Maxim Cournoyer --- tools/patman/main.py | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/patman/main.py b/tools/patman/main.py index 5a7756a221..8067a288ab 100755 ---

Re: [RFC] [PATCH] imx8mp: power-domain: force usb powerdomain off on startup

2022-12-17 Thread Börge Strümpfel
Am Do., 15. Dez. 2022 um 15:43 Uhr schrieb Börge Strümpfel : > > This patch fixes a bug, where usb-ether is not usable, after an imx8mp > board has been booted using the uuu tool. In order to solve this, the usb > power domain is turned off during the probe of the imx8mp-hsiomix driver. > Thereby