[UBOOT PATCH v2] test/py: net: Add a TFTP put test

2023-10-31 Thread Love Kumar
Execute tftpput command for uploading files to a server and validate its size & CRC32. Signed-off-by: Love Kumar --- Changes in v2: - Add marking for cmd_tftpput config --- test/py/tests/test_net.py | 72 +++ 1 file changed, 72 insertions(+) diff --g

[UBOOT PATCH v2] test/py: net: Add dhcp abort test

2023-10-31 Thread Love Kumar
Abort the dhcp request in the middle by pressing ctrl + c on u-boot prompt and validate the abort status. Signed-off-by: Love Kumar --- Changes in v2: - Mark CMD_MII command dependency --- test/py/tests/test_net.py | 45 +++ 1 file changed, 45 insertions

[PATCH] test/py: sleep: Add a test for the time command

2023-09-26 Thread Love Kumar
Execute "time ", and validate that it gives the approximately the correct amount of command execution time. Signed-off-by: Love Kumar --- test/py/tests/test_sleep.py | 20 1 file changed, 20 insertions(+) diff --git a/test/py/tests/test_sleep.py b/tes

[PATCH v2] test/py: sleep: Add a test for the time command

2023-09-27 Thread Love Kumar
Execute "time ", and validate that it gives the approximately the correct amount of command execution time. Signed-off-by: Love Kumar --- Changes in v2: - Used @pytest.mark.buildconfigspec('') --- test/py/tests/test_sleep.py | 18 ++ 1 file changed, 18 inser

[PATCH] test/py: net: Add a TFTP put test

2023-10-03 Thread Love Kumar
Execute tftpput command for uploading files to a server and validate its size & CRC32. Signed-off-by: Love Kumar --- test/py/tests/test_net.py | 69 +++ 1 file changed, 69 insertions(+) diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py i

[PATCH] test/py: net: Add dhcp abort test

2023-10-03 Thread Love Kumar
Abort the dhcp request in the middle by pressing ctrl + c on u-boot prompt and validate the abort status. Signed-off-by: Love Kumar --- test/py/tests/test_net.py | 44 +++ 1 file changed, 44 insertions(+) diff --git a/test/py/tests/test_net.py b/test/py

[PATCH] test/py: net: Add a test for 'pxe get' command

2023-10-03 Thread Love Kumar
Execute the 'pxe get' command to download a pxe configuration file from the TFTP server and validate its interpretation. Signed-off-by: Love Kumar --- test/py/tests/test_net.py | 66 +++ 1 file changed, 66 insertions(+) diff --git a/test/py/tests/t

[PATCH v2] test/py: mii: Add tests for mii command

2023-12-05 Thread Love Kumar
Add below test cases for mii commands: mii_info -To display MII PHY info mii_list - To list MII devices mii_set_device - To set MII device mii_read - To reads register from MII PHY address mii_dump - To display data from MII PHY address Signed-off-by: Love Kumar --- Changes in v2: - Get MII

[PATCH] test/py: mdio: Add tests for mdio command

