User Tools

Site Tools


midge:howto_865x

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

midge:howto_865x [2018/04/09 15:36] (current)
Line 1: Line 1:
 +===== Intro =====
 +**Warning!** This is beta-howto of midge rtl865x brach. Patches, bug discussion are welcome.
  
 +==== Edimax BR-6214K ====
 +
 +  * CPU: Realtek [[http://​www.linux-mips.org/​wiki/​Realtek_SOC|RTL8650B]]
 +  * 2 Mb NOR Flash
 +  * 16 Mb SDRAM
 +  * 5 Ethernet
 +  * 1 USB 1.1 (on PCB)
 +  * 2 UART (1 port on PCB)
 +
 +==== Console connection ====
 +RTL865xb has two serial/​console port.
 +PCB of Edimax BR-6214 there is a 4 pin connector marked JP1.
 +<​code>​
 +1-o o o o-4
 +
 +1 - +3.3V
 +2 - Rx
 +3 - Gnd
 +4 - Tx
 +</​code>​
 +
 +Port setup: 38400 8N1
 +
 +[[zftlab:​project_rtl8650b_research|More hardware hacks]]  ​
 +
 +
 +==== Making beta-firmware ====
 +Download latest svn: \\
 +** svn co http://​midge.vlad.org.ua/​svn/​trunk/​openwrt-midge/​ ** \\
 +after downloading run **./​make-rtl865xb** in openwrt-midge directory
 +
 +==== Uploading of firmware ====
 +
 +To upload the firmware under Edimax-BR6214K you need DHCP and TFTP servers. ​
 +
 +To install servers under Debian just type:\\
 +**apt-get install tftpd dhcp3-server**
 +
 +  * Make sure that UDP 67,69 ports are opened
 +
 +  * Put your firmware to /src/tftp
 +
 +  * Edit new host configuration in /​etc/​dhcp3/​dhcpd.conf
 +
 +<​code>​
 +host br6214k ​
 +{
 +        hardware ethernet 00:​0e:​2e:​fe:​73:​76; ​ # MAC-address of device
 +        fixed-address 192.168.0.2;​
 +        next-server 192.168.0.100;​ # TFTP server ​
 +        filename "​br6214k.bix";​ # Firmware name
 +}
 +</​code>​
 +
 +  * Connect console cable to PC
 +  * Start terminal program (minicom, HyperTerminal,​ etc)
 +  * Setup 38400 8N1, no hardware handshaking
 +  * Turn on power to the router
 +  * On screen you will see prompt
 +  * Quickly press '​r'​
 +
 +<​code>​
 +(c)Copyright Realtek, Inc. 2003
 +Project ROME LOADER
 +Version 00.00.20(uClinux) (Jun  4 2007 12:56:37)
 +[865xB] CPU Clock Rate: 180MHz, Memory Clock Rate: 130MHz
 +Detected flash size: total 2MB.
 +SDRAM size: 8MB
 ++TFTP +Auto UART +Bank1:ROM +GZIP +LZMA
 +
 +--== Loader Menu ==--
 +'​r'​ to update run image
 +'​a'​ to change config
 +'​l'​ to update loader
 +'​g'​ to load run image without updating Flash
 +'​h'​ to enter hub mode
 +'​o'​ to update flash with ROM file
 +'​s'​ to test SDRAM memory
 +'​t'​ to test flash memory
 +'​e'​ to erase flash memory
 +'​p'​ to enter ping mode 
 +</​code>​
 +
 +  * Typing '​r'​ and wait while firmware uploads and flash the device
 +
 +
 +Bootlog of midge-rtl865xb beta:
 +
 +<​code>​
 +Loading runtime image ...
 +
 +Unzip image from address: 0xbe020000
 +Start GZIP Decompression:​ Failed
 +Start LZMA Decompression:​
 +
 +Start runtime image at 80080000.
 +
 +************************************
 +Powered by Realtek RTL8650B SoC, rev 1
 +************************************
 +SDRAM size: 8MB
 +CPU revision is: 0000ff00
 +Init MMU (16 entries)
 +Primary instruction cache 0kB, linesize 0 bytes.
 +Primary data cache 0kB, linesize 0 bytes.
 +Linux version 2.4.26-uc0 (root@work) (gcc version 3.3.5) #11 Пнд Янв 5 20:45:24 EET 2009
 +...
 +midge-rtl865xb login:
 +</​code>​
midge/howto_865x.txt · Last modified: 2018/04/09 15:36 (external edit)