Routerboard RB800
John Clark
jeclark2006 at aim.com
Wed Oct 9 22:51:13 UTC 2013
On Oct 9, 2013, at 2:51 PM, hiren panchasara <hiren.panchasara at gmail.com> wrote:
> On Wed, Oct 9, 2013 at 10:35 AM, John Clark <jeclark2006 at aim.com> wrote:
>>
>> On Oct 1, 2013, at 1:31 AM, Adrian Chadd <adrian at 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.
More information about the freebsd-embedded
mailing list