Re: [PATCH v13 05/10] arm_ffa: introduce armffa command

2023-07-03 Thread Simon Glass
On Mon, 3 Jul 2023 at 16:53, Abdellatif El Khlifi wrote: > > Hi Simon, Ilias, > > On Mon, Jul 03, 2023 at 02:30:51PM +0100, Simon Glass wrote: > ... > > > > > > > + log_info("device name %s, dev %p, driver name %s, ops > > > > > > > %p\n", > > > > > > > +dev->name, > > > >

Re: [PATCH v2 4/5] dm: test: Add test for part_get_info_by_type

2023-07-03 Thread Simon Glass
On Mon, 3 Jul 2023 at 14:40, Joshua Watt wrote: > > Adds a test suite to ensure that part_get_info_by_type works correctly > by creating a hybrid GPT/MBR partition table and reading both. > > Signed-off-by: Joshua Watt > --- > configs/sandbox_defconfig | 2 + > test/dm/part.c| 87

Re: [PATCH v2 5/5] cmd: mbr: Force DOS driver to be used for verify

2023-07-03 Thread Simon Glass
On Mon, 3 Jul 2023 at 14:41, Joshua Watt wrote: > > Forces the DOS partition type driver to be used when verifying the MBR. > This is particularly useful when using a hybrid MBR & GPT layout as > otherwise MBR verification would mostly likely fail since the GPT > partitions will be returned, even

Re: [PATCH v2 3/5] disk: part: Add API to get partitions with specific driver

2023-07-03 Thread Simon Glass
On Mon, 3 Jul 2023 at 14:40, Joshua Watt wrote: > > Adds part_driver_get_type() API which can be used to force a specific Nit: Add > driver to be used when getting partition information instead of relying > on auto detection. > > Signed-off-by: Joshua Watt > --- > disk/part.c| 38

Re: [PATCH v2 2/5] dm: test: Improve partition test error output

2023-07-03 Thread Simon Glass
On Mon, 3 Jul 2023 at 14:40, Joshua Watt wrote: > > Improve the logging when the partition test fails so that it is clear > what went wrong, shown with actual values. > > Signed-off-by: Joshua Watt > --- > test/dm/part.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-)

Re: [PATCH v2 1/5] dm: test: Fix partition test to use mmc2

2023-07-03 Thread Simon Glass
On Mon, 3 Jul 2023 at 14:40, Joshua Watt wrote: > > d94d9844bc ("dm: part: Update test to use mmc2") attempted to make the > test use mmc2, but the change was incomplete in that it didn't also > change the strings that reference a specific partition. Fix these so > that the test passes again > >

Re: [PATCH] tests: Fix exception when cleaning up skipped test

2023-07-03 Thread Simon Glass
On Mon, 3 Jul 2023 at 14:35, Joshua Watt wrote: > > If test_cat and test_xxd cannot create the required file, the test will > be skipped, but this would result in an exception being raised in the > finally block because the file didn't exist to be cleaned up. This > caused the test to be marked

Re: [PATCH 07/10] test: dm: add SCMI base protocol test

2023-07-03 Thread AKASHI Takahiro
Hi Simon, On Mon, Jul 03, 2023 at 02:30:57PM +0100, Simon Glass wrote: > Hi, > > On Mon, 3 Jul 2023 at 01:57, AKASHI Takahiro > wrote: > > > > On Thu, Jun 29, 2023 at 08:09:58PM +0100, Simon Glass wrote: > > > Hi AKASHI, > > > > > > On Wed, 28 Jun 2023 at 01:49, AKASHI Takahiro > > > wrote: >

Re: [PATCH 09/10] doc: cmd: add documentation for scmi

2023-07-03 Thread AKASHI Takahiro
Hi Simon, On Mon, Jul 03, 2023 at 02:30:55PM +0100, Simon Glass wrote: > Hi , > > On Mon, 3 Jul 2023 at 02:19, AKASHI Takahiro > wrote: > > > > On Thu, Jun 29, 2023 at 08:10:02PM +0100, Simon Glass wrote: > > > Hi AKASHI, > > > > > > On Wed, 28 Jun 2023 at 01:49, AKASHI Takahiro > > > wrote:

