From owner-freebsd-embedded@FreeBSD.ORG Mon Jul 15 18:11:00 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DAE003F1; Mon, 15 Jul 2013 18:10:59 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x231.google.com (mail-ee0-x231.google.com [IPv6:2a00:1450:4013:c00::231]) by mx1.freebsd.org (Postfix) with ESMTP id 4E0DCE5A; Mon, 15 Jul 2013 18:10:59 +0000 (UTC) Received: by mail-ee0-f49.google.com with SMTP id b57so7743353eek.22 for ; Mon, 15 Jul 2013 11:10:58 -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=PvuFm+HK1ndICU/wxNVvmS9AH8uJX88T8ai3gk8nhzY=; b=uJl+kJT43dbpmQcDbwhlXu6nU2FIML5HpNIHL9eMX/N+pPgjtVGP1oqC74uEybzT3T njp6qQ2Ed4U1AfV9lGw7BgNN2Gn2nCUpx5ylgG3CYTznGNgQtGjCYe5Qn1h4hZRbNito O5Ilb14ldCHFcKHSr2733ZlVPgCu1SZjj3rvsiDr/iwRQuYJMUCUnVAkhZFc92fwUKrq KY+N/FhB5VSy3xgA0sfe1CsR6Gp/hB8s6N71pB4txLULAicEJNQa1SnZMZaxY/baMkaq A83HShyroZZkFKLj3TZoM2C4rlmDf+urVaxJPq68QRJWIvX3KFLdKHhmYrZhdMndV3DV vZOA== MIME-Version: 1.0 X-Received: by 10.14.69.206 with SMTP id n54mr26111632eed.154.1373911858303; Mon, 15 Jul 2013 11:10:58 -0700 (PDT) Received: by 10.14.119.203 with HTTP; Mon, 15 Jul 2013 11:10:58 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Jul 2013 11:10:58 -0700 Message-ID: Subject: Re: Making Picostation m2HP work From: hiren panchasara To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 18:11:00 -0000 On Sun, Jul 14, 2013 at 12:13 PM, hiren panchasara wrote: > On Fri, Jul 12, 2013 at 1:58 PM, Adrian Chadd wrote: >> cool. >> >> So step #1 - what kind of SoC is it (7241) and wifi (ar9280) ? >> >> The SoC dictates which base config we "copy" when we build the kernel. >> >> The important bits for these SoCs are: >> >> * which SoC >> * for AR91xx/AR71xx - which ethernet switch and how it's wired up; the >> AR933x and AR724x have an internet switch so there's only one config >> * how much RAM >> * what's the flash layout - important for generating the image and >> populating the hints table with the flash layout >> >> But let's focus on getting a kernel netbooting first.. > > Build kernel.AP91 with your buildscripts and trying to tftpboot the > board with that but getting following errors in /var/log/messages on > my tftpserver (my laptop) > > flymockour-l7 in.tftpd[11247]: tftpd: oack: Host is down - when I do > "tftpboot 0x80050000 kernel.AP91" and tftp transfer never gets done > (keeps timing out) > > I am not sure what this means but I will try putting switch in-between > my laptop and the board and see if I can make this thing to work. Adrian, Putting a switch between tftpserver and the board worked. (Thanks Rui). ar7240> printenv bootdelay=1 baudrate=115200 ethaddr=00:15:6d:0d:00:00 mtdids=nor0=ar7240-nor0 partition=nor0,0 mtddevnum=0 mtddevname=u-boot filesize=10000 fileaddr=81000000 serverip=192.168.1.254 ethact=eth0 mtdparts=mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),5760k(rootfs),256k(cfg),64k(EEPROM) bootcmd=bootm 0x9f050000 bootargs=console=tty0 root=31:03 rootfstype=squashfs init=/init ipaddr=192.168.1.20 stdin=serial stdout=serial stderr=serial Environment size: 452/65532 bytes ar7240> tftpboot 0x80050000 kernel.AP91 Using eth0 device TFTP from server 192.168.1.254; our IP address is 192.168.1.20 Filename 'kernel.AP91'. Load address: 0x80050000 Loading: # done ar7240> go 0x80050100 ## Starting application at 0x80050100 ... Its stuck here and not doing anything. What should I look into next? Thanks, Hiren > > Anybody with some clue what this means? > > Thanks, > Hiren >> >> >> >> -adrian >>