Fix fw_tool.sh for darwin compatability

Added Darwin stat -f fix in fw_tool.sh. thanks @mwhdc
This commit is contained in:
Alfonso Gamboa 2022-07-02 00:32:11 -07:00
parent 973cc4d8e7
commit f4245747f3
2 changed files with 62 additions and 54 deletions

109
file.chk
View File

@ -1,11 +1,11 @@
40bab9a9501244b7b482eb2c138f7f57 SD_ROOT/factory_t31_ZMC6tiIDQN
cd07fb09aeb7f898dd42dad3edfd6275 SD_ROOT/factory_t31_ZMC6tiIDQN
d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/mnt/.gitignore
28cf061770da7b83fbc3752c455a02c3 SD_ROOT/wz_mini/etc/dnsmasq.conf
34c6a4c3a941ff2becd9f487826d7692 SD_ROOT/wz_mini/etc/uvc.config
ad7d1a2f9db3079617731b5854ce3b6a SD_ROOT/wz_mini/etc/init.d/wz_cam.sh
6ef4701a06dd3f1dd76a0b2fd62cfccf SD_ROOT/wz_mini/etc/init.d/wz_init.sh
8e1674eed7e2a30e6e8cd48d0c45bf90 SD_ROOT/wz_mini/etc/init.d/wz_user.sh
6b0ddc174715307a23179d5061952788 SD_ROOT/wz_mini/etc/init.d/wz_post.sh
73eed3e86982aa032bc077518310c274 SD_ROOT/wz_mini/etc/init.d/wz_post.sh
e3034eac02d8eda9902ca9cf89f0a586 SD_ROOT/wz_mini/etc/inittab
840aa9c26726201f7cffbf001bee193a SD_ROOT/wz_mini/etc/uvc_jxf22.config
7701fde345655472250dee076fb0b065 SD_ROOT/wz_mini/etc/wz_mini.conf.dist
@ -157,67 +157,68 @@ ccf8f3611141656ba5594771bec06202 SD_ROOT/wz_mini/lib/modules/3.10.14/modules.so
6d0c2124f94236c98c4abcbdb45c4395 SD_ROOT/wz_mini/lib/modules/3.10.14/modules.builtin.bin
7f6be2ddfad7f35e6979b95bc86cc684 SD_ROOT/wz_mini/lib/modules/3.10.14/modules.symbols
020b6120945a75fe25e949b094c4286b SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.order
c98aaa62c6f18be3ac26c12ffc41aff2 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.devname
d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.devname
38e59222166163aee2b811dce8bc1479 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.alias.bin
792dd40c508d4d65560aec52b51b30f8 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.alias
433f29f0e9b44fd53f5d3f2aab752062 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.dep
452967badef7605152aabcab4ee5e777 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.dep
e287a5231b96affe8a142759b8776ef5 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.symbols.bin
f10007f2b27d7ff571928853b865c096 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/crypto/md4.ko
9f6ad625732d4e59996b3aa48392cfd5 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/crypto/cmac.ko
4a57e0a6eebdf4d7580049e18c5450b0 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/fs/ext4/ext4.ko
86c72626d752fcf86aa016e3d093fb0f SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/fs/cifs/cifs.ko
b0340272d2dba0e6488b65edde35aabe SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/fs/mbcache.ko
a59b089731ba8ad9835faf00a6d814d9 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/fs/fscache/fscache.ko
09eb6479235fcb24d6db5d2bed1cbbf0 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/fs/nfs/nfsv4.ko
efc67a724625328eff8cb89abd062691 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/fs/jbd2/jbd2.ko
f20751605f9081a9b031fca31a379af1 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/xt_LOG.ko
8e74d3ba519fb0186ff3d3bf5da18e36 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/nf_conntrack.ko
88085e49193569bd1d1fdf26f0d046c8 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/x_tables.ko
a003e12d620b0f735e92ac72dd84cc2b SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/xt_mark.ko
5e760045d2ac294ed80352d62ba5e447 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/xt_tcpudp.ko
59be367a94cd339a79d75bf5ee370cd8 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/xt_state.ko
f8073c0f564800cfa27920a36ff3dd92 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/xt_TCPMSS.ko
ab5645bb7aa147dfd892aa28d18d139a SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/sunrpc/auth_gss/auth_rpcgss.ko
0c846dcd127d8500c962bdc857663cca SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/dns_resolver/dns_resolver.ko
7823cff41886f596e97c554ed61e9b3a SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv6/netfilter/ip6table_mangle.ko
f519d25fe988b525ebff1ccf13b9d0b4 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv6/netfilter/ip6t_REJECT.ko
16728ab406f5a34736977dfd714636f1 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv6/netfilter/ip6_tables.ko
a414aa4e797355aebeb16b79cb545986 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv6/netfilter/ip6table_filter.ko
d07b1ca7cd33e33f8b12f4ac46317585 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv6/sit.ko
246174df1ddb3fbc2b6b3fb300e61a7c SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/netfilter/ipt_REJECT.ko
c51a1ea529ad2b83b0d2d3dcb4d3ed2e SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/netfilter/nf_defrag_ipv4.ko
606d44f519f4d112b196bad56fbbbd96 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/netfilter/nf_conntrack_ipv4.ko
5b50a9eb45e6b03a6a1432423e9e3bcb SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/netfilter/ip_tables.ko
ad9a256267d4eab58cfd2de06e92f3ab SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/netfilter/iptable_filter.ko
2d2aceaf9a1acf3f6e54dc029d9f9b38 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/netfilter/iptable_mangle.ko
97eeacf8e6d12f5bac4444e175c82b7d SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/tunnel4.ko
9d30ba94eef92d431f071ffe1cee9891 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/ip_tunnel.ko
8c9c2084129b7c8eafdddc2975c2a51f SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/wireguard/wireguard.ko
bebed8cd727ab60ba8cefbe3e70d16f0 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/usb/cdc_ether.ko
4bf9b9092bec25f13fc8c4a66cc8a6b3 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/usb/rndis_host.ko
c90c0700191aab3bfa42bc26faf61a3a SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/usb/asix.ko
f7028dd64c75955680b53bba91db6362 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/usb/ax88179_178a.ko
6e8d0f4db025fbf7f79ef4585d6617c4 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/usb/r8152.ko
14606d308e205e4ebdebf83dc22e7c43 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/usb/usbnet.ko
ca4cff431f0fcd05dfc346f4e125d681 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/bonding/bonding.ko
1abcf81da8bdb8eca17941b27b694cc3 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/libcomposite.ko
e96bf482d469f132dd64327803a48155 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/u_ether.ko
63bef220049f4db0a0cc00461322d2a4 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/usb_f_ncm.ko
afce87801e734060908e2094d7a2725f SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/g_ncm.ko
1c923f45daf52b8e0b2275f5bdce1021 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/storage/usb-storage.ko
2f6ab4c4de5a8a75233255305b54327f SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/scsi/scsi_mod.ko
f1bf61ecda401f1a70f8942a27fa96e2 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/scsi/sd_mod.ko
380c35a5464a3f081c2a5e0db78a6740 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/lib/oid_registry.ko
d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.builtin.alias.bin
75b749936eedceba6f7b68a10f0d10f3 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/crypto/md4.ko
c7e28df795c63cc5c1d00518dd969587 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/crypto/cmac.ko
356f6462265841a9673984ed0c1943dd SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/fs/ext4/ext4.ko
bb4aadbe0ee501fac8b19860ac27127e SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/fs/cifs/cifs.ko
c78e3f04646a3202d64e0f42dd986e99 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/fs/mbcache.ko
665ffd442b652c48b5929694790803a0 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/fs/fscache/fscache.ko
1458434c685047046c1cfc22fc11bc05 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/fs/nfs/nfsv4.ko
c2838338637650abc2390a29e83963ac SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/fs/jbd2/jbd2.ko
a120ddc153010092132207d4ccc3a271 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/xt_LOG.ko
e1e721b9817d09ee6eca23b13b570768 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/nf_conntrack.ko
5d344ffe17ca84fc119edb65cb7dbdd9 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/x_tables.ko
6b5e3d45552bcf53b6a8d5908f2e9aab SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/xt_mark.ko
68d67ccf9737d3f381ce8306c62e7588 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/xt_tcpudp.ko
893265b2597e855736e2f308b13efc89 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/xt_state.ko
43f6e67e0014ef9c1e7d75129696f694 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/netfilter/xt_TCPMSS.ko
369b5f14c8b44dd6c9f2153eaeb1e084 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/sunrpc/auth_gss/auth_rpcgss.ko
4f7470a3a6546f447db5874a4db52af3 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/dns_resolver/dns_resolver.ko
fd8cad1d502977b570ccfc7471a3e98e SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv6/netfilter/ip6table_mangle.ko
a9d910713f5842fbc09774e50351e43d SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv6/netfilter/ip6t_REJECT.ko
c7474a95d65da89bbde9cb1831fc1da5 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv6/netfilter/ip6_tables.ko
3240bd6435addc9329839b6ee16dba34 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv6/netfilter/ip6table_filter.ko
f475ccfeb8b70738073cf5b7b9f7d4a7 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv6/sit.ko
e4a47c4ae8d3572a17b5b87b9d2b69c1 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/netfilter/ipt_REJECT.ko
36df7d8a896c337612a1cc7d45a8801d SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/netfilter/nf_defrag_ipv4.ko
7060d6479f866c52de718cd0480101d8 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/netfilter/nf_conntrack_ipv4.ko
110316d5263582228c70fd5fd2880480 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/netfilter/ip_tables.ko
3411b4ed0ec37ed36e5f8cb7fc6c4946 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/netfilter/iptable_filter.ko
fafed3e057a0f2683d2b2c489ca36510 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/netfilter/iptable_mangle.ko
45d16b2a02abe7595d2d24700b45c064 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/tunnel4.ko
4353fabfbac6cb832a1ed37dfd000ccd SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/ipv4/ip_tunnel.ko
4360140a03c0872daf3a1c88bfe0555a SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/net/wireguard/wireguard.ko
d46d793dd1839709cf3270f887bc7b09 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/usb/cdc_ether.ko
7e4c37a4fad2a77aec0fc255b5fa95ad SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/usb/rndis_host.ko
73cbe3ec1613b47c3b5b8035f0e15c68 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/usb/asix.ko
cdcb817d9cff603a5188573d148e0f8e SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/usb/ax88179_178a.ko
4d5b3adf5d2784417981d4f9b1c8362e SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/usb/r8152.ko
7af3d15df46ab93197ba1481cc4e2c39 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/usb/usbnet.ko
3367575a728e87598327561d65ca7a9c SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/net/bonding/bonding.ko
f023ec28445449c2e31647f8f2b1a6a3 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/libcomposite.ko
c4635b0e5b2fe3aab4f117f8f7b6e619 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/u_ether.ko
aa0e5a49e97cbc1731dfeb3406bfd322 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/usb_f_ncm.ko
73756b762b00eb4aa3e69725efa37ac9 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/gadget/g_ncm.ko
92f9918e0c14051c0c173db0253f6bd8 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/usb/storage/usb-storage.ko
be9265c5bd1c8e11a982703dbf946db9 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/scsi/scsi_mod.ko
1c88d5a3a2694eaa2939733c23ce73c4 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/drivers/scsi/sd_mod.ko
fdd94de5016bc92cf93ecff7cb92ac1d SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/kernel/lib/oid_registry.ko
6cf0981e18c5fce65944bb40f8fe303f SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.builtin
8d5dadc88d2a014d8e0d85cecb1375ed SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/extra/usbcamera.ko
9e58eb1e70b6f1f316368ac413f86790 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/extra/v4l2loopback.ko
ec11b3b956531e8652019c68e710462c SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/extra/atbm603x_wifi_sdio.ko
ca9596eb9259bf184040591e14ab3898 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/extra/atbm603x_wifi_sdio.ko
38714d79334997f06e3c5e005252bf9b SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/extra/videobuf2-vmalloc.ko
01bbbcd8107e92dd470ff0e713f17485 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/extra/atbm_txpwer_dcxo_cfg.txt
09144a07fe19daa6078a0a3861de6832 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/extra/audio.ko
d52dd5f273ed68807dfddfd99940e6f9 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/extra/8189fs.ko
97926bb77f9629e404dd9944dcf85271 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/extra/8189fs.ko
ccf8f3611141656ba5594771bec06202 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.softdep
b3ef3280fadde06c0990dbfe4cff18ca SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.dep.bin
acdd1d67fb1445b3e7d91db29974a4a7 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.dep.bin
377ed0fe5b4c71821a65797905850abb SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.builtin.bin
aafb0749425838f41e68ecced758ab6c SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan_1.0__/modules.symbols
14865a6e2e2df87a8362c6f20377a934 SD_ROOT/wz_mini/lib/libtinyalsa.so.2.0.0
@ -227,6 +228,6 @@ f6f0d5a9ebd916de6bdb9695067809ae SD_ROOT/wz_mini/lib/libaudioProcess.so
7701fde345655472250dee076fb0b065 SD_ROOT/wz_mini/wz_mini.conf
d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/tmp/.gitignore
090bdf50db1c1d05720f276295ac17ca v2_install/compile_image.sh
ff15869fe24297b9a5f75335a458a44f v2_install/fw_tool.sh
53db8da5b90bc9b219dbb1d58e934bda v2_install/fw_tool.sh
2f9f07a88d8a0f08c83c0b954fd012e6 v2_install/v2_kernel.bin
f01d641b98388e273c1f0ba682ebc75b v2_install/.gitignore

View File

@ -2,6 +2,8 @@
#custom for V2
set -x
ACTION=$1
KERNEL_OFFSET=$((64))
@ -22,7 +24,12 @@ if [ "$ACTION" = "unpack" ]; then
dd if=${DEMO_IN} of=$OUT_DIR/driver.bin skip=$DRIVER_OFFSET count=$(($APPFS_OFFSET-$DRIVER_OFFSET)) bs=1
md5sum $OUT_DIR/driver.bin
if [ "$(uname -s)" = "Darwin" ]; then
IMAGE_END=$(($(stat -f %z ${DEMO_IN})))
else
IMAGE_END=$(($(stat -c %s ${DEMO_IN})))
fi
dd if=${DEMO_IN} of=$OUT_DIR/appfs.bin skip=$APPFS_OFFSET count=$(($IMAGE_END-$APPFS_OFFSET)) bs=1
md5sum $OUT_DIR/appfs.bin