[GIT PULL] Please pull u-boot-mmc master

2023-07-03 Thread Jaehoon Chung
Dear Tom, Please pull u-boot-mmc master into u-boot master branch. If there is any problem, let me know, plz. Sorry for too late. Those patches are the fixing reensas-sdhi tuning command error and improve the comment. (I have also tested with this patchset on my board.) Best Regards, Jaehoon

Re: [PATCH 08/10] cmd: add scmi command for SCMI firmware

2023-07-03 Thread AKASHI Takahiro
On Mon, Jul 03, 2023 at 02:30:54PM +0100, Simon Glass wrote: > Hi, > > On Mon, 3 Jul 2023 at 01:55, AKASHI Takahiro > wrote: > > > > On Thu, Jun 29, 2023 at 08:10:00PM +0100, Simon Glass wrote: > > > Hi AKASHI, > > > > > > On Wed, 28 Jun 2023 at 01:49, AKASHI Takahiro > > > wrote: > > > > > >

[PATCH 1/1] RISC-V: CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS description

2023-07-03 Thread Heinrich Schuchardt
Describe which numeric values can be used for as scratch options for OpenSBI. Signed-off-by: Heinrich Schuchardt --- common/spl/Kconfig | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 2c042ad306..7f99889ec3 100644 ---

Re: [PATCH 2/3] mmc: sdhci-cadence: SD6 Controller support

2023-07-03 Thread Jaehoon Chung
Hi, On 6/5/23 22:58, Piyush Malgujar wrote: > From: Dhananjay Kangude > > Add support for SD6 controller along with: > - HS200, HS400 and HS400ES support > - Host side Slew and drive configuration > > These changes to support SD6 cadence IP are isolated from the > existing support of SD4

Re: sipeed maix bit resets every 90 seconds with watchdog enabled

2023-07-03 Thread Sean Anderson
Hi Jaap, On 7/3/23 13:53, Jaap Aart wrote: Dear sean, and others, I encountered a small problem running linux on the sipeed maix bit from u-boot. Every 90 seconds (exactly) after boot it resets, if booted into linux, unless I disable the watchdog. This has occurred since this feature was

Re: [PATCH v2] efi_driver: fix duplicate efiblk#0 issue

2023-07-03 Thread Heinrich Schuchardt
On 03.07.23 15:30, Simon Glass wrote: Hi Masahisa, On Mon, 3 Jul 2023 at 07:09, Masahisa Kojima wrote: The devnum value of the blk_desc structure starts from 0, current efi_bl_create_block_device() function creates two "efiblk#0" devices for the cases that blk_find_max_devnum() returns

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-03 Thread Francesco Dolcini
On Mon, Jul 03, 2023 at 04:01:15PM -0400, Tom Rini wrote: > On Mon, Jul 03, 2023 at 09:54:40PM +0200, Francesco Dolcini wrote: > > On Mon, Jul 03, 2023 at 09:40:51PM +0200, Marek Vasut wrote: > > > On 7/3/23 18:49, Francesco Dolcini wrote: > > > > Short update on this regression. > > > > > > > >

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-03 Thread Tom Rini
On Mon, Jul 03, 2023 at 09:54:40PM +0200, Francesco Dolcini wrote: > On Mon, Jul 03, 2023 at 09:40:51PM +0200, Marek Vasut wrote: > > On 7/3/23 18:49, Francesco Dolcini wrote: > > > Short update on this regression. > > > > > > On Thu, Jun 29, 2023 at 04:19:22PM +0200, Francesco Dolcini wrote: > >

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-03 Thread Francesco Dolcini
On Mon, Jul 03, 2023 at 09:54:40PM +0200, Francesco Dolcini wrote: > On Mon, Jul 03, 2023 at 09:40:51PM +0200, Marek Vasut wrote: > > On 7/3/23 18:49, Francesco Dolcini wrote: > > > Short update on this regression. > > > > > > On Thu, Jun 29, 2023 at 04:19:22PM +0200, Francesco Dolcini wrote: > >

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-03 Thread Francesco Dolcini
On Mon, Jul 03, 2023 at 09:40:51PM +0200, Marek Vasut wrote: > On 7/3/23 18:49, Francesco Dolcini wrote: > > Short update on this regression. > > > > On Thu, Jun 29, 2023 at 04:19:22PM +0200, Francesco Dolcini wrote: > > > I also noticed something weird on a colibri imx7s, this is not using SPL,

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-03 Thread Marek Vasut
On 7/3/23 18:49, Francesco Dolcini wrote: Short update on this regression. On Thu, Jun 29, 2023 at 04:19:22PM +0200, Francesco Dolcini wrote: I also noticed something weird on a colibri imx7s, this is not using SPL, likely something completly different, however given this is new also from rc5

