Skip to content

Commit

Permalink
Merge branch 'immortalwrt:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Doanduy09 authored Jan 10, 2025
2 parents 640f9ff + d3f097a commit 0c98a4e
Show file tree
Hide file tree
Showing 23 changed files with 1,736 additions and 305 deletions.
5 changes: 3 additions & 2 deletions package/boot/uboot-rockchip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk

PKG_VERSION:=2024.10
PKG_VERSION:=2025.01
PKG_RELEASE:=1
PKG_HASH:=b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0
PKG_HASH:=cdef7d507c93f1bbd9f015ea9bc21fa074268481405501945abc6f854d5b686f

PKG_MAINTAINER:=Sarah Maedel <[email protected]>

Expand Down Expand Up @@ -442,6 +442,7 @@ UBOOT_CUSTOMIZE_CONFIG := \
--disable EFI_CAPSULE_FIRMWARE_RAW \
--disable SPL_FIT_SIGNATURE \
--disable USB_FUNCTION_FASTBOOT \
--disable VIDEO \
)

UBOOT_MAKE_FLAGS += \
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Signed-off-by: Chris Morgan <[email protected]>

obj-spl-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o

-ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
-ifeq ($(CONFIG_XPL_BUILD)$(CONFIG_TPL_BUILD),)
-
# Always include boot_mode.o, as we bypass it (i.e. turn it off)
# inside of boot_mode.c when CONFIG_ROCKCHIP_BOOT_MODE_REG is 0. This way,
Expand Down Expand Up @@ -101,7 +101,7 @@ Signed-off-by: Chris Morgan <[email protected]>
#include <asm/arch-rockchip/grf_rk3568.h>
#include <asm/arch-rockchip/hardware.h>
#include <dt-bindings/clock/rk3568-cru.h>
@@ -133,3 +134,26 @@ int arch_cpu_init(void)
@@ -139,3 +140,26 @@ int arch_cpu_init(void)
#endif
return 0;
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
--- a/drivers/watchdog/Makefile
+++ b/drivers/watchdog/Makefile
@@ -50,3 +50,4 @@ obj-$(CONFIG_WDT_STM32MP) += stm32mp_wdt
@@ -52,3 +52,4 @@ obj-$(CONFIG_WDT_STM32MP) += stm32mp_wdt
obj-$(CONFIG_WDT_SUNXI) += sunxi_wdt.o
obj-$(CONFIG_WDT_TANGIER) += tangier_wdt.o
obj-$(CONFIG_WDT_XILINX) += xilinx_wwdt.o
+obj-$(CONFIG_WDT_PCAT) += pcat_wdt.o
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -421,4 +421,10 @@ config WDT_FTWDT010
@@ -443,4 +443,10 @@ config WDT_FTWDT010
help
Faraday Technology ftwdt010 watchdog is an architecture independent
watchdog. It is usually used in SoC chip design.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

/ {
chosen {
stdout-path = &uart2;
u-boot,spl-boot-order = "same-as-spl", &sdmmc0;
};
};
Expand All @@ -16,19 +15,3 @@
&pcie3x2 {
/delete-property/ vpcie3v3-supply;
};

&uart2 {
clock-frequency = <24000000>;
bootph-all;
status = "okay";
};

&vcc5v0_usb_host {
/delete-property/ regulator-always-on;
/delete-property/ regulator-boot-on;
};

&vcc5v0_usb_otg {
/delete-property/ regulator-always-on;
/delete-property/ regulator-boot-on;
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@

#include "rk356x-u-boot.dtsi"

/ {
chosen {
stdout-path = &uart2;
};
};

&sdhci {
cap-mmc-highspeed;
mmc-ddr-1_8v;
Expand All @@ -17,12 +11,6 @@
pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
};

&uart2 {
clock-frequency = <24000000>;
bootph-all;
status = "okay";
};

&vcc5v0_usb_host {
/delete-property/ regulator-always-on;
/delete-property/ regulator-boot-on;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
#include "rk356x-u-boot.dtsi"

/ {
chosen {
stdout-path = &uart2;
};

pcat-wdt {
compatible = "linux,wdt-pcat";
port = <&uart4>;
Expand All @@ -26,12 +22,6 @@
pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
};

&uart2 {
clock-frequency = <24000000>;
bootph-all;
status = "okay";
};

&vcc3v3_sd {
bootph-pre-ram;
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@

#include "rk356x-u-boot.dtsi"

/ {
chosen {
stdout-path = &uart2;
};
};

&sdhci {
cap-mmc-highspeed;
mmc-ddr-1_8v;
Expand All @@ -17,12 +11,6 @@
pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
};

&uart2 {
clock-frequency = <24000000>;
bootph-all;
status = "okay";
};

&vcc5v0_host {
/delete-property/ regulator-always-on;
};
Original file line number Diff line number Diff line change
Expand Up @@ -844,13 +844,19 @@ mac80211_setup_adhoc() {

mac80211_setup_mesh() {
json_get_vars ssid mesh_id mcast_rate
json_get_values iface_basic_rate_list basic_rate

mcval=
[ -n "$mcast_rate" ] && wpa_supplicant_add_rate mcval "$mcast_rate"
[ -n "$mesh_id" ] && ssid="$mesh_id"

br_list="$basic_rate_list"
if [ -n "$iface_basic_rate_list" ]; then
br_list="$iface_basic_rate_list"
fi

brstr=
for br in $basic_rate_list; do
for br in $br_list; do
wpa_supplicant_add_rate brstr "$br"
done

Expand Down
Loading

0 comments on commit 0c98a4e

Please sign in to comment.