mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-16 08:44:50 +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>
83 lines
1.4 KiB
Plaintext
83 lines
1.4 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
/dts-v1/;
|
|
|
|
#include "en751221.dtsi"
|
|
|
|
/ {
|
|
model = "Zyxel PMG5617GA";
|
|
compatible = "tplink,zyxel-pmg5617ga", "econet,en751221";
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x8000000>;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "/serial@1fbf0000:115200";
|
|
linux,usable-memory-range = <0x00020000 0x07fe0000>;
|
|
};
|
|
};
|
|
|
|
&nand {
|
|
status = "okay";
|
|
econet,bmt;
|
|
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
partition@0 {
|
|
label = "bootloader";
|
|
reg = <0x0 0x40000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@40000 {
|
|
label = "romfile";
|
|
reg = <0x40000 0x40000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@80000 {
|
|
label = "tclinux";
|
|
reg = <0x80000 0x3800000>;
|
|
read-only;
|
|
econet,enable-remap;
|
|
};
|
|
|
|
/* Nested inside of tclinux */
|
|
partition@480000 {
|
|
label = "rootfs";
|
|
reg = <0x480000 0x3400000>;
|
|
linux,rootfs;
|
|
read-only;
|
|
};
|
|
|
|
partition@3880000 {
|
|
label = "tclinux_alt";
|
|
reg = <0x3880000 0x0036c0000>;
|
|
};
|
|
|
|
partition@6f40000 {
|
|
label = "wwan";
|
|
reg = <0x006f40000 0x000100000>;
|
|
};
|
|
|
|
partition@7040000 {
|
|
label = "factory_data";
|
|
reg = <0x007040000 0x000400000>;
|
|
};
|
|
|
|
partition@7440000 {
|
|
label = "rom-d";
|
|
reg = <0x007440000 0x000100000>;
|
|
};
|
|
|
|
partition@7540000 {
|
|
label = "reservearea";
|
|
reg = <0x007540000 0x000080000>;
|
|
};
|
|
};
|
|
};
|