Add README.md

master
informatic 2016-01-28 22:21:40 +01:00
parent 07e60388c2
commit 1ea621989c
2 changed files with 28 additions and 0 deletions

27
README.md Normal file
View File

@ -0,0 +1,27 @@
zsun-fw-tools
=============
[Read more here.](https://wiki.hackerspace.pl/projects:zsun-wifi-card-reader:factory-update)
Building
--------
*NOTE:* Builder depends on `md5sum` and `tar`
1. Copy your `openwrt-ar71xx-generic-zsun-sdreader-kernel.bin` and
`openwrt-ar71xx-generic-zsun-sdreader-rootfs-squash.bin` to `data/` folder
2. Run `./makefirmware`
Flashing
--------
*NOTE:* Flasher depends on `smbclient` and `curl`
*NOTE:* Update package is rebuilt on every flash, if you don't like this
behaviour, comment out `. ./makefirmware` file and change `UPDATEFILE` variable
*NOTE:* This is not really idiotproof
1. Run `./flashfirmware`
2. ...
3. PROFIT!

View File

@ -1,2 +1,3 @@
openwrt-ar71xx-generic-zsun-sdreader-kernel.bin:S:/dev/mtd3
openwrt-ar71xx-generic-zsun-sdreader-rootfs-squashfs.bin:S:/dev/mtd2
# NOTE: this is only used for file validation, check ./mtd_write script