Message ID | 20190813230044.19667-1-fabian@blaese.de |
---|---|
State | Accepted |
Headers | show |
diff --git a/bsp/board_mt7621.bsp b/bsp/board_mt7621.bsp new file mode 100644 index 0000000..e9f6776 --- /dev/null +++ b/bsp/board_mt7621.bsp @@ -0,0 +1,9 @@ +machine=mt7621 +chipset=ramips +subtarget=mt7621 +target=$builddir/$machine + +images=( + "openwrt-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.tar" + "openwrt-ramips-mt7621-ubnt-erx-sfp-squashfs-sysupgrade.tar" + ) diff --git a/bsp/mt7621/.config b/bsp/mt7621/.config new file mode 100644 index 0000000..4592536 --- /dev/null +++ b/bsp/mt7621/.config @@ -0,0 +1,18 @@ +# Generated using "./buildscript config openwrt". +# Do no edit manually +# +CONFIG_TARGET_ramips=y +CONFIG_TARGET_ramips_mt7621=y +CONFIG_TARGET_MULTI_PROFILE=y +CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_ubnt-erx=y +CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_ubnt-erx-sfp=y +CONFIG_BUSYBOX_CUSTOM=y +CONFIG_CLEAN_IPKG=y +CONFIG_PACKAGE_kmod-ifb=y +CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y +CONFIG_PACKAGE_kmod-ledtrig-netdev=y +CONFIG_PACKAGE_kmod-sched-connmark=y +CONFIG_PACKAGE_qos-scripts=y +CONFIG_PACKAGE_tc=y +CONFIG_STRIP_KERNEL_EXPORTS=y +CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=512 diff --git a/src/packages/fff/fff-network/files/lib/functions/fff/cpuport b/src/packages/fff/fff-network/files/lib/functions/fff/cpuport index b27b775..7f62d14 100644 --- a/src/packages/fff/fff-network/files/lib/functions/fff/cpuport +++ b/src/packages/fff/fff-network/files/lib/functions/fff/cpuport @@ -8,7 +8,9 @@ case "$BOARD" in CPUPORT="5t" ;; tl-wr1043nd-v2|\ - tl-wr1043nd-v3) + tl-wr1043nd-v3|\ + ubnt-erx|\ + ubnt-erx-sfp) CPUPORT="6t" ;; cpe210-v2|\ diff --git a/src/packages/fff/fff-network/ramips/network.ubnt-erx b/src/packages/fff/fff-network/ramips/network.ubnt-erx new file mode 100644 index 0000000..9dbc9f8 --- /dev/null +++ b/src/packages/fff/fff-network/ramips/network.ubnt-erx @@ -0,0 +1,9 @@ +. /lib/functions/fff/network + +WANDEV=eth0 +SWITCHDEV=eth0 +CLIENT_PORTS="6t 3 4" +WAN_PORTS="6t 0" +BATMAN_PORTS="6t 1 2" + +ROUTERMAC=$(cat /sys/class/net/eth0/address) diff --git a/src/packages/fff/fff-network/ramips/network.ubnt-erx-sfp b/src/packages/fff/fff-network/ramips/network.ubnt-erx-sfp new file mode 100644 index 0000000..9dbc9f8 --- /dev/null +++ b/src/packages/fff/fff-network/ramips/network.ubnt-erx-sfp @@ -0,0 +1,9 @@ +. /lib/functions/fff/network + +WANDEV=eth0 +SWITCHDEV=eth0 +CLIENT_PORTS="6t 3 4" +WAN_PORTS="6t 0" +BATMAN_PORTS="6t 1 2" + +ROUTERMAC=$(cat /sys/class/net/eth0/address)
Wäre es machbar das für den EP-R6 zu portieren? Da hakelt es derzeit noch. Ein Testgerät könnte man evtl organisieren, kann ich nachfragen. Grüße Sebastian Am 11. September 2019 11:04:25 MESZ schrieb Christian Dresel <fff@chrisi01.de>: >Reviewed-by: Christian Dresel <fff@chrisi01.de> > >On 14.08.19 01:00, Fabian Bläse wrote: >> Signed-off-by: Fabian Bläse <fabian@blaese.de> >> --- >> bsp/board_mt7621.bsp | 9 +++++++++ >> bsp/mt7621/.config | 18 >++++++++++++++++++ >> .../files/lib/functions/fff/cpuport | 4 +++- >> .../fff/fff-network/ramips/network.ubnt-erx | 9 +++++++++ >> .../fff-network/ramips/network.ubnt-erx-sfp | 9 +++++++++ >> 5 files changed, 48 insertions(+), 1 deletion(-) >> create mode 100644 bsp/board_mt7621.bsp >> create mode 100644 bsp/mt7621/.config >> create mode 100644 >src/packages/fff/fff-network/ramips/network.ubnt-erx >> create mode 100644 >src/packages/fff/fff-network/ramips/network.ubnt-erx-sfp >> >> diff --git a/bsp/board_mt7621.bsp b/bsp/board_mt7621.bsp >> new file mode 100644 >> index 0000000..e9f6776 >> --- /dev/null >> +++ b/bsp/board_mt7621.bsp >> @@ -0,0 +1,9 @@ >> +machine=mt7621 >> +chipset=ramips >> +subtarget=mt7621 >> +target=$builddir/$machine >> + >> +images=( >> + "openwrt-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.tar" >> + "openwrt-ramips-mt7621-ubnt-erx-sfp-squashfs-sysupgrade.tar" >> + ) >> diff --git a/bsp/mt7621/.config b/bsp/mt7621/.config >> new file mode 100644 >> index 0000000..4592536 >> --- /dev/null >> +++ b/bsp/mt7621/.config >> @@ -0,0 +1,18 @@ >> +# Generated using "./buildscript config openwrt". >> +# Do no edit manually >> +# >> +CONFIG_TARGET_ramips=y >> +CONFIG_TARGET_ramips_mt7621=y >> +CONFIG_TARGET_MULTI_PROFILE=y >> +CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_ubnt-erx=y >> +CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_ubnt-erx-sfp=y >> +CONFIG_BUSYBOX_CUSTOM=y >> +CONFIG_CLEAN_IPKG=y >> +CONFIG_PACKAGE_kmod-ifb=y >> +CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y >> +CONFIG_PACKAGE_kmod-ledtrig-netdev=y >> +CONFIG_PACKAGE_kmod-sched-connmark=y >> +CONFIG_PACKAGE_qos-scripts=y >> +CONFIG_PACKAGE_tc=y >> +CONFIG_STRIP_KERNEL_EXPORTS=y >> +CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=512 >> diff --git >a/src/packages/fff/fff-network/files/lib/functions/fff/cpuport >b/src/packages/fff/fff-network/files/lib/functions/fff/cpuport >> index b27b775..7f62d14 100644 >> --- a/src/packages/fff/fff-network/files/lib/functions/fff/cpuport >> +++ b/src/packages/fff/fff-network/files/lib/functions/fff/cpuport >> @@ -8,7 +8,9 @@ case "$BOARD" in >> CPUPORT="5t" >> ;; >> tl-wr1043nd-v2|\ >> - tl-wr1043nd-v3) >> + tl-wr1043nd-v3|\ >> + ubnt-erx|\ >> + ubnt-erx-sfp) >> CPUPORT="6t" >> ;; >> cpe210-v2|\ >> diff --git a/src/packages/fff/fff-network/ramips/network.ubnt-erx >b/src/packages/fff/fff-network/ramips/network.ubnt-erx >> new file mode 100644 >> index 0000000..9dbc9f8 >> --- /dev/null >> +++ b/src/packages/fff/fff-network/ramips/network.ubnt-erx >> @@ -0,0 +1,9 @@ >> +. /lib/functions/fff/network >> + >> +WANDEV=eth0 >> +SWITCHDEV=eth0 >> +CLIENT_PORTS="6t 3 4" >> +WAN_PORTS="6t 0" >> +BATMAN_PORTS="6t 1 2" >> + >> +ROUTERMAC=$(cat /sys/class/net/eth0/address) >> diff --git a/src/packages/fff/fff-network/ramips/network.ubnt-erx-sfp >b/src/packages/fff/fff-network/ramips/network.ubnt-erx-sfp >> new file mode 100644 >> index 0000000..9dbc9f8 >> --- /dev/null >> +++ b/src/packages/fff/fff-network/ramips/network.ubnt-erx-sfp >> @@ -0,0 +1,9 @@ >> +. /lib/functions/fff/network >> + >> +WANDEV=eth0 >> +SWITCHDEV=eth0 >> +CLIENT_PORTS="6t 3 4" >> +WAN_PORTS="6t 0" >> +BATMAN_PORTS="6t 1 2" >> + >> +ROUTERMAC=$(cat /sys/class/net/eth0/address) >>
Hi da schon OpenWRT nicht geht, sollte man das auf OpenWRT fixen und nicht bei uns. Per UART kann man ihn ja flashen und dann geht auch diese er-x-sfp Firmware. Vermutlich fehlt da nur irgendein Flag oder sowas. Testgerät hätte ich sogar da, ich brauch es nur intakt wieder zurück. Gruß Christian On 11.09.19 11:14, SebaBe wrote: > Wäre es machbar das für den EP-R6 zu portieren? > Da hakelt es derzeit noch. > Ein Testgerät könnte man evtl organisieren, kann ich nachfragen. > > Grüße Sebastian > > Am 11. September 2019 11:04:25 MESZ schrieb Christian Dresel > <fff@chrisi01.de>: > > Reviewed-by: Christian Dresel <fff@chrisi01.de> > > On 14.08.19 01:00, Fabian Bläse wrote: > > Signed-off-by: Fabian Bläse <fabian@blaese.de> > ------------------------------------------------------------------------ > bsp/board_mt7621.bsp | 9 +++++++++ > bsp/mt7621/.config | 18 ++++++++++++++++++ > .../files/lib/functions/fff/cpuport | 4 +++- > .../fff/fff-network/ramips/network.ubnt-erx | 9 +++++++++ > .../fff-network/ramips/network.ubnt-erx-sfp | 9 +++++++++ > 5 files changed, 48 insertions(+), 1 deletion(-) > create mode 100644 bsp/board_mt7621.bsp > create mode 100644 bsp/mt7621/.config > create mode 100644 > src/packages/fff/fff-network/ramips/network.ubnt-erx > create mode 100644 > src/packages/fff/fff-network/ramips/network.ubnt-erx-sfp > > diff --git a/bsp/board_mt7621.bsp b/bsp/board_mt7621.bsp > new file mode 100644 > index 0000000..e9f6776 > --- /dev/null > +++ b/bsp/board_mt7621.bsp > @@ -0,0 +1,9 @@ > +machine=mt7621 > +chipset=ramips > +subtarget=mt7621 > +target=$builddir/$machine > + > +images=( > + "openwrt-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.tar" > + "openwrt-ramips-mt7621-ubnt-erx-sfp-squashfs-sysupgrade.tar" > + ) > diff --git a/bsp/mt7621/.config b/bsp/mt7621/.config > new file mode 100644 > index 0000000..4592536 > --- /dev/null > +++ b/bsp/mt7621/.config > @@ -0,0 +1,18 @@ > +# Generated using "./buildscript config openwrt". > +# Do no edit manually > +# > +CONFIG_TARGET_ramips=y > +CONFIG_TARGET_ramips_mt7621=y > +CONFIG_TARGET_MULTI_PROFILE=y > +CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_ubnt-erx=y > +CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_ubnt-erx-sfp=y > +CONFIG_BUSYBOX_CUSTOM=y > +CONFIG_CLEAN_IPKG=y > +CONFIG_PACKAGE_kmod-ifb=y > +CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y > +CONFIG_PACKAGE_kmod-ledtrig-netdev=y > +CONFIG_PACKAGE_kmod-sched-connmark=y > +CONFIG_PACKAGE_qos-scripts=y > +CONFIG_PACKAGE_tc=y > +CONFIG_STRIP_KERNEL_EXPORTS=y > +CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=512 > diff --git > a/src/packages/fff/fff-network/files/lib/functions/fff/cpuport > b/src/packages/fff/fff-network/files/lib/functions/fff/cpuport > index b27b775..7f62d14 100644 > --- a/src/packages/fff/fff-network/files/lib/functions/fff/cpuport > +++ b/src/packages/fff/fff-network/files/lib/functions/fff/cpuport > @@ -8,7 +8,9 @@ case "$BOARD" in > CPUPORT="5t" > ;; > tl-wr1043nd-v2|\ > - tl-wr1043nd-v3) > + tl-wr1043nd-v3|\ > + ubnt-erx|\ > + ubnt-erx-sfp) > CPUPORT="6t" > ;; > cpe210-v2|\ > diff --git > a/src/packages/fff/fff-network/ramips/network.ubnt-erx > b/src/packages/fff/fff-network/ramips/network.ubnt-erx > new file mode 100644 > index 0000000..9dbc9f8 > --- /dev/null > +++ b/src/packages/fff/fff-network/ramips/network.ubnt-erx > @@ -0,0 +1,9 @@ > +. /lib/functions/fff/network > + > +WANDEV=eth0 > +SWITCHDEV=eth0 > +CLIENT_PORTS="6t 3 4" > +WAN_PORTS="6t 0" > +BATMAN_PORTS="6t 1 2" > + > +ROUTERMAC=$(cat /sys/class/net/eth0/address) > diff --git > a/src/packages/fff/fff-network/ramips/network.ubnt-erx-sfp > b/src/packages/fff/fff-network/ramips/network.ubnt-erx-sfp > new file mode 100644 > index 0000000..9dbc9f8 > --- /dev/null > +++ b/src/packages/fff/fff-network/ramips/network.ubnt-erx-sfp > @@ -0,0 +1,9 @@ > +. /lib/functions/fff/network > + > +WANDEV=eth0 > +SWITCHDEV=eth0 > +CLIENT_PORTS="6t 3 4" > +WAN_PORTS="6t 0" > +BATMAN_PORTS="6t 1 2" > + > +ROUTERMAC=$(cat /sys/class/net/eth0/address) > >
applied.