From owner-freebsd-mips@FreeBSD.ORG Wed Apr 17 17:49:47 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 93809C9F for ; Wed, 17 Apr 2013 17:49:47 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by mx1.freebsd.org (Postfix) with ESMTP id 374F2935 for ; Wed, 17 Apr 2013 17:49:46 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id x12so1941140wgg.16 for ; Wed, 17 Apr 2013 10:49:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=p8/p8A3jrZA1O8X9Nst3sqTYoC19y6BRM9GRThQ1E8w=; b=kipMqbylMTC5R+hbjH39xGn8zzbqz5/DFm9vYJ+ZdWmJnLr2W7Kf2kbheWQZjNA2iq q4DiJl0d+JQ5AVvctANTOoL2xegIl0LtOYt2QdV9bNsg+/Jn/f2oe1+OrzCQ7Nf/Ytaa rzzw8CRpLepgr/TZ5/L6egO0fTPAf3Q2MCqB6KtBaetByrch6lk+9PR2EGbL51YLFCcT GQP9yq8+Gpzg8MTzzYNTfAWlPqyHUF+UIuNfMmiO1BrNbuT96PcYJIz0ozyuon2QADm1 dIohIPa4+ltuUQC3igwG5O1bo4f8bhXCwfLJ5fYejlY/Y6wvrcKH4ui/HafSTeFkOXib S3zw== MIME-Version: 1.0 X-Received: by 10.194.158.42 with SMTP id wr10mr13172613wjb.23.1366220986048; Wed, 17 Apr 2013 10:49:46 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.88.129 with HTTP; Wed, 17 Apr 2013 10:49:45 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Apr 2013 10:49:45 -0700 X-Google-Sender-Auth: i2-J0CXv590Dy-AnrcnfHEbrmUM Message-ID: Subject: Re: -HEAD on gxemul/MALTA is broken From: Adrian Chadd To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 17:49:47 -0000 As promised: [adrian@lucy ~]$ gxemul -e malta -d i:/home/adrian/work/freebsd/svn/mfsroot-rspro.img -C 4Kc /tftpboot/kernel.MALTA GXemul 0.6.0 Copyright (C) 2003-2010 Anders Gavare Read the source code and/or documentation for other Copyright messages. Simple setup... net: simulated network: 10.0.0.0/8 (max outgoing: TCP=100, UDP=100) simulated gateway+nameserver: 10.0.0.254 (60:50:40:30:20:10) simulated nameserver uses real nameserver 10.11.0.2 machine: memory: 128 MB cpu0: 4Kc (I+D = 16+16 KB) machine: MALTA (evbmips, little endian) (33.00 MHz) bootstring: kernel.MALTA diskimage: /home/adrian/work/freebsd/svn/mfsroot-rspro.img IDE DISK id 0, read-only, 17 MB (35768 sectors) loading /tftpboot/kernel.MALTA cpu0: starting at 0x80100100 (gp=0x804d42c0) NOTE: This is a LEGACY emulation mode. ------------------------------------------------------------------------------- entry: platform_start() cmd line: kernel.MALTA envp: baseboardserial = 0000000000 bootprot = tftp bootserport = tty0 bootserver = 10.0.0.254 ethaddr = 10.20.30.00.00.10 gateway = 10.0.0.254 ipaddr = 10.0.0.1 memsize = 0x08000000 modetty0 = 38400,n,8,1,none modetty1 = 38400,n,8,1,none prompt = YAMON yamonrev = 02.06 subnetmask = 255.0.0.0 khz = 33000 memsize = 08000000 Cache info: picache_stride = 4096 picache_loopcount = 4 pdcache_stride = 4096 pdcache_loopcount = 4 cpu0: MIPS Technologies processor v1.128 MMU: Standard TLB, 16 entries L1 i-cache: 2 ways of 512 sets, 16 bytes per line L1 d-cache: 2 ways of 512 sets, 16 bytes per line Config1=0x1ed96c81 Physical memory chunk(s): 0x4f0000 - 0x7ffffff, 129040384 bytes (31504 pages) Maxmem is 0x8000000 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 #0 r249569M: Wed Dec 31 16:00:00 PST 1969 adrian@dummy:/home/adrian/work/freebsd/svn/obj/mipsel/mips.mipsel/usr/home/adrian/work/freebsd/svn/src/sys/MALTA mips gcc version 4.2.1 20070831 patched [FreeBSD] [ warning: LOW reference: vaddr=0x00000000, exception TLBL, pc=0x8020f024 ] Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode) [ thread pid 0 tid 0 ] Stopped at 0x8020f024: lb v0,0(s2) db> I'll get cross-build gdb up in a sec and see if I can get this working.. Adrian