diff --git a/bsp/octeon.bsp b/bsp/octeon.bsp new file mode 100644 index 0000000..d15c599 --- /dev/null +++ b/bsp/octeon.bsp @@ -0,0 +1,5 @@ +chipset=octeon + +images=( + "openwrt-${chipset}-ubnt_edgerouter-4-*" + ) diff --git a/bsp/octeon/.config b/bsp/octeon/.config new file mode 100644 index 0000000..9cd47d1 --- /dev/null +++ b/bsp/octeon/.config @@ -0,0 +1,21 @@ +# Generated using "./buildscript config openwrt". +# Do no edit manually +# +CONFIG_TARGET_octeon=y +CONFIG_TARGET_MULTI_PROFILE=y +CONFIG_TARGET_PER_DEVICE_ROOTFS=y +CONFIG_TARGET_DEVICE_octeon_DEVICE_ubnt_edgerouter-4=y +CONFIG_TARGET_DEVICE_PACKAGES_octeon_DEVICE_ubnt_edgerouter-4="" +CONFIG_BUSYBOX_CUSTOM=y +CONFIG_TARGET_PER_DEVICE_ROOTFS=y +# CONFIG_BUSYBOX_CONFIG_BRCTL is not set +# CONFIG_BUSYBOX_CONFIG_CROND is not set +# CONFIG_BUSYBOX_CONFIG_CRONTAB is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_FAST_TOP is not set +# CONFIG_BUSYBOX_CONFIG_FEATURE_NTPD_SERVER is not set +CONFIG_CLEAN_IPKG=y +# CONFIG_DROPBEAR_CURVE25519 is not set +# CONFIG_PACKAGE_ALFRED_VIS is not set +CONFIG_PACKAGE_opkg=m +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 3cd2373..3d153b3 100644 --- a/src/packages/fff/fff-network/files/lib/functions/fff/cpuport +++ b/src/packages/fff/fff-network/files/lib/functions/fff/cpuport @@ -23,6 +23,7 @@ get_cpu_port() { tplink,tl-wa901nd-v2|\ ubnt,bullet-m-ar7240|\ ubnt,bullet-m-ar7241|\ + ubnt,edgerouter-4|\ ubnt,edgerouter-x|\ ubnt,edgerouter-x-sfp|\ ubnt,nanostation-loco-m|\ diff --git a/src/packages/fff/fff-network/mips64/network.ubnt,edgerouter-4 b/src/packages/fff/fff-network/mips64/network.ubnt,edgerouter-4 new file mode 100644 index 0000000..86fbbc2 --- /dev/null +++ b/src/packages/fff/fff-network/mips64/network.ubnt,edgerouter-4 @@ -0,0 +1,10 @@ +. /lib/functions/fff/network + +WANDEV=switch0 +SWITCHDEV=switch0 +CLIENT_PORTS="lan2" +WAN_PORTS="lan0" +BATMAN_PORTS="lan1" +DSA=1 + +ROUTERMAC=$(cat /sys/class/net/lan3/address)