ZSUN Wifi Card Reader (Kleinster Freifunk Router der Welt?)

Ich bin mir relativ sicher, dass man beim Experimentieren das Ding früher oder später einmal abschießt. Daher sollte überprüft werden, ob die serielle Konsole funktioniert, rein aus praktischen Gründen.

Das wäre Schritt eins und dann kann man mal schauen, wie man Batman da nachkompiliert bekommt.

Habe bis jetzt nur Openwrt auf dem Ding. Wäre evtl L2tp möglich?

Wie genau willst du die Internetverbindung herstellen? Das Ding hat doch keine RJ45-Buchse.

Interface Wlan client hinzufügen

1 „Gefällt mir“

Das kannst du durchsatztechnisch vergessen.

Wenn es wenigstens nur „langsam“ wäre. Es ist schlicht Packetloss bis zum Erbrechen.
Aber ist der USB nicht funktional als Host? Dann könnte man doch einen 1$ ETH-MAC anschliessen und schauen, dass man die 5V extern dranbriegelt.

Der zsun card reader besitzt doch testpoints wo man eine ethernet Schnittstelle dran basteln kann [OpenWrt Wiki] Zsun wifi card reader

1 „Gefällt mir“

**

Sorry, geht doch nicht. Lässt sich zwar bauen, aber… Wenn jemand eine TTL console oder einen ethernet port dran gemacht hat, kann vielleicht schauen was ich da falsch gemacht habe.

**

Hab mal die Zsun Cardreader Quellen für aktuelles Gluon angepasst. Damit lässt sich ein Gluon Image bauen.

Wichtig:
Ihr müsst noch eure Gluon site.conf anpassen, damit ihr zumindest via SSH über das Freifunk Netz daruf zugreifen könnt, oder ihr habt einen Zombie. ( readthedocs authorized-key )

Noch Wichtiger!: (In die site.conf sonst kommt wifi nie hoch)
setup_mode = {
skip = true,
},

> From 8e6ebca8585acdf77459299d68286b6929138159 Mon Sep 17 00:00:00 2001
> From: devtop devtop@one
> Date: Thu, 14 Jul 2016 00:10:23 +0200
> Subject: [PATCH 1/1] add Gluon ZsunCardreader

> —
> patches/openwrt/ZZ0001-Zsun-Cardreader.patch | 366 +++++++++++++++++++++++++++
> targets/ar71xx-generic/profiles.mk | 5 +
> 2 files changed, 371 insertions(+)
> create mode 100644 patches/openwrt/ZZ0001-Zsun-Cardreader.patch

