OAR is standing up hardware testing capabilities / EVB5200 issue

Lou Woods Lou.Woods at OARcorp.com
Wed Feb 6 23:49:28 UTC 2019


With the help of Chris Johns and Joel Sherrill, I've set up a means to download and test the RTEMS test suite on the BeagleBone Black and Freescale EVB5200B (Icecube).  The BBB passed 569 of the 590 tests. There were 12 failures, but these could be test framework related.  I haven't investigated them yet.  I appreciate your help guys.

I'm having issues with the EVB5200 though.  Of the 591 tests only 1 passed.  Each test I investigated simply reset the board as soon as U-Boot transferred control.  I'm using the latest icecube BSP build fresh from the git master.  The log snippet at the bottom is from RTEMS tester and demonstrates a typical failure.  As seen below I'm using the load address 0x1000000 and the entry point 0x40000 per the wiki page: https://devel.rtems.org/wiki/TBR/BSP/Gen5200

The only test that passes is the minimum test.  I've also manually built hello and tested it outside of the test framework with the same result.  Any ideas?

Here is the mkimg script:
$ cat bin/rtems-icecube-mkimg
#! /bin/sh



for EXE_NAME in $*
  if [ ! -f $EXE_NAME ]; then
   echo "error: not found: $EXE_NAME"
   exit 1
  echo "Image: $EXE_NAME"
  ${OBJCOPY} -R -S -O binary "$EXE_NAME" "$EXE_NAME.bin" || exit 1
  cat "$EXE_NAME.bin" | gzip -9 >"$EXE_NAME.gz"
  mkimage \
   -A ppc -O rtems -T kernel -a $START_ADDR -e $ENTRY_ADDR -n "RTEMS" \
   -d "$EXE_NAME.gz" "$EXE_NAME.img"

exit 0

The EVB5200 U-Boot boot command is:
bootcmd=dhcp; setenv serverip; tftp 1000000 icecube.img; bootm; reset

Tester run log snippet:
=>  tftp: ./powerpc-rtems5/c/icecube/testsuites/benchmarks/linpack.exe.img
] BOOTP broadcast 1
] DHCP client bound to address
] Using FEC ETHERNET device
] TFTP from server; our IP address is
] Filename 'icecube.img'.
] Load address: 0x1000000
] Loading: #############
] done
] Bytes transferred = 66040 (101f8 hex)
] ## Booting image at 01000000 ...
]    Image Name:   RTEMS
]    Image Type:   PowerPC RTEMS Kernel Image (gzip compressed)
]    Data Size:    65976 Bytes = 64.4 kB
]    Load Address: 00040000
]    Entry Point:  00040000
]    Uncompressing Kernel Image ... OK
] ## Transferring control to RTEMS (at address 00040000) ...
] U-Boot 1.1.3 (Apr  5 2006 - 21:06:06)
] CPU:   MPC5200 v2.2 at 462 MHz
]        Bus 132 MHz, IPB 132 MHz, PCI 33 MHz
] Board: Freescale MPC5200 (Lite5200B)

Thanks for any help you can provide,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190206/8548797d/attachment.html>

More information about the devel mailing list