Re: [PATCH 1/2] mxs: Fix VDDx brownout interrupt disable/enable

2023-07-03 Thread Marek Vasut
On 7/3/23 20:33, Cody Green wrote: On Mon, Jul 3, 2023 at 5:40 PM Marek Vasut wrote: On 7/3/23 18:33, Cody Green wrote: HW_POWER_CTRL register contains brownout interrupt enable bits ENIRQ_VDDIO_BO, ENIRQ_VDDA_BO and ENIRQ_VDDD_BO. So what does this patch do (that is missing in the commit

Re: [PATCH 12/12] binman: Support simple templates

2023-07-03 Thread Jan Kiszka
Hi Simon, On 28.06.23 13:41, Simon Glass wrote: > Collections can used to collect the contents of other entries into a > single entry, but they result in a single entry, with the original entries > 'left behind' in their old place. > > It is useful to be able to specific a set of entries ones

Re: [RFC] rockchip: rk3308: fix "same-as-spl" bug in boot devices order

2023-07-03 Thread Peter Robinson
On Mon, Jul 3, 2023 at 6:59 PM Pegorer Massimo wrote: > > Value "same-as-spl" in uboot,spl-boot-order attribute is not working for > boards based on rk3308 due to mismatch between definitions in rk3308.c > and those in rk3308.dtsi: in the first file boot devices are defined as > "/mcc@ff4",

U-Boot v2023.07-rc6 released

2023-07-03 Thread Tom Rini
Hey all, I've put out v2023.07-rc6 today instead of the release itself. There's two reasons for this. First, the security fix that I merged for -rc5 had some other problems and while I think we have them resolved now, more boot testing cannot be a bad thing. The second one is that Francesco's

Re: [PATCH v2 3/3] spl: spl_legacy: Fix spl_end address

2023-07-03 Thread Tom Rini
On Fri, Jun 30, 2023 at 11:30:53PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Currently, spl_end points to the __bss_end address, which > is an external RAM address instead of the end of the SPL text > section in the internal RAM. > > This causes boot failures on imx6-colibri, for

Re: [PATCH v2 2/3] microblaze: u-boot-spl.lds: Pass _image_binary_end

2023-07-03 Thread Tom Rini
On Fri, Jun 30, 2023 at 11:30:52PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Pass _image_binary_end to make a standard way to indicate the end > of the text section in SPL. > > The motivation for this is to have a uniform way to handle > the SPL boundary checks. > > Signed-off-by:

Re: [PATCH v2 1/3] sunxi: u-boot-spl.lds: Pass _image_binary_end

2023-07-03 Thread Tom Rini
On Fri, Jun 30, 2023 at 11:30:51PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Pass _image_binary_end to make a standard way to indicate the end > of the text section in SPL. > > The motivation for this is to have a uniform way to handle > the SPL boundary checks. > > Signed-off-by:

Re: [PATCH] doc: imx: habv4: Fix typo in 'signing'

2023-07-03 Thread Tom Rini
On Thu, Jun 29, 2023 at 04:25:31PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Fix two occurrences where 'signing' is misspelled. > > Signed-off-by: Fabio Estevam > Reviewed-by: Tim Harvey Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] rockchip: Restore support for boot scripts in legacy image format

