[LEDE-DEV] VRV9510KWAC23

2016-08-27 Thread Juan Rios
Hello,
   I managed to get this router and want to get lede on it. The hardware is this

Lantiq VRX288 500Mhz
2 NANYA NT5TU128M8HE-AC  256MB RAM
ZENTEL A501GA31ATS 8G 128MB NAND FLASH.
Wireless 2.4Ghz BCM43222KFBG
Wireless 5Ghz BCM4360KMLG
VDSL/ADSL2+ XWAY VRX208
5 port GB Ethernet

I already found serial port pins and got the console log. The log is
almost silent. I managed to get to the brnboot shell short cutting
pins in the flash but cant do a flash dump.

ERASE Flash
---
AreaAddress  Length
---
[0] Boot0x1024K
[1] Image 0 0x0010   10240K
[2] Image 1 0x00B0   10240K
[3] Configuration   0x01502048K
[4] Boot Params 0x01702048K
[5] Nvram   0x01901024K
[6] Cert0x01A0   32768K
[7] EmergencyValue  0x03A06144K
[8] Configuration2  0x04002048K
[9] All area0x   67584K

If I try to read from above address the router gets locked.

I can read from certain area like memory or 0xBC00 or 0xBE00
but others locks the router.

The boot ask for a password and continues booting.

The emergency boot kernel is openwrt 10.3

I found out that short cutting R201 I get CFG 07 instead of CFG 06 so
maybe UART Mode is R201 + R203 but not sure. Not quite sure to try
it...

I can load to memory using xmodem transfer and run but all I tried get
locked without any output.

What I want is first dump the current content of the flash. Any ideas?

Thanks in advance
JRios

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


[LEDE-DEV] Arcadyan vrv9510kwac23

2016-10-25 Thread Juan Rios
Hello again,
I have been working on adding support for this router with the
help of SCApi and we got it to the point that Ethernet ports works,
leds and buttons works and wifi card 0xa8d6 43222 works.

The wifi card don't have sprom and I had to write a patch to add
fallback sprom support for this card.

The sprom is not located in flash or at least I could not find it. I
used the logs from original firmware and information from broadcom
architecture to make it and put the interesting values and it works.

To supply sprom buffer I need the mac address of the interface. I want
to use the Ethernet mac address + 2. The Ethernet mac address is
stored in mtd at certain offset.

Where should be the registration of the sprom fallback function?.
Right now I did it in the b43_pci_ssb_bridge_init function from the
drivers/ssb/pci_b43_bridge.c file.

Also It is needed a way to specify the mtd partition where the mac
address is stored, the offset and the increment needed to the mac
address. Where and how should this be put?

Right now there is only three lantiq routers with broadcom wifi card
that I know of and may be in the same situation.

Regards
Juan Rios

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] Arcadyan vrv9510kwac23

2016-10-28 Thread Juan Rios
anyone can help? its already working.

Just need guidance about best place to put the configuration for it
and register the callback...

Thanks

On Tue, Oct 25, 2016 at 9:13 PM, Juan Rios <anonb...@gmail.com> wrote:
> Hello again,
> I have been working on adding support for this router with the
> help of SCApi and we got it to the point that Ethernet ports works,
> leds and buttons works and wifi card 0xa8d6 43222 works.
>
> The wifi card don't have sprom and I had to write a patch to add
> fallback sprom support for this card.
>
> The sprom is not located in flash or at least I could not find it. I
> used the logs from original firmware and information from broadcom
> architecture to make it and put the interesting values and it works.
>
> To supply sprom buffer I need the mac address of the interface. I want
> to use the Ethernet mac address + 2. The Ethernet mac address is
> stored in mtd at certain offset.
>
> Where should be the registration of the sprom fallback function?.
> Right now I did it in the b43_pci_ssb_bridge_init function from the
> drivers/ssb/pci_b43_bridge.c file.
>
> Also It is needed a way to specify the mtd partition where the mac
> address is stored, the offset and the increment needed to the mac
> address. Where and how should this be put?
>
> Right now there is only three lantiq routers with broadcom wifi card
> that I know of and may be in the same situation.
>
> Regards
> Juan Rios

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev