forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0629e56
commit 8e90a56
Showing
6 changed files
with
105 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=sunxi-cedar | ||
PKG_RELEASE=1 | ||
|
||
PKG_LICENSE:=GPLv2 | ||
PKG_LICENSE_FILES:= | ||
|
||
PKG_SOURCE_URL:=https://github.com/TSKangetsu/sunxi-cedar-mainline | ||
PKG_MIRROR_HASH:=skip | ||
PKG_SOURCE_PROTO:=git | ||
PKG_SOURCE_DATE:=2024-7-24 | ||
|
||
PKG_SOURCE_VERSION:=8ec74cb1d6228740c37399bee0ca765e372aa71d | ||
PKG_BUILD_PARALLEL:=1 | ||
|
||
include $(INCLUDE_DIR)/kernel.mk | ||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define KernelPackage/sunxi-cedar | ||
SUBMENU:=Video Support | ||
TITLE:=Driver for sunxi de/encoder device cedar_dev | ||
DEPENDS:=@TARGET_sunxi | ||
FILES:=$(PKG_BUILD_DIR)/cedar_ve.ko | ||
AUTOLOAD:=$(call AutoProbe,cedar_ve) | ||
endef | ||
|
||
define Build/Compile | ||
+$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \ | ||
$(KERNEL_MAKE_FLAGS) \ | ||
M="$(PKG_BUILD_DIR)" \ | ||
modules | ||
endef | ||
|
||
$(eval $(call KernelPackage,sunxi-cedar)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
target/linux/sunxi/patches-5.10/480-sun8ih3-disable-mainline-video-codec.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/arch/arm/boot/dts/sun8i-h3.dtsi | ||
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi | ||
@@ -194,6 +194,7 @@ | ||
resets = <&ccu RST_BUS_VE>; | ||
interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>; | ||
allwinner,sram = <&ve_sram 1>; | ||
+ status = "disabled"; | ||
}; | ||
|
||
crypto: crypto@1c15000 { |