2023-07-03 Thread Tom Rini
On Mon, Jun 26, 2023 at 07:43:06PM +, Jonas Karlman wrote: > Use of CONFIG_SPL_FIT_SIGNATURE=y cause CONFIG_LEGACY_IMAGE_FORMAT=n as > default, this prevent boot scripts in legacy image format from working > and was an unintended change in the listed fixes commits: > > Wrong image format

[RFC] rockchip: rk3308: fix "same-as-spl" bug in boot devices order

2023-07-03 Thread Pegorer Massimo
Value "same-as-spl" in uboot,spl-boot-order attribute is not working for boards based on rk3308 due to mismatch between definitions in rk3308.c and those in rk3308.dtsi: in the first file boot devices are defined as "/mcc@ff4", while in the DTSI they are "dwmmc@ff4...". Of course it could be

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-03 Thread Francesco Dolcini
Short update on this regression. On Thu, Jun 29, 2023 at 04:19:22PM +0200, Francesco Dolcini wrote: > I also noticed something weird on a colibri imx7s, this is not using SPL, > likely something completly different, however given this is new also from rc5 > I > thought it's valuable to report: >

Re: [PATCH 2/2] mxs: Don't enable 4P2 reg if MXS is powered only from DCDC_BATT

2023-07-03 Thread Marek Vasut
On 7/3/23 18:33, Cody Green wrote: 'mxs_power_enable_4p2()' function call was added to 'mxs_batt_boot()' in 'commit a0f97610757d' to enable DCDC converter when board is powered from 5V and has detected sufficient battery voltage. This involves enabling 4P2 regulator and there is a code in

Re: [PATCH 1/2] mxs: Fix VDDx brownout interrupt disable/enable

2023-07-03 Thread Marek Vasut
On 7/3/23 18:33, Cody Green wrote: HW_POWER_CTRL register contains brownout interrupt enable bits ENIRQ_VDDIO_BO, ENIRQ_VDDA_BO and ENIRQ_VDDD_BO. So what does this patch do (that is missing in the commit message) ?

[PATCH] board: stm32mp1: add splash screen on dk2

2023-07-03 Thread Dario Binacchi
Display the STMicroelectronics logo. Signed-off-by: Dario Binacchi --- board/st/stm32mp1/stm32mp1.c | 12 1 file changed, 12 insertions(+) diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index 1a1b1844c8c0..c8c2a83b2acf 100644 ---

Re: [PATCH v2 0/2] Fix 'no USB device found' error.

2023-07-03 Thread Tom Rini
On Mon, Jul 03, 2023 at 07:12:47PM +0300, Roger Quadros wrote: > > > On 26/06/2023 10:32, Nishanth Menon wrote: > > On 13:59-20230623, Tom Rini wrote: > >> On Fri, Jun 23, 2023 at 09:42:01AM +0200, Julien Panis wrote: > >>> > >>> > >>> On 6/22/23 17:49, Tom Rini wrote: > On Thu, Jun 22,

Re: [PATCHv2 2/3] net/lwip: add README.lwip

2023-07-03 Thread Maxim Uvarov
On Fri, 30 Jun 2023 at 16:01, Ilias Apalodimas wrote: > Hi Maxim, > > On Thu, Jun 29, 2023 at 06:34:29PM +0600, Maxim Uvarov wrote: > > Just add inital README.lwip doc. > > We'll need a more accurate description for this. The first paragraph of > the documentation you are adding would do > > >

Re: [PATCH v2 0/2] Fix 'no USB device found' error.

2023-07-03 Thread Roger Quadros
On 26/06/2023 10:32, Nishanth Menon wrote: > On 13:59-20230623, Tom Rini wrote: >> On Fri, Jun 23, 2023 at 09:42:01AM +0200, Julien Panis wrote: >>> >>> >>> On 6/22/23 17:49, Tom Rini wrote: On Thu, Jun 22, 2023 at 04:34:34PM +0200, Julien Panis wrote: > This series fixes usb0 dr_mode

Re: [PATCH v2 0/2] Fix 'no USB device found' error.

2023-07-03 Thread Roger Quadros
On 22/06/2023 17:34, Julien Panis wrote: > This series fixes usb0 dr_mode for am335x-icev2 > and am335x-evmsk. It must be set to 'peripheral' > in order to avoid 'no USB device found' error, > in usb_ether_init() function. > > Signed-off-by: Julien Panis > --- > Changes in v2: > - Drop the

