All of lore.kernel.org
 help / color / mirror / Atom feed
From: ada@thorsis.com (Alexander Dahl)
To: linux-arm-kernel@lists.infradead.org
Subject: reboot fails on at91sam9g20 with kernel 4.x
Date: Thu, 24 Nov 2016 10:29:27 +0100	[thread overview]
Message-ID: <2142335.mtG1e6fW2s@ada> (raw)
In-Reply-To: <20161123221121.pkkhwhgqig5elwa7@piout.net>

Hei hei,

Am Mittwoch, 23. November 2016, 23:11:21 schrieb Alexandre Belloni:
> Since 3.18, the shdwc and reset controller have their own drivers that
> may or may not be compiled in the kernel. Can you check you have
> CONFIG_POWER_RESET_AT91_POWEROFF and CONFIG_POWER_RESET_AT91_RESET
> set in your configuration? Also, you probably want to check the DT
> definition of the shdwc and the rstc.

You were right, those were not set.

-# CONFIG_POWER_RESET is not set
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_AT91_POWEROFF=y
+CONFIG_POWER_RESET_AT91_RESET=y

With the above change in the kernel config the board reboots fine.

I'm not quite sure anymore how I got to my kernelconfig, maybe based on 
a pre 3.18 config without going through oldconfig. 

I double checked the at91_dt_defconfig from 4.8.10 now and it activates 
those options, maybe I should have done this in the first place.

So thank you very much for your hint. :-)

Greets
Alex

-- 
------------------------------------------------------------------------
Thorsis Technologies GmbH                     Tel.: +49-391-544 563-3036
Oststra?e 18                                  Fax.: +49-391-544 563-9099
39114 Magdeburg                                  http://www.thorsis.com/

Sitz der Gesellschaft: Magdeburg
Amtsgericht Stendal HRB 110339
Gesch?ftsf?hrer: Dipl.-Ing. Thorsten Szczepanski
------------------------------------------------------------------------

      reply	other threads:[~2016-11-24  9:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-23 16:13 reboot fails on at91sam9g20 with kernel 4.x Alexander Dahl
2016-11-23 22:11 ` Alexandre Belloni
2016-11-24  9:29   ` Alexander Dahl [this message]

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=2142335.mtG1e6fW2s@ada \
    --to=ada@thorsis.com \
    --cc=linux-arm-kernel@lists.infradead.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.