mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
9dfc2b3ca4
MediaTek published their current U-Boot patchset on github: https://github.com/mtk-openwrt/u-boot/commits/mtksoc Import the platform patches from there (`00-mtk-*.patch`), arrange, them nicely, drop no longer needed local patches and rebase on top of U-Boot 2021.04-rc3. Tested and works well on Linksys E8450 (snand-1ddr) as well as Bananapi BPi-R64 (sdmmc-2ddr, emmc-2ddr). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
27 lines
809 B
Diff
27 lines
809 B
Diff
From acd49b1549ff52286aace5e841420aa750325f8b Mon Sep 17 00:00:00 2001
|
|
From: Weijie Gao <weijie.gao@mediatek.com>
|
|
Date: Wed, 3 Mar 2021 10:53:14 +0800
|
|
Subject: [PATCH 13/21] configs: mt7622: enable debug uart for
|
|
mt7622_rfb_defconfig
|
|
|
|
Enable debug uart for mt7622_rfb_defconfig
|
|
|
|
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
|
|
---
|
|
configs/mt7622_rfb_defconfig | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
--- a/configs/mt7622_rfb_defconfig
|
|
+++ b/configs/mt7622_rfb_defconfig
|
|
@@ -4,7 +4,10 @@ CONFIG_ARCH_MEDIATEK=y
|
|
CONFIG_SYS_TEXT_BASE=0x41e00000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
+CONFIG_DEBUG_UART_BASE=0x11002000
|
|
+CONFIG_DEBUG_UART_CLOCK=25000000
|
|
CONFIG_DEFAULT_DEVICE_TREE="mt7622-rfb"
|
|
+CONFIG_DEBUG_UART=y
|
|
CONFIG_FIT=y
|
|
CONFIG_DEFAULT_FDT_FILE="mt7622-rfb"
|
|
CONFIG_LOGLEVEL=7
|