projects:zsun-wifi-card-reader
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
projects:zsun-wifi-card-reader [2017/09/12 18:33] – emeryth | projects:zsun-wifi-card-reader [2020/01/05 19:57] – [OpenWrt] 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 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 118: | Line 118: | ||
AR9331 is capable of working as a usb device (gadget). | AR9331 is capable of working as a usb device (gadget). | ||
- | < | + | < |
- | http:// | + | http:// |
**The USB device/ | **The USB device/ | ||
+ | |||
+ | (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: | So if you want to use the zsun as a USB gadget you will need to: | ||
- | - < | + | - < |
- | - Remove the bootstrap resistor setting USB to host mode | + | - Remove the G13 bootstrap resistor setting USB to host mode |
- | - Remove the card reader PCB and rewire the the USB signal pins | + | - <del>Remove the card reader PCB and</ |
+ | |||
+ | |||
+ | Here's what it looks like on the old PCB with the pins connected to the original USB plug: | ||
+ | {{: | ||
==== Original firmware ==== | ==== Original firmware ==== | ||
Line 176: | Line 182: | ||
Compiled images and image builder: \\ | Compiled images and image builder: \\ | ||
- | https:// | + | <del>https:// |
+ | https:// | ||
**You cannot use kernel modules from the official repository, use the image builder or compile them yourself if they' | **You cannot use kernel modules from the official repository, use the image builder or compile them yourself if they' | ||
Line 186: | Line 193: | ||
* 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