Is this related to the general panic discussed in freebsd-current?

Tim Kientzle kientzle at freebsd.org
Mon May 6 05:44:43 UTC 2013


On May 5, 2013, at 10:39 PM, Tim Kientzle wrote:
> 
> Here's a version of stack_capture that allows a Clang-built
> OABI kernel with WITNESS enabled to boot:
> 
> /* In sys/arm/arm/stack_machdep.c */
> static void
> stack_capture(struct stack *st, u_int32_t *frame)
> {
>        vm_offset_t callpc;
> 
>        stack_zero(st);
>        while (INKERNEL(frame)) {
>                callpc = frame[1];
>                if (stack_put(st, callpc) == -1)
>                        break;
>                frame = (u_int32_t *)(frame[0]);
>        }
> }

On a related note:  With this change, a Crochet-built BeagleBone
image does boot on BeagleBone Black.  ;-)

Tim



More information about the freebsd-arm mailing list