mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Fix for rutx
This commit is contained in:
parent
75989a48d3
commit
d684867a86
7 changed files with 11 additions and 6 deletions
4
build.sh
4
build.sh
|
@ -243,6 +243,10 @@ if [ "$OMR_KERNEL" != "5.4" ] && [ "$OMR_TARGET" != "x86_64" ] && [ "$OMR_TARGET
|
|||
echo "# CONFIG_PACKAGE_kmod-r8168 is not set" >> "$OMR_TARGET/source/.config"
|
||||
fi
|
||||
|
||||
if [ "$OMR_TARGET" = "rutx" -a "$OMR_KERNEL" = "5.4" ]; then
|
||||
echo "CONFIG_PACKAGE_kmod-r2ec=y" >> "$OMR_TARGET/source/.config"
|
||||
fi
|
||||
|
||||
if [ "$OMR_TARGET" = "bpi-r1" -a "$OMR_OPENWRT" = "master" ]; then
|
||||
# We disable mc in master, because it leads to unknown compilation errors on bpi-r1 target
|
||||
# No time to check this, now, cause i am focused on make this target work
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "qcom-ipq4018-rutx-shiftreg.dtsi"
|
||||
|
||||
/ {
|
||||
model = "RUTX08/10";
|
||||
model = "Teltonika RUTX08/10";
|
||||
|
||||
soc {
|
||||
gpio-export {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "qcom-ipq4018-rutx-shiftreg.dtsi"
|
||||
|
||||
/ {
|
||||
model = "RUTX09/11";
|
||||
model = "Teltonika RUTX09/11";
|
||||
|
||||
soc {
|
||||
gpio-export {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "qcom-ipq4018-rutx-shiftreg.dtsi"
|
||||
|
||||
/ {
|
||||
model = "RUTX12";
|
||||
model = "Teltonika RUTX12";
|
||||
|
||||
soc {
|
||||
gpio-export {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "qcom-ipq4018-rutx-i2c.dtsi" // SFP
|
||||
|
||||
/ {
|
||||
model = "RUTXR1";
|
||||
model = "Teltonika RUTXR1";
|
||||
|
||||
soc {
|
||||
gpio-export {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "qcom-ipq4018-rutx-i2c.dtsi"
|
||||
|
||||
/ {
|
||||
model = "RUTX STM32";
|
||||
model = "Teltonika RUTX STM32";
|
||||
io_expander = "stm32";
|
||||
|
||||
soc {
|
||||
|
|
|
@ -843,7 +843,8 @@ define Device/teltonika_rutx
|
|||
IMAGE/factory.bin := append-ubi | qsdk-ipq-factory-nand | append-rutx-metadata
|
||||
IMAGES += sysupgrade.bin
|
||||
IMAGE/sysupgrade.bin := append-ubi | qsdk-ipq-factory-nand | append-metadata
|
||||
DEVICE_PACKAGES := ipq-wifi-teltonika_rutx kmod-bluetooth kmod-r2ec
|
||||
#DEVICE_PACKAGES := ipq-wifi-teltonika_rutx kmod-bluetooth kmod-r2ec
|
||||
DEVICE_PACKAGES := ipq-wifi-teltonika_rutx kmod-bluetooth
|
||||
HW_SUPPORT := io_expander%stm32:shiftreg_1
|
||||
endef
|
||||
TARGET_DEVICES += teltonika_rutx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue