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

Michal Simek michal.simek at amd.com
Tue Nov 21 13:57:29 CET 2023



On 11/16/23 16:48, Tom Rini wrote:
> On Tue, Nov 14, 2023 at 02:09:01PM +0530, Love Kumar wrote:
> 
>> 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 <love.kumar at amd.com>
>> ---
>> 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 +++++++++++++++++++++++++++++++++++++++
>>   1 file changed, 47 insertions(+)
> 
> Can you try this on a Raspberry Pi, or other platform as well? With this
> applied the problem I see now is that the next network test, ping, then
> fails because we don't have network configuration now.
> 

Obviously we don't have any RPi available for test but I can imagine that phy 
stops to work when require additional setting. Because the patch itself just 
reset phy itself without doing any additional setting.
I told to Love to permit this test only when variable enables it and I can also 
imagine that after this test reboot should be called to continue with next test.

Thanks,
Michal


More information about the U-Boot mailing list