Fix building bpi-r4 and ax3600

This commit is contained in:
Daniel Pawlik
2024-07-24 13:41:22 +00:00
parent 573810f1dd
commit db23c0bfb5
4 changed files with 16 additions and 17 deletions

View File

@@ -28,7 +28,7 @@ jobs:
sudo apt install -y \
build-essential clang flex bison g++ gawk \
gcc-multilib g++-multilib gettext git libncurses5-dev libssl-dev \
python3-setuptools rsync swig unzip zlib1g-dev file wget curl
python3-setuptools rsync swig unzip zlib1g-dev file wget curl zstd
sudo apt full-upgrade -y
- name: Checkout remote repository

View File

@@ -28,3 +28,11 @@ CONFIG_ATH11K_THERMAL=n
# Prevent opkg from adding custom feeds to /etc/opkg/distfeeds.conf
CONFIG_FEED_nss=n
CONFIG_FEED_sqm_scripts_nss=n
# Disable default packages
CONFIG_PACKAGE_kmod-phy-aquantia=n
CONFIG_PACKAGE_kmod-usb-core=n
CONFIG_PACKAGE_kmod-usb-dwc3=n
CONFIG_PACKAGE_kmod-usb-dwc3-qcom=n
CONFIG_PACKAGE_kmod-usb-xhci-hcd=n
CONFIG_PACKAGE_kmod-usb3=n

View File

@@ -1,7 +1,7 @@
From 62829bec03171257f590055b23fd97fe28afb728 Mon Sep 17 00:00:00 2001
From 8d0659eb7f86e2d7ea81ec11829654a26a8c3407 Mon Sep 17 00:00:00 2001
From: Daniel Pawlik <pawlik.dan@gmail.com>
Date: Wed, 24 Jul 2024 09:17:44 +0000
Subject: [PATCH] Add kmod-thermal for bpi-r4
Date: Wed, 24 Jul 2024 13:37:46 +0000
Subject: [PATCH] Enable kmod-thermal for BPI-R4
---
target/linux/mediatek/image/filogic.mk | 2 +-
@@ -17,7 +17,7 @@ index 74eaf06ea9..6e79832623 100644
DEVICE_DTC_FLAGS := --pad 4096
- DEVICE_PACKAGES := kmod-hwmon-pwmfan kmod-i2c-mux-pca954x kmod-eeprom-at24 kmod-mt7996-firmware \
+ DEVICE_PACKAGES := kmod-hwmon-pwmfan kmod-thermal kmod-i2c-mux-pca954x kmod-eeprom-at24 kmod-mt7996-firmware \
kmod-rtc-pcf8563 kmod-sfp kmod-usb3 e2fsprogs f2fsck mkf2fs
kmod-rtc-pcf8563 kmod-sfp kmod-usb3 e2fsprogs f2fsck mkf2fs
IMAGES := sysupgrade.itb
KERNEL_LOADADDR := 0x46000000
--

View File

@@ -1,17 +1,8 @@
From 0e70d96d40206ca1c6705fd8ced2eb3dc3e95293 Mon Sep 17 00:00:00 2001
From 9db3daefa4ef538e497a7b2bf44ca7140481a333 Mon Sep 17 00:00:00 2001
From: Daniel Pawlik <pawlik.dan@gmail.com>
Date: Mon, 15 Jul 2024 12:14:10 +0200
Subject: [PATCH] Add mt7925-firmware rule
Date: Wed, 24 Jul 2024 13:39:48 +0000
Subject: [PATCH] Add definition for mt7925 firmware
It seems that the OpenWRT does not add the firmware for the MT7925
device.
This patch includes rules that was suggested on the OpenWRT forum [1],
where the target rules are defined here [2].
[1] https://forum.openwrt.org/t/banana-bpi-r4-wifi7-status/201051/
[2] https://github.com/drozdi70/bananapi_bpir4/blob/main/Makefile.mt76
(cherry picked from commit a7653b8bb96d4c7bad4d278d5e75484709ba205b)
---
package/kernel/mt76/Makefile | 15 +++++++++++++++
1 file changed, 15 insertions(+)