From owner-freebsd-embedded@FreeBSD.ORG Fri Jul 12 20:58:31 2013 Return-Path: Delivered-To: freebsd-embedded@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 46EE87CF for ; Fri, 12 Jul 2013 20:58:31 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) by mx1.freebsd.org (Postfix) with ESMTP id D6D411E99 for ; Fri, 12 Jul 2013 20:58:30 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id z11so8546701wgg.10 for ; Fri, 12 Jul 2013 13:58:29 -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=aim6i+vwvHPW/HxynYoGB7hDNa4cHq30o3E+fEkd24M=; b=NZUuk9efetr+vO/c/1g4Uvta2SCatv583JXm2MXyIWjlV3X54p8fW7AYoK9UV+RUz/ off3xeFr/zy0fDbdGZqntf74tafUOX/+kpEdDXazFtdeKF/VB0Ccr3P46zXCZ2Hoq++x 86IWKLNfFGAYfQ+q6mXUFnouZEy1s+S/CmxBMZV5GNw7x/KgnykApkWeuTNJEvUWQ4Gs KPylmYZ+hNQyb7plpPAGRxovDWFnmgpW1BRHic1i4PVVtRX+xB8KK2fS2wz/gayWSFih eIi+1IJyP36NwazIj9kQI/NmcnZNTpnw3WAwmeNzRitLkJXwGugxNoWdlAoSeVNQ2p83 zvkg== MIME-Version: 1.0 X-Received: by 10.194.11.72 with SMTP id o8mr25759602wjb.0.1373662709802; Fri, 12 Jul 2013 13:58:29 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Fri, 12 Jul 2013 13:58:29 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Jul 2013 13:58:29 -0700 X-Google-Sender-Auth: dMImPR4y1A6W_RYIz5Mt346QdwM Message-ID: Subject: Re: Making Picostation m2HP work From: Adrian Chadd To: hiren panchasara Content-Type: text/plain; charset=ISO-8859-1 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: Fri, 12 Jul 2013 20:58:31 -0000 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.. -adrian On 12 July 2013 13:50, hiren panchasara wrote: > http://www.ubnt.com/picostationm > > Here is how it looks on boot: > > > U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56) > > Board: Ubiquiti Networks XM board (rev 1.0 e302) > DRAM: 32 MB > Flash: 8 MB > PCIe WLAN Module found (#1). > Net: eth0, eth1 > Hit any key to stop autoboot: 0 > ## Booting image at 9f050000 ... > Image Name: MIPS OpenWrt Linux-3.3.8 > Created: 2013-05-31 19:12:55 UTC > Image Type: MIPS Linux Kernel Image (lzma compressed) > Data Size: 924122 Bytes = 902.5 kB > Load Address: 80060000 > Entry Point: 80060000 > Verifying Checksum ... OK > Uncompressing Kernel Image ... OK > > Starting kernel ... > > > Dropping to uboot: > > U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56) > > Board: Ubiquiti Networks XM board (rev 1.0 e302) > DRAM: 32 MB > Flash: 8 MB > PCIe WLAN Module found (#1). > Net: eth0, eth1 > Hit any key to stop autoboot: 0 > 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> > > Currently trying to build image with Adrian's > > http://freebsd-wifi-build.googlecode.com/svn/trunk/ to put on the board. > > Now, Adrian is going to guide me from here :-) > > Thanks, > Hiren > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org"