openwrt固件下载 jffs2固件和squafs固件两个版本的区别

Powered byFrom Wikipedia, the free encyclopedia
Journalling Flash File System version 2 or JFFS2 is a
for use with
devices. It is the successor to . JFFS2 has been included into the
since September 23, 2001, when it was merged into the
as part of the kernel version 2.4.10 release. JFFS2 is also available for a few , like , , the
RTOS and the . Most prominent usage of the JFFS2 comes from .
At least three file systems have been developed as JFFS2 replacements: , , and .
JFFS2 introduced:
Support for
devices. This involved a considerable amount of work as NAND devices have a sequential I/O interface and cannot be memory-mapped for reading.
Hard links. This was not possible in JFFS because of limitations in the on-disk format.
Compression. Four algorithms are available: , rubin, rtime, and .
Better performance. JFFS treated the disk as a purely circular log. This generated a great deal of unnecessary I/O. The
in JFFS2 makes this mostly unnecessary.
As with JFFS, changes to files and directories are "logged" to flash in nodes, of which there are two types:
: a header with file metadata, followed by a payload of file data (if any). Compressed payloads are limited to one page.
dirent nodes: directory entries each holding a name and an inode number. Hard links are represented as different names with the same inode number. The special inode number 0 represents an unlink.
As with JFFS, nodes start out as valid when they are created, and become obsolete when a newer version has been created elsewhere.
Unlike JFFS, however, there is no circular log. Instead, JFFS2 deals in blocks, a unit the same size as the erase segment of the flash medium. Blocks are filled, one at a time, with nodes from bottom up. A clean block is one that contains only valid nodes. A dirty block contains at least one obsolete node. A free block contains no nodes.
runs in the background, turning dirty blocks into free blocks. It does this by copying valid nodes to a new block and skipping obsolete ones. That done, it erases the dirty block and tags it with a special marker designating it as a free block (to prevent confusion if power is lost during an erase operation).
more even and prevent erasures from being too concentrated on mostly-static file systems, the garbage collector will occasionally also consume clean blocks.
Disadvantages[]
Due to its log-structured design, JFFS2's disadvantages include the following:
All nodes must still be scanned at
time. This is slow and is becoming an increasingly serious problem as flash devices scale upward into the
range. To overcome this issue, the Erase Block Summary (EBS) was introduced in version 2.6.15 of the Linux kernel. EBS is placed at the end of each block and updated upon each write to the block, summarizing the block' during mounts, EBS is read instead of scanning whole blocks.
Writing many small blocks of data can even lead to negative compression rates, so it is essential for applications to use large write buffers.
There is no practical way to tell how much usable free space is left on a device since this depends both on how well additional data can be compressed, and the writing sequence.
by David Woodhouse ()
. Wiki.openwrt.org.
(PDF). . 2011.明月固件 Openwrt MingYue !
分类目录归档:路由刷机
请到此下载breed、查看使用说明
以下是支持的路由型号,按cpu分类 ,在很多情况下,cpu相同的路由,固件可以通用,但不是百分百能用。
[breed-mt7620-re[……]
发表在 , ,
上次一朋友,发了个大麦路由给我,一直没时间来折腾。这几天刚好有点空,所以就折腾了几天。本机硬件是mtkEN,16M闪存+128M内存,内置8G闪存卡,有USB接口。经过许多折腾,最[……]
发表在 , ,
大家想玩好openwrt,首先得选择好一个合适的路由。不然各种坑,会很不爽的。
接触openwrt两年来,稍微有点经验,在此和大家分享一下。各大芯片厂家对开源的友好程度不一样,我建议大家选择AR[……]
发表在 , ,
本文由明月永在原创,复制或引用请注明出处。
openwrt刷机一直是新手所需要面对的问题。现在我介绍一下,刷机的方法 。
刷机前,我们必须弄清楚几个概念,[……]
发表在 , , ,
注:本文由明月永在原创,复制或者引用请注明出处.
玩openwrt一年以来,发了一些固件,在圈内知道的明月永在的朋友也多了起来。
于是经常有朋友要求我推荐[……]
发表在 , ,
openwrt官方下载的都分jffs2和squafs两种格式
jffs2文件系统格式是适合于断电的系统,不像FAT那样容易丢文件,因为路由器一般都容易突然断电。
官方的jffs2格[……]
本文由明月永在根据网友的经验整理,引用请注明出处.
网件4300刷回原厂可参考以下:
4300固件,在刷我的固件后,如果需要返回原厂。直接刷回原厂固件会导[……]
发表在 , ,WRT1200AC/1900AC系列路由Openwrt/LEDE切换固件的方法
主题帖子积分
初级魔法师, 积分 190, 距离下一级还需 10 积分
linksys wrt1900acs v2 lede 1.9 update 4
lede 1.9 update 4是论坛发布的固件,没有sysupgrade 可能是刻意禁用掉?不清楚。可以单独发帖问问或发消息咨询一下版主。
这种情况下,如果想升级,就要开关3次路由电源切换到另一个分区进行操作。参考:
主题帖子积分
魔法学徒, 积分 43, 距离下一级还需 7 积分
请教楼主一个问题, 我是WRT3200ACM,固件2被我刷死了。重启后PC获取不到IP,PC设成固定ip也ping不通路由了。固件1现在LEDE,请问有办法恢复固件2到官方固件么?
主题帖子积分
初级魔导师, 积分 3307, 距离下一级还需 193 积分
meishaoqing 发表于
请教楼主一个问题, 我是WRT3200ACM,固件2被我刷死了。重启后PC获取不到IP,PC设成固定ip也ping不通路由了 ...
/thread-.html
这个切换大法可行不
主题帖子积分
魔法学徒, 积分 43, 距离下一级还需 7 积分
/thread-.html
这个切换大法可行不
感谢回复。
不过链接中描述的貌似不是我想要知道的。
固件1目前是LEDE,可以正常使用,但是固件2已经挂掉了,通过开关机4次切换到固件2,这时候PC没法跟路由器连上,所以也就没法刷固件呢。
本来两个固件,现在就剩一个,如果固件1再不小心弄挂了,就麻烦了,呵呵。
主题帖子积分
初级魔导师, 积分 3307, 距离下一级还需 193 积分
meishaoqing 发表于
感谢回复。
不过链接中描述的貌似不是我想要知道的。
固件1目前是LEDE,可以正常使用,但是固件2已经挂掉 ...
以往的领势双系统是这样的:固件1可以刷固件2,固件2可以刷固件1。用TFTP都刷不了吗
主题帖子积分
魔法学徒, 积分 43, 距离下一级还需 7 积分
以往的领势双系统是这样的:固件1可以刷固件2,固件2可以刷固件1。用TFTP都刷不了吗 ...
我就是想知道怎么在固件1里面刷固件2呢~~~
我先去研究一下TFTP,看能不能刷
主题帖子积分
魔法学徒, 积分 43, 距离下一级还需 7 积分
以往的领势双系统是这样的:固件1可以刷固件2,固件2可以刷固件1。用TFTP都刷不了吗 ...
搞定了!多谢指点。
观察好像是固件1和固件2两个分区是交替被刷写的,呵呵。
主题帖子积分
初级魔法师, 积分 190, 距离下一级还需 10 积分
感谢回复。
不过链接中描述的貌似不是我想要知道的。
固件1目前是LEDE,可以正常使用,但是固件2已经挂掉 ...
开关路由电源三次,进入到你能正常使用的lede固件下,下载好官方的固件并且上传的路由器上,用10楼的方法,把官方固件刷到另外一个分区。
主题帖子积分
初级魔导师, 积分 3307, 距离下一级还需 193 积分
搞定了!多谢指点。
观察好像是固件1和固件2两个分区是交替被刷写的,呵呵。 ...
兄弟你是用10楼的方法,还是用TFTP刷写的?
主题帖子积分
魔法学徒, 积分 43, 距离下一级还需 7 积分
兄弟你是用10楼的方法,还是用TFTP刷写的?
用10楼的方法。一次刷LEDE,一次刷原厂固件。。。然后发现里面就有一个LEDE和一个原厂固件了。
主题帖子积分
初级魔导师, 积分 3307, 距离下一级还需 193 积分
可以。我一般这么操作:
1、下载官方固件,改名成 factory.img, 然后用winscp软件上传到路由器的 /tmp&&...
兄弟,请教:你这个方法,怎么知道自己是把原厂固件刷到了哪个第三方固件的存储芯片里面?
主题帖子积分
初级魔法师, 积分 190, 距离下一级还需 10 积分
本帖最后由 edmondgavin 于
21:35 编辑
兄弟,请教:你这个方法,怎么知道自己是把原厂固件刷到了哪个第三方固件的存储芯片里面? ...
路由有2个分区,你在当下的固件里按照10楼的方法进行更新固件操作,新固件肯定会被安装到另一个分区。
SSH登录路由,输入以下命令查看所处分区:
fw_printenv boot_part
主题帖子积分
初级魔导师, 积分 3307, 距离下一级还需 193 积分
路由有2个分区,你在当下的固件里按照1楼的方法进行更新固件操作,新固件肯定会被安装到另一个分区。
但是领势路由器刷机是在固件正常运行模式下(不用进入什么恢复模式?)?电脑网卡端不用设置什么192.168.1.xx、255.255.255.0这些吗?
主题帖子积分
初级魔法师, 积分 190, 距离下一级还需 10 积分
本帖最后由 edmondgavin 于
21:43 编辑
但是领势路由器刷机是在固件正常运行模式下(不用进入什么恢复模式?)?电脑网卡端不用设置什么192.168. ...
你用的是什么路由器, 帖子的方法是针对LINKSYS WRT系列的,其他型号的没有验证过。
在WRT系列下,路由器如果设置了DHCP自动分配网址,那么客户端是不用像你刚说的手动设置IP地址的。
主题帖子积分
初级魔导师, 积分 3307, 距离下一级还需 193 积分
你用的是什么路由器, 帖子的方法是针对LINKSYS WRT系列的,其他型号的没有验证过。
在WRT系列下,路由器 ...
我的EA8500套装还在路上,我现在是先了解下而已。领势官方系统的话我估计是通用的,毕竟EA也是双分区,不过最近听说新版本官方固件会锁死。。。
主题帖子积分
初级魔法师, 积分 190, 距离下一级还需 10 积分
我的EA8500套装还在路上,我现在是先了解下而已。领势官方系统的话我估计是通用的,毕竟EA也是双分区,不 ...
你参考一下其他帖子吧。
主题帖子积分
初级魔导师, 积分 3307, 距离下一级还需 193 积分
你参考一下其他帖子吧。
.cn/forum/thread--1.html
谢谢。这个帖子我也看了,不会那么邪门要TTL吧。。
主题帖子积分
中级魔法师, 积分 243, 距离下一级还需 257 积分
收藏学习了,谢谢
主题帖子积分
初级魔法师, 积分 89, 距离下一级还需 111 积分
主题帖子积分
初级魔法师, 积分 89, 距离下一级还需 111 积分
dd固件恢复官方固件用你的方法可以吗
Powered by

我要回帖

更多关于 openwrt kmod fs cifs 的文章

 

随机推荐