Explorar el Código

tegra: add testing 6.6 kernel

Preliminary support.

Signed-off-by: Tomasz Maciej Nowak <[email protected]>
Tomasz Maciej Nowak hace 1 año
padre
commit
192ab0903f
Se han modificado 2 ficheros con 8 adiciones y 2 borrados
  1. 1 0
      target/linux/tegra/Makefile
  2. 7 2
      target/linux/tegra/image/Makefile

+ 1 - 0
target/linux/tegra/Makefile

@@ -13,6 +13,7 @@ CPU_SUBTYPE := vfpv3-d16
 SUBTARGETS := generic
 
 KERNEL_PATCHVER := 5.15
+KERNEL_TESTING_PATCHVER := 6.6
 
 include $(INCLUDE_DIR)/target.mk
 

+ 7 - 2
target/linux/tegra/image/Makefile

@@ -10,8 +10,8 @@ define Build/tegra-sdcard
 	mkdir -p [email protected]
 	$(CP) $(KDIR)/$(KERNEL_NAME) [email protected]
 	$(if $(DEVICE_DTS),\
-		$(foreach dtb,$(DEVICE_DTS),$(CP) $(DTS_DIR)/$(dtb).dtb [email protected]), \
-		$(CP) $(DTS_DIR)/*.dtb [email protected])
+		$(foreach dtb,$(DEVICE_DTS),$(CP) $(DEVICE_DTS_DIR)/$(dtb).dtb [email protected]), \
+		$(CP) $(DEVICE_DTS_DIR)/*.dtb [email protected])
 	mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
 		-n '$(DEVICE_TITLE) OpenWrt bootscript' \
 		-d $(BOOT_SCRIPT) \
@@ -32,6 +32,11 @@ DEVICE_VARS += BOOT_SCRIPT UBOOT
 
 define Device/Default
   BOOT_SCRIPT := generic-bootscript
+ifeq ($(KERNEL),6.6)
+  DEVICE_DTS_DIR := $$(DTS_DIR)/nvidia
+else
+  DEVICE_DTS_DIR := $$(DTS_DIR)
+endif
   IMAGES := sdcard.img.gz
   IMAGE/sdcard.img.gz := append-rootfs | pad-extra 128k | tegra-sdcard | gzip | append-metadata
   KERNEL_NAME := zImage