Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Atheros on Ruby firmware #1544

Merged
merged 2 commits into from
Sep 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion general/package/linux-patcher/linux-patcher.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export UIMAGE_NAME = Linux-$(LINUX_VERSION_PROBED)-$(OPENIPC_SOC_MODEL)
# Exclude buildroot yylloc patches
LINUX_POST_PATCH_HOOKS = LINUX_APPLY_LOCAL_PATCHES

LINUX_PATCHER_BOARD_FPV = ssc338q_fpv ssc30kq_fpv
LINUX_PATCHER_BOARD_FPV = ssc338q_fpv ssc30kq_fpv ssc338q_rubyfpv
ifneq ($(filter $(BOARD),$(LINUX_PATCHER_BOARD_FPV)),)
define LINUX_PATCHER_CONFIG_ATHEROS
$(call KCONFIG_ENABLE_OPT,CONFIG_FW_LOADER)
Expand Down
Binary file added general/package/rubyfpv/files/htc_9271.fw.3
Binary file not shown.
2 changes: 2 additions & 0 deletions general/package/rubyfpv/rubyfpv.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ define RUBYFPV_INSTALL_TARGET_CMDS

$(INSTALL) -m 755 -d $(TARGET_DIR)/root/ruby/licenses
$(INSTALL) -m 644 -t $(TARGET_DIR)/root/ruby/licenses $(@D)/licenses/*
$(INSTALL) -m 755 -d $(TARGET_DIR)/lib/firmware/ath9k_htc
cp $(RUBYFPV_PKGDIR)/files/htc_9271.fw.3 $(TARGET_DIR)/lib/firmware/ath9k_htc
endef

$(eval $(generic-package))