rtems-tftp server not working with iPXE.

Karel Gardas karel.gardas at centrum.cz
Sun Sep 6 19:28:07 UTC 2020


Hi,

I'm using latest rtems-tools, my HEAD is on
eb3608133b41b9cb7b4dd55cb15d77691d2300c6.

I'm trying to use rtems-tftp-server to serve 5.1 pc686 BSP's tests to
the target hardware. On target hardware side I'm using fairly recent
iPXE code base (ISO downloaded last month) booting from USB stick and
then tftp booting RTEMS application. At least that was theory, in
practice I'm not able to tftp boot from iPXE since rtems tftp server
complains about python errors:

] tftp: server: all:69
] tftp: 1: start: 10.0.30.128:3419
] tftp: 1: error: <type 'exceptions.TypeError'>: unsupported operand
type(s) for <<: 'str' and 'int'
] tftp: 1: end: 10.0.30.128:3419
] tftp: 2: start: 10.0.30.128:3419
] tftp: 2: error: <type 'exceptions.TypeError'>: unsupported operand
type(s) for <<: 'str' and 'int'
] tftp: 2: end: 10.0.30.128:3419
] tftp: 3: start: 10.0.30.128:3419
] tftp: 3: error: <type 'exceptions.TypeError'>: unsupported operand
type(s) for <<: 'str' and 'int'
] tftp: 3: end: 10.0.30.128:3419
] tftp: 4: start: 10.0.30.128:3419
] tftp: 4: error: <type 'exceptions.TypeError'>: unsupported operand
type(s) for <<: 'str' and 'int'
] tftp: 4: end: 10.0.30.128:3419
] tftp: 5: start: 10.0.30.128:3419
] tftp: 5: error: <type 'exceptions.TypeError'>: unsupported operand
type(s) for <<: 'str' and 'int'
] tftp: 5: end: 10.0.30.128:3419
] tftp: 6: start: 10.0.30.128:3419
] tftp: 6: error: <type 'exceptions.TypeError'>: unsupported operand
type(s) for <<: 'str' and 'int'
] tftp: 6: end: 10.0.30.128:3419

and my iPXE is complaining about timeout while loading RTEMS binary over
network.

The tftp server was started with following command-line:

sudo ~/git/rtems/rtems-tools/tester/rtems-tftp-server -v -b
~/sfw/rtems/5.1-smp/i386-rtems5/pc686/tests/

Since rtems-tftp server was changed by the commit above, I've thought it
may be interesting to report.

Thanks,
Karel


More information about the users mailing list