immortalwrt/target/linux
Piotr Dymacz 6fac6c29a7 ath79: add support for Samsung WAM250
Samsung WAM250 is a dual-band (selectable, not simultaneous) wireless
hub, dedicated for Samsung Shape Wireless Audio System. The device is
based on Atheros AR9344 (FCC ID: A3LWAM250). Support for this device
was first introduced in e58e49bdbe (ar71xx target).

Specifications:

- Atheros AR9344
- 560/450/225 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 16 MB of flash (SPI NOR)
- 2x 10/100 Mbps Ethernet
- 2T2R 2.4/5 GHz Wi-Fi, with ext. PA (SE2598L, SE5003L) and LNA
- 1x USB 2.0
- 4x LED (all are driven by GPIO)
- 2x button (reset, wps/speaker add)
- DC jack for main power input (14 V)
- UART header on PCB (J4, RX: 3, TX: 5)

Flash instruction:

This device uses dual-image (switched between upgrades) with a common
jffs2 config partition. Fortunately, there is a way to disable this mode
so that more flash space can be used by OpenWrt image.

You can easily access this device over telnet, using root/root
credentials (the same also work for serial console access).

1. Make sure that your device uses second (bootpart=2) image using
   command: "fw_printenv bootpart".
2. If your device uses first image (bootpart=1), perform upgrade to the
   latest vendor firmware (after the update, device should boot from
   second partition) using web gui (default login: admin/1234567890).
3. Rename "sysupgrade" image to "firmware.bin", download it (you can use
   wget, tftp or ftpget) to "/tmp" and issue below commands:

   mtd_debug erase /dev/mtd3 0 $(wc -c /tmp/firmware.bin | awk -F' ' '{print $1}')
   mtd_debug write /dev/mtd3 0 $(wc -c /tmp/firmware.bin)
   fw_setenv bootpart
   fw_setenv bootcmd "bootm 0x9f070000"
   reboot

Revert to vendor firmware instruction:

1. Download vendor firmware to "/tmp" device and issue below commands:

   fw_setenv bootpart 1
   sysupgrade -n -F SS_BHUB_v2.2.05.bin

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2020-09-28 11:18:21 +08:00
..
apm821xx apm821xx: provide legacy interrupts for PCIe in DT 2020-09-06 11:38:32 +08:00
arc770 kernel: set WATCHDOG_CORE dependency in kmod-hwmon-sch5627 2020-08-25 12:25:14 +08:00
archs38 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
armvirt kernel: set WATCHDOG_CORE dependency in kmod-hwmon-sch5627 2020-08-25 12:25:14 +08:00
at91 at91: explicitly set CONFIG_USB_SUPPORT for sam9x subtarget 2020-08-28 09:28:31 +08:00
ath25 ath25: fix preinit Ethernet port configuration 2020-09-11 17:18:17 +08:00
ath79 ath79: add support for Samsung WAM250 2020-09-28 11:18:21 +08:00
bcm27xx kernel: bump 5.4 to 5.4.67 2020-09-27 13:16:32 +08:00
bcm47xx Merge Mainline 2020-09-12 23:35:51 +08:00
bcm53xx kernel: package bcm53xx i2c module 2020-09-26 11:37:30 +08:00
bcm63xx target: update SPDX license names 2020-09-27 13:21:38 +08:00
cns3xxx Merge Mainline 2020-08-27 04:30:47 +08:00
gemini gemini: Bring up DSA switches 2020-09-26 11:39:30 +08:00
generic kernel: bump 5.4 to 5.4.67 2020-09-27 13:16:32 +08:00
imx6 treewide: fix undeclared function about backup in upgrade 2020-08-14 12:28:09 +08:00
ipq40xx target: update SPDX license names 2020-09-27 13:21:38 +08:00
ipq806x kernel: bump 5.4 to 5.4.66 2020-09-19 18:51:53 +08:00
ipq807x kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
kirkwood target: update SPDX license names 2020-09-27 13:21:38 +08:00
lantiq kernel: bump 5.4 to 5.4.67 2020-09-27 13:16:32 +08:00
layerscape kernel: bump 5.4 to 5.4.67 2020-09-27 13:16:32 +08:00
malta kernel: set WATCHDOG_CORE dependency in kmod-hwmon-sch5627 2020-08-25 12:25:14 +08:00
mediatek target: update SPDX license names 2020-09-27 13:21:38 +08:00
mpc85xx target: update SPDX license names 2020-09-27 13:21:38 +08:00
mvebu target: update SPDX license names 2020-09-27 13:21:38 +08:00
mxs kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
octeon octeon: determine sysupgrade-* directory for upgrade automatically 2020-08-18 11:38:20 +08:00
octeontx kernel: bump 5.4 to 5.4.60 2020-08-22 03:33:14 +08:00
omap kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
oxnas target: update SPDX license names 2020-09-27 13:21:38 +08:00
pistachio pistachio: Use kernel 5.4 by default 2020-08-29 01:35:07 +08:00
ramips ramips: merge ethernet setup for RT-AC51U/RT-AC54U 2020-09-28 11:09:41 +08:00
rb532 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
rockchip rockchip: disable hw RNG by default 2020-09-24 13:27:34 +08:00
rtl838x target: update SPDX license names 2020-09-27 13:21:38 +08:00
samsung
sunxi kernel: bump 5.4 to 5.4.63 2020-09-06 19:56:39 +08:00
tegra kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
uml uml: update to linux 5.4 2020-08-23 01:14:31 +08:00
x86 kernel: bump 5.4 to 5.4.63 2020-09-06 19:56:39 +08:00
zynq kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
Makefile build: add 'make kernel_xconfig' command 2020-07-09 12:03:26 +08:00