merge of rtems mainline with beagleboard bsp

a few fixes to make the merge build.