Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 15:51:10 -0700
From:      John Clark <jeclark2006@aim.com>
To:        hiren panchasara <hiren.panchasara@gmail.com>
Cc:        Benjamin Perrault <ben.perrault@gmail.com>, "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org>
Subject:   Re: Routerboard RB800
Message-ID:  <32181B72-E69D-41AB-B5B9-EEDC6B71F042@aim.com>
In-Reply-To: <CALCpEUFxE0Ayq9jMSWqoNC4p1mvmVpx6C=9q7_pamk41vB2gKQ@mail.gmail.com>
References:  <2A185DB2-09B3-4D5B-9C63-1CBC542A570D@gmail.com> <CAJ-Vmo=WEG6jBvaiRurb9LEWae1cFMvOVUmNY8N2r9-rc%2Ba2AQ@mail.gmail.com> <0A2EBEC9-DE86-4B74-AD31-84A74516F5A2@gmail.com> <CAJ-VmomwY8cZnRte3J=UMXbeRoAbjPLAR6dMUhiBgCCqPgSHEw@mail.gmail.com> <30933434-4F94-466A-8952-FE5675210AA2@gmail.com> <523DA66C.6090204@freebsd.org> <CAJ-VmommbBfj=NE1ynMqbRaBu%2BCrG9aUH1DjufESBmS4pGT-Ag@mail.gmail.com> <CFA32AC7-659E-4893-BCF2-7A6CC3C524A0@aim.com> <CAB=2f8zR8DeC2w3jgqrh230Hfqeuu4qcyoyHGpDRTu2Z7p9zaw@mail.gmail.com> <CALCpEUGBnSPrve8Z9O9R_LvLHbMhxUCMRUVPMWphN3NZL0NiEg@mail.gmail.com> <E6DD2A46-A638-4162-9A04-1E64CF16352C@aim.com> <CAJ-VmonO0cSMxtNKqOqoV6dLrRJsQOfe%2B_Z=WoQLN2Smvq%2Bh4Q@mail.gmail.com> <A2FEC6F5-A2ED-45B6-B055-F2145317ACFD@aim.com> <CALCpEUFxE0Ayq9jMSWqoNC4p1mvmVpx6C=9q7_pamk41vB2gKQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail


On Oct 9, 2013, at 2:51 PM, hiren panchasara <hiren.panchasara@gmail.com> wrote:

> On Wed, Oct 9, 2013 at 10:35 AM, John Clark <jeclark2006@aim.com> wrote:
>> 
>> On Oct 1, 2013, at 1:31 AM, Adrian Chadd <adrian@freebsd.org> wrote:
>> 
>> Make sure you're building the right base kernel config before tweaking.
>> 
>> http://wiki.openwrt.org/toh/tp-link/tl-wr842nd
>> 
>> This indicates it's an AR7241. So, start with the AP91 or AP99 kernel
>> configs. Try building that and tftpload/boot'ing it.
>> 
>> 
>> Thanks for the hint… with a bit of hook and crook, I was able to build a
>> bootable kernel, a compressed mfsroot, and it appears that
>> the kernel does find the compressed image, but then when it attempts to run
>> 'init', it gives a list of attempted paths… and finally death.
> 
> If you've used Adrian's wifi build scripts, your diffs against it and
> boot-up logs might be a good start.

I had to add the FSIMAGE flags in my cfg/TL-WR842ND, which I had cribbed from the TL-WR1043ND file. config file to make a ulzma image. Previously it was uzip. That allowed the init to start up and I was able to get to a login prompt.

I also based my kernel config off the AP91, as I didn't find an AP99 config file in sys/mips/conf.

John Clark.




help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32181B72-E69D-41AB-B5B9-EEDC6B71F042>