projects
/
openwrt-10.03
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[backfire] ar71xx: merge r28380
[openwrt-10.03/.git]
/
target
/
linux
/
rdc
/
image
/
mkimg_sitecom.pl
1
#!/usr/bin/perl
2
3
open (bzimg, @ARGV[0]);
4
while (<bzimg>) { $i .= $_; }
5
$i .= pack "v", -(unpack "%v*", $i);
6
print "CSYS";
7
print pack("V", length($i));
8
print pack("V", 0);
9
print "WRRM";
10
print pack("V", length($i));
11
print $i;