howto_865x

You are here: Main » howto_865x
Main News FAQ Howtos Download Supported devices Howto install/upgrade Packages Links Thanks Donate Forum
Login Diff Backlinks Recent Sitemap Admin
Table of Contents

Intro

Warning! This is beta-howto of midge rtl865x brach. Patches, bug discussion are welcome at Midge Forum

Edimax BR-6214K

br6214k-board.jpg

Console connection

RTL865xb has two serial/console port. PCB of Edimax BR-6214 there is a 4 pin connector marked JP1.

1-o o o o-4

1 - +3.3V
2 - Rx
3 - Gnd
4 - Tx

Port setup: 38400 8N1

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

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
}
(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 

Bootlog of midge-rtl865xb beta:

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
Determined physical RAM map:
 memory: 00800000 @ 00000000 (usable)
NOFS reserved @ 0x802de610
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock4
IRR(0)=c0000000
Calibrating delay loop... 178.99 BogoMIPS
Memory: 5156k/8192k available (2053k kernel code, 3036k reserved, 92k data, 92k init, 0k highmem)
Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
NEW PCI Driver...isLinuxCompliantEndianMode=False(Big Endian)
[PCI] Reset Bridge ..... Finish!
No PCI device exist!!
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
LZMA decompressor support based on LZMA SDK 4.05 by Oleg I.Vdovikin
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SERIAL_PCI enabled
Probing RTL8651 10/100 NIC...
chip name: 8650B, chip revid: 1
Rx shift=10002
   creating eth0~eth1...
eth0 added. vid=8 Member port 0x1...
eth1 added. vid=9 Member port 0x1e...
IRR(6)=c0040000
===> Request IRQ 6 for eth0, ret=0
IRQ 6 allocated for 8650 NIC
PPP generic driver version 2.4.2
PPP BSD Compression module registered
flash device: 200000 at be000000
 Amd/Fujitsu Extended Query Table v1.0 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00004000 : "boot1"
0x00010000-0x00020000 : "boot2"
0x001f0000-0x00200000 : "boot3"
0x00020000-0x00120000 : "kernel"
0x00120000-0x00200000 : "rootfs"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 1024)
GRE over IPv4 tunneling driver
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 92k freed
IRR(4)=c0c40000
===> Request IRQ 4 for serial, ret=0
Algorithmics/MIPS FPU Emulator v1.5
Info: Starting beerouter version . MIDGE_TYPE is a tmpfs
Info: Mounting tmpfs to /ram
mount: No /proc/mounts
Info: Checking for first boot...
Info: This is first boot!
Info: Copying /etc to /ram...
Info: Making symlinks...
mount: No /proc/mounts
tar: Removing leading '/' from member names
umount: Couldn't umount /proc: Invalid argument
Info: Replacing /
Info: Remount /proc
Info: Generating random mac address...
mount: Mounting proc on /proc failed: Device or resource busy
cat: /etc/modules.d/*: No such file or directory
Initializing random number generator... done.

midge-rtl865xb login: