OpenWrt Forum Archive

Topic: Let's Get More,Make WR703 With 16M Flash

The content of this topic has been archived between 6 Feb 2018 and 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I don't think there'll be anything at this stage of boot but I'm going to connect and to check this out.

I would really like to verify my partition before flashing and soldering, is there any way to mount them?

Updated
There's nothing on the terminal, I can just see the '<o>' symbol on power off. I've also prepared a 8MB flash chip for 703n and it ended up with the similar result.

UPD: Got it working

(Last edited by hryamzik on 17 Jun 2015, 20:19)

Hi hryamzik,

I followed the method you explained to mod my WR740 from 4M to 8M flash, but it doesn't work. Getting nothing on terminal like you got.

Can you tell me how you made it working. Is there anything left to do?


/jags

@jagspaul, how did you prepare the new flash? Here's my code.

Slice original image to partitions:

v=703 sizeorig=4 sizenew=8

mkdir -vp out ${v:-702}.orig

dd bs=1 skip=0                         count=$((128*1024))                  if=${v:-702}n.bin of=${v:-702}.orig/uboot.bin
dd bs=1 skip=$((128*1024))             count=$(((sizeorig*1024-64*3)*1024)) if=${v:-702}n.bin of=${v:-702}.orig/firmware.bin
dd bs=1 skip=$(((sizeorig*1024-64)*1024))                                   if=${v:-702}n.bin of=${v:-702}.orig/art.bin

Create new image:

dd bs=1                                               of=out/${v:-702}n${sizenew}m.bin if="$uboot"
dd bs=1 conv=notrunc seek=$((128*1024))               of=out/${v:-702}n${sizenew}m.bin if=${v:-702}.orig/firmware.bin
dd bs=1 conv=notrunc seek=$(((sizenew*1024-64)*1024)) of=out/${v:-702}n${sizenew}m.bin if=${v:-702}.orig/art.bin

@hryamzik great minds think alike.
https://forum.openwrt.org/viewtopic.php … 61#p330161

That's how I used dd to split up a full rom image I extracted with uboot.
My router is interesting because its normally got a 4mb flash (tp-link 841nd v9.2) but it's an OEM spec custom order for an ISP with 8mb flash. You get to see how the factory modded their own u-boot. I put the images from my rom (well parts of it, not art/config) online.

I am using this clip so I donot have to desoldering flash chip
https://scontent-hkg3-1.xx.fbcdn.net/v/t1.0-9/13237740_1219483984743100_7159948060369287985_n.jpg?oh=cdc4697ce2a73bc41163e10ec6efde19&amp;oe=57ED2B74

freewifimarketing.net wrote:

I am using this clip so I donot have to desoldering flash chip

Mods: you can Move this post to the hardware wanted/exchange once I got FWM.net's attention.

I have a friend in VN who does SMT rework when I need it to change chips on the board etc.

You seem to be local and have the gear. How much would it cost you to pick up a
TP-LINK 940nv30.

I see the business you are in wifi-marketing, that would your best choice in Vietnam. Only 500,000

http://mediamart.vn/thiet-bi-mang/tp-li … 50mpbs.htm

The beauty of this one is it has the newer CPU as the Archer C7, only without the flash, or the extra 8021.ac pci and 802.11a module, and USB. Here's the wiki-dev link of routers using this chipset

https://wiki.openwrt.org/toh/tp-link/tp … wdr6500_v2

For wifi marketing you want to stay away from the newer routers for a bit - 80211.ac has got no range.

https://wikidevi.com/wiki/Qualcomm_Atheros
It's CPU is faster than the archer.

That's why I'd take one from you with 16mb flash for my dev box for a project I'm working on wtih openwrt. How much would you charge on top of the hardware for the flash and install?

As for your business.
Have you thought about instead of modifying the flash sizes, actually doing some smarts with the networking to do the wifi marking with coova chilli or something like that over the network. It can be done in 4MB of flash. Maybe we can help each other. I managed to squeeze a lot into a 4mb image using SQUASHFS block size of 512k and trimming out the fat. Also you can have your /tmp mounted with ext4 / zram by procd giving you another 20 mb for applications to run in the router before it would stop functioning. Though I only use 4mb.

Also all those Viettel supplied 8mb flash OEM TP-841nv6routers are now good to go with openwrt from today. Anyone who upgrades those Viettel 841nd's routers to something AC - you should be able to find lots of them for next to nothing.
https://github.com/openwrt/openwrt/pull/29

What city are you in Vietnam? Give me your email and we'll converse that way.

(Last edited by hojuruku on 13 Jul 2016, 22:13)

My $.02 ^ Configuring the kernel with Ramfs. with tiny_shmem will make /tmp even cheaper on memory.
It's what i do on android kernels

(Last edited by lgrootnoob on 14 Jul 2016, 19:34)

The discussion might have continued from here.