[RESEND PATCH] ARM: dts: stm32: fix display pinmux for stm32f746-disco

2023-07-03 Thread Dario Binacchi
As reported by the datasheet (DocID027590 Rev 4) for PG12: - AF9 -> LCD_B4 - AF14 -> LCD_B1 So replace AF14 with AF9 for PG12 in the dts. Fixes: fe63d3cfb77ef ("ARM: dts: stm32: Sync DT with v4.20 kernel for stm32f7") Signed-off-by: Dario Binacchi ---

Re: [PATCH v13 05/10] arm_ffa: introduce armffa command

2023-07-03 Thread Abdellatif El Khlifi
Hi Simon, Ilias, On Mon, Jul 03, 2023 at 02:30:51PM +0100, Simon Glass wrote: ... > > > > > > + log_info("device name %s, dev %p, driver name %s, ops %p\n", > > > > > > +dev->name, > > > > > > + (void *)map_to_sysmem(dev), > > > > > > +

Re: [PATCH 5/6] net: add fastboot TCP documentation and IP6-only mode

2023-07-03 Thread Paul Liu
Reviewed-by: Ying-Chun Liu (PaulLiu) On Tue, 9 May 2023 at 01:16, Dmitrii Merkurev wrote: > Command to start IP6 only TCP fastboot: > fastboot tcp -ipv6 > > Signed-off-by: Dmitrii Merkurev > Cc: Ying-Chun Liu (PaulLiu) > Cc: Simon Glass > Сс: Joe Hershberger > Сс: Ramon Fried > --- >

Re: [PATCH v2 4/6] net: add fastboot TCP6 support

2023-07-03 Thread Paul Liu
Reviewed-by: Ying-Chun Liu (PaulLiu) On Thu, 11 May 2023 at 01:00, Dmitrii Merkurev wrote: > fastboot tcp command remains the same, but started > listening IP6 in case it's enabled. > > Signed-off-by: Dmitrii Merkurev > Cc: Ying-Chun Liu (PaulLiu) > Cc: Simon Glass > Сс: Joe Hershberger >

[PATCH] android_ab: Try backup booloader_message

2023-07-03 Thread Joshua Watt
Some devices keep 2 copies of the bootloader_message in the misc partition and write each in sequence when updating. This ensures that there is always one valid copy of the bootloader_message. Teach u-boot to optionally try a backup bootloader_message from a specified offset if the primary one

Re: [PATCH v2] dt-bindings: riscv: deprecate riscv,isa

2023-07-03 Thread Ben Dooks
On 08/06/2023 17:54, Conor Dooley wrote: From: Conor Dooley intro = When the RISC-V dt-bindings were accepted upstream in Linux, the base ISA etc had yet to be ratified. By the ratification of the base ISA, incompatible changes had snuck into the specifications - for example the Zicsr and

[PATCH v2 5/5] cmd: mbr: Force DOS driver to be used for verify

2023-07-03 Thread Joshua Watt
Forces the DOS partition type driver to be used when verifying the MBR. This is particularly useful when using a hybrid MBR & GPT layout as otherwise MBR verification would mostly likely fail since the GPT partitions will be returned, even if the MBR is actually valid. Signed-off-by: Joshua Watt

[PATCH v2 4/5] dm: test: Add test for part_get_info_by_type

2023-07-03 Thread Joshua Watt
Adds a test suite to ensure that part_get_info_by_type works correctly by creating a hybrid GPT/MBR partition table and reading both. Signed-off-by: Joshua Watt --- configs/sandbox_defconfig | 2 + test/dm/part.c| 87 +++ 2 files changed, 89

[PATCH v2 3/5] disk: part: Add API to get partitions with specific driver

2023-07-03 Thread Joshua Watt
Adds part_driver_get_type() API which can be used to force a specific driver to be used when getting partition information instead of relying on auto detection. Signed-off-by: Joshua Watt --- disk/part.c| 38 +++--- include/part.h | 19 ++- 2

[PATCH v2 2/5] dm: test: Improve partition test error output

2023-07-03 Thread Joshua Watt
Improve the logging when the partition test fails so that it is clear what went wrong, shown with actual values. Signed-off-by: Joshua Watt --- test/dm/part.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/dm/part.c b/test/dm/part.c index

[PATCH v2 1/5] dm: test: Fix partition test to use mmc2

2023-07-03 Thread Joshua Watt
d94d9844bc ("dm: part: Update test to use mmc2") attempted to make the test use mmc2, but the change was incomplete in that it didn't also change the strings that reference a specific partition. Fix these so that the test passes again Signed-off-by: Joshua Watt --- test/dm/part.c | 18

[PATCH v2 0/5] Fix 'mbr' command with hybrid MBR/GPT

2023-07-03 Thread Joshua Watt
When dealing with a hybrid MBR/GPT partition table, the 'mbr' command would misbehave because it was reading the GPT partitions instead of reading from the MBR when verifying. Fix this by forcing 'mbr verify' to read MBR partitions. V2: Fixed up dm_test_part tests and added tests for new API

[PATCH] tests: Fix exception when cleaning up skipped test

2023-07-03 Thread Joshua Watt
If test_cat and test_xxd cannot create the required file, the test will be skipped, but this would result in an exception being raised in the finally block because the file didn't exist to be cleaned up. This caused the test to be marked as failed instead of skipped. Signed-off-by: Joshua Watt

Re: [PATCH] video: backlight: pwm: avoid integer overflow in duty cycle calculation

2023-07-03 Thread Simon Glass
On Fri, 30 Jun 2023 at 13:38, Matthias Schiffer wrote: > > The intermediate value could overflow for large periods and levels. > > Signed-off-by: Matthias Schiffer > --- > drivers/video/pwm_backlight.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH 09/10] doc: cmd: add documentation for scmi

