public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: Embedded Engineer <embed786@gmail.com>
Cc: linux-tegra@vger.kernel.org, Andrew Lunn <andrew@lunn.ch>,
	Vladimir Murzin <vladimir.murzin@arm.com>,
	linux-arm-kernel@lists.infradead.org,
	Jon Hunter <jonathanh@nvidia.com>
Subject: Re: Unstable Kernel behavior on an ARM based board
Date: Tue, 5 Mar 2019 11:32:22 +0100	[thread overview]
Message-ID: <20190305103222.GB26369@ulmo> (raw)
In-Reply-To: <CA+_ZnZQRV_7ytmbQZvWZUuyYiai0+Yo-pqV19RKebWAwSQokxQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1795 bytes --]

On Tue, Mar 05, 2019 at 03:01:35PM +0500, Embedded Engineer wrote:
> On Mon, Mar 4, 2019 at 7:25 PM Thierry Reding <thierry.reding@gmail.com> wrote:
> > Perhaps also try to run a recent linux-next just to exclude any issues
> > that may have been part of the 4.8.0-rc7 that you tested.
> 
> Thierry I have disabled cache as per Andrew's suggestion by calling
> dcache_disable() and icache_disable() just before kernel_entry() in
> u-boot source. I have also build the linux-next kernel and tested by
> booting from microSD card but it is not going upto login console and
> hangs midway. Please have a look at kernel logs in below link:
> 
> https://pastebin.com/ByuaLxTt

Okay, looks fairly normal so far, except for the corrupted data. That's
definitely not normal and I think we need to fix that first, otherwise
we can't really be certain what's going on later.

One thing besides memory timings in BCT that comes to mind that could be
causing memory corruption are power supplies. Are you sure they're all
correctly configured and enabled as required? It might be worth looking
at all of them and marking them "regulator-always-on" just to make sure
an essential one isn't disabled inadvertently during boot. The
corruption happens long before unused regulators are disabled, so that
doesn't sound like it would be very relevant here. But perhaps best to
check it anyway, just in case.

> P.S: If I replace zImage and DTB of downstream same microSD card, it
> successfully takes me to login console (although it has hanging issues
> as I mentioned in previous posts)

Does the upstream kernel and DTB boot reliably, even if it doesn't get
you to a login prompt? Or does it also behave erratically like the
downstream kernel and DTB that you have?

Thierry

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-03-05 10:32 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CA+_ZnZTpES5bGZ0Cprnpy7HapMP3i=VTHgMZco6jq2zcKQzAVg@mail.gmail.com>
     [not found] ` <20190302113651.zerdonykcvv5ex3e@shell.armlinux.org.uk>
     [not found]   ` <CA+_ZnZR_aTubOh3PJEVK0hbcDxxfK3vW1eLoknVo1yRBExawsw@mail.gmail.com>
     [not found]     ` <20190302115729.zbowssfwf4j7jf22@shell.armlinux.org.uk>
     [not found]       ` <CA+_ZnZS48d0OOTQJjktieO-yf09Ch6MRQLFoCjRtUgcXMrjWmg@mail.gmail.com>
     [not found]         ` <20190302123907.qoe46qs6qmx7qnjs@shell.armlinux.org.uk>
     [not found]           ` <453072a9-52e2-7591-750f-624ca27e0bbf@gmx.net>
     [not found]             ` <CA+_ZnZTrGCzPLKWZdxBzV1Z9b+c-Sp27DeUeV2XFW0+ZNZipGw@mail.gmail.com>
     [not found]               ` <e530ec49-942d-a993-9081-901c0ce29c75@arm.com>
     [not found]                 ` <CA+_ZnZTCtghS+oUdXGW+h6SVD6nMPfsyDAvOwEugrhx6NJ3yFg@mail.gmail.com>
2019-03-04 14:25                   ` Unstable Kernel behavior on an ARM based board Thierry Reding
2019-03-04 15:51                     ` Embedded Engineer
2019-03-05 10:01                     ` Embedded Engineer
2019-03-05 10:07                       ` Russell King - ARM Linux admin
2019-03-05 10:29                         ` Embedded Engineer
2019-03-05 11:20                           ` Thierry Reding
2019-03-05 11:22                           ` Russell King - ARM Linux admin
2019-03-05 11:57                             ` Thierry Reding
2019-03-05 13:16                               ` Embedded Engineer
2019-03-05 13:23                                 ` Russell King - ARM Linux admin
2019-03-05 13:32                                   ` Embedded Engineer
2019-03-05 14:23                                     ` Russell King - ARM Linux admin
2019-03-05 14:57                                       ` Embedded Engineer
2019-03-05 14:58                                         ` Russell King - ARM Linux admin
2019-03-05 15:11                                           ` Embedded Engineer
2019-03-05 15:31                                             ` Russell King - ARM Linux admin
2019-03-05 15:44                                               ` Embedded Engineer
2019-03-15  8:55                                                 ` Marcel Ziswiler
     [not found]                                               ` <47d0bea5-0dfe-9ce0-fedc-92061769e0a1@gmx.net>
2019-03-09  7:50                                                 ` Embedded Engineer
2019-03-05 10:32                       ` Thierry Reding [this message]
2019-03-05 11:05                         ` Embedded Engineer
2019-03-05 11:36                           ` Thierry Reding

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=20190305103222.GB26369@ulmo \
    --to=thierry.reding@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=embed786@gmail.com \
    --cc=jonathanh@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=vladimir.murzin@arm.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