From owner-freebsd-embedded@FreeBSD.ORG Tue Jul 30 14:02:50 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2CDDF9E6 for ; Tue, 30 Jul 2013 14:02:50 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-oa0-x22d.google.com (mail-oa0-x22d.google.com [IPv6:2607:f8b0:4003:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E0EB8259A for ; Tue, 30 Jul 2013 14:02:49 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id m1so6050656oag.32 for ; Tue, 30 Jul 2013 07:02:49 -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=ztstTblEynTLwfIb9IwSu6Rpc0PFrdewnnLR02828bY=; b=b1HGO3XY9icoedbFs5kXL47lDaXJTLkpVKMWLHgf5YY3U7Nv31DL7VkkNsbT8ycTKS U1pQgRrtW8uaD0N2lDQMAUDlchcOQI/3eVBbjaRZA2MO8qvSE00wZlj/yVa/fd0tNvLw YSUS0vFZ0Ha0zGgDOSvRisCBU99qCmhttHys6UcZA4g9DPm+QUzHRGPd/pVOoRrZScM7 kUSLim1p+lHyVf2URhbRFW9iMeJPTmUZ5cPCuSigmuUCeciKi5R2KmGJXL0eea868gAL KmibKXuktGPrEUPGbHvjXXny0bgcMs+bBpz7NPgiNXC4/dLDwv9KngAB/Udz2OIdG1Cb RK+g== MIME-Version: 1.0 X-Received: by 10.182.50.200 with SMTP id e8mr57709428obo.35.1375192969247; Tue, 30 Jul 2013 07:02:49 -0700 (PDT) Received: by 10.76.90.197 with HTTP; Tue, 30 Jul 2013 07:02:49 -0700 (PDT) In-Reply-To: References: <20130729151943.70ce473e14d88588337e57ba@ddteam.net> <51F7983C.5090309@dat.pl> Date: Tue, 30 Jul 2013 10:02:49 -0400 Message-ID: Subject: Re: Making Picostation m2HP work From: Outback Dingo To: Maciej Milewski Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-embedded 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: Tue, 30 Jul 2013 14:02:50 -0000 On Tue, Jul 30, 2013 at 7:29 AM, Outback Dingo wrote: > > > > On Tue, Jul 30, 2013 at 6:41 AM, Maciej Milewski wrote: > >> On 29.07.2013 20:52, hiren panchasara wrote: >> >>> Firmware check failed! >>> >> AFAIR I had such info when I tried to flash image from RouterStation Pro >> to Routerstation. I think that it must be something with firmware header or >> firmware format. >> >> I believe its the headers, there is something different about the 2HP > that required padding, im digging through data from 4 years ago to find it > from when we deployed a ton of these based on OpenWRT, they are different > then all others, same with the RS/RSPRO, > > Warning, my brain is dealing with 4 year old information again, YMMV..... but maybe some insight will help... I could be offbase, Adrian would know best what his mkfwimage supports. its possible it was different offsets so that the mkfirmware image had to be modified to build the correct image, the image you are building requires XS2-8 to be correct, I believe the ap91 image is using XS2 and not XS2-8 ....... Adrian again will have to validate AP91 configuration for XS2-8, or create a config that uses it. Okay digging back through this a bit in the UBNT SDK, Yes I still have one..... it shows -$(STAGING_DIR_HOST)/bin/mkfwimage \ -B XS2-8 -v XS2.ar2316.OpenWrt.$(REVISION) \ -k $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.lzma \ -r $(BIN_DIR)/openwrt-$(BOARD)-root.$(1) \ -o $(BIN_DIR)/openwrt-$(BOARD)-ubnt2-pico2-$(1).bin and XS2-8 is for PicosStations built with mkfwimage -i XS2-8.txt -v XS2.ar2316.OpenWRT-kamikaze -o openwrt-picostation2-squashfs.bin which required a file called XS2-8.txt kernel 0x01 0xA8030000 0x000D0000 0x80041000 0x80041000 openwrt-vmlinux.lzma rootfs 0x02 0xA8100000 0x006C0000 0x00000000 0x00000000 .openwrt-vmlinux.squashfs > -- >> Pozdrawiam, >> Maciej Milewski >> >> >> ______________________________**_________________ >> 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 " >> > >