From 95f5027d3f8ff82d06f0b86f654b130dfa2469bc Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 21 Jun 2019 22:49:16 +0200 Subject: [PATCH] Update openwrt and remove log message for bpi-r2 4.19 --- build.sh | 7 ++++--- .../0235-mtk_wdt-remove-debug-printk.patch | 12 ++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 root/target/linux/mediatek/patches-4.19/0235-mtk_wdt-remove-debug-printk.patch diff --git a/build.sh b/build.sh index 7b8d4c34..f066e0b4 100755 --- a/build.sh +++ b/build.sh @@ -54,9 +54,9 @@ else fi #_get_repo source https://github.com/ysurac/openmptcprouter-source "master" -_get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "aa3f9736ea67200dd840093b848606ced27d388e" -_get_repo feeds/packages https://github.com/openwrt/packages "ae5c8603a7cf4a5b9c7215a3768007f256f51b1c" -_get_repo feeds/luci https://github.com/openwrt/luci "cffeee49d7be19743cc40459fa1f423517f215c0" +_get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "eaad2211dbfb9fdf0815c8d19423069ec099bad2" +_get_repo feeds/packages https://github.com/openwrt/packages "d68afee955cc3829b953b19bafc86570cba514fe" +_get_repo feeds/luci https://github.com/openwrt/luci "1154c4198a763aabd7c2fbe0f5419af7c2d04681" if [ -z "$OMR_FEED" ]; then OMR_FEED=feeds/openmptcprouter @@ -188,6 +188,7 @@ if [ "$OMR_KERNEL" = "4.19" ]; then echo "Done" fi +rm -rf target/linux/mediatek/patches-4.14/0027-*.patch echo "Update feeds index" cp .config .config.keep diff --git a/root/target/linux/mediatek/patches-4.19/0235-mtk_wdt-remove-debug-printk.patch b/root/target/linux/mediatek/patches-4.19/0235-mtk_wdt-remove-debug-printk.patch new file mode 100644 index 00000000..a9f2078c --- /dev/null +++ b/root/target/linux/mediatek/patches-4.19/0235-mtk_wdt-remove-debug-printk.patch @@ -0,0 +1,12 @@ +Index: linux-4.14.51/drivers/watchdog/mtk_wdt.c +=================================================================== +--- linux-4.14.51.orig/drivers/watchdog/mtk_wdt.c ++++ linux-4.14.51/drivers/watchdog/mtk_wdt.c +@@ -236,7 +236,6 @@ static int mtk_wdt_ping(struct watchdog_ + void __iomem *wdt_base = mtk_wdt->wdt_base; + + iowrite32(WDT_RST_RELOAD, wdt_base + WDT_RST); +- printk_deferred("[WDK]: kick Ex WDT\n"); + + return 0; + }