Re: n900: kernel cmdline from bootloader in DT mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 26 November 2014 16:22:00 Pavel Machek wrote:
> 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

Yes, I have:

CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
CONFIG_CMDLINE="...."
CONFIG_CMDLINE_FROM_BOOTLOADER=y

-- 
Pali Rohár
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux