.
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 login prompt.
Signed-off-by: Love
.
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 login prompt.
Signed-off-by: Love
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
.
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 login prompt.
Signed-off-by: Love
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 a/test/py/u_boot_console_base.py b
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
.
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 login prompt.
Signed-off-by: Love
.
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 login prompt.
Signed-off-by: Love
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 | 190
-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
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/tests
.
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 login prompt.
Signed-off-by: Love
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
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
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
.
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
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
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
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
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(+)
create
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
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
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
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
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
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
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
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
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 -
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/test_net.py
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
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
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 insertions(+)
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
48 matches
Mail list logo