2023-07-03 Thread Simon Glass
Hi , On Mon, 3 Jul 2023 at 02:19, AKASHI Takahiro wrote: > > On Thu, Jun 29, 2023 at 08:10:02PM +0100, Simon Glass wrote: > > Hi AKASHI, > > > > On Wed, 28 Jun 2023 at 01:49, AKASHI Takahiro > > wrote: > > > > > > This is a help text for scmi command. > > > > > > Signed-off-by: AKASHI Takahiro

Re: [PATCH 07/10] test: dm: add SCMI base protocol test

2023-07-03 Thread Simon Glass
Hi, On Mon, 3 Jul 2023 at 01:57, AKASHI Takahiro wrote: > > On Thu, Jun 29, 2023 at 08:09:58PM +0100, Simon Glass wrote: > > Hi AKASHI, > > > > On Wed, 28 Jun 2023 at 01:49, AKASHI Takahiro > > wrote: > > > > > > Added is a new unit test for SCMI base protocol, which will exercise all > > > the

Re: [PATCH 08/10] cmd: add scmi command for SCMI firmware

2023-07-03 Thread Simon Glass
Hi, On Mon, 3 Jul 2023 at 01:55, AKASHI Takahiro wrote: > > On Thu, Jun 29, 2023 at 08:10:00PM +0100, Simon Glass wrote: > > Hi AKASHI, > > > > On Wed, 28 Jun 2023 at 01:49, AKASHI Takahiro > > wrote: > > > > > > This command, "scmi", provides a command line interface to various SCMI > > >

Re: [PATCH] tpm: Add TPM2_GetTestResult command support

2023-07-03 Thread Simon Glass
Hi Julia, On Mon, 3 Jul 2023 at 14:03, Julia Daxenberger wrote: > > Add TPM2_GetTestResult command support and change the command file and the > help accordingly. Add Python tests and sandbox driver functionality. > > The TPM2_GetTestResult command is performed after the TPM2_SelfTest command >

Re: [PATCH v2] efi_driver: fix duplicate efiblk#0 issue

2023-07-03 Thread Simon Glass
Hi Masahisa, On Mon, 3 Jul 2023 at 07:09, Masahisa Kojima wrote: > > The devnum value of the blk_desc structure starts from 0, > current efi_bl_create_block_device() function creates > two "efiblk#0" devices for the cases that blk_find_max_devnum() > returns -ENODEV and blk_find_max_devnum()

