From owner-freebsd-mips@FreeBSD.ORG Mon Mar 24 22:24:35 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5879A21F for ; Mon, 24 Mar 2014 22:24:35 +0000 (UTC) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1814823B for ; Mon, 24 Mar 2014 22:24:35 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id m20so6899496qcx.35 for ; Mon, 24 Mar 2014 15:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uwUk+1PwgTrLDtINN+jCT1W7CYmrI7QAwLZtoUnH+uQ=; b=YDUgr08fgACEblp2+EOu5xI58ix0iIQ3TneQatKJJhxDbvmsefeMiJ+XJX04OQlHi6 uFfVEBMJBNoNttnjuk5BmDPI+utXwt4kVtGWf3/Ekd0enNqj41/7gy/2EH4STjiN1/z4 cy0pDW6Unhuvj6y0CIq/l3uMi/5JKvHs5SOe3muPBqJCjEHpP3+DhwECCErdFScX8QDF 4U6S5cmaKOJLXmFuItGudHxJL/OthyJBnshqhdPk3ZkBgR6nGBu1/3yXS5FYnjxcbyVO fk+oNOmn38HQPuhHB+cJ8yJ6KnYlfa1MkOb+pKB/doimv5jm/mdzW+cuNK8LsIf04i5o X0sQ== MIME-Version: 1.0 X-Received: by 10.224.13.142 with SMTP id c14mr10868894qaa.76.1395699874341; Mon, 24 Mar 2014 15:24:34 -0700 (PDT) Received: by 10.224.8.137 with HTTP; Mon, 24 Mar 2014 15:24:34 -0700 (PDT) In-Reply-To: <20140324195608.1d3daae5@zeta.dino.sk> References: <20140323232304.6ac5c205@zeta.dino.sk> <20140324195608.1d3daae5@zeta.dino.sk> Date: Mon, 24 Mar 2014 15:24:34 -0700 Message-ID: Subject: Re: db120 (mips74k) boot messages; further help wanted From: Adrian Chadd To: Milan Obuch Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-mips@freebsd.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2014 22:24:35 -0000 On 24 March 2014 11:56, Milan Obuch wrote: > On Mon, 24 Mar 2014 02:00:25 -0700 > Adrian Chadd wrote: > >> Noone has yet. I'd pay attention to the MDIO reset, MDIO configuration >> stuff in if_arge.c and how the clocking is setup. >> >> It's possible I'm missing some initialisation code form openwrt. >> >> I think i have the MDIO register read/write working fine. >> >> The RB2011 kernel in question is correctly being built as a mips74k >> kernel, right? >> > > Yes, basically I used DB120 kernel with some bits removed, e. g. wlan > stuff I do not have. > Ok. well, if it's compiled up as a mips74k kernel then the correct barriers should be in there. So, save some kind of CPU bug that I don't hav ea workaround for, it's likely MDIO timing / reset / setup. If y'all can't figure it out then I think the quickest way is to get a board to me so I can figure it out. -a