|
楼主 |
发表于 2008-2-18 17:21:42
|
显示全部楼层
上面的是1.1更新版,修正了打包不含CFE的镜像时,计算rootfs加载地址的bug。
加入两个开关: /128K, /cfeblk:X
/128K 设置Flash的块大小为128KB, 默认情况下为64KB
/cfeblk:X 设置在打包不含有CFE的镜像时CFE占用的块数。CFEsize = Flash block size x CFE block count.
如果flash块大小为64KB,CFE占用了1块(Tiny CFE 大小是64KB)那么CFE长度是64K x 1块 =65536字节。
如果CFE长度为256KB,块大小为64K ,可用参数 /cfeblk:4
===============================================================
Broadcom Chip ADSL FW Image De/Compress Utility v1.1-hugebird
===============================================================
ABOUT: This program decomp/comp the firmware image of a Broadcom chip
based DSL MODEM.
---------------
USAGE: BrFwmod -decomp <-i inputfile> </m:X> </notag> </cfe> </rfs> </knl>
BrFwmod -comp <-o outputfile> </m:X> </cfe> </r> </cfeblk:X> </128K>
BrFwmod -showinfo <-i inputfile>
Required Parameter
------------------
-decomp ........... decompress Image file into sub files
-comp ............. compress
-showinfo ......... show a Image file infomation
-i inputfile ...... custom input file(Image.bin by default)
-o outputfile .... custom output file(Image_Time.bin by default)
Optional Switches
-----------------
/cfe ........... ... decomp/recomp including CFE
/notag ............. don't decomp image tag
/128K .............. use 128K to cal root fs loading addr
/rfs ............... decomp including root filesystem
/knl ............... decomp including kernel image
/m:X ............... use method [X] to deal with the Image
:1 ............... tag+rootfs+kernel(default for comp)
:2 ............... tag+cfe+rootfs+kernel(default for decomp)
:3 ............... tag+cfe
:4 ............... tag only
/cfeblk:X .......... if not comp cfe in new image. this use to
cal CFE length X * [flash block size]
/r ................. Linux only:decomp/comp root filesystem image
----------------------------------------------------------------- |
|