<div dir="ltr">On Mon, May 27, 2013 at 6:33 AM, David Lang <span dir="ltr"><<a href="mailto:david@lang.hm" target="_blank">david@lang.hm</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">On Mon, 27 May 2013, Dave Taht wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
That's tragic. I just picked up a Netgear WNDR4300 (openbox on sale at the<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
local Fry's) to see if I could hack up a CeroWrt clone on it. It seems to<br>
be mostly the same hardware as the WNDR3700v4 and the TP-Link WDR43[01]0,<br>
with things just wired up slightly differently.<br>
<br>
</blockquote>
<br>
As I understnad it, the difference between the WNDR3700v4 and WNDR4300 is<br>
that the 4300 has a slightly better wireless chip.<br>
<br>
Unfortunantly from what I've seen so far, they did something wierd with<br>
the storage and as a result the stock openwrt can't access it. I've seen<br>
reports of people getting it to run from an initramfs, but this means that<br>
no settings can be preserved across reboot.<br>
<br>
If you've seen anything different, I'd be very interested to hear about it<br>
(I picked up a 3700v4 and a couple 4300's for testing)<br>
<br>
</blockquote>
<br>
according to a birdie, "it looks like it's an ONFI with quirks, or nobody<br>
has realised that it's ONFI at all.". Perhaps that's enough clue to get<br>
someone started? but I fear jtag debugging will be needed. Flash chips tend<br>
to have interesting race conditions....<br>
</blockquote>
<br></div>
Given that we have the GPL source for the kernel available from Netgear, I'm a little puzzled that we are having to reverse engineer this instead of working from the source.<br>
<br>
Even if the first version was little more than a cut-n-paste of the netgear butchered driver until people have time to analyse it fully.</blockquote><div><br></div>Found the original NAND driver. If you download the original fw source it's in wndr4300-GPL.git/git_home/linux.git/drivers/mtd/nand/ath_nand.c. It also borrows a few things from wndr4300-GPL.git/git_home/linux.git/arch/mips/include/asm/mach-atheros/atheros.h.<div>
<br></div><div>I'm already seeing lots of similarities to the ar934x_nfc.c flash controller driver in upstream openwrt. That one seems to be missing some of the ECC features of the original ... and all of the ONFI bits...</div>
<div><br></div><div>I'll poke at it some this week, see if I can bring something up.</div><div><br></div><div style>Lance</div></div></div></div>