Developing lightweight computation at the DSG edge

Commit f945f12e authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Get rid of ar71xx target


Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent 9a18d3b8
SUPPORTED_PROFILES="comfast_cf-e120a-v3
comfast_cf-e313ac comfast_cf-e313ac_ath10k-qca9888 \
comfast_cf-wr800n \
compex_wpe72-8M \
dlink_dir-810l \
dragino_dragino2 \
lamobo_lamobo-r1 \
mediatek_linkit-smart-7688 \
mercury_mc-mac1200r \
microduino_microwrt \
mikrotik_rb-nand-64m mikrotik_rb-nand-large mikrotik_rb-nand-large-ac \
mikrotik_rb-nor-flash-16M mikrotik_rb-nor-flash-16M-ac \
mikrotik_rb921gs-5Hpacd-15s mikrotik_rblhg-5nd \
mikrotik_rb-sxt5n \
mikrotik_routerboard-wap-g-5hact2hnd mikrotik_routerboard-wap-g-5hact2hnd_ath10k-qca988x \
nexx_wt1520-8M nexx_wt3020-8M \
pc-engines_alix \
......@@ -33,8 +26,6 @@ ubnt_nanostation-m ubnt_nanostation-m-xw \
ubnt_powerbeam-5ac-gen2 ubnt_powerbeam-5ac-gen2_ath10k-qca988x \
ubnt_routerstation ubnt_routerstation-pro \
ubnt_unifiac-lite ubnt_unifiac-mesh ubnt_unifiac-mesh_ath10k-qca988x \
ubnt-rocket-m-ti ubnt-rocket-m-xw \
ubnt-uap-pro ubnt-unifi \
ubnt2-pico2 \
vocore_vocore-16m vocore_vocore-8m \
wavlink_wl-wn575a3 \
......@@ -51,25 +42,6 @@ SYSUPGRADE=""
SQUASHIMAGE=""
EXT4IMAGE=""
[ "$TPROFILE" == compex_wpe72-8M ] && {
NAME=Compex_WPE72-8M
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=WPE72_8M
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-factory.img
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-sysupgrade.img
}
[ "$TPROFILE" == dragino_dragino2 ] && {
NAME=Dragino_Dragino-2_MS14
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=dragino2
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == comfast_cf-e120a-v3 ] && {
NAME=Comfast_CF-E120A-v3
ARCH=ath79
......@@ -128,15 +100,7 @@ EXT4IMAGE=""
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mercury_mc-mac1200r ] && {
NAME=Mercury_MAC1200R
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=mc-mac1200r
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == microduino_microwrt ] && {
NAME=Microduino_MicroWRT
......@@ -221,68 +185,7 @@ EXT4IMAGE=""
PROFILE=rpi-4
}
[ "$TPROFILE" == mikrotik_rb-nand-64m ] && {
NAME=MikroTik_RouterBoard_NAND_flash
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-64m
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb-nand-large ] && {
NAME=MikroTik_RouterBoard_NAND_flash_large
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb-nand-large-ac ] && {
NAME=MikroTik_RouterBoard_NAND_flash_largeflash_802.11ac
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large-ac
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb-nor-flash-16M ] && {
NAME=MikroTik_RouterBoard_SPI_NOR_flash_802.11abgn
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=rb-nor-flash-16M
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb-nor-flash-16M-ac ] && {
NAME=MikroTik_RouterBoard_SPI_NOR_flash_802.11ac
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=rb-nor-flash-16M-ac
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb921gs-5Hpacd-15s ] && {
NAME=MikroTik_RB921GS-5HPacD-15S
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large-ac
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rblhg-5nd ] && {
NAME=MikroTik_RBLHG-5nD
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=rb-nor-flash-16M
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_routerboard-wap-g-5hact2hnd ] && {
NAME=MikroTik_RouterBOARD-wAP-G-5HacT2HnD-wAP-AC_AdHoc
......@@ -302,14 +205,6 @@ EXT4IMAGE=""
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb-sxt5n ] && {
NAME=MikroTik_RBSXT5nDr2
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == soekris_45xx ] && {
NAME=Soekris_Net45xx
......@@ -630,46 +525,6 @@ EXT4IMAGE=""
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == ubnt-rocket-m-ti ] && {
NAME=Ubiquiti_Rocket-M-TI
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=ubnt-rocket-m-ti
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == ubnt-rocket-m-xw ] && {
NAME=Ubiquiti_Rocket-M-XW
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=ubnt-rocket-m-xw
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == ubnt-uap-pro ] && {
NAME=Ubiquiti_UniFi-AP-PRO
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=ubnt-uap-pro
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == ubnt-unifi ] && {
NAME=Ubiquiti_UniFi-AP
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=ubnt-unifi
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == ubnt2-pico2 ] && {
NAME=Ubiquiti_PicoStation-2
ARCH=ath25
......
[ "$TPROFILE" == compex_wpe72-8M ] && {
NAME=Compex_WPE72-8M
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=WPE72_8M
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-factory.img
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-sysupgrade.img
}
[ "$TPROFILE" == dragino_dragino2 ] && {
NAME=Dragino_Dragino-2_MS14
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=dragino2
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mercury_mc-mac1200r ] && {
NAME=Mercury_MAC1200R
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=mc-mac1200r
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb-nand-64m ] && {
NAME=MikroTik_RouterBoard_NAND_flash
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-64m
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb-nand-large ] && {
NAME=MikroTik_RouterBoard_NAND_flash_large
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb-nand-large-ac ] && {
NAME=MikroTik_RouterBoard_NAND_flash_largeflash_802.11ac
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large-ac
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb-nor-flash-16M ] && {
NAME=MikroTik_RouterBoard_SPI_NOR_flash_802.11abgn
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=rb-nor-flash-16M
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb-nor-flash-16M-ac ] && {
NAME=MikroTik_RouterBoard_SPI_NOR_flash_802.11ac
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=rb-nor-flash-16M-ac
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb921gs-5Hpacd-15s ] && {
NAME=MikroTik_RB921GS-5HPacD-15S
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large-ac
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rblhg-5nd ] && {
NAME=MikroTik_RBLHG-5nD
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=rb-nor-flash-16M
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == mikrotik_rb-sxt5n ] && {
NAME=MikroTik_RBSXT5nDr2
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == ubnt-rocket-m-ti ] && {
NAME=Ubiquiti_Rocket-M-TI
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=ubnt-rocket-m-ti
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == ubnt-rocket-m-xw ] && {
NAME=Ubiquiti_Rocket-M-XW
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=ubnt-rocket-m-xw
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == ubnt-uap-pro ] && {
NAME=Ubiquiti_UniFi-AP-PRO
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=ubnt-uap-pro
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == ubnt-unifi ] && {
NAME=Ubiquiti_UniFi-AP
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmpsmall
PROFILE=ubnt-unifi
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == wt1520-4M ] && {
NAME=Nexx_WT1520-4M
ARCH=ramips
......
#!/bin/bash
. options.conf
. options.conf.local
dirname="$release/ar71xx/mikrotik/ib"
filename="$dirname/.profiles.mk"
echo "File $filename will be patched"
[ ! -d $dirname ] && {
echo "$dirname does not exist. Before applying this snippet you must have the imagebuilder ready."
exit 1
}
[ ! -f $filename ] && {
echo "$filename does not exist. Before applying this snippet you must have the profiles' packages listed."
exit 1
}
sed -i -e 's/kmod-ath10k/kmod-ath10k-ct/g' $filename
sed -i -e 's/ath10k-firmware-qca988x/ath10k-firmware-qca988x-ct/g' $filename
sed -i -e 's/ath10k-firmware-qca9887/ath10k-firmware-qca9887-ct/g' $filename
#Ensure no double "-ct"s are appended
sed -i -e 's/kmod-ath10k-ct-ct/kmod-ath10k-ct/g' $filename
sed -i -e 's/ath10k-firmware-qca988x-ct-ct/ath10k-firmware-qca988x-ct/g' $filename
sed -i -e 's/ath10k-firmware-qca9887-ct-ct/ath10k-firmware-qca9887-ct/g' $filename
#( cd $base_feed && git apply $patch_file && {
# echo "Patch applied, now you can use the special country US when you deploy a mesh network on International Waters"
#} || echo "Patch does not apply, maybe it is already applied or OpenWrt source has changed" )
ar71xx/generic
ar71xx/mikrotik
ar71xx/tiny
ath25/generic
ath79/generic
ath79/mikrotik
......
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