From owner-freebsd-arm@FreeBSD.ORG Wed Oct 23 07:31:30 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 432AF6CF for ; Wed, 23 Oct 2013 07:31:30 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C2C602938 for ; Wed, 23 Oct 2013 07:31:29 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id w62so364082wes.21 for ; Wed, 23 Oct 2013 00:31:28 -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=t/VcYMbJ/eXIrlJBbaQndkGQtF0pFzEPp9nEUIB5oz0=; b=CzrCFPgPaZwxP/XtF6V8k90eKAYZ9rVfQCGPX4T+Sog5u8z6zjfIEiK1nO5fvS2YX/ FKh4IMU6vxUgaN0vEn0aaGv74z0WCEMy3aUsn6GPEem4U7BoAYNEb2+yGtWdGG0OvxvK Eud8JLUcH7/FiSFhMNPTf5JEo9Eir2oWbhgnTdkzXa9WG77hEX9Y/2f2JeLFilPDO6Hp CdNpgaR53pzkEXMRfLPi/jLolRt5sOkje13X5mT/dSf5iSx7uo6YqOCst8U3It+Sd84c N36nn9a5OhJ3DgFiXWySpYJ2Z9mk+xfEq1nSessXtmBKhQTAdUsVHlaM6NCwn87lFIdn 136g== MIME-Version: 1.0 X-Received: by 10.194.110.166 with SMTP id ib6mr260844wjb.14.1382513487985; Wed, 23 Oct 2013 00:31:27 -0700 (PDT) Received: by 10.217.141.3 with HTTP; Wed, 23 Oct 2013 00:31:27 -0700 (PDT) In-Reply-To: <20131022222731.GA63670@ci0.org> References: <20131022215744.GA63463@ci0.org> <20131022232323.35652386@bender.Home> <20131022222731.GA63670@ci0.org> Date: Wed, 23 Oct 2013 09:31:27 +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: Wed, 23 Oct 2013 07:31:30 -0000 On Wed, Oct 23, 2013 at 12:27 AM, Olivier Houchard wrote: > On Tue, Oct 22, 2013 at 11:23:23PM +0100, Andrew Turner wrote: > > On Tue, 22 Oct 2013 23:57:45 +0200 > > Olivier Houchard wrote: > > > The only thing I can think of, on top of my mind, is I'm still using > > > gcc to compile my kernels, and you may be using clang. As I don't > > > think clang has been tested much with big-endian arm, maybe there're > > > a few issues there. If you're using it, can you try to switch to gcc > > > to see if it is any better ? > > > > Clang has no support for big-endian ARM. There is someone working on > > it, but last time I looked it was not upstreamed. > > Then I guess it rules out a potential clang problem. I'm quite at a loss > as to why it would work for me, and am quite interested in hearing if my > kernel works for Berislav or not. > > Olivier > Hi Olivier ... it works !!!! :))))) .. now what i need to do ?? == Executing boot script in 5.000 seconds - enter ^C to abort RedBoot> fis load boot2.freebsd RedBoot> go FreeBSD ARM (Gateworks Avila) boot2 v0.4 - Default: /boot/kernel/kernel boot: Could not locate "ufs:ROOTDEVNAME" to fix kernel boot device, check ROOTDEVNAMEt 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 #185: Tue Oct 22 23:48:55 CEST 2013 doginou@hulglah.ci0.org:/usr/src/sys/arm/compile/AVILA arm gcc version 4.2.1 20070831 patched [FreeBSD] CPU: IXP425 533MHz rev 1 (ARMv5TE) (XScale core) Big-endian 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) SET CLEAN SVA TO c20e4000 avail memory = 57012224 (54 MB) random device not loaded; using insecure entropy SETTING UP IDLE THREAD YOYOYOYOYOYOYO random: initialized ixp0: ixp0: 37fff pcib0: on ixp0 pci0: on pcib0 ath0: irq 27 at device 2.0 on pci0 ath0: AR9220 mac 128.2 RF5133 phy 13.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 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 ukphy0: PHY 1 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto npe1: Ethernet address: 00:d0:12:13:59:23 ata_avila0: on ixp0 ata0: on ata_avila0 led_avila0: on ixp0 gpio_avila0: on ixp0 gpioc0: on gpio_avila0 gpiobus0: on gpio_avila0 Timecounter "IXP4XX Timer" frequency 66666600 Hz quality 1000 Timecounters tick every 10.000 msec ada0 at ata0 bus 0 scbus0 target 0 lun 0 ada0: CFA-4 device ada0: Serial Number AHZ080609133711 ada0: 16.700MB/s transfers (PIO4, PIO 512bytes) ada0: 3825MB (7835184 512 byte sectors: 16H 63S/T 7773C) ada0: Previously was known as ad0 bootpc_init: wired to interface 'npe0' Beri