projects:zsun-wifi-card-reader
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| projects:zsun-wifi-card-reader [2017/09/12 18:40] – [Hardware hacking] emeryth | projects:zsun-wifi-card-reader [2020/02/12 16:14] (current) – emeryth | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{template>: | ||
| + | | name=zsun-wifi-card-reader | ||
| + | | status=abandoned | ||
| + | | founder=[[user> | ||
| + | | repo=[[github> | ||
| + | }} | ||
| + | |||
| ====== Hacking the Zsun WiFi SD Card Reader ====== | ====== Hacking the Zsun WiFi SD Card Reader ====== | ||
| {{: | {{: | ||
| Line 118: | Line 125: | ||
| 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/ | ||
| Line 126: | Line 133: | ||
| 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 G13 bootstrap resistor setting USB to host mode | - Remove the G13 bootstrap resistor setting USB to host mode | ||
| - | - < | + | - < |
| + | |||
| + | |||
| + | Here's what it looks like on the old PCB with the pins connected to the original USB plug: | ||
| + | |||
| + | {{: | ||
| ==== Original firmware ==== | ==== Original firmware ==== | ||
| Line 177: | Line 189: | ||
| 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 187: | Line 200: | ||
| * 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.1505241605.txt.gz · Last modified: (external edit)