public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: linux-arm-kernel@lists.infradead.org
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: not syncing: Attempted to kill init! exitcode=0x00000004 ?
Date: Tue, 07 Apr 2015 14:22:35 +0200	[thread overview]
Message-ID: <19177883.oJbWsfhyVG@wuerfel> (raw)
In-Reply-To: <CAK7LNATkYVwT337okeW=c1NjyxB4ovXKSNzxtTwk7XXGN45z7w@mail.gmail.com>

On Tuesday 07 April 2015 17:22:32 Masahiro Yamada wrote:
> Hi Arnd,
> 
> Thanks for your comment!
> 
> 2015-04-07 16:41 GMT+09:00 Arnd Bergmann <arnd@arndb.de>:
> > On Tuesday 07 April 2015 12:34:30 Masahiro Yamada wrote:
> >>
> >> What is the cause of the kernel panic?  How to fix it?
> >> Any hint is very appreciated.
> >>
> >
> > Cortex-A9 usually need to set up the L2 Cache controller, and you
> > don't have a node for that.
> >
> > Can you try adding a DT node for it? You may also have to specify
> > the overrides for its aux control register in DT if that is not
> > set up right by the boot loader or the power-on defaults.
> 
> I have not checked the L2 (outer) cache yet.
> 
> The L2 cache on our SoC is not a famous IP, but our own implementation.
> I will have to implement L2 code as well as the device tree node.
> Is there any workaround to boot Linux without L2 cache?

It should work normally, I think the only dangerous combination is
when the L2 controller is enabled but not configured correctly.

It's also quite likely that there is some other problem with your
user space image. Are you able to boot the same image inside of
qemu or on another hardware that is supported with multi_v7_defconfig?

	Arnd

  reply	other threads:[~2015-04-07 12:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-07  3:34 not syncing: Attempted to kill init! exitcode=0x00000004 ? Masahiro Yamada
2015-04-07  7:41 ` Arnd Bergmann
2015-04-07  8:22   ` Masahiro Yamada
2015-04-07 12:22     ` Arnd Bergmann [this message]
2015-04-08  6:23       ` Masahiro Yamada
2015-04-07 12:42 ` Andrew Lunn
2015-04-07 14:09   ` Dennis Mungai
2015-04-08  6:45     ` Masahiro Yamada
2015-04-08  9:23       ` Dennis Mungai
2015-04-08  6:27   ` Masahiro Yamada
2015-05-05 11:54 ` Shawn Guo
2015-05-06  8:56   ` Shawn Guo
2015-05-07  2:30     ` Masahiro Yamada
2015-05-07 11:32       ` Shawn Guo

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=19177883.oJbWsfhyVG@wuerfel \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yamada.masahiro@socionext.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox