Skip to content

Commit

Permalink
mediatek: add kmod-thermal for BPI-R4 device
Browse files Browse the repository at this point in the history
Without adding that kmod, build fails with an error:

    Collected errors:
     * pkg_hash_check_unresolved: cannot find dependency kmod-thermal for kmod-hwmon-pwmfan
     * pkg_hash_fetch_best_installation_candidate: Packages for kmod-hwmon-pwmfan found, but incompatible with the architectures configured
     * opkg_install_cmd: Cannot install package kmod-hwmon-pwmfan.

It is because, the kmod-thermal is marked as module:

    CONFIG_PACKAGE_kmod-thermal=m

After adding it as dependency to the BPI-R4 device, the problem
disappear.

Signed-off-by: Daniel Pawlik <[email protected]>
(cherry picked from commit 664c5e4)
  • Loading branch information
danpawlik committed Oct 3, 2024
1 parent 664b8ff commit 989f154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/linux/mediatek/image/filogic.mk
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ define Device/bananapi_bpi-r4-common
DEVICE_DTS_LOADADDR := 0x45f00000
DEVICE_DTS_OVERLAY:= mt7988a-bananapi-bpi-r4-emmc mt7988a-bananapi-bpi-r4-rtc mt7988a-bananapi-bpi-r4-sd mt7988a-bananapi-bpi-r4-wifi-mt7996a
DEVICE_DTC_FLAGS := --pad 4096
DEVICE_PACKAGES := kmod-hwmon-pwmfan kmod-i2c-mux-pca954x kmod-eeprom-at24 kmod-mt7996-firmware kmod-mt7996-233-firmware \
DEVICE_PACKAGES := kmod-hwmon-pwmfan kmod-thermal kmod-i2c-mux-pca954x kmod-eeprom-at24 kmod-mt7996-firmware kmod-mt7996-233-firmware \
kmod-rtc-pcf8563 kmod-sfp kmod-usb3 e2fsprogs f2fsck mkf2fs
IMAGES := sysupgrade.itb
KERNEL_LOADADDR := 0x46000000
Expand Down

0 comments on commit 989f154

Please sign in to comment.