projects:zsun-wifi-card-reader:factory-update
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
projects:zsun-wifi-card-reader:factory-update [2016/01/26 21:16] – created informatic | projects:zsun-wifi-card-reader:factory-update [2016/02/19 18:22] (current) – informatic | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Zsun Card Reader Firmware Update Format ====== | ====== Zsun Card Reader Firmware Update Format ====== | ||
- | Many interesting features are available on http://10.168.168.1:8080/ which is served by ''/ | + | **2016/02/19 Note:** This method has been tested multiple times on our devices and worked without problem, however at least three unexpected bricks have been reported! (sounding like failed rootfs flash) |
- | ''/ | + | **TL;DR** |
+ | - Insert FAT32-formatted microSD card (128MB is more than enough) | ||
+ | - Connect to WiFi | ||
+ | - http:// | ||
+ | - Create '' | ||
+ | - http:// | ||
+ | - Wait for long LED flash, then multiple fast flashes - now OpenWRT is booting for the first time. | ||
+ | - ... PROFIT! | ||
+ | |||
+ | **Automatic flasher and builder:** https:// | ||
+ | |||
+ | ==== Technical description ==== | ||
+ | |||
+ | Many interesting features are available on http:// | ||
+ | |||
+ | ''/ | ||
+ | |||
+ | Furthermore '' | ||
+ | |||
+ | What we are basically doing is hijacking '' | ||
+ | |||
+ | Expected update file format is: | ||
< | < | ||
Line 21: | Line 42: | ||
$work == U - mkdir -p $path ; cp -f $filename $path | $work == U - mkdir -p $path ; cp -f $filename $path | ||
$work == D - rm -rf $path/ | $work == D - rm -rf $path/ | ||
- | $work == S - mtd_write $filename $path | + | $work == S - /mtd_write $filename $path |
| | ||
Lines starting with # are ignored. | Lines starting with # are ignored. | ||
Line 29: | Line 50: | ||
openwrt.bin: | openwrt.bin: | ||
</ | </ | ||
+ | |||
+ | '' | ||
+ | ^ Status ^ Description | ||
+ | | -2 | Update file not found or ''/ | ||
+ | | -3 | MD5 mismatch | ||
+ | | 1 | Invalid version (''/ | ||
+ | | 2 | **Update successful** (also returned if '' |
projects/zsun-wifi-card-reader/factory-update.1453843012.txt.gz · Last modified: 2016/01/26 21:16 by informatic