-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
c647f40
commit c90a0f7
Showing
127 changed files
with
9,701 additions
and
141 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
63 changes: 0 additions & 63 deletions
63
patch/kernel/archive/rockchip-6.11/patches.libreelec/linux-1003-temp-dw_hdmi-rockchip.patch
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
...e/rockchip-6.11/0000.patching_config.yaml → ...e/rockchip-6.12/0000.patching_config.yaml
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
config: | ||
# Just some info stuff; not used by the patching scripts | ||
name: rockchip-6.11 | ||
name: rockchip-6.12 | ||
kind: kernel | ||
type: mainline # or: vendor | ||
branch: linux-6.11.y | ||
last-known-good-tag: v6.11 | ||
branch: linux-6.12.y | ||
last-known-good-tag: v6.12 | ||
maintainers: | ||
- { github: paolo.sabatino, name: Paolo Sabatino, email: [email protected], armbian-forum: jock } | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
From a8f9689004d59f0a454ce8cb06bf1556971c1bad Mon Sep 17 00:00:00 2001 | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Paolo Sabatino <[email protected]> | ||
Date: Sat, 20 Jul 2024 13:58:49 +0200 | ||
Subject: [PATCH] compile .scr and install overlays in right path | ||
Date: Wed, 2 Oct 2024 19:30:34 +0300 | ||
Subject: compile .scr and install overlays in right path | ||
|
||
--- | ||
scripts/Makefile.dtbinst | 13 ++++++++++++- | ||
scripts/Makefile.lib | 8 +++++++- | ||
scripts/Makefile.dtbinst | 13 +++++++++- | ||
scripts/Makefile.dtbs | 8 +++++- | ||
2 files changed, 19 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst | ||
index 9d920419a62c..9144a1b7c909 100644 | ||
index 111111111111..222222222222 100644 | ||
--- a/scripts/Makefile.dtbinst | ||
+++ b/scripts/Makefile.dtbinst | ||
@@ -33,7 +33,18 @@ endef | ||
|
@@ -32,33 +32,35 @@ index 9d920419a62c..9144a1b7c909 100644 | |
|
||
endif # CONFIG_ARCH_WANT_FLAT_DTB_INSTALL | ||
|
||
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib | ||
index 207325eaf1d1..587588518095 100644 | ||
--- a/scripts/Makefile.lib | ||
+++ b/scripts/Makefile.lib | ||
@@ -394,18 +394,24 @@ quiet_cmd_wrap_S_dtb = WRAP $@ | ||
echo '.balign STRUCT_ALIGNMENT'; \ | ||
} > $@ | ||
diff --git a/scripts/Makefile.dtbs b/scripts/Makefile.dtbs | ||
index 111111111111..222222222222 100644 | ||
--- a/scripts/Makefile.dtbs | ||
+++ b/scripts/Makefile.dtbs | ||
@@ -122,17 +122,23 @@ dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) | ||
quiet_cmd_dtc = DTC $(quiet_dtb_check_tag) $@ | ||
cmd_dtc = \ | ||
$(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ | ||
- $(DTC) -o $@ -b 0 $(addprefix -i,$(dir $<) $(DTC_INCLUDE)) \ | ||
+ $(DTC) -@ -o $@ -b 0 $(addprefix -i,$(dir $<) $(DTC_INCLUDE)) \ | ||
$(DTC_FLAGS) -d $(depfile).dtc.tmp $(dtc-tmp) ; \ | ||
cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) \ | ||
$(cmd_dtb_check) | ||
|
||
+quiet_cmd_scr = MKIMAGE $@ | ||
+cmd_scr = mkimage -C none -A $(ARCH) -T script -d $< $@ | ||
+ | ||
$(obj)/%.dtb.S: $(obj)/%.dtb FORCE | ||
$(call if_changed,wrap_S_dtb) | ||
$(obj)/%.dtb: $(obj)/%.dts $(DTC) $(DT_TMP_SCHEMA) FORCE | ||
$(call if_changed_dep,dtc) | ||
|
||
$(obj)/%.dtbo.S: $(obj)/%.dtbo FORCE | ||
$(call if_changed,wrap_S_dtb) | ||
$(obj)/%.dtbo: $(src)/%.dtso $(DTC) FORCE | ||
$(call if_changed_dep,dtc) | ||
|
||
+$(obj)/%.scr: $(src)/%.scr-cmd FORCE | ||
+ $(call if_changed,scr) | ||
+ | ||
quiet_dtb_check_tag = $(if $(dtb-check-enabled),[C], ) | ||
cmd_dtb_check = $(if $(dtb-check-enabled),; $(DT_CHECKER) $(DT_CHECKER_FLAGS) -u $(srctree)/$(DT_BINDING_DIR) -p $(DT_TMP_SCHEMA) $@ || true) | ||
# targets | ||
# --------------------------------------------------------------------------- | ||
|
||
quiet_cmd_dtc = DTC $(quiet_dtb_check_tag) $@ | ||
cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ | ||
- $(DTC) -o $@ -b 0 \ | ||
+ $(DTC) -@ -o $@ -b 0 \ | ||
$(addprefix -i,$(dir $<) $(DTC_INCLUDE)) $(DTC_FLAGS) \ | ||
-d $(depfile).dtc.tmp $(dtc-tmp) ; \ | ||
cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) \ | ||
-- | ||
Armbian | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
44 changes: 44 additions & 0 deletions
44
patch/kernel/archive/rockchip-6.12/patches.libreelec/linux-0002-rockchip-from-list.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,44 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Jonas Karlman <[email protected]> | ||
Date: Sun, 17 Feb 2019 22:14:38 +0000 | ||
Subject: [PATCH] mmc: core: set initial signal voltage on power off | ||
|
||
Some boards have SD card connectors where the power rail cannot be switched | ||
off by the driver. If the card has not been power cycled, it may still be | ||
using 1.8V signaling after a warm re-boot. Bootroms expecting 3.3V signaling | ||
will fail to boot from a UHS card that continue to use 1.8V signaling. | ||
|
||
Set initial signal voltage in mmc_power_off() to allow re-boot to function. | ||
|
||
This fixes re-boot with UHS cards on Asus Tinker Board (Rockchip RK3288), | ||
same issue have been seen on some Rockchip RK3399 boards. | ||
|
||
I am sending this as a RFC because I have no insights into SD/MMC subsystem, | ||
this change fix a re-boot issue on my boards and does not break emmc/sdio. | ||
Is this an acceptable workaround? Any advice is appreciated. | ||
|
||
Signed-off-by: Jonas Karlman <[email protected]> | ||
--- | ||
drivers/mmc/core/core.c | 8 ++++++++ | ||
1 file changed, 8 insertions(+) | ||
|
||
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c | ||
index ef53a2578824..d4c53074154a 100644 | ||
--- a/drivers/mmc/core/core.c | ||
+++ b/drivers/mmc/core/core.c | ||
@@ -1368,6 +1368,14 @@ void mmc_power_off(struct mmc_host *host) | ||
if (host->ios.power_mode == MMC_POWER_OFF) | ||
return; | ||
|
||
+ mmc_set_initial_signal_voltage(host); | ||
+ | ||
+ /* | ||
+ * This delay should be sufficient to allow the power supply | ||
+ * to reach the minimum voltage. | ||
+ */ | ||
+ mmc_delay(host->ios.power_delay_ms); | ||
+ | ||
mmc_pwrseq_power_off(host); | ||
|
||
host->ios.clock = 0; | ||
|
Oops, something went wrong.