latest stable works fine on the r36, i'll recap everything I needed to do to install it as it will be easier to find
and watch out for the links in this post, i had to cut them because the forum software is dumb
you need to open the case (2 screws under the leg pads on the USB port side), and connect a serial uart cable to 3 of the 4 pins on the left side when looking at the board with the usb port facing you, there's a picture posted on page 2 of this post htp image-share.com/ijpg-1793-285.html
openwrt image is here htps downloads.openwrt.org/chaos_calmer/15.05.1/ramips/rt305x/
after you download, move it for tftp (debian/apt-get install tftpd-hpa), i had to use a shorter name as it seems uboot clipped it
apt-get install tftpd-hpa
wget htps downloads.openwrt.org/chaos_calmer/15.05.1/ramips/rt305x/openwrt-15.05.1-ramips-rt305x-w502u-squashfs-sysupgrade.bin
wget htps downloads.openwrt.org/chaos_calmer/15.05.1/ramips/rt305x/md5sums
md5sum -c md5sums 2>/dev/null | grep openwrt-15.05.1-ramips-rt305x-w502u-squashfs-sysupgrade.bin
mv openwrt-15.05.1-ramips-rt305x-w502u-squashfs-sysupgrade.bin /srv/tftp/openwrt.bin
ifconfig eth0 10.10.10.3 netmask 255.255.255.0
connect an ethernet cable from your eth0 10.10.10.3 to the wan port (or was it the lan i used?)
you also need a serial uart connection for the bootloader and initial openwrt config
i used the bus pirate v3.6 stable, i had to flash the 6.2-beta1 firmware but i dont think it was needed, it was a problem of the initial config of the bus pirate which i'll post below - problem was as reported by someone on the first page, the bootloader passed too fast over the option selection and didnt seem to take my keyboard input at all
and not sure if its minicom or screen that was the issue
i ended up using "minicom -b 115200 -8 -D /dev/ttyUSB0 -s" and Serial Port setup, make sure hardware and software flow control are set to NO, then type esc 2 times to get to the minicom screen
for the cable connection i used the sparkfun new bus pirate cable and if you use a similar one you should check the cabling on it as there are several versions and you could burn your bus pirate connecting the cables wrong
bus pirate -> r36 pins (pin 1 closest to the usb port, pins starting from 1 are VDD, RX, TX, GND, and you only need the last 3)
GND -> GND
TX/MOSI -> RX
RX/MISO -> TX
if something isnt working you can check the self test procedure on the bus pirate and also shorting the TX/MOSI to RX/MISO and using a minicom terminal with the bus pirate uart config pasted below (maybe with local echo on), you should see the output as you type, with echo would double it
after you open minicom to the bus pirate, set the bus pirate config:
Bus Pirate v3b
Firmware v5.10 (r559) Bootloader v4.4
DEVID:0x0447 REVID:0x3046 (24FJ64GA002 B8)
x. exit(without change)
Set serial port speed: (bps)
10. BRG raw value
Data bits and parity:
1. 8, NONE *default
2. 8, EVEN
3. 8, ODD
4. 9, NONE
1. 1 *default
1. Idle 1 *default
2. Idle 0
Select output type:
1. Open drain (H=Hi-Z, L=GND)
2. Normal (H=3.3V, L=GND)
(1)>2 ((<<<i think the problem was here why i couldnt send any input via the uart interface to the boot loader, i used option 1 as seen on several forums>>>))
2. Live monitor
3.Bridge with flow control
and after this you are connected to the router's console and you can plugin your router to see the bootloader menu.
you cant control the bus pirate anymore so if you need to change anything you need to unplug it first. to exit minicom you type CTRL+A x
you can also use screen instead "screen /dev/ttyUSB0 115200 8N1" but i'm not sure the input problem wasnt because of it
when seeing the uboot prompt, type 2
2: Load system code then write to Flash via TFTP.
it will ask you for its ip and server ip, mine was something like 10.10.10.3 for the server (server is your tftp box)
and the kernel image, which is openwrt.bin if you copied it like i did above
router will boot with openwrt, keep the serial console open and press enter and you should be logged in
if you are not familiar with vi editor, press i to edit, press escape to end editing, and then press :wq to save and quit
paste this at the end of the file
option name 'switch0'
option reset '1'
option enable_vlan '1'
option device 'switch0'
option vlan '1'
option ports '1 6t'
option device 'switch0'
option vlan '2'
option ports '0 6t'
then restart the network or router, and you should be able to ping it to 192.168.1.1 (remember to set your eth0 interface and switch to lan)
eth should work fine now, the only problem was the missing switch config
one thing i noticed in my r36, i only have a wlan0, while i understood this router has 2 wireless chips and i've seen 2 interfaces on ifconfig output from this router. any idea what i need to do to see both or do i have a different revision?
chipset says RT3050 F
EDIT: nevermind, the second interface is the 5ghz which isnt working
(Last edited by xwrt on 14 Sep 2016, 04:55)