Re: [PATCH v13 05/10] arm_ffa: introduce armffa command

2023-07-03 Thread Simon Glass
Hi Abdellatif, On Mon, 3 Jul 2023 at 13:09, Abdellatif El Khlifi wrote: > > Hi Ilias, > > On Mon, Jul 03, 2023 at 12:59:58PM +0300, Ilias Apalodimas wrote: > > > > [...] > > > > > +int do_ffa_ping(struct cmd_tbl *cmdtp, int flag, int argc, char > > > > > *const argv[]) > > > > > +{ > > > > > +

[PATCH 2/2] imx93_evk: defconfig: add adc support

2023-07-03 Thread Luca Ellero
iMX93 ADC features: - 4 channels - 12 bit resolution Signed-off-by: Luca Ellero --- configs/imx93_11x11_evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx93_11x11_evk_defconfig b/configs/imx93_11x11_evk_defconfig index 89edebc4c6..30ef460c80 100644 ---

[PATCH 1/2] dm: adc: add iMX93 ADC support

2023-07-03 Thread Luca Ellero
This commit adds driver for iMX93 ADC. The driver is implemented using driver model and provides ADC uclass's methods for ADC single channel operations: - adc_start_channel() - adc_channel_data() - adc_stop() ADC features: - channels: 4 - resolution: 12-bit Signed-off-by:

[RESEND PATCH v5 0/2] imx93: add ADC support

2023-07-03 Thread Luca Ellero
Add ADC support for NXP iMX93 Changes for v2: - add "static" to functions - enable ADC in iMX93 EVK Changes for v3: - split in 3 commits - keep dts file in sync with Linux devicetree - add comments to commits Changes for v4: - add imx93_adc_power_down() in imx93_adc_stop() Changes for v5: -

Re: [PATCH u-boot 0/4] mmc: Explain and cleanup partition selection

2023-07-03 Thread Jaehoon Chung
Hi, On 4/14/23 06:10, Pali Rohár wrote: > Some people do not want to read review comments in emails. So put > comments and explanation into the source code itself; make emmc > partition selection code more explicit and validate configuration in > bubt command. Sorry for too late. After applied

Re: [PATCH v13 05/10] arm_ffa: introduce armffa command

2023-07-03 Thread Abdellatif El Khlifi
Hi Ilias, On Mon, Jul 03, 2023 at 12:59:58PM +0300, Ilias Apalodimas wrote: > > > [...] > > > > +int do_ffa_ping(struct cmd_tbl *cmdtp, int flag, int argc, char *const > > > > argv[]) > > > > +{ > > > > + struct ffa_send_direct_data msg = { > > > > + .data0 =

[PULL] u-boot-usb/master

2023-07-03 Thread Marek Vasut
The following changes since commit ac29400f1f4ae5df2542bacfe4c142db7824bd6c: Merge tag 'efi-2023-07-rc6' of https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-01 16:11:51 -0400) are available in the Git repository at: git://source.denx.de/u-boot-usb.git master for you to fetch

[PATCH v1] configs: rockchip: rock5b-rk3588: Enable CONFIG_PCI_INIT_R

2023-07-03 Thread Christopher Obbard
Enable CONFIG_PCI_INIT_R for rock5b pci enumeration during boot in order to autodetect the PCI ethernet NIC during the boot process. Signed-off-by: Christopher Obbard --- configs/rock5b-rk3588_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rock5b-rk3588_defconfig

Re: [PATCH v13 05/10] arm_ffa: introduce armffa command

2023-07-03 Thread Ilias Apalodimas
On Mon, 3 Jul 2023 at 12:55, Abdellatif El Khlifi wrote: > > Hi Ilias, > > On Tue, Jun 20, 2023 at 05:25:51PM +0300, Ilias Apalodimas wrote: > > [...] > > > +int do_ffa_ping(struct cmd_tbl *cmdtp, int flag, int argc, char *const > > > argv[]) > > > +{ > > > + struct ffa_send_direct_data

Re: [PATCH v13 05/10] arm_ffa: introduce armffa command

2023-07-03 Thread Abdellatif El Khlifi
Hi Ilias, On Tue, Jun 20, 2023 at 05:25:51PM +0300, Ilias Apalodimas wrote: > [...] > > +int do_ffa_ping(struct cmd_tbl *cmdtp, int flag, int argc, char *const > > argv[]) > > +{ > > + struct ffa_send_direct_data msg = { > > + .data0 = 0x, > > +

Re: [PATCH v13 01/10] arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

2023-07-03 Thread Abdellatif El Khlifi
Hi Ilias, On Tue, Jun 20, 2023 at 05:05:52PM +0300, Ilias Apalodimas wrote: > Hi Abdellatif, > > On Fri, 16 Jun 2023 at 18:28, Abdellatif El Khlifi > wrote: > > > > add support for x0-x17 registers used by the SMC calls > > > > In SMCCC v1.2 [1] arguments are passed in registers x1-x17. > >

Re: [PATCH v13 04/10] arm_ffa: introduce Arm FF-A support

2023-07-03 Thread Abdellatif El Khlifi
Hi Simon, On Sun, Jul 02, 2023 at 04:44:41PM +0100, Simon Glass wrote: > Hi Abdellatif, > ... > > > > Changelog: > > > > === > > > > > > > > v13: > > > > > > > > * doc minor change: specify in the readme that the user > > > >should call ffa_rxtx_unmap() driver operation to unmap >

Re: [PATCH] mmc:Remove the legacy mode clock setting operation

2023-07-03 Thread Jaehoon Chung
On 6/21/23 12:11, xf_...@163.com wrote: > From: xiefei > > Due to the need to read the register value before > switching to hs mode, the standard protocol does > not explicitly specify that the setting before > switching to hs mode is in legacy mode. Therefore, > the code at this point may cause

Re: [PATCHv2 3/3] net/lwip: add lwip library for the network stack

2023-07-03 Thread Maxim Uvarov
On Fri, 30 Jun 2023 at 22:38, Tom Rini wrote: > On Thu, Jun 29, 2023 at 06:34:30PM +0600, Maxim Uvarov wrote: > > > This commit adds lwip library for the U-boot network > > stack. Supported commands: ping, tftp, dhcp and wget. > > > > Signed-off-by: Maxim Uvarov > [snip] > > diff --git

Re: [PATCH v2] efi_driver: fix duplicate efiblk#0 issue

2023-07-03 Thread Heinrich Schuchardt
On 7/3/23 08:08, Masahisa Kojima wrote: The devnum value of the blk_desc structure starts from 0, current efi_bl_create_block_device() function creates two "efiblk#0" devices for the cases that blk_find_max_devnum() returns -ENODEV and blk_find_max_devnum() returns 0(one device found in this

Re: [PATCH] efi_driver: fix duplicate efiblk#0 issue

2023-07-03 Thread Masahisa Kojima
Hi Heinrich, On Mon, 3 Jul 2023 at 15:10, Heinrich Schuchardt wrote: > > On 7/3/23 04:47, Masahisa Kojima wrote: > > The devnum value of the blk_desc structure starts from 0, > > current efi_bl_create_block_device() function creates > > two "efiblk#0" devices for the cases that

Re: [PATCH] efi_driver: fix duplicate efiblk#0 issue

2023-07-03 Thread Heinrich Schuchardt
On 7/3/23 04:47, Masahisa Kojima wrote: The devnum value of the blk_desc structure starts from 0, current efi_bl_create_block_device() function creates two "efiblk#0" devices for the cases that blk_find_max_devnum() returns -ENODEV and blk_find_max_devnum() returns 0(one device found in this

[PATCH v2] efi_driver: fix duplicate efiblk#0 issue

2023-07-03 Thread Masahisa Kojima
The devnum value of the blk_desc structure starts from 0, current efi_bl_create_block_device() function creates two "efiblk#0" devices for the cases that blk_find_max_devnum() returns -ENODEV and blk_find_max_devnum() returns 0(one device found in this case). This commit uses