Hang up at boot on armv5t

Mori Hiroki yamori813 at yahoo.co.jp
Tue Sep 19 06:30:03 UTC 2017


Hi

----- Original Message -----
>From: Warner Losh <imp at bsdimp.com>
>To: Mori Hiroki <yamori813 at yahoo.co.jp> 
>Cc: "freebsd-arm at freebsd.org" <freebsd-arm at freebsd.org>
>Date: 2017/9/19, Tue 00:32
>Subject: Re: Hang up at boot on armv5t
> 
>
>
>
>
>
>On Mon, Sep 18, 2017 at 12:59 AM, Mori Hiroki <yamori813 at yahoo.co.jp> wrote:
>
>Hi
>>
>>Now head is hung up at boot on armv5t. 
>>
>>KDB: debugger backends: ddb
>>KDB: current backend: ddb
>>Copyright (c) 1992-2017 The FreeBSD Project.
>>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>>        The Regents of the University of California. All rights reserved.
>>FreeBSD is a registered trademark of The FreeBSD Foundation.
>>FreeBSD 12.0-CURRENT #2 a3dbcdd(zrouter)-dirty: Mon Sep 11 18:04:22 JST 2017
>>    hiroki at microserver:/storage/ home/hiroki/obj/storage/home/ hiroki/zrouter/tmp/
>>arm.arm/storage/home/hiroki/ freebsd/sys/Buffalo_WZR2-G300N arm
>>FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM 5.0.0
>>svn)
>>
>>Last month build is fine.
>>
>>https://gist.github.com/ yamori813/ 88224f1c96c9c592fb611b12a15e4a b5
>
>
>You might want to do a binary search between the working and broken builds to see where it breaks. Without that, it's hard to make progress.
>
>
>Warner 


This is RT1310 build by sys/arm/ralink.

I get debug log by VERBOSE_SYSINIT.


Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-CURRENT #1 a3dbcdd(zrouter)-dirty: Tue Sep 19 15:03:43 JST 2017
    hiroki at microserver:/storage/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/
arm.arm/storage/home/hiroki/freebsd/sys/Buffalo_WZR2-G300N arm
FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM 5.0.0
svn)
subsystem 1000000
   0xc01c1674(0)... done.
   0xc01d3a0c(0)... done.
subsystem 1800000
   0xc00b9cb4(0)... done.
   0xc0097fc4(0)... done.
   0xc0097c00(0xc0280580)... 

I checked last address by objdump -D.

c0097c00 <malloc_init>:
c0280580 <M_GEOM>:

What is wrong ?

I use git repository on build. If I change git branch then arm platform is build take

 6 hour by my server. It is very hard debugging. 

Hiroki Mori



More information about the freebsd-arm mailing list