Opened 5 years ago

Closed 5 years ago

#12587 closed enhancement (invalid)

wnr3500 (orion) support w/ mwl8363 ap

Reported by: angelbane@… Owned by: developers
Priority: low Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: Cc:


Patches and instructions to get openwrt on wnr3500:

get attached patches

svn checkout -r 33884 svn://

cd trunk
patch -p1 -R< ../wn3500.patch
cp ../tmwl8k-8363-ap.patch package/mac80211/patches/852-wnr3500-add-ap-for-mw8363.patch

get firmwares
sudo apt-get install cabextract unshield sharutils
mkdir mwl8k
cd mwl8k
wget -O mrv8k_extract_fw.c ''
mkdir mess
cabextract -F Disk1/data*.* -d mess wn311t_4_2_setup.exe
unshield -g Driver -d mess x mess/Disk1/
uudecode -o=fmimage_8363.fw mw88W8363.fw.uu
gcc -o mrv8k_extract_fw mrv8k_extract_fw.c
./mrv8k_extract_fw mess/Driver/netmw145.sys
rm -r mess
md5sum -b *.fw
mv fmimage_8XX1.fw fmimage_8363_sta.fw
mv helper_8XX1.fw helper_8363.fw

build an image; put it on to a tftp server
get a serial console; start the router; hit ctrl-c to catch the u-boot prompt;
you may need to change the bootcmd, cause it expects it to be lzma:
Marvell>>setenv bootcmd 'fsload 0x400000 $(image_name); bootm 0x400000;'

Flash the new image (you'll need a properly set up dhcp server, or set the environment variables to make this work properly)
Marvell>> tftpboot 0x400000 openwrt-wnr3500-squashfs.img

Bytes transferred = 2621440 (280000 hex) <--use this number in the 3rd step

Marvell>> erase 0xff800000 0xffafffff
Marvell>> cp.b 0x400000 0xff800000 <hex number here>
Marvell>> reset

scp fmimage_8363_sta.fw helper_8363.fw fmimage_8363.fw <ip address>:/lib/firmware/mwl8k/

echo mwl8k ap_mode_default=1 > /etc/modules.d/27-mwl8k

Attachments (2)

wnr3500.patch (6.0 KB) - added by anonymous 5 years ago.
mwl8k-8363-ap.patch (18.3 KB) - added by angelbane@… 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by anonymous

Changed 5 years ago by angelbane@…

comment:1 Changed 5 years ago by jogo

  • Resolution set to invalid
  • Status changed from new to closed

Please submit the patches to the mailing list according to SubmittingPatches. I'll close this ticket to keep trac mostly for actual bugs.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.