Questions about bringing up MT7623 board

John Crispin john at phrozen.org
Sun Feb 11 03:11:00 PST 2018



On 11/02/18 11:55, Kristian Evensen wrote:
> Hi,
>
> On Sun, Feb 11, 2018 at 11:41 AM, John Crispin <john at phrozen.org> wrote:
>> Is Earlyprinkt enabled in the kernel .config ?
> No, turns out CONFIG_EARLY_PRINTK was not enabled. This is the first
> time I am trying to add support for a board outisde the safe walls of
> OpenWRT, so sorry for such a rookie mistake.
>
> Unfortunately, enabling CONFIG_EARLY_PRINTK had no effect. I still
> have not output after "Starting kernel".
>
> BR,
> Kristian
You'll also need to tell the kernel about the uart, looking at the owrt 
config you'll find ...

grep DEBUG_UART target/linux/mediatek/config-4.9
CONFIG_DEBUG_UART_8250=y
# CONFIG_DEBUG_UART_8250_FLOW_CONTROL is not set
CONFIG_DEBUG_UART_8250_SHIFT=2
# CONFIG_DEBUG_UART_8250_WORD is not set
CONFIG_DEBUG_UART_PHYS=0x11004000
CONFIG_DEBUG_UART_VIRT=0xf1004000

     John



More information about the Linux-mediatek mailing list