From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Mikhail Goryunov <gormih78-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org>
Cc: Lucas Stach <dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>,
"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: upstream kernel 3.8.5: tegra_defconfig not working on Seco QSeven QuadMo747-X/T20
Date: Fri, 12 Apr 2013 09:31:57 -0600 [thread overview]
Message-ID: <516828ED.4090403@wwwdotorg.org> (raw)
In-Reply-To: <1688621365751094-5488f72fhnJxpj1cXAZ9Bg@public.gmane.org>
On 04/12/2013 01:18 AM, Mikhail Goryunov wrote:
> 11.04.2013, 19:26, "Stephen Warren" <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>:
>> On 04/11/2013 07:44 AM, Lucas Stach wrote:
>>> Am Donnerstag, den 11.04.2013, 16:15 +0400 schrieb Mikhail Goryunov:
>>>> When building the kernel with the option tegra_defconfig loading occurs in the following way:
...
>>>> Starting kernel ...
>>>>
>>>> and system freezes
>>> ... You may also want to enable the
>>> earlyconsole support in the kernel to see if it comes up at all.
>>
>> ie enable the following Kconfig options:
>>
>> CONFIG_DEBUG_LL=y
>> CONFIG_EARLY_PRINTK=y
>> CONFIG_TEGRA_DEBUG_UART_XXX=y
>>
>> (where XXX above is the serial port you're using; look in menuconfig)
>>
>> and add "earlyprintk" to the kernel command-line. That should hopefully
>> show the cause of the crash/hang.
>>
>> BTW, what is your kernel command-line?
> These options are enabled.
> The argument "earlyprintk" gave no result.
> My command-line for kernel:
> 'root=/dev/sda2 rw rootwait console=ttyS0,115200n8 earlyprintk mem=384M@0M mem=512M@512M nvmem=128M@384M vmalloc=248M nohdparm noinitrd init=/sbin/init rootwait loglevel=8 video=tegrafb'
Many of those options are only useful for downstream kernels. Some may
be harmful for upstream kernels.
I suggest you try the following simplified command-line:
root=/dev/sda2 rw rootwait console=ttyS0,115200n8 earlyprintk
init=/sbin/init loglevel=8
Just to confirm:
a) You're using a pure upstream 3.8 kernel with no modifications. If
not, what modifications have been made?
b) You have written a device tree for your board, and are passing that
to the kernel.
c) When flashing the bootlaoder, you set the ODMDATA to correctly
specify the RAM size and serial console UART. Perhaps you can get away
with specifying the wrong console UART if you pick an explicit
CONFIG_TEGRA_DEBUG_UART_XXX, rather than the AUTO_ODMDATA option.
d) You're using a bootloader that understands device tree, and you're
passing both the zImage and DT address to "bootm" or "bootz", and the
bootloader is filling in the correct parameters in the /memory and
/chosen (for command-line) nodes.
BTW, I just noticed the following in your previous message:
> Image Type: PowerPC Linux Kernel Image (uncompressed)
That's certainly wrong...
next prev parent reply other threads:[~2013-04-12 15:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 12:15 upstream kernel 3.8.5: tegra_defconfig not working on Seco QSeven QuadMo747-X/T20 Mikhail Goryunov
[not found] ` <1039301365682542-0lqHHmzNcNNxpj1cXAZ9Bg@public.gmane.org>
2013-04-11 13:44 ` Lucas Stach
2013-04-11 15:26 ` Stephen Warren
[not found] ` <5166D633.8060308-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-04-12 7:18 ` Mikhail Goryunov
[not found] ` <1688621365751094-5488f72fhnJxpj1cXAZ9Bg@public.gmane.org>
2013-04-12 15:31 ` Stephen Warren [this message]
[not found] ` <516828ED.4090403-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-04-18 13:24 ` Mikhail Goryunov
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=516828ED.4090403@wwwdotorg.org \
--to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
--cc=dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org \
--cc=gormih78-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).