2023-12-19 Thread Love Kumar
Add below test cases for mdio commands: mdio_list - To list MDIO buses mdio_read - To read PHY's register at . mdio_write - To write PHY's register at . Signed-off-by: Love Kumar --- test/py/tests/test_mdio.py | 79 ++ 1 file changed, 79 insertions(

[PATCH v3] test/py: mii: Add tests for mii command

2024-01-01 Thread Love Kumar
Add below test cases for mii commands: mii_info -To display MII PHY info mii_list - To list MII devices mii_set_device - To set MII device mii_read - To reads register from MII PHY address mii_dump - To display data from MII PHY address Signed-off-by: Love Kumar --- Changes in v2: - Get MII

[PATCH v3] test/py: i2c: Add tests for i2c command

2024-01-01 Thread Love Kumar
Add below test cases for i2c commands: i2c_bus - To show i2c bus info, i2c_dev - To set or show the current bus, i2c_probe - To probe the i2c device, i2c_eeprom - To test i2c eeprom device, i2c_probe_all_buses - To list down all the buses and probes it Signed-off-by: Love Kumar --- Changes in v2

[PATCH v6] test/py: net_boot: Add test cases for net boot

2024-06-03 Thread Love Kumar
. This test relies on boardenv_* containing configuration values including the parameter 'pattern'. tftpboot/pxe boot cases boots the Linux till the boot log pattern value is matched. For example, if the parameter 'pattern' is defined as 'login:', it will boot till logi

[PATCH v7] test/py: net_boot: Add test cases for net boot

2024-06-05 Thread Love Kumar
. This test relies on boardenv_* containing configuration values including the parameter 'pattern'. tftpboot/pxe boot cases boots the Linux till the boot log pattern value is matched. For example, if the parameter 'pattern' is defined as 'login:', it will boot till logi

[PATCH v2] test/py: spi: Add tests for SPI flash device

2024-07-24 Thread Love Kumar
Add test cases for sf commands to verify various SPI flash operations such as erase, write and read. It also adds qspi lock unlock cases. This test relies on boardenv_* configurations to run it for different SPI flash family such as single SPI, QSPI, and OSPI. Signed-off-by: Love Kumar

[PATCH] test/py: memtest: Add tests for mtest command

2024-01-03 Thread Love Kumar
Add the following memory tests: memtest_negative - To test mtest command by providing incorrect inputs memtest_ddr - To test memory write-read-comparision for DDR memory Signed-off-by: Love Kumar --- test/py/tests/test_memtest.py | 68 +++ 1 file changed, 68

[PATCH] test/py: net_boot: Add test cases for net boot

2024-01-08 Thread Love Kumar
. Signed-off-by: Love Kumar --- test/py/tests/test_net_boot.py | 371 + 1 file changed, 371 insertions(+) create mode 100644 test/py/tests/test_net_boot.py diff --git a/test/py/tests/test_net_boot.py b/test/py/tests/test_net_boot.py new file mode 100644 index

[PATCH] test/py: bootstage: Add test for bootstage command

2024-01-09 Thread Love Kumar
Add test cases for bootstage command to print the bootstage report, to stash the data into memory and to unstash the data from memory. Signed-off-by: Love Kumar --- test/py/tests/test_bootstage.py | 67 + 1 file changed, 67 insertions(+) create mode 100644 test

[PATCH] test/py: reset: Add a test for reset command

2024-01-10 Thread Love Kumar
Add a test for reset commands which performs resetting of CPU, It does COLD reset by default and WARM reset with -w option. Signed-off-by: Love Kumar --- test/py/tests/test_reset.py | 50 + 1 file changed, 50 insertions(+) create mode 100644 test/py/tests

[PATCH] test/py: saveenv: Add a test for saveenv command

2024-01-11 Thread Love Kumar
Add test case for saveenv command in non-JTAG bootmode which saves the u-boot environment variables in persistent storage. Signed-off-by: Love Kumar --- test/py/tests/test_saveenv.py | 125 ++ 1 file changed, 125 insertions(+) create mode 100644 test/py/tests

[PATCH v2] test/py: net_boot: Add test cases for net boot

2024-01-12 Thread Love Kumar
. This test relies on boardenv_* containing configuration values including the parameter 'pattern'. tftpboot/pxe boot cases boots the Linux till the boot log pattern value is matched. For example, if the parameter 'pattern' is defined as 'login:', it will boot till logi

[PATCH] test/py: zynqmp_rpu: Add test for loading RPU apps

2024-01-18 Thread Love Kumar
Add testcases for loading RPU applications in split and lockstep mode including the negative one for AMD's ZynqMP SoC. Signed-off-by: Love Kumar --- test/py/tests/test_zynqmp_rpu.py | 208 +++ 1 file changed, 208 insertions(+) create mode 100644 test/py/

[PATCH] test/py: gpio: Add gpio pins generic test

2024-01-18 Thread Love Kumar
-by: Love Kumar --- test/py/tests/test_gpio.py | 90 ++ 1 file changed, 90 insertions(+) diff --git a/test/py/tests/test_gpio.py b/test/py/tests/test_gpio.py index 0af186f23602..3e16e6365743 100644 --- a/test/py/tests/test_gpio.py +++ b/test/py/tests

[PATCH] test/py: secure: Add secure tests for Zynq & ZynqMP

2024-01-19 Thread Love Kumar
Add test cases to verify the different type of secure boot images loaded at DDR location for AMD's ZynqMP SoC. It also adds tests authentication and decryption functionality using AES and RSA features for Zynq. Signed-off-by: Love Kumar --- test/py/tests/test_zynq_secure.py

[PATCH] test/py: mmc: Add tests for MMC device

2024-01-19 Thread Love Kumar
Add the test cases for mmc commands to test its various functionality such as mmc list, dev, info, rescan, part, ls, load, and save. It also adds different file systems cases such as fat32, ext2 and ext4. Signed-off-by: Love Kumar --- test/py/tests/test_mmc.py | 671

[PATCH] test/py: usb: Add tests for USB device

2024-01-19 Thread Love Kumar
Add the test cases for usb commands to test its various functionality such as start, stop, reset, info, tree, storage, dev, part, ls, load, and save. It also adds different file systems cases such as fat32, ext2 and ext4. Signed-off-by: Love Kumar --- test/py/tests/test_usb.py | 626

[PATCH] test/py: nand: Add tests for NAND flash device

2024-01-19 Thread Love Kumar
Add tests for nand commands to test various NAND flash operations such as erase, write and read. Signed-off-by: Love Kumar --- test/py/tests/test_nand.py | 201 + 1 file changed, 201 insertions(+) create mode 100644 test/py/tests/test_nand.py diff --git a

[PATCH] test/py: spi: Add tests for SPI flash device

2024-01-19 Thread Love Kumar
Add test cases for sf commands to verify various SPI flash operations such as erase, write and read. It also adds qspi lock unlock cases. This test relies on boardenv_* configurations to run it for different SPI flash family such as single SPI, QSPI, and OSPI. Signed-off-by: Love Kumar --- test

[PATCH] test/py: scsi: Add test for scsi commands

2024-01-19 Thread Love Kumar
Add a following test cases for scsi commands: scsi_reset - To reset SCSI controller scsi_info - To show available SCSI devices scsi_scan - To (re-)scan SCSI bus scsi_device - To show or set surrent device scsi_part - To print partition table of selected SCSI device Signed-off-by: Love Kumar

[PATCH v5] test/py: net: Add dhcp abort test

2024-01-30 Thread Love Kumar
Abort the dhcp request in the middle by pressing ctrl + c on u-boot prompt and validate the abort status. Signed-off-by: Love Kumar --- Changes in v2: - Mark CMD_MII command dependency Changes in v3: - Skip the test if PHY device not present Changes in v4: - Setup the network configuration

[UBOOT PATCH v3] test/py: net: Add a TFTP put test

2023-11-07 Thread Love Kumar
Execute tftpput command for uploading files to a server and validate its size & CRC32. Signed-off-by: Love Kumar --- Changes in v2: - Add marking for cmd_tftpput config Chnages in v3: - Add filename to upload as part of env file --- test/py/tests/test_net.py

[UBOOT PATCH v3] test/py: net: Add dhcp abort test

2023-11-14 Thread Love Kumar
Abort the dhcp request in the middle by pressing ctrl + c on u-boot prompt and validate the abort status. Signed-off-by: Love Kumar --- Changes in v2: - Mark CMD_MII command dependency Changes in v3: - Skip the test if PHY device not present --- test/py/tests/test_net.py | 47

[PATCH] test/py: i2c: Add tests for i2c command

2023-11-14 Thread Love Kumar
Add below test cases for i2c commands: i2c_bus - To show i2c bus info, i2c_dev - To set or show the current bus, i2c_probe - To probe the i2c device, i2c_eeprom - To test i2c eeprom device, i2c_probe_all_buses - To list down all the buses and probes it Signed-off-by: Love Kumar --- test/py

[PATCH] test/py: mii: Add tests for mii command

2023-11-21 Thread Love Kumar
Add below test cases for mii commands: mii_info -To display MII PHY info mii_list - To list MII devices mii_set_device - To set MII device mii_read - To reads register from MII PHY address mii_dump - To display data from MII PHY address Signed-off-by: Love Kumar --- test/py/tests/test_mii.py

[PATCH v2] test/py: i2c: Add tests for i2c command

2023-11-21 Thread Love Kumar
Add below test cases for i2c commands: i2c_bus - To show i2c bus info, i2c_dev - To set or show the current bus, i2c_probe - To probe the i2c device, i2c_eeprom - To test i2c eeprom device, i2c_probe_all_buses - To list down all the buses and probes it Signed-off-by: Love Kumar --- Changes in v2

[UBOOT PATCH v4] test/py: net: Add dhcp abort test

2023-11-21 Thread Love Kumar
Abort the dhcp request in the middle by pressing ctrl + c on u-boot prompt and validate the abort status. Signed-off-by: Love Kumar --- Changes in v2: - Mark CMD_MII command dependency Changes in v3: - Skip the test if PHY device not present Changes in v4: - Setup the network configuration

[PATCH v4] test/py: net_boot: Add test cases for net boot

2024-05-03 Thread Love Kumar
. This test relies on boardenv_* containing configuration values including the parameter 'pattern'. tftpboot/pxe boot cases boots the Linux till the boot log pattern value is matched. For example, if the parameter 'pattern' is defined as 'login:', it will boot till logi

Re: [PATCH v4] test/py: net_boot: Add test cases for net boot

2024-05-06 Thread Love Kumar
On 04/05/24 1:48 am, Tom Rini wrote: On Fri, May 03, 2024 at 05:39:46PM +0530, Love Kumar wrote: Add tests for booting image using tftpboot/pxe boot commands, tftpboot boot case loads the FIT image into DDR and boots using bootm command whereas pxe boot cases downloads the pxe configuration

[PATCH] test/py: Add support to enable check for bad pattern

2024-05-22 Thread Love Kumar
ERROR -2: can't get kernel image!') with u_boot_console.enable_check(check_type, check_pattern): u_boot_console.run_command('') Signed-off-by: Love Kumar --- test/py/u_boot_console_base.py | 44 ++ 1 file changed, 44 insertions(+) diff --git

