From owner-freebsd-mips@FreeBSD.ORG Mon Jul 16 18:28:16 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43970106566B for ; Mon, 16 Jul 2012 18:28:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id E81FF8FC21 for ; Mon, 16 Jul 2012 18:28:15 +0000 (UTC) Received: by yenl8 with SMTP id l8so6181862yen.13 for ; Mon, 16 Jul 2012 11:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=EHeuBMsNHnaNrNaRI0+LRp8abPop2Xm6Sb+eL+lcX3A=; b=zKacIWPPUea/z8wRsOa7cRTYw1kQtuIAIwGmTJ+JyilOe5ws0aE0gmPmLSY/nDNTKB w/mCVp/uF4srjXTGvT+LAKvgrHScWVvluPJ7Mehq+YLoynzBvI7YZzYUCHiyTRXtNelN omfDxi3+NZBAzWPjvQ32QNUmWrx2kVef2WRCB3Dik2ZkhUmqyYKXvNI+/mJhpjsG+IRL YHB+hlNd+6euF8+gMSsjsq1uRfeeEtlDC6T9WvP/S+ojOQYE/yE14CBi2WiEddk/ScF0 6IDxXjiYoF9zdo8NpOgMO5ncrOj+VSSHCPR5wHALXex6BcMk8WKdKWE64XpnE6pHV8OR uMfg== MIME-Version: 1.0 Received: by 10.68.238.166 with SMTP id vl6mr28459265pbc.96.1342463295012; Mon, 16 Jul 2012 11:28:15 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.195.102 with HTTP; Mon, 16 Jul 2012 11:28:14 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 Jul 2012 11:28:14 -0700 X-Google-Sender-Auth: ZZIm_koaii4n_aaKGEPhANHOD_U Message-ID: From: Adrian Chadd To: Monthadar Al Jaberi Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mips@freebsd.org Subject: Re: RSPRO tftpd freebsd boot freeze X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2012 18:28:16 -0000 .. that's odd. I don't have this issue on _any_ of my boards. How are you building the kernel? I just rebuilt -HEAD last night and booted it on my RSPRO. It didn't have an issue netbooting but I haven't tried booting from flash media. I'll try that tonight. Adrian On 11 July 2012 12:57, Monthadar Al Jaberi wrote: > Hi, > > Sorry if this is an old board. I am having trouble boot RSPRO using tftpd. > > I am using Adrian's mkfwimage.c modified image too create image. > > The same kernel image that is padded if I load it from Redboot prompt > boots fine. Grateful for any tips :) > > this is a log from RSPRO when it hang (after receiving and writing the image): > TFTPD: Incoming connection from 172.16.0.100:48745 > Received: 9503128 bytes > Firmware Version: RSPRO.ar7100pro.FreeBSD.test > Initializing default partitions for 16M flash size. > Created 'kernel' - base: 0xBF030000, mem base; 0x80050100, entry: > 0x80050100, size: 0x005F0000 > Created 'rootfs' - base: 0xBF620000, mem base; 0xBF170000, entry: > 0x00000000, size: 0x00510000 > > Updating FIS directory! > ... Erase from 0xbfff0000-0xc0000000: . > ... Program from 0x87ff0000-0x88000000 at 0xbfff0000: . > > Flashing partition 'kernel' (size: 0x005F0000, actual data: 0x005F0000) > ... Erase from 0xbf030000-0xbf620000: > ............................................................................................... > ... Program from 0x8006e144-0x8065e144 at 0xbf030000: > ............................................................................................... > > Flashing partition 'rootfs' (size: 0x00510000, actual data: 0x00320000) > ... Erase from 0xbf620000-0xbfb30000: > ................................................................................. > ... Program from 0x8065e184-0x8097e184 at 0xbf620000: > .................................................. > ... Resetting.+ > AR8316 PHY found on MAC0 > AR8316 PHY found on MAC1 > Ethernet eth0: MAC address 00:15:6d:c8:c9:32 > IP: 172.16.3.25/255.255.0.0, Gateway: 172.16.0.1 > Default server: 172.16.0.101 > > RedBoot(tm) bootstrap and debug environment [ROMRAM] > Ubiquiti Networks certified release, version 0.9.00318M.0905121200 - > built 12:01:38, May 12 2009 > > Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. > > Board: Ubiquiti RouterStation PRO > Arch: ar7100pro > RAM: 0x80000000-0x88000000, [0x8003bf00-0x87fe1000] available > Flash: 0xbf000000-0xc0000000, in 256 blocks of 0x00010000 bytes each > == Executing boot script in 1.000 seconds - enter ^C to abort > RedBoot> fis load kernel > RedBoot> exec > Now booting linux kernel: > Base address 0x80050000 Entry 0x80050100 > memsize=0x08000000 > modetty0=0,n,8,1,hw > board=RouterStation PRO > ethaddr=00.15.6d.c8.c9.32 > > -- > Monthadar Al Jaberi > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"