> diff --git a/patches/openwrt/ZZ0001-Zsun-Cardreader.patch b/patches/openwrt/ZZ0001-Zsun-Cardreader.patch
> new file mode 100644
> index 0000000…10a4ac6
> — /dev/null
> +++ b/patches/openwrt/ZZ0001-Zsun-Cardreader.patch
> @@ -0,0 +1,366 @@
> +From 0e4269dd1cef175de5c34dd46e199c633c45f199 Mon Sep 17 00:00:00 2001
> +From: devtop devtop@one
> +Date: Wed, 13 Jul 2016 23:52:14 +0200
> +Subject: [PATCH 1/1] Zsun Cardreader
> +
> ±–
> + target/linux/ar71xx/base-files/etc/diag.sh | 3 +
> + target/linux/ar71xx/base-files/etc/rc.button/BTN_1 | 5 +
> + …/ar71xx/base-files/etc/uci-defaults/02_network | 1 +
> + …/etc/uci-defaults/99_zsun-enable-wifi | 7 ++
> + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +
> + …/ar71xx/base-files/lib/preinit/50_failsafe_wipe | 11 +++
> + …/ar71xx/base-files/lib/upgrade/platform.sh | 3 ±
> + target/linux/ar71xx/config-3.18 | 1 +
> + …/files/arch/mips/ath79/mach-zsun-sdreader.c | 101 +++++++++++++++++++++
> + target/linux/ar71xx/generic/profiles/zsun.mk | 17 ++++
> + target/linux/ar71xx/image/Makefile | 9 ++
> + …/ZZ0001-Zsun-Cardreader-Kernel-Support.patch | 57 ++++++++++++
> + 12 files changed, 217 insertions(+), 1 deletion(-)
> + create mode 100644 target/linux/ar71xx/base-files/etc/rc.button/BTN_1
> + create mode 100644 target/linux/ar71xx/base-files/etc/uci-defaults/99_zsun-enable-wifi
> + create mode 100644 target/linux/ar71xx/base-files/lib/preinit/50_failsafe_wipe
> + create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-zsun-sdreader.c
> + create mode 100644 target/linux/ar71xx/generic/profiles/zsun.mk
> + create mode 100644 target/linux/ar71xx/patches-3.18/ZZ0001-Zsun-Cardreader-Kernel-Support.patch
> +
> +diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
> +index ef59d11…ecbba0a 100644
> ±-- a/target/linux/ar71xx/base-files/etc/diag.sh
> ++++ b/target/linux/ar71xx/base-files/etc/diag.sh
> +@@ -367,6 +367,9 @@ get_status_led() {
> + wlr8100)
> + status_led=„sitecom:amber:status“
> + ;;
> ++ zsun-sdreader)
> ++ status_led=„zsunsdreader:green:system“
> ++ ;;
> + esac
> + }
> +
> +diff --git a/target/linux/ar71xx/base-files/etc/rc.button/BTN_1 b/target/linux/ar71xx/base-files/etc/rc.button/BTN_1
> +new file mode 100644
> +index 0000000…3902df9
> ±-- /dev/null
> ++++ b/target/linux/ar71xx/base-files/etc/rc.button/BTN_1
> +@@ -0,0 +1,5 @@
> ++#!/bin/sh
> ++
> ++logger Resetting the SD card reader
> ++echo „0“ > /sys/class/gpio/gpio18/value
> ++echo „1“ > /sys/class/gpio/gpio18/value
> +diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
> +index d5603d7…862a329 100755
> ±-- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
> ++++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
*> +@@ -371,6 +371,7 @@ tube2h |*
*> + unifiac-lite |*
*> + wndap360 |*
*> + mynet-rext |*
*> ++zsun-sdreader |*
> + wp543)
> + ucidef_set_interface_lan „eth0“
> + ;;
> +diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/99_zsun-enable-wifi b/target/linux/ar71xx/base-files/etc/uci-defaults/99_zsun-enable-wifi
> +new file mode 100644
> +index 0000000…fb4fc56
> ±-- /dev/null
> ++++ b/target/linux/ar71xx/base-files/etc/uci-defaults/99_zsun-enable-wifi
> +@@ -0,0 +1,7 @@
> ++#!/bin/sh
> ++
> ++uci set wireless.@wifi-device[0].disabled=0
> ++uci commit wireless
> ++wifi
> ++
> ++exit 0
> +\ No newline at end of file
> +diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
> +index beca73a…59e87e3 100755
> ±-- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
> ++++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
> +@@ -1031,6 +1031,9 @@ ar71xx_board_detect() {
*> + „HiWiFi HC6361“)
> + name=„hiwifi-hc6361“
> + ;;
*> ++ „ZSUN WiFi SD Card Reader“)
> ++ name=„zsun-sdreader“
> ++ ;;
> + esac
> +
*> + [ -z „$AR71XX_MODEL“ ] && [ „${machine:0:8}“ = 'TP-LINK ’ ] && *
> +diff --git a/target/linux/ar71xx/base-files/lib/preinit/50_failsafe_wipe b/target/linux/ar71xx/base-files/lib/preinit/50_failsafe_wipe
> +new file mode 100644
> +index 0000000…b514462
> ±-- /dev/null
> ++++ b/target/linux/ar71xx/base-files/lib/preinit/50_failsafe_wipe
> +@@ -0,0 +1,11 @@
> ++#!/bin/sh
> ++
> ++failsafe_wipe() {
> ++ echo „Doing a factory reset.“
> ++ mount_root
> ++ firstboot -y
> ++ sleep 10
> ++ reboot -f
> ++}
> ++
> ++boot_hook_add failsafe failsafe_wipe
> +\ No newline at end of file
> +diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
> +index f50cd53…cfea9ad 100755
> ±-- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
> ++++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
> +@@ -192,7 +192,8 @@ platform_check_image() {
*> + mr16 | *
*> + wpj558 | *
*> + zcn-1523h-2 | *
> ± zcn-1523h-5)
> ++ zcn-1523h-5 | *
> ++ zsun-sdreader)
> + [ „$magic_long“ != „68737173“ -a „$magic_long“ != „19852003“ ] && {
> + echo „Invalid image type.“
> + return 1
> +diff --git a/target/linux/ar71xx/config-3.18 b/target/linux/ar71xx/config-3.18
> +index 0903ee9…dfd077e 100644
> ±-- a/target/linux/ar71xx/config-3.18
> ++++ b/target/linux/ar71xx/config-3.18
> +@@ -167,6 +167,7 @@ CONFIG_ATH79_MACH_WZR_HP_G300NH=y
> + CONFIG_ATH79_MACH_WZR_HP_G300NH2=y
> + CONFIG_ATH79_MACH_WZR_HP_G450H=y
> + CONFIG_ATH79_MACH_ZCN_1523H=y
> ++CONFIG_ATH79_MACH_ZSUN_SDREADER=y
> + CONFIG_ATH79_NVRAM=y
> + CONFIG_ATH79_PCI_ATH9K_FIXUP=y
> + # CONFIG_ATH79_ROUTERBOOT is not set
> +diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-zsun-sdreader.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-zsun-sdreader.c
> +new file mode 100644
> +index 0000000…20d4338
> ±-- /dev/null
> ++++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-zsun-sdreader.c
> +@@ -0,0 +1,101 @@
> ++/

> ++ * ZSUN WiFi SD Card Reader support
> ++ *
> ++ * Copyright (C) 2015 by Andrzej Surowiec
> ++ * Based on mach-carambola2.c copyright (C) 2013 Darius Augulis <darius at 8devices.com>
> ++ *
> ++ * This program is free software; you can redistribute it and/or modify it
> ++ * under the terms of the GNU General Public License version 2 as published
> ++ * by the Free Software Foundation.
*> ++ /
> ++
> ++#include <linux/gpio.h>
> ++#include <asm/mach-ath79/ath79.h>
> ++#include <asm/mach-ath79/ar71xx_regs.h>
> ++#include „common.h“
> ++#include „dev-eth.h“
> ++#include „dev-gpio-buttons.h“
> ++#include „dev-leds-gpio.h“
> ++#include „dev-m25p80.h“
> ++#include „dev-spi.h“
> ++#include „dev-usb.h“
> ++#include „dev-wmac.h“
> ++#include „machtypes.h“
> ++
> ++#define ZSUN_SDREADER_GPIO_LED_SYSTEM 0
> ++
> ++#define ZSUN_SDREADER_GPIO_SW_SD 22
> ++#define ZSUN_SDREADER_GPIO_USB_SWITCH 21
> ++#define ZSUN_SDREADER_GPIO_SD_RESET 18
> ++
> ++#define ZSUN_SDREADER_MAC0_OFFSET 0x0000
> ++#define ZSUN_SDREADER_MAC1_OFFSET 0x0006
> ++#define ZSUN_SDREADER_CALDATA_OFFSET 0x1000
> ++#define ZSUN_SDREADER_WMAC_MAC_OFFSET 0x1002
> ++
> ++#define ZSUN_SDREADER_KEYS_POLL_INTERVAL 20 / msecs /
> ++#define ZSUN_SDREADER_KEYS_DEBOUNCE_INTERVAL (3 * ZSUN_SDREADER_KEYS_POLL_INTERVAL)
> ++
> ++static struct gpio_led zsun_sdreader_leds_gpio[] __initdata = {
> ++ {
> ++ .name = „zsunsdreader:green:system“,
> ++ .gpio = ZSUN_SDREADER_GPIO_LED_SYSTEM,
> ++ .active_low = 0,
> ++ }
> ++};
> ++
> ++static struct gpio_keys_button zsun_sdreader_gpio_keys[] __initdata = {
> ++ {
> ++ .desc = „SD Card insert switch“,
> ++ .type = EV_KEY,
> ++ .code = BTN_1,
> ++ .debounce_interval = ZSUN_SDREADER_KEYS_DEBOUNCE_INTERVAL,
> ++ .gpio = ZSUN_SDREADER_GPIO_SW_SD,
> ++ .active_low = 1,
> ++ }
> ++};
> ++
> ++
> ++static void __init zsun_sdreader_common_setup(void)
> ++{
*> ++ u8 *art = (u8 ) KSEG1ADDR(0x1fff0000);
> ++
> ++ ath79_register_m25p80(NULL);
> ++ ath79_register_wmac(art + ZSUN_SDREADER_CALDATA_OFFSET,
> ++ art + ZSUN_SDREADER_WMAC_MAC_OFFSET);
> ++
> ++ ath79_setup_ar933x_phy4_switch(true, true);
> ++
> ++ //ath79_init_mac(ath79_eth0_data.mac_addr, art + ZSUN_SDREADER_MAC0_OFFSET, 0);
> ++ ath79_init_mac(ath79_eth1_data.mac_addr, art + ZSUN_SDREADER_MAC1_OFFSET, 0);
> ++
> ++
> ++ ath79_register_mdio(0, 0x0);
> ++
> ++ //ath79_register_eth(0);
> ++ ath79_register_eth(1);
> ++}
> ++
> ++static void __init zsun_sdreader_setup(void)
> ++{
> ++ zsun_sdreader_common_setup();
> ++
> ++ ath79_gpio_function_disable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN |
> ++ AR724X_GPIO_FUNC_ETH_SWITCH_LED1_EN |
> ++ AR724X_GPIO_FUNC_ETH_SWITCH_LED2_EN |
> ++ AR724X_GPIO_FUNC_ETH_SWITCH_LED3_EN |
> ++ AR724X_GPIO_FUNC_ETH_SWITCH_LED4_EN);
> ++
> ++ ath79_register_leds_gpio(-1, ARRAY_SIZE(zsun_sdreader_leds_gpio),
> ++ zsun_sdreader_leds_gpio);
> ++ ath79_register_gpio_keys_polled(-1, ZSUN_SDREADER_KEYS_POLL_INTERVAL,
> ++ ARRAY_SIZE(zsun_sdreader_gpio_keys),
> ++ zsun_sdreader_gpio_keys);
> ++ gpio_request_one(ZSUN_SDREADER_GPIO_USB_SWITCH, GPIOF_OUT_INIT_LOW | GPIOF_EXPORT_DIR_FIXED, „USB switch“);
> ++ gpio_request_one(ZSUN_SDREADER_GPIO_SD_RESET, GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_CHANGEABLE, „SD reader reset“);
> ++
> ++ ath79_register_usb();
> ++}
> ++
> ++MIPS_MACHINE(ATH79_MACH_ZSUN_SDREADER, „ZSUN-SDREADER“, „ZSUN WiFi SD Card Reader“,
> ++ zsun_sdreader_setup);
> +diff --git a/target/linux/ar71xx/generic/profiles/zsun.mk b/target/linux/ar71xx/generic/profiles/zsun.mk
> +new file mode 100644
> +index 0000000…8409f87
> ±-- /dev/null
> ++++ b/target/linux/ar71xx/generic/profiles/zsun.mk
> +@@ -0,0 +1,17 @@
> ++#
> ++# Copyright (C) 2015 OpenWrt.org
> ++#
> ++# This is free software, licensed under the GNU General Public License v2.
> ++# See /LICENSE for more information.
> ++#
> ++
> ++define Profile/ZSUNSDREADER
> ++ NAME:=ZSUN WiFi SD Card reader
> ++ PACKAGES:=kmod-usb-core kmod-usb2 kmod-usb-storage
> ++endef
> ++
> ++define Profile/ZSUNSDREADER/Description
> ++ Package set optimized for the ZSUN WiFi SD Card Reader.
> ++endef
> ++
> ++$(eval $(call Profile,ZSUNSDREADER))
> +\ No newline at end of file
> +diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
> +index 6d46c1e…7b2ca12 100644
> ±-- a/target/linux/ar71xx/image/Makefile
> ++++ b/target/linux/ar71xx/image/Makefile
> +@@ -755,6 +755,13 @@ define Device/oolite
> + endef
> + TARGET_DEVICES += oolite
> +
> ++define Device/zsun-sdreader
> ++ BOARDNAME := ZSUN-SDREADER
> ++ CONSOLE = ttyATH0,115200
> ++endef
> ++TARGET_DEVICES += zsun-sdreader
> ++
> ++
> + define Device/ubnt-unifiac
> + DEVICE_PROFILE := UBNT
> + IMAGE_SIZE := 7744k
> +@@ -1105,6 +1112,7 @@ mynet_n600_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,64k(devdat
> + mynet_rext_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,7808k(firmware),64k(nvram)ro,64k(ART)ro
> + zyx_nbg6716_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(env)ro,64k(RFdata)ro,-(nbu);ar934x-nfc:2048k(zyxel_rfsd),2048k(romd),1024k(header),2048k(kernel),-(ubi)
> + qihoo_c301_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env),64k(devdata),64k(devconf),15744k(firmware),64k(warm_start),64k(action_image_config),64k(radiocfg)ro;spi0.1:15360k(upgrade2),1024k(privatedata)
> ++zsun_sdreader_mtdlayout=mtdparts=spi0.0:64k(u-boot)ro,64k(u-boot-env)ro,14912k(rootfs),1216k(kernel),64k(nvram),64k(art),16128k@0x20000(firmware)
> +
> +
> + define Image/BuildKernel
> +@@ -1991,6 +1999,7 @@ $(eval $(call SingleProfile,AthLzma,64k,WLR8100,wlr8100,WLR8100,ttyS0,115200,$$(
> + $(eval $(call SingleProfile,AthLzma,64k,WPJ344_16M,wpj344-16M,WPJ344,ttyS0,115200,$$(wpj344_mtdlayout_16M),KRuImage,65536))
> + $(eval $(call SingleProfile,AthLzma,64k,WPJ531_16M,wpj531-16M,WPJ531,ttyS0,115200,$$(wpj531_mtdlayout_16M),KRuImage,65536))
> + $(eval $(call SingleProfile,AthLzma,64k,WPJ558_16M,wpj558-16M,WPJ558,ttyS0,115200,$$(wpj558_mtdlayout_16M),KRuImage,65536))
> ++$(eval $(call SingleProfile,AthLzma,64k,ZSUNSDREADER,zsun-sdreader,ZSUN-SDREADER,ttyATH0,115200,$$(zsun_sdreader_mtdlayout),RKuImage))
> +
> + $(eval $(call SingleProfile,Belkin,64k,F9K1115V2,f9k1115v2,F9K1115V2,ttyS0,115200,$$(f9k1115v2_mtdlayout),BR-6679BAC))
> +
> +diff --git a/target/linux/ar71xx/patches-3.18/ZZ0001-Zsun-Cardreader-Kernel-Support.patch b/target/linux/ar71xx/patches-3.18/ZZ0001-Zsun-Cardreader-Kernel-Support.patch
> +new file mode 100644
> +index 0000000…24f75b3
> ±-- /dev/null
> ++++ b/target/linux/ar71xx/patches-3.18/ZZ0001-Zsun-Cardreader-Kernel-Support.patch
> +@@ -0,0 +1,57 @@
> +±-- a/arch/mips/ath79/Kconfig
> +++++ b/arch/mips/ath79/Kconfig
> ++@@ -1396,6 +1396,16 @@ config ATH79_MACH_QIHOO_C301
> ++ select ATH79_DEV_USB
> ++ select ATH79_NVRAM
> ++
> +++config ATH79_MACH_ZSUN_SDREADER
> +++ bool „ZSUN WiFi SD Card Reader“
> +++ select SOC_AR933X
> +++ select ATH79_DEV_ETH
> +++ select ATH79_DEV_GPIO_BUTTONS
> +++ select ATH79_DEV_LEDS_GPIO
> +++ select ATH79_DEV_M25P80
> +++ select ATH79_DEV_USB
> +++ select ATH79_DEV_WMAC
> +++
> ++ endmenu
> ++
> ++ config SOC_AR71XX
> +±-- a/arch/mips/ath79/Makefile
> +++++ b/arch/mips/ath79/Makefile
> ++@@ -178,3 +178,4 @@ obj-$(CONFIG_ATH79_MACH_WZR_450HP2) += mach-wzr-450hp2.o
> ++ obj-$(CONFIG_ATH79_MACH_ZCN_1523H) += mach-zcn-1523h.o
> ++ obj-$(CONFIG_ATH79_MACH_CARAMBOLA2) += mach-carambola2.o
> ++ obj-$(CONFIG_ATH79_MACH_NBG6716) += mach-nbg6716.o
> +++obj-$(CONFIG_ATH79_MACH_ZSUN_SDREADER) += mach-zsun-sdreader.o
> +±-- a/arch/mips/ath79/machtypes.h
> +++++ b/arch/mips/ath79/machtypes.h
> ++@@ -232,6 +232,7 @@ enum ath79_mach_type {
> ++ ATH79_MACH_WZR_450HP2, / Buffalo WZR-450HP2 /
> ++ ATH79_MACH_ZCN_1523H_2, / Zcomax ZCN-1523H-2-xx /
> ++ ATH79_MACH_ZCN_1523H_5, / Zcomax ZCN-1523H-5-xx /
> +++ ATH79_MACH_ZSUN_SDREADER, / Zsun WiFi SD Card Reader /
> ++ };
> ++
> ++ #endif / _ATH79_MACHTYPE_H /
> +±-- a/drivers/mtd/devices/m25p80.c
> +++++ b/drivers/mtd/devices/m25p80.c
> ++@@ -285,7 +285,7 @@ static const struct spi_device_id m25p_ids[] = {
> ++ {„m25p40“}, {„m25p80“}, {„m25p16“}, {„m25p32“},
> ++ {„m25p64“}, {„m25p128“},
> ++ {„w25x80“}, {„w25x32“}, {„w25q32“}, {„w25q32dw“},
> +± {„w25q80bl“}, {„w25q128“}, {„w25q256“},
> +++ {„w25q80bl“}, {„w25q128“}, {„w25q128fw“}, {„w25q256“},
> ++
> ++ / Flashes that can’t be detected using JEDEC /
> ++ {„m25p05-nonjedec“}, {„m25p10-nonjedec“}, {„m25p20-nonjedec“},
> +±-- a/drivers/mtd/spi-nor/spi-nor.c
> +++++ b/drivers/mtd/spi-nor/spi-nor.c
> ++@@ -845,6 +845,7 @@ static const struct flash_info spi_nor_ids[] = {
> ++ { „w25q80“, INFO(0xef5014, 0, 64 * 1024, 16, SECT_4K) },
> ++ { „w25q80bl“, INFO(0xef4014, 0, 64 * 1024, 16, SECT_4K) },
> ++ { „w25q128“, INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
> +++ { „w25q128fw“, INFO(0xef6018, 0, 64 * 1024, 256, SECT_4K) },
> ++ { „w25q256“, INFO(0xef4019, 0, 64 * 1024, 512, SECT_4K) },
> ++
> ++ / Catalyst / On Semiconductor – non-JEDEC /
> ±-
> +2.1.4
> +
> diff --git a/targets/ar71xx-generic/profiles.mk b/targets/ar71xx-generic/profiles.mk
> index 3db73aa…43a6a5f 100644
> — a/targets/ar71xx-generic/profiles.mk
> +++ b/targets/ar71xx-generic/profiles.mk
> @@ -1,3 +1,4 @@
> +AR71XX_USB_MODULES := kmod-usb-core kmod-usb2 kmod-usb-storage
> # List of hardware profiles

> ## TP-Link
> @@ -375,3 +376,7 @@ $(eval $(call GluonModelAlias,MR16,meraki-mr16,meraki-mr66))
> $(eval $(call GluonProfile,CARAMBOLA2))
> $(eval $(call GluonModel,CARAMBOLA2,carambola2,8devices-carambola2-board))
> $(eval $(call GluonProfileFactorySuffix,CARAMBOLA2))
> +
> +# Zsun
> +$(eval $(call GluonProfile,ZSUN-SDREADER,$(AR71XX_USB_MODULES)))
> +$(eval $(call GluonModel,ZSUN-SDREADER,zsun-sdreader,ZSUNSDREADER))
> –
> 2.1.4

oder
https://ghostbin.com/paste/4hf2x

Edit: Schreibfehler in profiles.mk korrigiert

2 „Gefällt mir“

Schon was online damit? Mich würde das meshing interessieren, wie gut das spielt (oder auch nicht)

sorry, hab mist gebaut. der patch oben schein doch fehlerhaft zu sein.

Neues Jahr neues Glück :smile:

Ich habe gerade OpenWRT erfolgreich auf meinem ZSun installiert. Die Infos sind hier gut zusammengetragen: Freifunk mit ZSUN WIFI SDCard Reader
allerdings nutzt Potsdam kein gluon.

@addzsun was an deinem Patch hat denn nicht funktioniert?
Hat noch jemand mit gluon gebastelt?

1 „Gefällt mir“

Achja…läuft auch Mobil ohne Powerbank by Smartphone :wink:

2 „Gefällt mir“

Hier ist ein sysupgrade für ZSUN Cardreader mit LEDE v17.01.1
DOWNLOAD: File upload and sharing. Large file transfers. Free online cloud storage. Patch für LEDE Source mit dabei, basiert auf
Supporting ZSUN Wifi Card Reader (16MB Flash, 64MB RAM, AR9331) - #16 by Emeryth - Community Builds, Projects & Packages - OpenWrt Forum

Aber bitte Beschreibung im Download-Link lesen. Habe das sysupgrade von openwrt am Gerät getested und es gab keine Probleme, damit meine ich aber nur es ist nicht gebrickt und wifi geht. Viola, LEDE!

1 „Gefällt mir“

modded

Das sieht ganz schön albern aus …

1 „Gefällt mir“

Hmm, sorry mit dem Hut auf in deinem Profilbild fürchte ich bist du nicht qualifiziert um Bewertungen hinsichtlich Fragen der Ästetik zu treffen, unabhängig davon ob diese Bewertung zutrifft oder nicht.

it defeats the purpose.
(„kleinster Freifunkrouter“)
Da sollte man dann vielleicht doch ein paar Euro für was Keramisches ausgeben, z. B. von Quantenna.

Wurde die Sende- und Empfangsleistung verbessert?

hab einen sma stecker dran gemacht. selbst die große antenne stört nicht im geringsten da sie beweglich ist, man kann aber eine kleinere dran machen. das ist mein „purpose“ daher hab ichs auch gemodded, probleme damit?

Sende- und Empfangsleistung
Ja, große schraub Antenne = höhere Reichweite. Kleinere Antenne, bessere abdeckung von mehreren geräten im Nahbereich. Der große Vorteil ist, dass man die Antenne ausrichten kann und nicht mit dem USB-Host rumfummeln muss.