Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-16 Thread jonsm...@gmail.com
On Fri, Apr 12, 2013 at 7:09 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Hi Jon, On Fri, Apr 12, 2013 at 8:42 PM, jonsm...@gmail.com jonsm...@gmail.com wrote: On Tue, Apr 9, 2013 at 6:42 PM, jonsm...@gmail.com jonsm...@gmail.com wrote: I put two and two together and

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-16 Thread Drasko DRASKOVIC
Hi Jon, I guess that you can push Ralink for this, but I have bot seen these sources on the web. The closest I got is 8Devices' Carambola u-boot, as they have probably demanded sources from Ralink : https://github.com/8devices/u-boot I can see in the code rt2880_config, but Carambola has RT3050

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-16 Thread Daniel Golle
On 04/16/2013 06:54 PM, Drasko DRASKOVIC wrote: The closest I got is 8Devices' Carambola u-boot, as they have probably demanded sources from Ralink : https://github.com/8devices/u-boot I can see in the code rt2880_config, but Carambola has RT3050 and uses this U-Boot, so there is a goot

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-12 Thread jonsm...@gmail.com
On Tue, Apr 9, 2013 at 6:42 PM, jonsm...@gmail.com jonsm...@gmail.comwrote: I put two and two together and figured out that those are the names from the Ralink reference design, not the datasheet. So based on that observation Toplink has confirmed this to be the correct pin out. I've

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-12 Thread Drasko DRASKOVIC
Hi Jon, On Fri, Apr 12, 2013 at 8:42 PM, jonsm...@gmail.com jonsm...@gmail.com wrote: On Tue, Apr 9, 2013 at 6:42 PM, jonsm...@gmail.com jonsm...@gmail.com wrote: I put two and two together and figured out that those are the names from the Ralink reference design, not the datasheet. So

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-09 Thread jonsm...@gmail.com
On Tue, Apr 9, 2013 at 1:55 AM, Daniel Golle dgo...@allnet.de wrote: On 04/09/2013 01:24 AM, Drasko DRASKOVIC wrote: I am missing some more flash though. 8MB is just enough, but it seems like RT5350 chipset does not support more. NACK. We got Rt5350 boards with 32MB NOR (ALL5003,

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-09 Thread Wojciech Kromer
Shouldn't parallel NOR flash work too? There is a second RAM chip select. Nobody uses it because it is more expensive. Yes, it should. But rt5350 can boot only from spi flash. Best regards. ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-09 Thread Michel Stempin
Hi John, Le 09/04/2013 21:13, jonsm...@gmail.com a écrit : Does any one actually have one of the TopLink minPCIe boards? Their datasheet doesn't clearly identify the pins. They have pins called LINK1, LINK2, LINK3, LINK4. It is not clear what those pins do. They only expose two of the

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-09 Thread jonsm...@gmail.com
On Tue, Apr 9, 2013 at 4:08 PM, Michel Stempin michel.stem...@wanadoo.fr wrote: Hi John, Le 09/04/2013 21:13, jonsm...@gmail.com a écrit : Does any one actually have one of the TopLink minPCIe boards? Their datasheet doesn't clearly identify the pins. They have pins called LINK1, LINK2,

[OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread jonsm...@gmail.com
I'm ordering some of those Toplink RT5350 modules from Alibaba. I need to get something initially loaded into the SPI flash. Does the MIPS u-boot in the OpenWRT tree run on the RT5350? If so, then I can load it into RAM via JTAG, jump to it and get flash commands? That will let me initialize an

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread Wojciech Kromer
If so, then I can load it into RAM via JTAG, jump to it and get flash commands? That will let me initialize an empty flash. This scenario works fine with rt3352, just try... Doesn't look like MIPS has the small SRAM region like ARM does. Is there a write up around somewhere on how to get

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread Daniel Golle
Hi! On 04/09/2013 12:38 AM, jonsm...@gmail.com wrote: Does the MIPS u-boot in the OpenWRT tree run on the RT5350? If so, U-Boot for Ralink chips is not (yet) part of OpenWrt, however, you can compile it from the sources on https://github.com/8devices/u-boot Flashing the boards via JTAG will

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread Drasko DRASKOVIC
Hi John, You will have to know RAM controller config to prepare RAM before writing into it. This usually goes to OpenOCD script and is executed via MIPS EJTAG. But is often just a question of writing several registers (sometimes in the right order) You can look in U-Boot code from Carambola (8th

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread jonsm...@gmail.com
It will be a while for the boards to arrive from China. But they look really good. 8MB flash, 32MB RAM for less than the $7.50 quotes on Aliaba. Chip antenna or IPEX. JTAG on connector The one with pins supports one Ethernet. The pseudo-miniPCIe one supports two Ethernet. On Mon, Apr 8, 2013 at

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread jonsm...@gmail.com
On Mon, Apr 8, 2013 at 6:20 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Hi John, You will have to know RAM controller config to prepare RAM before writing into it. This usually goes to OpenOCD script and is executed via MIPS EJTAG. But is often just a question of writing several

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread Drasko DRASKOVIC
Yes, I have seen these boards and contacted suppliers. they seem really responsive. I am missing some more flash though. 8MB is just enough, but it seems like RT5350 chipset does not support more. John, do you know what would be the best way to augment flash on these? Some cheap NAND? SD Card?

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread jonsm...@gmail.com
On Mon, Apr 8, 2013 at 6:24 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Yes, I have seen these boards and contacted suppliers. they seem really responsive. I am missing some more flash though. 8MB is just enough, but it seems like RT5350 chipset does not support more. John, do

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread jonsm...@gmail.com
On Mon, Apr 8, 2013 at 6:27 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: BTW, have you seen this one : http://www.alibaba.com/product-gs/815002442/RT5350_wifi_module_oem.html I think I found out those were 88Y ($14.19). That is twice the price of Toplink. Looks even more

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread jonsm...@gmail.com
On Mon, Apr 8, 2013 at 6:28 PM, jonsm...@gmail.com jonsm...@gmail.com wrote: On Mon, Apr 8, 2013 at 6:24 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Yes, I have seen these boards and contacted suppliers. they seem really responsive. I am missing some more flash though. 8MB is

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread Drasko DRASKOVIC
Great, thanks a lot John. I has just a little trouble with their miniPCI card, as it has only one hole in the middle, and will not fit into the standard miniPCI connector, which demand two holes on the top. How do you plan to fix this card? BR, Drasko On Tue, Apr 9, 2013 at 12:59 AM,

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread jonsm...@gmail.com
On Mon, Apr 8, 2013 at 7:04 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Great, thanks a lot John. I has just a little trouble with their miniPCI card, as it has only one hole in the middle, and will not fit into the standard miniPCI connector, which demand two holes on the top. It

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread jonsm...@gmail.com
On Mon, Apr 8, 2013 at 7:09 PM, jonsm...@gmail.com jonsm...@gmail.com wrote: On Mon, Apr 8, 2013 at 7:04 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Great, thanks a lot John. I has just a little trouble with their miniPCI card, as it has only one hole in the middle, and will not

Re: [OpenWrt-Devel] Using JTAG on a new Ralink board

2013-04-08 Thread Daniel Golle
On 04/09/2013 01:24 AM, Drasko DRASKOVIC wrote: I am missing some more flash though. 8MB is just enough, but it seems like RT5350 chipset does not support more. NACK. We got Rt5350 boards with 32MB NOR (ALL5003, Art.Nr.92763). ___ openwrt-devel