Developing lightweight computation at the DSG edge

Commit 3d3da223 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Add support for different ramips/mt7621 devices:



 - YouHua WR1200JS
 - Phicomm K2P
 - Ubiquiti EdgeRouter-X
 - Ubiquiti EdgeRouter-X SFP
Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent 531e3684
SUPPORTED_PROFILES="alix bullet cf-e120a-v3 cf-wr800n cpe510-520-v1 dir-810l \
dragino2 lap-120 lamobo-r1 linkit7688 mc-mac1200r microwrt miwifi-mini \
dragino2 lap-120 lamobo-r1 linkit7688 mc-mac1200r microwrt miwifi-mini phicomm-k2p \
rb-nand-64m rb-nand-large rb-nand-large-ac nanostation-ac nanostation-ac-loco \
nslm5-xw nsm2 nsm5 nsm5-xw pico2 rb921gs-5Hpacd-15s \
rbwapg-5hact2hnd rb-nor-flash-16M-ac rocket-m rb-sxt5n \
rocket-m-xw rs rspro soekris45xx \
tl-2543-v1 tl-wdr3500-v1 tl-wdr3600-v1 \
tl-wdr4300-v1 tl-wdr4310-v1 tl-wdr4900-v1 \
tl-wr842n-v1 uap-pro \
tl-wr842n-v1 uap-pro ubiquiti-edgerouterx ubiquiti-edgerouterx-sfp\
unifiac-lite unifi-ap vocore-16M vocore-8M wl-wn575a3 wrtnode \
wt1520-8M wt3020-8M x86 x86-64 zbt-ape522ii"
wt1520-8M wt3020-8M x86 x86-64 youhua-wr1200js zbt-ape522ii"
EXTRAPKGS=""
FACTORY=""
......@@ -183,6 +183,16 @@ EXT4IMAGE=""
BINEXT=img.gz
}
[ "$TPROFILE" == phicomm-k2p ] && {
NAME=Phicomm_K2P
ARCH=ramips
SUBARCH=mt7621
FLAVOR=qmpsmall
PROFILE=phicomm_k2p
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == rb-nand-64m ] && {
NAME=MikroTik_RouterBoard_NAND_flash
ARCH=ar71xx
......@@ -395,31 +405,51 @@ EXT4IMAGE=""
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-sysupgrade.img
}
[ "$TPROFILE" == unifiac-lite ] && {
NAME=Ubiquiti_UniFi-AP-AC-Lite
[ "$TPROFILE" == uap-pro ] && {
NAME=Ubiquiti_UniFi-AP-PRO
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=ubnt-unifiac-lite
PROFILE=ubnt-uap-pro
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == unifi-ap ] && {
NAME=Ubiquiti_UniFi-AP
[ "$TPROFILE" == ubiquiti-edgerouterx ] && {
NAME=Ubiquiti_EdgeRouter_X
ARCH=ramips
SUBARCH=mt7621
FLAVOR=qmpsmall
PROFILE=ubiquiti_edgerouterx
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == ubiquiti-edgerouterx-sfp ] && {
NAME=Ubiquiti_EdgeRouter_X-SFP
ARCH=ramips
SUBARCH=mt7621
FLAVOR=qmpsmall
PROFILE=ubiquiti_edgerouterx-sfp
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == unifiac-lite ] && {
NAME=Ubiquiti_UniFi-AP-AC-Lite
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=ubnt-unifi
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
PROFILE=ubnt-unifiac-lite
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == uap-pro ] && {
NAME=Ubiquiti_UniFi-AP-PRO
[ "$TPROFILE" == unifi-ap ] && {
NAME=Ubiquiti_UniFi-AP
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=ubnt-uap-pro
PROFILE=ubnt-unifi
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -522,6 +552,16 @@ EXT4IMAGE=""
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == youhua-wr1200js ] && {
NAME=YouHua_WR1200JS
ARCH=ramips
SUBARCH=mt7621
FLAVOR=qmpsmall
PROFILE=youhua_wr1200js
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == zbt-ape522ii ] && {
NAME=ZBT_APE522II
ARCH=ramips
......@@ -531,3 +571,4 @@ EXT4IMAGE=""
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment