ramips: rt305x: make config and factory partitions read-only on the ATP-52B
[openwrt.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;
This page took 0.042289 seconds and 5 git commands to generate.