linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "Pali Rohár" <pali.rohar@gmail.com>
Cc: Sebastian Reichel <sre@ring0.de>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	linux-omap@vger.kernel.org, Tony Lindgren <tony@atomide.com>,
	aaro.koskinen@iki.fi, freemangordon@abv.bg
Subject: Re: n900: kernel cmdline from bootloader in DT mode
Date: Wed, 26 Nov 2014 16:22:00 +0100	[thread overview]
Message-ID: <20141126152159.GA26123@amd> (raw)
In-Reply-To: <201411261436.42166@pali>

On Wed 2014-11-26 14:36:42, Pali Rohár wrote:
> On Wednesday 26 November 2014 14:28:01 Pavel Machek wrote:
> > Hi!
> > 
> > > for some unknown reasons when I compile kernel for n900 in
> > > DT mode it ignore cmdline passed by bootloader. When I
> > > comment
> > > 
> > > CONFIG_ARM_APPENDED_DTB=y
> > > 
> > > then it boots into legacy board mode and cmdline is used
> > > from bootloader.
> > > 
> > > When is problem?
> > 
> > It seems to work for me, I'm booting using 0xffff, with
> > attached config.
> > 									Pavel
> 
> Can you try to set some "root=something" into CONFIG_CMDLINE and 
> then add real "root=" param via 0xffff?
> 
> My problem is that I have specified ubifs mtd root in 
> CONFIG_CMDLINE and when I set correct root via bootloader (from 
> 0xffff or flasher-3.5) it is ignored and used only what is 
> specified in CONFIG_CMDLINE.

CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
# CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is not set                                             
CONFIG_CMDLINE="console=ttyO2,115200 console=tty"

Um.. Internal commandline should be completely ignored for me.

Do you have CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER?

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2014-11-26 15:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-26 12:54 n900: kernel cmdline from bootloader in DT mode Pali Rohár
2014-11-26 13:28 ` Pavel Machek
2014-11-26 13:36   ` Pali Rohár
2014-11-26 15:22     ` Pavel Machek [this message]
2014-11-26 15:27       ` Pali Rohár
2015-01-24 14:01         ` Pali Rohár
2014-11-26 23:25       ` Pali Rohár

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=20141126152159.GA26123@amd \
    --to=pavel@ucw.cz \
    --cc=aaro.koskinen@iki.fi \
    --cc=freemangordon@abv.bg \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=pali.rohar@gmail.com \
    --cc=sre@ring0.de \
    --cc=tony@atomide.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;
as well as URLs for NNTP newsgroup(s).