From owner-freebsd-mips@FreeBSD.ORG Wed Jul 11 19:57:47 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 1A59D106564A for ; Wed, 11 Jul 2012 19:57:47 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id E7BBB8FC14 for ; Wed, 11 Jul 2012 19:57:46 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so2788479pbb.13 for ; Wed, 11 Jul 2012 12:57:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LbFoGMBWmGeijNRL+SAwFgeM4sbCouEAV8GOIL51KMA=; b=Gg8vr1lWvp81KMfuWcXvwRJHzIG0AvaTIG43n5GzDbXsv3ugUOqB452l9eybZTEPOG ef05HnCrMw/Rq0jo5S/RRCl8Cod2NqHHCVVdSKaKwNcCxO0ZXK0BTg0V8ci3LoPCGikF 3ULXNVs9ToyebJU2VzLht2rbxIyo2huDvxzd0coXfvSQv/MuGwcxI4stVFZMflwwGAZT 51rDIOuR2kXZtHw2QAEDHKjnEq4OV2PwIwqjzqt6IX2v1yjHN0ihL/25SJmgXorscA06 3V4w7DRFyaSc0+1kk5cRQu3NW+bFlsUNhc8J0kd7y5v07CQSRwZjc3KCisSUHVGQQZ9b UvpQ== MIME-Version: 1.0 Received: by 10.68.231.8 with SMTP id tc8mr80729351pbc.140.1342036666588; Wed, 11 Jul 2012 12:57:46 -0700 (PDT) Received: by 10.68.30.228 with HTTP; Wed, 11 Jul 2012 12:57:46 -0700 (PDT) Date: Wed, 11 Jul 2012 21:57:46 +0200 Message-ID: From: Monthadar Al Jaberi To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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: Wed, 11 Jul 2012 19:57:47 -0000 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