From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: booting 2.6 on edosk7760
Date: Tue, 15 Jul 2008 09:50:45 +0000 [thread overview]
Message-ID: <20080715095045.GA23910@linux-sh.org> (raw)
(Adding the mailing list to Cc, don't send me these things off-list..)
On Tue, Jul 15, 2008 at 11:43:31AM +0200, Luca Santini wrote:
> i'm trying to boot the sh branch of 2.6.26 kernel on an edosk7760.
> keeping it unchanged and configuring for sh7760 the only thing i have is
> a whitespace (' '<cursor>) .
>
> So i tried to port the board specific configuration, following your
> new_machine.txt and copying things from arch/sh/edosk7760 i found on my
> original 2.4.21 kernel....
> ..but the result is the same.....
>
> where can i start the debugging?
> what's the early stages execution flow of the 2.6 kernel? (is
> arch/sh/compressed/boot/head_32.S the first one executed?)
> when <at what point of execution> can i see the first output on the console?
>
> thanks a lot for all the answers...
>
> Luca Santini
It's fairly uncommon to have any problems in the decompression code, so
your best bet is probably to start looking at arch/sh/kernel/head_32.S,
arch/sh/kernel/cpu/init.c, and arch/sh/kernel/setup.c. If your board is
using sh-ipl+g you can trivially use the early printk with that,
otherwise you will need to see about getting the early SCIF console
working on your particular platform. You can grep for earlyprintk in
arch/sh/configs to get an idea of usage.
reply other threads:[~2008-07-15 9:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20080715095045.GA23910@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.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.