From owner-freebsd-arm@FreeBSD.ORG Thu Jan 3 14:28:06 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 84D39E52 for ; Thu, 3 Jan 2013 14:28:06 +0000 (UTC) (envelope-from dev@macdevshanghai.com) Received: from mail-qc0-f170.google.com (mail-qc0-f170.google.com [209.85.216.170]) by mx1.freebsd.org (Postfix) with ESMTP id 2351AA82 for ; Thu, 3 Jan 2013 14:28:05 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id d42so8100490qca.15 for ; Thu, 03 Jan 2013 06:27:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=qYAVevamZza2chAMBq/MSGyttbIVdyXr9/yQdsNGipk=; b=diTncYqyQIOL/6q2yqXzjszD5n7QF3ZSPhEZdw7oINPF+g7nz9+/V4Yxadv8cM+t2I NQ4tlqfvOPYVOQfYoJelf1LAYFXOghpsEs+DDBW4HtFKGy9EzYvMp5rnUMZSxdbrz80P UtqhrYrxKGLzXF7nVHPlltdEybL9JcZY7QHbYuRkpwVAkQFWNf4yGNf8/2zFH1sVyw1J 6AA7Pebs+5AuZjx9mFlLUBZLU/zMTrN4TSyF9yT8RSRArPtMvbhLCmXEe+Cpm3BZCvHm kLqRYHVwFWQ06Ol3Y55e8oKkatzXyyQfMaMxAaApo+rc62JuuiukN4Yx/PWtYlr+N/e0 /xcw== MIME-Version: 1.0 Received: by 10.224.196.137 with SMTP id eg9mr25615732qab.99.1357223279679; Thu, 03 Jan 2013 06:27:59 -0800 (PST) Received: by 10.49.64.228 with HTTP; Thu, 3 Jan 2013 06:27:59 -0800 (PST) X-Originating-IP: [101.228.106.104] In-Reply-To: <20121227120141.6cff665cd399e722967efbe5@ddteam.net> References: <201212271004.01598.hselasky@c2i.net> <20121227120141.6cff665cd399e722967efbe5@ddteam.net> Date: Thu, 3 Jan 2013 22:27:59 +0800 Message-ID: Subject: Re: Allwinner A10 From: "dev, dev" To: Aleksandr Rybalko X-Gm-Message-State: ALoCoQlggiMj2yAnnCMTK+nIq9ivCBa3TryHtY8t1vwYqGxVRtxKtGxi5z+yNSp0apkHUQct1ZN3 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2013 14:28:06 -0000 I got my cubieboard ,I want test FreeBSD, how Build kernel?use which version uboot? I use this $make TARGET_ARCH=armv6 buildkernel KERNCONF=CUBIEBOARD WITH_FDT=yes can build success, but can't boot: sun4i#fatload mmc 0 0x40200000 kernel; reading kernel 4380122 bytes read sun4i#go 0x40200100 ## Starting application at 0x40200100 ... KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 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 10.0-CURRENT #1 r244957M: Thu Jan 3 21:42:52 CST 2013 root@apple:/usr/obj/arm.armv6/home/yarshure/FreeBSD/src/sys/CUBIEBOARD arm WARNING: WITNESS option enabled, expect reduced performance. panic: acquiring blockable sleep lock with spinlock or critical section held (rw) pmap pv global @ /home/yarshure/FreeBSD/src/sys/arm/arm/pmap-v6.c:1182 KDB: enter: panic [ thread pid 0 tid 0 ] Stopped at 0xc0324764: ldrb r15, [r15, r15, ror r15]! db> bt Tracing pid 0 tid 0 td 0xc06f0060 (null)() at 0xc07068d4 scp=0xc07068d4 rlv=0xc048f4b8 (0xc048f4b8) rsp=0xc07068b8 rfp=0xc06ef9a8 Bad frame pointer: 0xc06ef9a8 db> help 2012/12/27 Aleksandr Rybalko > On Thu, 27 Dec 2012 10:04:01 +0100 > Hans Petter Selasky wrote: > > > On Wednesday 26 December 2012 17:05:35 Ganbold Tsagaankhuu wrote: > > > Just some information, > > > > > > Still nothing useful yet, but with the help of andrew@, ray@, gonzo@ > > > and other arm guys kernel boots: > > > > > > https://github.com/tsgan/allwinner_a10/blob/master/dmesg_ehci.txt > > > > > > Tried usb/ehci glue code, no success yet, so maybe I will leave it now > > > and try next SD/MMC :) > > > > > > > Hi, > > > > It looks like number of ports is zero. Can you try this: > > > > Edit sys/dev/usb/controller/ehci.c > > > > > > Find this: > > sc->sc_noport = EHCI_HCS_N_PORTS(sparams); > > > > Add this: > > if (sc->sc_noport == 0) > > sc->sc_noport = 1; > > > > Does the EHCI work now? > > > > --HPS > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > I've ask Ganbold to inspect EHCI registers and they all is 0, so I > think it is not port count problem, but clock and/or power control. > > Thanks! > > WBW > -- > Aleksandr Rybalko > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >