projects:zsun-wifi-card-reader
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
projects:zsun-wifi-card-reader [2016/11/28 19:59] – emeryth | projects:zsun-wifi-card-reader [2017/09/12 18:47] – emeryth | ||
---|---|---|---|
Line 4: | Line 4: | ||
The goal of this project is to learn as much as possible about the Zsun WiFi card reader and run OpenWrt on it to turn it into an awesome wifi device. | The goal of this project is to learn as much as possible about the Zsun WiFi card reader and run OpenWrt on it to turn it into an awesome wifi device. | ||
+ | **UPDATE 2017-09-12** Info about LEDE and USB gadget working \\ | ||
**UPDATE 2016-11-28** Adding some more info about the new PCB revision, thanks to Erik Dorner, who sent me his analysis a long time ago \\ | **UPDATE 2016-11-28** Adding some more info about the new PCB revision, thanks to Erik Dorner, who sent me his analysis a long time ago \\ | ||
**UPDATE 2016-04-23** The new PCB is missing a jumper on the RX serial line, see serial port section \\ | **UPDATE 2016-04-23** The new PCB is missing a jumper on the RX serial line, see serial port section \\ | ||
Line 117: | Line 118: | ||
AR9331 is capable of working as a usb device (gadget). | AR9331 is capable of working as a usb device (gadget). | ||
- | Unfortunately the code for that exists only as a patch for an old version of OpenWrt: | + | <del>Unfortunately the code for that exists only as a patch for an old version of OpenWrt: |
- | http:// | + | http:// |
- | So if you want to use the zsun as a USB gadget | + | **The USB device/gadget |
- | - Port the code | + | |
- | - Remove the bootstrap resistor setting USB to host mode | + | |
- | - Remove the card reader PCB and rewire the the USB signal pins | + | |
+ | (It's not in the 17.01 stable release, though) | ||
+ | |||
+ | So if you want to use the zsun as a USB gadget you will need to: | ||
+ | - < | ||
+ | - Remove the G13 bootstrap resistor setting USB to host mode | ||
+ | - < | ||
==== Original firmware ==== | ==== Original firmware ==== | ||
Line 183: | Line 187: | ||
* The SD card detect pin is registered as a button and will trigger failsafe when inserted/ | * The SD card detect pin is registered as a button and will trigger failsafe when inserted/ | ||
* The SD card reader is reset every time a card is inserted or removed | * The SD card reader is reset every time a card is inserted or removed | ||
+ | |||
+ | |||
+ | ==== LEDE ==== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | I've made a quick port of LEDE: | ||
+ | https:// | ||
+ | |||
+ | **good news:** | ||
+ | It has USB gadget | ||
+ | |||
+ | **bad news:** | ||
+ | The standard LEDE kernel is too big to fit in the original kernel partition. | ||
+ | You need to either change the bootloader and flash layout, or decrease the kernel image size by disabling things like debug symbols. | ||
projects/zsun-wifi-card-reader.txt · Last modified: 2020/02/12 16:14 by emeryth