[PATCH 00/10] Raspberry Pi 2 (BCM2836) SMP support

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Sep 9 07:47:03 UTC 2016



On 09/09/16 09:43, Pavel Pisa wrote:
> Hello Chris and others,
>
> On Friday 09 of September 2016 02:06:19 Chris Johns wrote:
>> >On 09/09/2016 07:46, Pavel Pisa wrote:
>>> > >I have provided simple bsp_reset() for Raspberry Pi and pushed it into
>>> > >master.
>> >
>> >Thank you. Is the reset on exit on by default? I rebuilt without a BSP
>> >opt and the Rpi2 did not reset. I see a reference to
>> >BSP_RESET_BOARD_AT_EXIT but I do not know what the default is.
>> >
>> >I think*all*  RTEMS BSPs should reset on exit and shut-down by default.
>> >It is the normal production setting for most systems.
> Mainly for others, the BSP default cleanup operations
> selection mechanism is defined in
>
>    rtems/c/src/aclocal/bsp-bspcleanup-options.m4
>
> RTEMS_BSP_CLEANUP_OPTIONS
>    
> dnl USAGE:
> dnl    RTEMS_BSP_CLEANUP_OPTIONS([0|1], [0|1], [0|1])
> dnl WHERE:
> dnl    argument 1 indicates the default value for BSP_PRESS_KEY_FOR_RESET
> dnl    argument 2 indicates the default value for BSP_RESET_BOARD_AT_EXIT
> dnl    argument 3 indicates the default value for BSP_PRINT_EXCEPTION_CONTEXT

Maybe it makes sense to remove the ability to change the default, so 
what all BSPs have the same defaults. You can change the behaviour via 
the configure command line if needed.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list