mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-16 16:57:28 +00:00
This device has one USB2.0 port, plus ethernet, 2x wifi, ethernet, xPON and VoIP. Installation instructions: (Assuming root shell via SSH or serial) 1. Place OpenWrt TRX file on a USB stick formatted VFAT 2. Plug in the stick to the modem 3. Type: mtd write -f -e tclinux /mnt/usb2_sda1/<name of file>.trx tclinux At this point, both OpenWrt and the vendor OS will be installed because the device has space for two operating systems. Switch the OS to boot to OpenWrt: 1. mtd readflash tmpdata 999999999 0 reservearea 2. echo -n '0' | dd of=./tmpdata bs=1 count=1 seek=397311 conv=notrunc 3. mtd write -f -e reservearea ./tmpdata reservearea 4. reboot WARNING: While you can install with SSH alone, you need serial to use OpenWrt on EcoNet devices because the Ethernet driver has not yet been developed. Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr> Link: https://github.com/openwrt/openwrt/pull/20580 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
57 lines
1.8 KiB
Makefile
57 lines
1.8 KiB
Makefile
define Device/en751221_generic
|
|
DEVICE_VENDOR := EN751221 Family
|
|
DEVICE_MODEL := Initramfs Image
|
|
DEVICE_TITLE := EN751221 Initramfs Image
|
|
DEVICE_DESCRIPTION := In-memory build for testing and recovery of EN751221 SoCs
|
|
DEVICE_DTS := en751221_generic
|
|
endef
|
|
TARGET_DEVICES += en751221_generic
|
|
|
|
define Device/nokia_g240g-e
|
|
DEVICE_VENDOR := Nokia
|
|
DEVICE_MODEL := G-240G-E
|
|
DEVICE_DTS := en751221_nokia_g240g-e
|
|
IMAGES := tclinux.trx
|
|
IMAGE/tclinux.trx := append-kernel | lzma | tclinux-trx
|
|
DEVICE_PACKAGES := kmod-usb3
|
|
endef
|
|
TARGET_DEVICES += nokia_g240g-e
|
|
|
|
define Device/smartfiber_xp8421-b
|
|
DEVICE_VENDOR := SmartFiber
|
|
DEVICE_MODEL := XP8421-B
|
|
DEVICE_DTS := en751221_smartfiber_xp8421-b
|
|
IMAGES := tclinux.trx
|
|
IMAGE/tclinux.trx := append-kernel | lzma | tclinux-trx
|
|
DEVICE_PACKAGES := kmod-usb3
|
|
endef
|
|
TARGET_DEVICES += smartfiber_xp8421-b
|
|
|
|
# NOTE: This will not work for upgrading from factory because it requires a cryptographic signature
|
|
# however, it it can be flashed, then it will boot correctly.
|
|
define Device/tplink_archer-vr1200v-v2
|
|
DEVICE_VENDOR := TP-Link
|
|
DEVICE_MODEL := Archer vr1200v
|
|
DEVICE_VARIANT := v2
|
|
TPLINK_FLASHLAYOUT := 16Mmtk
|
|
TPLINK_HWID := 0x0b473502
|
|
TPLINK_HWREV := 0x0006007c
|
|
TPLINK_HWREVADD := 0x0
|
|
TPLINK_HVERSION := 3
|
|
DEVICE_DTS := en751221_tplink_archer-vr1200v-v2
|
|
IMAGES := sysupgrade.bin
|
|
IMAGE/sysupgrade.bin := append-kernel | lzma | pad-to 4193792 | append-rootfs | \
|
|
tplink-v2-header -R 0x400000
|
|
endef
|
|
TARGET_DEVICES += tplink_archer-vr1200v-v2
|
|
|
|
define Device/zyxel_pmg5617ga
|
|
DEVICE_VENDOR := Zyxel
|
|
DEVICE_MODEL := PMG5617GA
|
|
DEVICE_DTS := en751221_zyxel_pmg5617ga
|
|
IMAGES := tclinux.trx
|
|
IMAGE/tclinux.trx := append-kernel | lzma | tclinux-trx
|
|
DEVICE_PACKAGES := kmod-usb3
|
|
endef
|
|
TARGET_DEVICES += zyxel_pmg5617ga
|