All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kristian Evensen <kristian.evensen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Questions about bringing up MT7623 board
Date: Sat, 10 Feb 2018 23:02:39 +0100	[thread overview]
Message-ID: <CAKfDRXhhrndoKMidZYsw=E8BmS7AFsTJHbS4dcYbEoADhjD44Q@mail.gmail.com> (raw)

Hello,

I am currently working on trying to add mainline support for an MT7623
board I have received (Unielec U7623). I sent some initial questions
about the board in the autumn, and I got OpenWRT running in a
semi-stable state (with 4.9), but adding mainline support has proven
tricker than I thought. After spending some days banging my head
against the wall, I am starting to run out of ideas, so any pointers
or tips would be greatly appreciated.

With OpenWRT, I based the dts for the U7623 on mt7623-eMMC.dts. Since
this file is not available in the mainline kernel, I decided to use
the DTS for Banana Pi R2 as the boards seem fairly similar (and the
initial goal is just to have a kernel that boots). I got a 4.14 config
from a repo I found on the BPI-forum
(https://github.com/frank-w/BPI-R2-4.14), added missing config symbols
for 4.15, compiled a kernel and appended the dtb to the uImage. So
far, so good and the kernel compiles just fine.

When booting the kernel (from the eMMC), the trouble starts. The
kernel seems to be loaded just fine, but after "Starting kernel ..."
nothing more is written to the screen. I.e., I see the following:

bootm flag=0, states=70f
## Booting kernel from Legacy Image at 84000000 ...
   Image Name:   Linux Kernel 4.14.18-main
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5891369 Bytes = 5.6 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

I had a similar error when working on getting OpenWRT to run on the
board, but then it was caused by the dtb not being appended to the
kernel. When looking around online for reasons for this error, missing
dtb or config-mistakes seems to be the two main reasons. I have
checked for misses and errors in dts and config (both compared to the
datasheet and my working 4.9 kernel), but haven't really found
anything. And the changes I have made have had no effect.

Does anyone have any idea about what could be wrong or where I should look?

Thanks in advance for any help,
Kristian

             reply	other threads:[~2018-02-10 22:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-10 22:02 Kristian Evensen [this message]
     [not found] ` <CAKfDRXhhrndoKMidZYsw=E8BmS7AFsTJHbS4dcYbEoADhjD44Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 10:33   ` Questions about bringing up MT7623 board Kristian Evensen
     [not found]     ` <CAKfDRXg0jeHP9xZRGDNm5tfW1afZd-TPfwbwUzEPiWsy_bfuUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 10:36       ` John Crispin
     [not found]         ` <fc2bf32a-eb81-6cd1-9085-b8786ddf0f9c-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
2018-02-11 10:40           ` Kristian Evensen
     [not found]             ` <CAKfDRXjpG4CNeHfKC1Kg=6mrqUTZ8A7bD1aivLkSQ2L0eK755Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 10:41               ` John Crispin
     [not found]                 ` <6ae4103b-45bf-c427-d0d9-87f6f4eb83b5-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
2018-02-11 10:55                   ` Kristian Evensen
     [not found]                     ` <CAKfDRXiJCMpA+qj4HmoSg0F_Yt4LnjQ=Dvy_tkxa=Dnh_pN13g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 11:11                       ` John Crispin
     [not found]                         ` <12343512-196f-c89f-e7dc-2e35cad49fc8-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
2018-02-11 11:13                           ` Kristian Evensen
     [not found]                             ` <CAKfDRXg66Un3c7U=WTSUYoduDkAD+jsL-tzxnYUSLHKrmFKiOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 14:01                               ` Kristian Evensen
     [not found]                                 ` <CAKfDRXiQb3LMSdjfE=CkfJE5bj9H+GAVD2Kj4syNfQD-eUPmWg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 14:46                                   ` John Crispin
     [not found]                                     ` <CAKfDRXjVSsYke-d2Bww+SrqRepfgVXzHBbeyfahOhc9Tr5Zmbw@mail.gmail.com>
     [not found]                                       ` <CAKfDRXjVSsYke-d2Bww+SrqRepfgVXzHBbeyfahOhc9Tr5Zmbw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 17:45                                         ` John Crispin
     [not found]                                           ` <CAKfDRXiirPhTbaUTcxseS7UuAiFDR_oY-QdvwvYc6Ua2vwuLSw@mail.gmail.com>
     [not found]                                             ` <CAKfDRXiirPhTbaUTcxseS7UuAiFDR_oY-QdvwvYc6Ua2vwuLSw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-11 17:56                                               ` John Crispin
     [not found]                                                 ` <ba2e3623-dd21-9802-9ae6-12cd8baaac1e-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
2018-02-11 20:53                                                   ` Kristian Evensen
2018-02-12 11:08                       ` Matthias Brugger
     [not found]                         ` <a594ffaa-4098-4171-f824-1aa3f332c9fc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-02-12 12:02                           ` Kristian Evensen
     [not found]                             ` <CAKfDRXgNGRHu9JMs-9vb4n72w+PmR8buqDnz8ObEQNXtP1pM4w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-12 14:37                               ` Sean Wang
2018-02-12 14:49                                 ` Kristian Evensen
     [not found]                                   ` <CAKfDRXi57H5V+Qv-YO6+8OKdZLbTw7T_h64uZTMQZP6biO7Wpg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-04-29 20:18                                     ` Kristian Evensen
     [not found]                                       ` <CAKfDRXg419rBTeqZ+UqQJFRj5s6CVg0YXzjmhyFxrbJgMkM8fg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-04-30  1:42                                         ` Ryder Lee
2018-04-30 16:12                                           ` Kristian Evensen
2018-02-17 19:10                           ` Andreas Färber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKfDRXhhrndoKMidZYsw=E8BmS7AFsTJHbS4dcYbEoADhjD44Q@mail.gmail.com' \
    --to=kristian.evensen-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.