OpenWrt Forum Archive

Topic: What is the difference between 64K and 128K TRX files

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

I have been compiling openwrt Kamikaze for a while, and always notice there are two versions of the trx file for a jffs file ssytem:

openwrt-brcm-2.4-jffs2-64k.trx
openwrt-brcm-2.4-jffs2-128k.trx

I prefer the jffs2 filesystem over squashfs, but does anyone know the difference between the above two jffs2 trx files?  Which one should I be using for a Linksys WRT54GL?


Thanks,

William.

Thank you.

I've just compiled the openwrt 2.6 broadcom for my Asus WL500gp (V1).
If I follow your instructions, I've to choose the openwrt-brcm47xx-jffs2-128k.trx file according the hardware table (8 MB flash embedded on the router) but it doesn't work (I can't ping the router...)
The openwrt-brcm47xx-jffs2-64k.trx works. Why ?
Where's the mistake ?

The df -h result if this could help :

root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/mtdblock2            6.9M      2.3M      4.6M  33% /
tmpfs                    14.7M     40.0k     14.6M   0% /tmp
tmpfs                   512.0k         0    512.0k   0% /dev

How to know the real flash embedded size ?
How to use the 128k JFFS file on my router ?

Thanks for your help !

Sorry, my fault! 64k and 128k is the block size of the flash. Normally, 4MB flash has 64k block size and 8MB flash has 128k block size, but there are exceptions (fonera, wl500gp as it seems, ...).

The 6.9MB size of the root file system does not include the linux kernel and other flash partitions, so it does not display 8MB.

The discussion might have continued from here.