From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [At91Bootstrap3] Overriding dtb chosen arguments for kernel command line
Date: Fri, 23 Mar 2018 21:17:35 +0100 [thread overview]
Message-ID: <20180323211735.32c114db@windsurf> (raw)
In-Reply-To: <CAHnuF30hwkJAypbz6hLiGq=oVmZ2aYH0Yu6Vpp89xG69rNgXTQ@mail.gmail.com>
Hello,
On Fri, 23 Mar 2018 16:15:32 -0300, Alejandro Ariel Fachini wrote:
> I have been using at91bootstrap3 to directly load kernel, using dtb on
> sam9x35ek, this kernel is mounting UBI RFS file.
> Wel i need to mount another file JFFS2 and i want to change parameters in
> Kernel Command Line.
> I treid from inside at91bootstrap3-v3.8.6 terminal using make menuconfig
> and selecting override kernel comand line but got error.
> Also tried manually changing arguments in linux menu config and still get
> the arguments inside DTB.
> How can i do this? Thank you very much.
> Note: I am not using U-Boot, using U-Boot is working ok.
Do you have CONFIG_ARM_ATAG_DTB_COMPAT enabled in your kernel
configuration ?
I suppose when you boot with U-Boot, U-Boot patches the DTB before
passing it to the kernel.
However, I don't think at91bootstrap3 patches the DTB, it probably just
passes an old style ATAGS, which the kernel will only pick up if
CONFIG_ARM_ATAG_DTB_COMPAT=y.
Note: this is just an hypothesis, I haven't actually checked the
at91bootstrap3 code.
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2018-03-23 20:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-23 19:15 [Buildroot] [At91Bootstrap3] Overriding dtb chosen arguments for kernel command line Alejandro Ariel Fachini
2018-03-23 20:17 ` Thomas Petazzoni [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=20180323211735.32c114db@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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