0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2025-11-01 16:09:18 +00:00
Files
openwrt/target/linux/econet/image/en751221.mk
Caleb James DeLisle 1cd3660bee econet: Add Nokia G-240G-E and EN751221 recovery image
The Nokia G-240G-E is an xPON device with an EN7526G, 256M of
memory and 128M of flash. It has 1 USB2 port as well as phone and
ethernet but no wifi. Flashing instructions are per the typical
process using xmodem in the bootloader. This and other things
are described here: https://openwrt.org/inbox/toh/bt/g-240g-e_1

In addition, a generic image is offered, this image can be loaded
into memory from within the bootloader and launched directly. It
is recommended on the wiki of G-240G-E and other EcoNet devices
to be used for backing up the flash before flashing OpenWRT.

Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
Link: https://github.com/openwrt/openwrt/pull/20338
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-10-19 22:21:41 +02:00

47 lines
1.5 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