From b993fa4dbcdcdedeaab5002d2e559f0fd6bdefee Mon Sep 17 00:00:00 2001 From: Sophronia Koilpillai Date: Fri, 31 Jan 2025 03:18:03 +0000 Subject: [PATCH] boards: (APP-4071, PR #362): Add Linksys mvebu build target Approved-by: Milad Mohtashamirad Approved-by: James Haggerty Approved-by: Lyall Beveridge --- boards/ekh-mvebu-cortexa9/cameraapp_diffconfig | 1 + boards/ekh-mvebu-cortexa9/languages_diffconfig | 1 + boards/ekh-mvebu-cortexa9/morseguide_diffconfig | 1 + boards/ekh-mvebu-cortexa9/rangetest_diffconfig | 1 + boards/ekh-mvebu-cortexa9/target_diffconfig | 15 +++++++++++++++ boards/ekh-mvebu-cortexa9/usb_diffconfig | 1 + boards/ekh-mvebu-cortexa9/utils_diffconfig | 1 + boards/ekh-mvebu-cortexa9/wireshark_diffconfig | 1 + .../mwlwifi/patches/005-mac80211_update.patch | 6 ------ 9 files changed, 22 insertions(+), 6 deletions(-) create mode 120000 boards/ekh-mvebu-cortexa9/cameraapp_diffconfig create mode 120000 boards/ekh-mvebu-cortexa9/languages_diffconfig create mode 120000 boards/ekh-mvebu-cortexa9/morseguide_diffconfig create mode 120000 boards/ekh-mvebu-cortexa9/rangetest_diffconfig create mode 100644 boards/ekh-mvebu-cortexa9/target_diffconfig create mode 120000 boards/ekh-mvebu-cortexa9/usb_diffconfig create mode 120000 boards/ekh-mvebu-cortexa9/utils_diffconfig create mode 120000 boards/ekh-mvebu-cortexa9/wireshark_diffconfig diff --git a/boards/ekh-mvebu-cortexa9/cameraapp_diffconfig b/boards/ekh-mvebu-cortexa9/cameraapp_diffconfig new file mode 120000 index 0000000000..ce6b550ab4 --- /dev/null +++ b/boards/ekh-mvebu-cortexa9/cameraapp_diffconfig @@ -0,0 +1 @@ +../common_extras/cameraapp_diffconfig \ No newline at end of file diff --git a/boards/ekh-mvebu-cortexa9/languages_diffconfig b/boards/ekh-mvebu-cortexa9/languages_diffconfig new file mode 120000 index 0000000000..378234eea8 --- /dev/null +++ b/boards/ekh-mvebu-cortexa9/languages_diffconfig @@ -0,0 +1 @@ +../common_extras/languages_diffconfig \ No newline at end of file diff --git a/boards/ekh-mvebu-cortexa9/morseguide_diffconfig b/boards/ekh-mvebu-cortexa9/morseguide_diffconfig new file mode 120000 index 0000000000..7879d125c4 --- /dev/null +++ b/boards/ekh-mvebu-cortexa9/morseguide_diffconfig @@ -0,0 +1 @@ +../common_extras/morseguide_diffconfig \ No newline at end of file diff --git a/boards/ekh-mvebu-cortexa9/rangetest_diffconfig b/boards/ekh-mvebu-cortexa9/rangetest_diffconfig new file mode 120000 index 0000000000..ef369d0705 --- /dev/null +++ b/boards/ekh-mvebu-cortexa9/rangetest_diffconfig @@ -0,0 +1 @@ +../common_extras/rangetest_diffconfig \ No newline at end of file diff --git a/boards/ekh-mvebu-cortexa9/target_diffconfig b/boards/ekh-mvebu-cortexa9/target_diffconfig new file mode 100644 index 0000000000..c101dab1df --- /dev/null +++ b/boards/ekh-mvebu-cortexa9/target_diffconfig @@ -0,0 +1,15 @@ +CONFIG_TARGET_mvebu=y +CONFIG_TARGET_mvebu_cortexa9=y +CONFIG_TARGET_MULTI_PROFILE=y +CONFIG_TARGET_DEVICE_mvebu_cortexa9_DEVICE_linksys_wrt1900acs=y + +CONFIG_TARGET_PREINIT_IP="10.42.0.1" +CONFIG_TARGET_PREINIT_BROADCAST="10.42.0.255" +CONFIG_TARGET_DEFAULT_LAN_IP_FROM_PREINIT=y +CONFIG_PACKAGE_morsectrl=y +CONFIG_PACKAGE_morse-board-config-hotplug-model=y +CONFIG_PACKAGE_luci-app-ekhwizards=y + +CONFIG_PACKAGE_kmod-morse=y +CONFIG_PACKAGE_netifd-morse=y +CONFIG_PACKAGE_morse-fw-8108=y diff --git a/boards/ekh-mvebu-cortexa9/usb_diffconfig b/boards/ekh-mvebu-cortexa9/usb_diffconfig new file mode 120000 index 0000000000..e8c49f2c8e --- /dev/null +++ b/boards/ekh-mvebu-cortexa9/usb_diffconfig @@ -0,0 +1 @@ +../common_extras/usb_diffconfig \ No newline at end of file diff --git a/boards/ekh-mvebu-cortexa9/utils_diffconfig b/boards/ekh-mvebu-cortexa9/utils_diffconfig new file mode 120000 index 0000000000..b5ee35f413 --- /dev/null +++ b/boards/ekh-mvebu-cortexa9/utils_diffconfig @@ -0,0 +1 @@ +../common_extras/utils_diffconfig \ No newline at end of file diff --git a/boards/ekh-mvebu-cortexa9/wireshark_diffconfig b/boards/ekh-mvebu-cortexa9/wireshark_diffconfig new file mode 120000 index 0000000000..b6b3af796b --- /dev/null +++ b/boards/ekh-mvebu-cortexa9/wireshark_diffconfig @@ -0,0 +1 @@ +../common_extras/wireshark_diffconfig \ No newline at end of file diff --git a/package/kernel/mwlwifi/patches/005-mac80211_update.patch b/package/kernel/mwlwifi/patches/005-mac80211_update.patch index 92a8f2f70f..212a35eb85 100644 --- a/package/kernel/mwlwifi/patches/005-mac80211_update.patch +++ b/package/kernel/mwlwifi/patches/005-mac80211_update.patch @@ -348,12 +348,6 @@ const struct ieee80211_tx_queue_params *params) { struct mwl_priv *priv = hw->priv; -@@ -934,4 +934,5 @@ const struct ieee80211_ops mwl_mac80211_ - .pre_channel_switch = mwl_mac80211_chnl_switch, - .sw_scan_start = mwl_mac80211_sw_scan_start, - .sw_scan_complete = mwl_mac80211_sw_scan_complete, -+ .wake_tx_queue = ieee80211_handle_wake_tx_queue, - }; --- a/utils.c +++ b/utils.c @@ -173,9 +173,9 @@ u32 utils_get_init_tx_rate(struct mwl_pr