[U-Boot] [PATCH] test/py: Add support for loading image via tftp to specified location

Michal Simek michal.simek at xilinx.com
Mon Apr 4 20:06:48 CEST 2016


On 31.3.2016 18:31, Stephen Warren wrote:
> On 03/31/2016 02:32 AM, Michal Simek wrote:
>> For example this setting:
>>
>> env__net_tftp_readable_file = {
>>      "fn": "ep108/image.ub",
>>      "addr": "0x10000000",
> 
> Why not remove the quotes, so the value is an integer already...
> 
> Could you please add the "addr" field into the example at the top of
> test_net.py too?
> 
>> diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py
> 
>> +        addr = int(addr,16)
> 
> There should be a space after the comma.
> 
> ... but removing the quotes as I mentioned above would allow removing
> this int() call altogether.

All added to v2 and sent.

Thanks,
Michal


More information about the U-Boot mailing list