Re: [PATCH v2 1/2] efi_selftest: export efi_st_get_config_table()

2022-09-03 Thread Ilias Apalodimas
On Sat, 3 Sept 2022 at 18:01, Heinrich Schuchardt wrote: > > We can use efi_st_get_config_table() in multiple unit tests. > Export the function. > > Export system-table and boot-services. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > no change > --- > include/efi_selftest.h

Re: [PATCH v2 2/2] efi_selftest: unit test for EFI Conformance Profile Table

2022-09-03 Thread Ilias Apalodimas
Hi Heinrich, [...] > + */ > +static int ecpt_find_guid(struct efi_conformance_profiles_table *ecpt, > + const efi_guid_t *guid) { > + int i; > + > + for (i = 0; i < ecpt->number_of_profiles; ++i) { > + if (!memcmp(&ecpt->conformance_profiles[i], g

Re: [PATCH 0/9] Nokia RX-51: Small cleanups and UBI boot test case

2022-09-03 Thread Tony Dinh
Hi Pali, On Sat, Sep 3, 2022 at 6:29 PM Pali Rohár wrote: > > Do various small fixup/cleanups and extend test script to boot kernel > image from UBI volume. This test verifies that U-Boot UBI implementation > is working and U-Boot can read volume with bootable kernel code > correctly. And therefo

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-03 Thread Tony Dinh
Hi Pali, On Sat, Sep 3, 2022 at 6:08 PM Pali Rohár wrote: > > On Saturday 03 September 2022 17:38:01 Tony Dinh wrote: > > Hi Pali, > > > > Is there a way to get the CPU frequency from the board upon start up? > > > > Thanks, > > Tony > > Hello! Each SoC has either fixed CPU frequency or has some

[PATCH 9/9] Nokia RX-51: Add booting from UBI into test script

2022-09-03 Thread Pali Rohár
Compile U-Boot with UBI/UBIFS support according to doc/board/nokia/rx51.rst instructions and add test case for loading kernel image from UBI volume. Signed-off-by: Pali Rohár --- test/nokia_rx51_test.sh | 89 + 1 file changed, 73 insertions(+), 16 deletion

[PATCH 8/9] Nokia RX-51: Add comment describing kernel image type into test script

2022-09-03 Thread Pali Rohár
Signed-off-by: Pali Rohár --- test/nokia_rx51_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/nokia_rx51_test.sh b/test/nokia_rx51_test.sh index 3fabc0e9b412..fc5fe1c911a9 100755 --- a/test/nokia_rx51_test.sh +++ b/test/nokia_rx51_test.sh @@ -178,7 +178,7 @@ s

[PATCH 7/9] Nokia RX-51: Do not set useless ARCH= in test script

2022-09-03 Thread Pali Rohár
U-Boot ignores ARCH= variable. Signed-off-by: Pali Rohár --- test/nokia_rx51_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nokia_rx51_test.sh b/test/nokia_rx51_test.sh index d2417a98bf08..3fabc0e9b412 100755 --- a/test/nokia_rx51_test.sh +++ b/test/nokia_rx51_t

[PATCH 6/9] Nokia RX-51: Fix documentation how to enable UBI support

2022-09-03 Thread Pali Rohár
Disable UBI fastmap support which is not supported by original Maemo 5 kernel and explicitly set UBI BEB limit to 10%, which is the value used by original Maemo 5 kernel. U-Boot default value is 20%. Signed-off-by: Pali Rohár --- doc/board/nokia/rx51.rst | 3 +-- 1 file changed, 1 insertion(+),

[PATCH 5/9] Nokia RX-51: Call bootm in test script only when image is valid

2022-09-03 Thread Pali Rohár
When reading of image fails then do not call bootm. This prevents false positive test result in case something bootable is present in memory. Signed-off-by: Pali Rohár --- test/nokia_rx51_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nokia_rx51_test.sh b/test/n

[PATCH 2/9] Nokia RX-51: Do not clear unknown memory in lowlevel_init.S

2022-09-03 Thread Pali Rohár
If kernel image in uImage or zImage format is not detected by lowlevel_init.S code then do not clear memory location where image was expected. If image is not detected then this memory region is unknown. So do not unconditionally clear it. Signed-off-by: Pali Rohár --- board/nokia/rx51/lowlevel_

[PATCH 4/9] Nokia RX-51: Change UBIFS volume size to 1870 LEBs in test script

2022-09-03 Thread Pali Rohár
Original Nokia UBIFS system image has 1870 LEBs, so set UBIFS volume size in test script to the same value. Number of 1870 LEBs corresponds to 230MiB (LEB size * num of LEBs = 126KiB * 1870 = 230MiB). Signed-off-by: Pali Rohár --- test/nokia_rx51_test.sh | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 3/9] Nokia RX-51: Set default SYS_LOAD_ADDR to 0x80008000

2022-09-03 Thread Pali Rohár
At address 0x8100 are stored initial atags passed to U-Boot by NOLO. So do not overwrite them when using $loadaddr variable which value is set from CONFIG_SYS_LOAD_ADDR option. Signed-off-by: Pali Rohár --- configs/nokia_rx51_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 1/9] Nokia RX-51: Remove label copy_kernel_start from lowlevel_init.S

2022-09-03 Thread Pali Rohár
Label copy_kernel_start is now unused. Remove it. Signed-off-by: Pali Rohár --- board/nokia/rx51/lowlevel_init.S | 1 - 1 file changed, 1 deletion(-) diff --git a/board/nokia/rx51/lowlevel_init.S b/board/nokia/rx51/lowlevel_init.S index c1785bc3f72f..53697fd4e125 100644 --- a/board/nokia/rx51/l

[PATCH 0/9] Nokia RX-51: Small cleanups and UBI boot test case

2022-09-03 Thread Pali Rohár
Do various small fixup/cleanups and extend test script to boot kernel image from UBI volume. This test verifies that U-Boot UBI implementation is working and U-Boot can read volume with bootable kernel code correctly. And therefore CI prevents UBI breakage. Note that U-Boot UBIFS code on ARM is cu

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-03 Thread Pali Rohár
On Saturday 03 September 2022 17:38:01 Tony Dinh wrote: > Hi Pali, > > Is there a way to get the CPU frequency from the board upon start up? > > Thanks, > Tony Hello! Each SoC has either fixed CPU frequency or has some bits in SAR register which say on which frequency is CPU running. SAR bits ar

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-03 Thread Tony Dinh
Hi Pali, On Sat, Sep 3, 2022 at 5:02 PM Tony Dinh wrote: > > Hi Stefan, > > Sorry, that message was prematurely sent (fat finger). Please see the > continuation below. > > On Sat, Sep 3, 2022 at 4:43 PM Tony Dinh wrote: > > > > Hi Stefan, > > > > On Sat, Sep 3, 2022 at 3:44 AM Stefan Roese wrot

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-03 Thread Tony Dinh
Hi Stefan, Sorry, that message was prematurely sent (fat finger). Please see the continuation below. On Sat, Sep 3, 2022 at 4:43 PM Tony Dinh wrote: > > Hi Stefan, > > On Sat, Sep 3, 2022 at 3:44 AM Stefan Roese wrote: > > > > Hi Tony, > > > > On 03.09.22 11:44, Tony Dinh wrote: > > > Hi Stefan

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-03 Thread Tony Dinh
Hi Stefan, On Sat, Sep 3, 2022 at 3:44 AM Stefan Roese wrote: > > Hi Tony, > > On 03.09.22 11:44, Tony Dinh wrote: > > Hi Stefan, > > > > On Thu, Sep 1, 2022 at 11:25 PM Stefan Roese wrote: > >> > >> Add timer_get_boot_us() to support boards, that have CONFIG_BOOTSTAGE > >> enabled, like pogo_v4

Re: [PATCH v2] binman: bintool: remove btool_ prefix from btool names

2022-09-03 Thread Quentin Schulz
Hi Simon, On September 3, 2022 7:01:14 PM GMT+02:00, Simon Glass wrote: >Hi Quentin, > >On Sat, 3 Sept 2022 at 02:48, Quentin Schulz wrote: >> >> Hi Simon, >> >> On September 2, 2022 10:00:18 PM GMT+02:00, Simon Glass >> wrote: >> >Hi Quentin, >> > >> >On Thu, 1 Sept 2022 at 08:44, Quentin Sc

Re: Pull request of efi-2022-10-rc4-2

2022-09-03 Thread Tom Rini
On Sat, Sep 03, 2022 at 12:25:41PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 67fe8cc0016756f3479288b3f67d59a517e512d5: > > Merge tag 'efi-2022-10-rc4' of > https://source.denx.de/u-boot/custodians/u-boot-efi (2022-09-02 09:09:47 > -0400) > > are avai

Re: [PATCH v2] net: enetc: Fix use after free issue in fsl_enetc.c

2022-09-03 Thread Siarhei Yasinski
Hello. In device_probe function in drivers/core/device.c we see a call of probe function: if (drv->probe) { ret = drv->probe(dev); if (ret) goto fail; } If it returns an error, then the execution path goes to fail label and

[PATCH v2 1/1] doc: man-page for tftpput

2022-09-03 Thread Heinrich Schuchardt
Provide a man-page for the tftpput command. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v2: fix typos --- doc/usage/cmd/tftpput.rst | 69 +++ doc/usage/index.rst | 1 + 2 files changed, 70 insertions(+) create mode 100644 d

Re: [PATCH 1/1] doc: man-page for tftpput

2022-09-03 Thread Heinrich Schuchardt
On 9/3/22 18:55, Simon Glass wrote: Hi Heinrich, On Sat, 3 Sept 2022 at 06:24, Heinrich Schuchardt wrote: Provide a man-page for the tftpput command. Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/tftpput.rst | 69 +++ doc/usage/index.rst

Re: [PATCH v2] binman: bintool: remove btool_ prefix from btool names

2022-09-03 Thread Simon Glass
Hi Quentin, On Sat, 3 Sept 2022 at 02:48, Quentin Schulz wrote: > > Hi Simon, > > On September 2, 2022 10:00:18 PM GMT+02:00, Simon Glass > wrote: > >Hi Quentin, > > > >On Thu, 1 Sept 2022 at 08:44, Quentin Schulz wrote: > >> > >> From: Quentin Schulz > >> > >> The binary is looked on the sys

Re: [PATCH 1/1] cmd: fix tftpput command

2022-09-03 Thread Simon Glass
Hi Heinrich, On Sat, 3 Sept 2022 at 06:21, Heinrich Schuchardt wrote: > > Calling tftpput with less than 2 arguments must lead to a failure. > > If tftpput is called with two arguments, these are the address and > the size of the file to be transferred. > > Signed-off-by: Heinrich Schuchardt > -

Re: [PATCH 1/1] doc: man-page for tftpput

2022-09-03 Thread Simon Glass
Hi Heinrich, On Sat, 3 Sept 2022 at 06:24, Heinrich Schuchardt wrote: > > Provide a man-page for the tftpput command. > > Signed-off-by: Heinrich Schuchardt > --- > doc/usage/cmd/tftpput.rst | 69 +++ > doc/usage/index.rst | 1 + > 2 files changed, 70

Pull request tpm-03092022

2022-09-03 Thread Ilias Apalodimas
Hi Tom, The following changes since commit 67fe8cc0016756f3479288b3f67d59a517e512d5: Merge tag 'efi-2022-10-rc4' of https://source.denx.de/u-boot/custodians/u-boot-efi (2022-09-02 09:09:47 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-tpm/ t

Re: [PATCH] scripts: config_whitelist: CONFIG_SYS_FLASH_AUTOPROTECT_LIST

2022-09-03 Thread Tom Rini
On Sat, Sep 03, 2022 at 05:49:50PM +0300, Sergei Antonov wrote: > On Sat, 3 Sept 2022 at 17:31, Tom Rini wrote: > > > > On Sat, Sep 03, 2022 at 05:30:30PM +0300, Sergei Antonov wrote: > > > > > CONFIG_SYS_FLASH_AUTOPROTECT_LIST is a feature of drivers/mtd/cfi_flash.c > > > driver. It allows to spe

[PATCH] gpio: ftgpio010: Add support for Faraday Technology FTGPIO010

2022-09-03 Thread Sergei Antonov
Add Faraday Technology's FTGPIO010 controller driver. Signed-off-by: Sergei Antonov --- drivers/gpio/Kconfig | 6 +++ drivers/gpio/Makefile| 1 + drivers/gpio/ftgpio010.c | 100 +++ 3 files changed, 107 insertions(+) create mode 100644 drivers/gpi

[PATCH v2 2/2] efi_selftest: unit test for EFI Conformance Profile Table

2022-09-03 Thread Heinrich Schuchardt
Add a new unit test to test the integrity of the EFI Conformance Profile Table. Signed-off-by: Heinrich Schuchardt --- v2: add missing efi_selftest_ecpt.c --- lib/efi_selftest/Makefile| 1 + lib/efi_selftest/efi_selftest_ecpt.c | 76 2 files chan

[PATCH v2 1/2] efi_selftest: export efi_st_get_config_table()

2022-09-03 Thread Heinrich Schuchardt
We can use efi_st_get_config_table() in multiple unit tests. Export the function. Export system-table and boot-services. Signed-off-by: Heinrich Schuchardt --- v2: no change --- include/efi_selftest.h | 11 lib/efi_selftest/efi_selftest.c | 38 ++-

[PATCH v2 0/2] efi_selftest: unit test for EFI Conformance Profile Table

2022-09-03 Thread Heinrich Schuchardt
Add a new unit test to test the integrity of the EFI Conformance Profile Table. The first patch contains the prerequisite refactoring. v2: add missing efi_selftest_ecpt.c Heinrich Schuchardt (2): efi_selftest: export efi_st_get_config_table() efi_selftest: unit test for EFI Conforman

Re: [PATCH] scripts: config_whitelist: CONFIG_SYS_FLASH_AUTOPROTECT_LIST

2022-09-03 Thread Sergei Antonov
On Sat, 3 Sept 2022 at 17:31, Tom Rini wrote: > > On Sat, Sep 03, 2022 at 05:30:30PM +0300, Sergei Antonov wrote: > > > CONFIG_SYS_FLASH_AUTOPROTECT_LIST is a feature of drivers/mtd/cfi_flash.c > > driver. It allows to specify a range of protected eraseblocks on flash > > memory. > > > > Fixes bu

[PULL] u-boot-sh/master

2022-09-03 Thread Marek Vasut
The following changes since commit 4e10c1227aa879af809b3073bf917289f23e17d7: Merge branch '2022-08-31-assorted-fixes' (2022-08-31 19:32:31 -0400) are available in the Git repository at: git://source.denx.de/u-boot-sh.git master for you to fetch changes up to 68083b897b57309c29039b27d2580e4

[PULL] u-boot-usb/master

2022-09-03 Thread Marek Vasut
The following changes since commit 4e10c1227aa879af809b3073bf917289f23e17d7: Merge branch '2022-08-31-assorted-fixes' (2022-08-31 19:32:31 -0400) are available in the Git repository at: git://source.denx.de/u-boot-usb.git master for you to fetch changes up to 2522bd3ea67d6e22259cf363eeb382

Re: [PATCH] scripts: config_whitelist: CONFIG_SYS_FLASH_AUTOPROTECT_LIST

2022-09-03 Thread Tom Rini
On Sat, Sep 03, 2022 at 05:30:30PM +0300, Sergei Antonov wrote: > CONFIG_SYS_FLASH_AUTOPROTECT_LIST is a feature of drivers/mtd/cfi_flash.c > driver. It allows to specify a range of protected eraseblocks on flash memory. > > Fixes build error: > Error: You must add new CONFIG options using Kconfi

[PATCH] scripts: config_whitelist: CONFIG_SYS_FLASH_AUTOPROTECT_LIST

2022-09-03 Thread Sergei Antonov
CONFIG_SYS_FLASH_AUTOPROTECT_LIST is a feature of drivers/mtd/cfi_flash.c driver. It allows to specify a range of protected eraseblocks on flash memory. Fixes build error: Error: You must add new CONFIG options using Kconfig The following new ad-hoc CONFIG options were detected: CONFIG_SYS_FLASH_A

Re: [PATCH v4 7/7] tpm: Allow committing non-volatile data

2022-09-03 Thread Ilias Apalodimas
Thanks Simon, I'll queue up the series once the CI completes On Tue, Aug 23, 2022 at 10:12:40AM -0700, Simon Glass wrote: > Add an option to tell the TPM to commit non-volatile data immediately it > is changed, rather than waiting until later. This is needed in some > situations, since if the dev

[PATCH 2/2] efi_selftest: unit test for EFI Conformance Profile Table

2022-09-03 Thread Heinrich Schuchardt
Add a new unit test to test the integrity of the EFI Conformance Profile Table. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile index 33536c9ec0..daac6c3968 100644 --- a/lib

[PATCH 1/2] efi_selftest: export efi_st_get_config_table()

2022-09-03 Thread Heinrich Schuchardt
We can use efi_st_get_config_table() in multiple unit tests. Export the function. Export system-table and boot-services. Signed-off-by: Heinrich Schuchardt --- include/efi_selftest.h | 11 lib/efi_selftest/efi_selftest.c | 38 ++-- lib/efi_sel

[PATCH 0/2] efi_selftest: unit test for EFI Conformance Profile Table

2022-09-03 Thread Heinrich Schuchardt
Add a new unit test to test the integrity of the EFI Conformance Profile Table. The first patch contains the prerequisite refactoring. Heinrich Schuchardt (2): efi_selftest: export efi_st_get_config_table() efi_selftest: unit test for EFI Conformance Profile Table include/efi_selftest.h

Re: [PATCH v4 6/7] tpm: Implement state command for Cr50

2022-09-03 Thread Ilias Apalodimas
On Tue, Aug 23, 2022 at 10:12:39AM -0700, Simon Glass wrote: > Add a vendor-specific TPM2 command for this and implement it for Cr50. > Note: This is not part of the TPM spec, but is a Cr50 extension. > > Signed-off-by: Simon Glass > --- > > Changes in v4: > - Rename function and add arguments f

[PATCH v2] cmd: xxd: add new command

2022-09-03 Thread Roger Knecht
Add xxd command to print file content as hexdump to standard out Reviewed-by: Simon Glass Signed-off-by: Roger Knecht --- v2: - Fix pylint error "Undefined variable CalledProcessError" - Fix htmldoc error "cat.rst: document isn't included in any toctree" - Added reviewed by Simon The 'xxd' c

[PATCH 1/1] doc: man-page for tftpput

2022-09-03 Thread Heinrich Schuchardt
Provide a man-page for the tftpput command. Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/tftpput.rst | 69 +++ doc/usage/index.rst | 1 + 2 files changed, 70 insertions(+) create mode 100644 doc/usage/cmd/tftpput.rst diff --git a/doc/usage/cmd

[PATCH 1/1] cmd: fix tftpput command

2022-09-03 Thread Heinrich Schuchardt
Calling tftpput with less than 2 arguments must lead to a failure. If tftpput is called with two arguments, these are the address and the size of the file to be transferred. Signed-off-by: Heinrich Schuchardt --- cmd/net.c | 50 +- 1 file changed,

[PATCH v6] cmd: cat: add new command

2022-09-03 Thread Roger Knecht
Add cat command to print file content to standard out Reviewed-by: Simon Glass Signed-off-by: Roger Knecht --- v6: - Fix pylint error "Undefined variable CalledProcessError" - Fix htmldoc error "cat.rst: document isn't included in any toctree" v5: - Removed "default n" from Kconfig - Rename

Re: [PATCH v2] binman: bintool: remove btool_ prefix from btool names

2022-09-03 Thread Quentin Schulz
Hi Simon, On September 2, 2022 10:00:18 PM GMT+02:00, Simon Glass wrote: >Hi Quentin, > >On Thu, 1 Sept 2022 at 08:44, Quentin Schulz wrote: >> >> From: Quentin Schulz >> >> The binary is looked on the system by the suffix of the packer class. >> This means binman was looking for btool_gzip on

Re: [PATCH v7 0/8] migrate u-boot-rockchip.bin to binman and generate an image for SPI

2022-09-03 Thread Quentin Schulz
Hi Kever, On September 3, 2022 5:59:26 AM GMT+02:00, Kever Yang wrote: >Hi Quentin, > >I got below error for SoCs other than rk3399, eg. rk3308, rk3568, rk3328 and >etc. > >+binman: Device tree 'u-boot.dtb' does not have a 'binman' node >+make[1]: *** [Makefile:1113: all] Error 1 >+make: *** [M

Designware i2c driver, HCNT calculation logic

2022-09-03 Thread Manav Bedi
In Designware I2C Uboot driver, the HCNT calculation in Fast plus mode(1MHZ clock transfer rate) seems to be incorrect with default values present in the driver. In function, dw_i2c_calc_timing(), hcnt is being calculated using below formula:- "hcnt = min_thigh_cnt - fall_cnt - 7 - spk_cnt;" Wit

Re: [PATCH v5] cmd: cat: add new command

2022-09-03 Thread Roger Knecht
On Saturday, September 3rd, 2022 at 01:54, Tom Rini wrote: > On Sun, Aug 21, 2022 at 02:54:13PM +, Roger Knecht wrote: > > > Add cat command to print file content to standard out > > > > Reviewed-by: Simon Glass s...@chromium.org > > Signed-off-by: Roger Knecht rkne...@pm.me > > > Two prob

Re: [PATCH v2 00/17] IPv6 support

2022-09-03 Thread Vyacheslav Mitrofanov V
On Wed, 2022-08-31 at 20:27 -0600, Simon Glass wrote: > «Внимание! Данное письмо от внешнего адресата!» > > Hi Viacheslav, > > On Tue, 30 Aug 2022 at 07:00, Viacheslav Mitrofanov > wrote: > > This patch set adds basic IPv6 support to U-boot. > > It is based on Chris's Packham patches > > (https:

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-03 Thread Stefan Roese
Hi Tony, On 03.09.22 11:44, Tony Dinh wrote: Hi Stefan, On Thu, Sep 1, 2022 at 11:25 PM Stefan Roese wrote: Add timer_get_boot_us() to support boards, that have CONFIG_BOOTSTAGE enabled, like pogo_v4. Signed-off-by: Stefan Roese --- v2: - Change timer_get_boot_us() to use the timer_early f

Pull request of efi-2022-10-rc4-2

2022-09-03 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 67fe8cc0016756f3479288b3f67d59a517e512d5: Merge tag 'efi-2022-10-rc4' of https://source.denx.de/u-boot/custodians/u-boot-efi (2022-09-02 09:09:47 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-e

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-03 Thread Tony Dinh
Hi Stefan, On Thu, Sep 1, 2022 at 11:25 PM Stefan Roese wrote: > > Add timer_get_boot_us() to support boards, that have CONFIG_BOOTSTAGE > enabled, like pogo_v4. > > Signed-off-by: Stefan Roese > --- > v2: > - Change timer_get_boot_us() to use the timer_early functions > - Remove #if CONFIG_IS_E

Re: [BUG] nvme: multiple name spaces not correctly handled

2022-09-03 Thread Heinrich Schuchardt
On 9/3/22 11:22, Heinrich Schuchardt wrote: Hello Bin, with QEMU 7.0: -rw-rw-r-- 1 user user   33554432 Oct 23  2021 arm64.img -rw-rw-r-- 1 user user 3758096384 Mar 23 23:42 riscv64.img qemu-system-aarch64 -machine virt -cpu cortex-a72 -nographic \ -bios denx/u-boot.bin \ -device nvme,id=nvme1

[BUG] nvme: multiple name spaces not correctly handled

2022-09-03 Thread Heinrich Schuchardt
Hello Bin, with QEMU 7.0: -rw-rw-r-- 1 user user 33554432 Oct 23 2021 arm64.img -rw-rw-r-- 1 user user 3758096384 Mar 23 23:42 riscv64.img qemu-system-aarch64 -machine virt -cpu cortex-a72 -nographic \ -bios denx/u-boot.bin \ -device nvme,id=nvme1,serial=9ff81223 \ -device nvme-ns,bus=nvme1,

[PATCH v3] tee: optee: rework TA bus scanning code

2022-09-03 Thread Ilias Apalodimas
Late versions of OP-TEE support a pseudo bus. TAs that behave as hardware blocks (e.g TPM, RNG etc) present themselves on a bus which we can scan. Unfortunately U-Boot doesn't support that yet. It's worth noting that we already have a workaround for RNG. The details are in commit 70812bb83da6 ("

Re: [PATCH v7 0/8] migrate u-boot-rockchip.bin to binman and generate an image for SPI

2022-09-03 Thread Kever Yang
On 2022/9/3 11:59, Kever Yang wrote: Hi Quentin, I got below error for SoCs other than rk3399, eg. rk3308, rk3568, rk3328 and etc. This patch set do not have this error, it happens in older patch set. Thanks, - Kever +binman: Device tree 'u-boot.dtb' does not have a 'binman' node +mak