On 7/9/20 5:28 am, Karel Gardas wrote: > > 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
Could you please add `raise` after this line ... https://git.rtems.org/rtems-tools/tree/tester/rt/tftpserver.py#n442 and report back the exception trace back? > 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/ Looks fine. > Since rtems-tftp server was changed by the commit above, I've thought it > may be interesting to report. Thank you for reporting this. Chris _______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users