From owner-freebsd-arm@FreeBSD.ORG Fri Oct 18 08:15:31 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B8BB2353; Fri, 18 Oct 2013 08:15:31 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6874A29E4; Fri, 18 Oct 2013 08:15:31 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id i7so2361885qcq.2 for ; Fri, 18 Oct 2013 01:15:30 -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=agqOsYBEpd5COToZ4dNlJSvs4a0M3WWH9G4uMA8c1zU=; b=DWqkG3xxMEMurP+RRg/NOCkBqWocYjjvIWwIatep5Cf8OlDfHhF8d1fJpQ4MOsmpWD zeY/JDFfXAv8Ad2hZNHYBWj8UN8KxvVUfczOTKSdw4hlGm71ioKF+Twn+ynaqSoMHNSo PXJ2PtKLsJ7WYXm05ZcGP5gtmdN1tB3yaL7/15gUjoH/242J+Ku4Ree+eg3YzPx/I2/B qeByJoAxDXKYR/z4xau13MB8ECcxVKNb555yfbuXseQvz9K2QfnnuM3I1MyrtlG6e0Jk OkpmV4NuHpfqPYD29qdrOEX+br1TW6Y2EjtDk8l8orZGUZuN61HsjVGS5aADN0s0yyzp jmFA== MIME-Version: 1.0 X-Received: by 10.224.36.201 with SMTP id u9mr2750626qad.76.1382084130570; Fri, 18 Oct 2013 01:15:30 -0700 (PDT) Received: by 10.49.101.13 with HTTP; Fri, 18 Oct 2013 01:15:30 -0700 (PDT) In-Reply-To: <20131017221444.GA54669@freebsd.org> References: <58DBFC39-806F-48AF-BB81-7FFF1931BF5D@bsdimp.com> <20131017221444.GA54669@freebsd.org> Date: Fri, 18 Oct 2013 10:15:30 +0200 Message-ID: Subject: Re: AVILA kernel From: Berislav Purgar To: Olivier Houchard 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: Fri, 18 Oct 2013 08:15:31 -0000 On Fri, Oct 18, 2013 at 12:14 AM, Olivier Houchard wrote: > On Thu, Oct 17, 2013 at 11:51:50PM +0200, Berislav Purgar wrote: > > > >> Hello .. > > > >> > > > >> finally i got gatewroks GW2345 board but now i got stuck on loading > > > >> kernel. it stops on copyright message: > > > >> > > > >> RedBoot> ip -h 10.42.1.1 -l 10.42.1.11 > > > >> IP: 10.42.1.11/255.255.255.0, Gateway: 0.0.0.0 > > > >> Default server: 10.42.1.1 > > > >> RedBoot> load -b 0x200000 kernel > > > >> Using default protocol (TFTP) > > > >> Address offset = 0x40000000 > > > >> Entry point: 0x00200100, address range: 0x00200000-0x007817c8 > > > >> RedBoot> go > > > >> 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 11.0-CURRENT #0 r256593M: Wed Oct 16 19:14:51 CEST 2013 > > > >> root@brzi:/usr/obj/arm.armeb/usr/src/sys/AVILA arm > > > >> gcc version 4.2.1 20070831 patched [FreeBSD] > > > >> > > > >> on stock AVILA conf. file i got panic : > > > >> > > > >> RedBoot> ip > > > >> IP: 192.168.3.2/255.255.255.0, Gateway: 0.0.0.0 > > > >> Default server: 192.168.3.1 > > > >> RedBoot> ip -h 10.42.1.1 -l 10.42.1.11 > > > >> IP: 10.42.1.11/255.255.255.0, Gateway: 0.0.0.0 > > > >> Default server: 10.42.1.1 > > > >> RedBoot> load -b 0x200000 kernel > > > >> Using default protocol (TFTP) > > > >> Address offset = 0x40000000 > > > >> Entry point: 0x00200100, address range: 0x00200000-0x006a9808 > > > >> RedBoot> go > > > >> panic: mtx_lock() of spin mutex pmap @ > /usr/src/sys/arm/arm/pmap.c:3676 > > > >> Uptime: 1s > > > >> > > > >> > > > >> tnx > > > >> > > > > > > > > > > > > any ideas ? > > Hi Berislav, > > I won't be able to test things on AVILA before at least next week, but I > just > committed a change as rev 256712 that may, or may not, help with your > issue. > Can you test it and see if it helps ? > > Thanks ! > > Olivier > No luck .. same problem .. RedBoot> ip -h 10.42.1.1 -l 10.42.1.11 IP: 10.42.1.11/255.255.255.0, Gateway: 0.0.0.0 Default server: 10.42.1.1 RedBoot> load -b 0x200000 kernel Using default protocol (TFTP) Address offset = 0x40000000 Entry point: 0x00200100, address range: 0x00200000-0x006b4cc8 RedBoot> go panic: mtx_lock() of spin mutex pmap @ /usr/src/sys/arm/arm/pmap.c:3676 Uptime: 1s i will use 9.1 till HEAD is fixed .. Default server: 10.42.1.1 RedBoot> load -b 0x200000 kernel Using default protocol (TFTP) Address offset = 0x40000000 Entry point: 0x00200100, address range: 0x00200000-0x006cbc68 RedBoot> go KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2012 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 9.1-RELEASE #0: Fri Oct 18 00:04:33 CEST 2013 root@gateworks:/usr/obj/arm.armeb/usr/src/sys/AVILA arm CPU: IXP425 533MHz rev 1 (ARMv5TE) (XScale core) DC enabled IC enabled WB enabled LABT branch prediction enabled 32KB/32B 32-way Instruction cache 32KB/32B 32-way write-back-locking Data cache real memory = 67108864 (64 MB) avail memory = 57380864 (54 MB) ixp0: on motherboard ixp0: 37fff pcib0: on ixp0 pci0: on pcib0 ixpclk0: on ixp0 ixpiic0: on ixp0 iicbb0: on ixpiic0 iicbus0: on iicbb0 master-only iic0: on iicbus0 ad74180: at addr 0x50 on iicbus0 ds1672_rtc0: at addr 0xd0 on iicbus0 ixpwdog0: on ixp0 uart0: on ixp0 uart0: console (115200,n,8,1) uart1: on ixp0 ixpqmgr0: on ixp0 npe0: on ixp0 npe0: MAC at 0xc8009000 npe0: MII at 0xc8009000 npe0: load fw image IXP425.NPE-B Func 0x2 Rev 2.1 npe0: attaching PHYs failed npe0: cannot activate npe device_attach: npe0 attach returned 6 npe1: on ixp0 npe1: MAC at 0xc800a000 npe1: MII at 0xc8009000 npe1: load fw image IXP425.NPE-C Func 0x5 Rev 2.1 miibus0: on npe1 tnx anyway :)