[PATCH v5] test/py: net_boot: Add test cases for net boot

2024-05-28 Thread Love Kumar
. This test relies on boardenv_* containing configuration values including the parameter 'pattern'. tftpboot/pxe boot cases boots the Linux till the boot log pattern value is matched. For example, if the parameter 'pattern' is defined as 'login:', it will boot till logi

Re: [PATCH v2 12/14] test/py: net: add _lwip variants of dhcp, ping and tftpboot tests

2024-05-28 Thread Love Kumar
= f.get('crc32', None) @@ -295,6 +304,10 @@ def test_net_tftpboot(u_boot_console): output = u_boot_console.run_command('crc32 $fileaddr $filesize') assert expected_crc in output +@pytest.mark.buildconfigspec("cmd_net_lwip") +def test_net_tftpboot_lwip(u_boot_console): +test_net_tftpboot(u_boot_console, True) + @pytest.mark.buildconfigspec('cmd_nfs') def test_net_nfs(u_boot_console): """Test the nfs command. Reviewed-by: Love Kumar

[PATCH v3] test/py: net_boot: Add test cases for net boot

2024-04-30 Thread Love Kumar
. This test relies on boardenv_* containing configuration values including the parameter 'pattern'. tftpboot/pxe boot cases boots the Linux till the boot log pattern value is matched. For example, if the parameter 'pattern' is defined as 'login:', it will boot till logi

[PATCH v2] test/py: saveenv: Add a test for saveenv command

2024-02-13 Thread Love Kumar
Add test case for saveenv command in non-JTAG bootmode which saves the u-boot environment variables in persistent storage. Signed-off-by: Love Kumar --- Changes in v2: - Set bootmode through boardenv if modeboot is not defined --- test/py/tests/test_saveenv.py | 138

[PATCH v2] test/py: reset: Add a test for reset command

2024-02-13 Thread Love Kumar
Add a test for reset commands which performs resetting of CPU, It does COLD reset by default and WARM reset with -w option. Signed-off-by: Love Kumar --- Changes in v2: - Set bootmode through boardenv if modeboot is not defined --- test/py/tests/test_reset.py | 63

[PATCH v3] test/py: reset: Add a test for reset command

2024-02-19 Thread Love Kumar
Add a test for reset commands which performs resetting of CPU, It does COLD reset by default and WARM reset with -w option. Signed-off-by: Love Kumar --- Changes in v2: - Set bootmode through boardenv if modeboot is not defined Changes in v3: - Fix the issue with bad pattern found on console

[PATCH v3] test/py: saveenv: Add a test for saveenv command

2024-02-19 Thread Love Kumar
Add test case for saveenv command in non-JTAG bootmode which saves the u-boot environment variables in persistent storage. Signed-off-by: Love Kumar --- Changes in v2: - Set bootmode through boardenv if modeboot is not defined Changes in v3: - Fix the issue with bad patterns and escape

Re: [PATCH v3] test/py: reset: Add a test for reset command

2024-03-11 Thread Love Kumar
Hi, On 11/03/24 2:11 pm, Angelo Dureghello wrote: Hi, jfyi, reset support added in qemu merged as commit d3c79c3974. Regards, angelo The other issue was with echo commands: => echo $modeboot $modeboot => echo $? $? Does HUSH shell is enabled by default for this? Regards, Love Kuma

[PATCH v4] test/py: saveenv: Add a test for saveenv command

2024-03-12 Thread Love Kumar
Add test case for saveenv command in non-JTAG bootmode which saves the u-boot environment variables in persistent storage. Signed-off-by: Love Kumar --- Changes in v2: - Set bootmode through boardenv if modeboot is not defined Changes in v3: - Fix the issue with bad patterns and escape

[PATCH v4] test/py: reset: Add a test for reset command

2024-03-12 Thread Love Kumar
Add a test for reset commands which performs resetting of CPU, It does COLD reset by default and WARM reset with -w option. Signed-off-by: Love Kumar --- Changes in v2: - Set bootmode through boardenv if modeboot is not defined Changes in v3: - Fix the issue with bad pattern found on console

Re: [PATCH 2/5] mmc: zynq-sdhci: refactor tapdelay settings

2024-03-13 Thread Love Kumar
00 0001 ZynqMP> Regards, Love Kumar On 23/02/24 7:36 pm, Steffen Dirkwinkel wrote: From: Steffen Dirkwinkel Previously we were setting in tapdelay for SD1 every time even if SD0 was requested. The SD tapdelay settings are shifted by 16 bits between SD0 and SD1. We can use that to make our

[PATCH v3] test/py: spi: Add tests for SPI flash device

2024-07-31 Thread Love Kumar
Add test cases for sf commands to verify various SPI flash operations such as erase, write and read. It also adds qspi lock unlock cases. This test relies on boardenv_* configurations to run it for different SPI flash family such as single SPI, QSPI, and OSPI. Signed-off-by: Love Kumar

[PATCH] versal2: Update the sys prompt name

2024-08-08 Thread Love Kumar
versal2 refers as "Versal Gen 2" as a generic approved name so using the same as u-boot prompt name for all versal2 defconfig Signed-off-by: Love Kumar --- configs/amd_versal2_mini_defconfig | 2 +- configs/amd_versal2_mini_emmc_defconfig | 2 +- configs/amd_versal2_mini_ospi_def

Re: [PATCH] test/py/tests/test_bootstage.py: Combine stash/unstash tests

2024-08-28 Thread Love Kumar
. Signed-off-by: Tom Rini --- It's possible we could solve this instead by getting addr / size again from our environment file, and then also noting that order-wise the unstash test follows the stash test. However, this felt more clean to me. Agree with this approach. Reviewed-by: Love Kumar Re

[PATCH] test/py: spi: Set the expected error message

2024-08-29 Thread Love Kumar
If erase/write/read size is 0 then it throws the mentioned error message when debug message ie enabled as per "899fb5aa8becc159b1eb086d8828c4e8eb28f121" , setting it to None as debug message is not enabled by default for testing. Signed-off-by: Love Kumar --- test/py/tests/test_

[PATCH v2] test/py: spi: Set the expected error message

2024-09-02 Thread Love Kumar
If erase/write/read size is 0 then it throws the mentioned error message when debug message ie enabled as per 899fb5aa8bec ("cmd: sf/nand: Print and return failure when 0 length is passed"), setting it to None as debug message is not enabled by default for testing. Signed-off-by:

[PATCH] test/py: mmc: Add support for different mmc modes

2024-11-12 Thread Love Kumar
Currently, MMC test runs on default mmc modes, adding a provision to support multiple mmc modes through user defined parameters. Signed-off-by: Love Kumar --- test/py/tests/test_mmc.py | 608 +- 1 file changed, 335 insertions(+), 273 deletions(-) diff --git

[PATCH] test/py: usb: Distinguish b/w ext2/ext4 partitions

2024-11-12 Thread Love Kumar
'usb part' command shows the partition maps and shows the partition type by displaying number such as 0c, 83 etc. Observed that ext2 and ext4 partitions shows the same number, i.e, 83, so, using the fstype command to distiniguish between ext2 and ext4 partitions. Signed-off-by:

[PATCH] test/py: mmc: Distinguish b/w ext2/ext4 partitions

2024-11-12 Thread Love Kumar
'mmc part' command shows the partition maps and shows the partition type by displaying number such as 0c, 83 etc. Observed that ext2 and ext4 partitions shows the same number, i.e, 83, so, using the fstype command to distiniguish between ext2 and ext4 partitions. Signed-off-by:

Re: [PATCH v9 11/12] test: Correct regex string in test_spi

2024-11-12 Thread Love Kumar
group(1), 16) start = 0 Reviewed-by: Love Kumar

Re: [PATCH] test/py: spi: prevent overwriting relocation memory

2024-10-29 Thread Love Kumar
es would be appreciated. Thanks for looking it. We'll send the separate patch for the above. Regards, Love Kumar

Re: [PATCH] test/py: spi: prevent overwriting relocation memory

2024-10-29 Thread Love Kumar
trying to overwrite reserved memory' +flash_ops( +u_boot_console, 'read', start, size, res_area, 1, error_msg, EXPECTED_READ + ) + i = i + 1 Reviewed-by: Love Kumar

[PATCH] test/py: spi: Rephrase the warning/error messages

2024-11-15 Thread Love Kumar
Rephrasing the error and warning messages to be more meaningful and clear. Signed-off-by: Love Kumar --- test/py/tests/test_spi.py | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/py/tests/test_spi.py b/test/py/tests/test_spi.py index 44e54738dd09

[PATCH] test/py: zynqmp_rpu: Fix tcminit mode value

2024-11-15 Thread Love Kumar
Update the tcminit value to string and number both as per commit 342ccba5586a ("arm64: zynqmp: Fix tcminit mode value based on argv") and also adds negative cases based on invalid command sequences. Signed-off-by: Love Kumar --- test/py/tests/test_zynqmp_r

Re: [PATCH 0/6] ufs: core: initial cleanup and defines sync with Linux v6.12

2024-11-25 Thread Love Kumar
deletions(-) --- base-commit: dc1859f8d2ac3faaa5e2e1d465ec4bd8980520a5 change-id: 20241120-topic-ufs-cleanup-23671e3fc9e9 Best regards, Verified these changes on AMD platform (amd_versal2_virt_defconfig) and didn't observe any issue with this series. Tested-by: Love Kumar Regards, Love Kumar

Re: [PATCH 1/4] test/py: Shorten u_boot_console

2025-02-02 Thread Love Kumar
ll the others. I have a couple of names to suggest: 1) "ubintf"/"ub_interface" - As it interacts with U-Boot during testing and acts as the primary interface. 2) "ubman"/"ub_manager" - As it manages multiple things in tests, not only limited to console. Regards, Love Kumar Regards, Simon

Re: [RFC PATCH 0/4] Fix page permission on arm64 architectures

2025-02-04 Thread Love Kumar
115632 0 115632 1c3b0 u-boot.elf With patch: text data bss dec hex filename 0 128688 0 128688 1f6b0 u-boot.elf Regards, Love Kumar -- 2.43.0

Re: [RFC PATCH 0/4] Fix page permission on arm64 architectures

2025-02-04 Thread Love Kumar
Hi Ilias, On 04/02/25 5:42 pm, Ilias Apalodimas wrote: Hi Love, On Tue, 4 Feb 2025 at 13:53, Love Kumar wrote: Hi Ilias, On 30/01/25 12:50 pm, Ilias Apalodimas wrote: U-Boot maps all pages as RWX. Sadly it's not not 1990 anymore and we are better off mapping binaries with p

Re: Enabling test/py/tests/test_spi.py more?

2025-02-06 Thread Love Kumar
SF: 16851552 bytes @ 0x0 Read: OK => => crc32 0x822000c8 0x1012260 crc32 for 822000c8 ... 83212327 ==> bf3e333c => I haven't tried with mx25l25635e part but on other macronix part (mx66u1g45g) - it was working on ZynqMP. Need to figure out if it is a flash specific issue

Re: [PATCH] test/py: usb: Fix format string for fstype command

2025-02-05 Thread Love Kumar
mat string arguments to prevent the error. Fixes: a730947974e3 ("test/py: usb: Distinguish b/w ext2/ext4 partitions") Signed-off-by: Andrew Goodbody Reviewed-by: Love Kumar Regards, Love Kumar --- test/py/tests/test_usb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] test/py: spi: Prevent to overwrite the reserved memory

2025-04-15 Thread Love Kumar
Update SPI negative tests to prevent SF command from overwriting the reserved memory area. Signed-off-by: Love Kumar --- test/py/tests/test_spi.py | 29 + 1 file changed, 29 insertions(+) diff --git a/test/py/tests/test_spi.py b/test/py/tests/test_spi.py index

Re: [PATCH] arm64: zynqmp: versal: Consistently use enum tcm_mode

2025-02-18 Thread Love Kumar
of a mix of bool and u8. No functional change intended. Signed-off-by: Marek Vasut Verified it on AMD platforms and didn't observe any issue. Tested-by: Love Kumar Regards, Love Kumar --- NOTE: Compile tested only --- Cc: Charlie Johnston Cc: Michal Simek Cc: Padmarao Begari Cc: P

Re: [PATCH] test/py: memtest: Fix test for non-trivial parameters

2025-03-30 Thread Love Kumar
ration = f.get("iteration", 2) timeout = f.get("timeout", 5) -end = hex(int(start) + int(size)) +end = hex(int(start, 16) + int(size, 16)) return start, end, pattern, iteration, timeout @pytest.mark.buildconfigspec("cmd_memtest") Reviewed-by: Love Kumar