zmiki wrote:I am using the script that recreates md5sum for all files, before packing, found it on forum
Please, share this script
zmiki wrote:I am using the script that recreates md5sum for all files, before packing, found it on forum

avkiev wrote:zmiki wrote:I am using the script that recreates md5sum for all files, before packing, found it on forum
Please, share this script

Schenk2302 wrote:I think he means the one from Tjay in the third post

avkiev wrote:Empty md5sum.txt - is solution. Is it good solution ?





user@ubuntu:~/wdltv$ ./wdtvfw_tool unpack rootfs 1.03.39_B_WDLXTV.COM_WDLXTV_PLUS-0.4.3.1/wdtvlive2.bin
stripping firmware ...
unpack cramfs image ...
unpacked to rootfs
user@ubuntu:~/wdltv$ ./wdtvfw_tool pack rootfs 1.03.39_B_WDLXTV.COM_WDLXTV_PLUS-0.4.3.1/wdtvlive2.bin.new
create md5sum.txt ...
create cramfs image ...
warning: gids truncated to 8 bits (this may be a security concern)
sign image ...
1.03.39_B_WDLXTV.COM_WDLXTV_PLUS-0.4.3.1/wdtvlive2.bin.new created
user@ubuntu:~/wdltv$ ls -lad 1.03.39_B_WDLXTV.COM_WDLXTV_PLUS-0.4.3.1/wdtvlive2.bin*
-rw-r--r-- 1 user user 93159472 2010-10-12 00:05 1.03.39_B_WDLXTV.COM_WDLXTV_PLUS-0.4.3.1/wdtvlive2.bin
-rw-r--r-- 1 user user 93372464 2010-11-29 07:51 1.03.39_B_WDLXTV.COM_WDLXTV_PLUS-0.4.3.1/wdtvlive2.bin.new

jamesr219 wrote:When using Ty's tool to pack/unpack (thanks BTW!) an release firmware should I expect the filesize of the re-pack to be the same? For me it is growing a bit, but I can't figure out why. I am not touching any files in the unpacked directory.
I'm using the following commands:
- Code: Select all
user@ubuntu:~/wdltv$ ./wdtvfw_tool unpack rootfs 1.03.39_B_WDLXTV.COM_WDLXTV_PLUS-0.4.3.1/wdtvlive2.bin
stripping firmware ...
unpack cramfs image ...
unpacked to rootfs
user@ubuntu:~/wdltv$ ./wdtvfw_tool pack rootfs 1.03.39_B_WDLXTV.COM_WDLXTV_PLUS-0.4.3.1/wdtvlive2.bin.new
create md5sum.txt ...
create cramfs image ...
warning: gids truncated to 8 bits (this may be a security concern)
sign image ...
1.03.39_B_WDLXTV.COM_WDLXTV_PLUS-0.4.3.1/wdtvlive2.bin.new created
user@ubuntu:~/wdltv$ ls -lad 1.03.39_B_WDLXTV.COM_WDLXTV_PLUS-0.4.3.1/wdtvlive2.bin*
-rw-r--r-- 1 user user 93159472 2010-10-12 00:05 1.03.39_B_WDLXTV.COM_WDLXTV_PLUS-0.4.3.1/wdtvlive2.bin
-rw-r--r-- 1 user user 93372464 2010-11-29 07:51 1.03.39_B_WDLXTV.COM_WDLXTV_PLUS-0.4.3.1/wdtvlive2.bin.new
Is it ok for there to be this difference? Will this create a bootable firmware?
thanks,
-jr

Users browsing this forum: No registered users and 1 guest