[PATCH] Add note to MOTLoad-equipped BSPs' READMEs that a "waitProbe", "netShut" must be performed before RTEMS boot

Nick Withers nick.withers at anu.edu.au
Thu Jan 16 03:37:26 UTC 2014


Hi all,

The attached patch adds a "WARNING" note to MOTLoad-equipped BSPs'
READMEs [1] that a "waitProbe", "netShut" must be performed before RTEMS
boot.

If this isn't done, MOTLoad's installed interrupt handlers for network
interfaces will continue to be triggered and cause memory corruption.
The "waitProbe" will add a delay to ensure that devices have been
detected; otherwise the "netShut" may be performed before all the
interfaces are detected and there's a race between their detection +
interrupt handler installation and the user-image boot.

I've already added a note to the same effect to these boards' Wiki
pages.

Thanks to Sebastian Huber for helping me correct an earlier
mis-diagnosis of the issue and Till Straumann for checking it.

If there're no objections I'd like to send out a message to rtems-users@
pointing to the warnings once they're committed...?

[1] I modified those for the Beatnik, MVME3100 and MVME5500 BSPs. Did I
miss any?
-- 
Nick Withers

Embedded Systems Programmer
Room 2.26, Building 57
Department of Nuclear Physics
Research School of Physics and Engineering
The Australian National University (CRICOS: 00120C)

eMail: nick.withers at anu.edu.au
Phone: +61 2 6125 2091
Mobile: +61 414 397 446
-------------- next part --------------
A non-text attachment was scrubbed...
Name: waitProbe+netShut.patch
Type: text/x-patch
Size: 3259 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20140116/c14f61d4/attachment.bin>


More information about the devel mailing list