Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2013 10:02:49 -0400
From:      Outback Dingo <outbackdingo@gmail.com>
To:        Maciej Milewski <milu@dat.pl>
Cc:        freebsd-embedded <freebsd-embedded@freebsd.org>
Subject:   Re: Making Picostation m2HP work
Message-ID:  <CAKYr3zze4LHu3y8go-Q57yZWzFDuUVTow3JBNcOPw5y5bm0RGw@mail.gmail.com>
In-Reply-To: <CAKYr3zw-b3f4URh3K5ysStein_P%2BSuKmg8QHmw_UWjnx%2BBNwyA@mail.gmail.com>
References:  <CALCpEUHxqyZb1Y5WqsuxjvwY2Pd_xN2%2BoTgsew0DwdRMC6=5Nw@mail.gmail.com> <CALCpEUGbk8mCFqOUp6WxfdcH-kveudG-f4S0muUg4aYy0uqBtA@mail.gmail.com> <CAJ-VmomsSBSs9QumGc6z=aYQ0OUqjGcxBnnsy%2B1NR_F83KUzxg@mail.gmail.com> <CALCpEUG4FR2qugb-ZYHG%2BJ7xcOL34edkPx41yOwU7qK-BynGOw@mail.gmail.com> <CAJ-VmokPNDgkdziRFr3-MnDZudskGb0ykRk9jfY1nWhrxBZEKw@mail.gmail.com> <CAB=2f8yPSSpOZBwOv8Xr5=OtM%2BMq0-h-%2B9-tKTgjR7LvCfX6jQ@mail.gmail.com> <CALCpEUFi6qr8Cox9PpzmkPk69gb0hrhM1vepE81gqot2cVy7tQ@mail.gmail.com> <CAJ-VmonxVF6GQXEZod9XajAK00i9ZP6=s3SSCDEL%2BJR6kgLVWQ@mail.gmail.com> <CALCpEUHEPRDAiCZ2-hFwD1sPPQHqmNVA=E8sJREm5qmB%2BxF5cA@mail.gmail.com> <CAJ-VmokDUhJxN7oWOr0t7T1Zq-Odf43mM9qO%2B5TDyv1DnKAJuQ@mail.gmail.com> <CALCpEUGC1NrWfNZ5%2BfAnbaCvFVpKNCOMZ9Yh6XFYFBqCWehE0Q@mail.gmail.com> <20130729151943.70ce473e14d88588337e57ba@ddteam.net> <CALCpEUEXGrazTbMUUA5jkarr8vH_a9TU-QUy9=w7TFU8ND8B_Q@mail.gmail.com> <CALCpEUGMAHwFEYKPJGyOMx9fNxnqJ=6s2VABGSyCOb-XZz_Fdg@mail.gmail.com> <51F7983C.5090309@dat.pl> <CAKYr3zw-b3f4URh3K5ysStein_P%2BSuKmg8QHmw_UWjnx%2BBNwyA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 30, 2013 at 7:29 AM, Outback Dingo <outbackdingo@gmail.com>wrote:

>
>
>
> On Tue, Jul 30, 2013 at 6:41 AM, Maciej Milewski <milu@dat.pl> 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<http://lists.freebsd.org/mailman/listinfo/freebsd-embedded>;
>> To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@**
>> freebsd.org <freebsd-embedded-unsubscribe@freebsd.org>"
>>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKYr3zze4LHu3y8go-Q57yZWzFDuUVTow3JBNcOPw5y5bm0RGw>