All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Need help with "CONFIG_CMDLINE" or setting up serial console.
       [not found]               ` <CANK3ZEeRTwNokPC8WS1VXiViQqmt6=Dpo3f_-_metsKQM3AjFg@mail.gmail.com>
@ 2017-08-24  1:43                 ` Aseem Sharma
  2017-08-24 17:24                   ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Aseem Sharma @ 2017-08-24  1:43 UTC (permalink / raw)
  To: buildroot

Hello,

I have created rootfs and zImage for "arm926t" using the long term support
release of buildroot. However I am having trouble knowing if it is working
as I do not see any messages on the screen.

How do I setup serial console on my device? I am not able to find the usual
"CONFIG_CMDLINE" option in menuconfig to be able to set kernel command line.

It will be really helpful if you can help me with the procedure/workaround
to be able to give command line parameter to the kernel. Or any other means
to redirect the output to ttyS0.

Thanks & Regards,
Aseem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170824/28ab8cc8/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Need help with "CONFIG_CMDLINE" or setting up serial console.
  2017-08-24  1:43                 ` [Buildroot] Need help with "CONFIG_CMDLINE" or setting up serial console Aseem Sharma
@ 2017-08-24 17:24                   ` Thomas Petazzoni
  2017-08-25  6:50                     ` Aseem Sharma
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2017-08-24 17:24 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 24 Aug 2017 07:13:55 +0530, Aseem Sharma wrote:

> I have created rootfs and zImage for "arm926t" using the long term support
> release of buildroot. However I am having trouble knowing if it is working
> as I do not see any messages on the screen.
> 
> How do I setup serial console on my device? I am not able to find the usual
> "CONFIG_CMDLINE" option in menuconfig to be able to set kernel command line.

CONFIG_CMDLINE is a Linux kernel option, not a Buildroot option.

In Buildroot, "make menuconfig" shows you the Buildroot options (which
architecture to use, which packages to build, which filesystem image to
generate, which kernel version and configuration to use, etc.)

If you want to access the Linux kernel configuration in the context of
Buildroot, you need to do "make linux-menuconfig". This is all
explained in the Buildroot manual, so please have a look at it.

However, using CONFIG_CMDLINE is by far not the easiest way of changing
the kernel command line. Instead, if you're using a decent bootloader,
it for sure provides a way to specify the kernel command line. Under
U-Boot for example, the bootargs variable is used for the kernel
command line value.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Need help with "CONFIG_CMDLINE" or setting up serial console.
  2017-08-24 17:24                   ` Thomas Petazzoni
@ 2017-08-25  6:50                     ` Aseem Sharma
  0 siblings, 0 replies; 3+ messages in thread
From: Aseem Sharma @ 2017-08-25  6:50 UTC (permalink / raw)
  To: buildroot

Thanks Thomas for your inputs and time.

Best Regards,
Aseem

On Thu, Aug 24, 2017 at 10:54 PM, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:

> Hello,
>
> On Thu, 24 Aug 2017 07:13:55 +0530, Aseem Sharma wrote:
>
> > I have created rootfs and zImage for "arm926t" using the long term
> support
> > release of buildroot. However I am having trouble knowing if it is
> working
> > as I do not see any messages on the screen.
> >
> > How do I setup serial console on my device? I am not able to find the
> usual
> > "CONFIG_CMDLINE" option in menuconfig to be able to set kernel command
> line.
>
> CONFIG_CMDLINE is a Linux kernel option, not a Buildroot option.
>
> In Buildroot, "make menuconfig" shows you the Buildroot options (which
> architecture to use, which packages to build, which filesystem image to
> generate, which kernel version and configuration to use, etc.)
>
> If you want to access the Linux kernel configuration in the context of
> Buildroot, you need to do "make linux-menuconfig". This is all
> explained in the Buildroot manual, so please have a look at it.
>
> However, using CONFIG_CMDLINE is by far not the easiest way of changing
> the kernel command line. Instead, if you're using a decent bootloader,
> it for sure provides a way to specify the kernel command line. Under
> U-Boot for example, the bootargs variable is used for the kernel
> command line value.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170825/b63cb6cb/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-25  6:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CANK3ZEcnN1bK_LkiN-WGBcOqeRJhyPWwFjdDvAUQMefRp5QDew@mail.gmail.com>
     [not found] ` <CANK3ZEeshYV1gRVEdJwFv-qJ7FW3bBS3p0Uv64EGgtiqBu=+DQ@mail.gmail.com>
     [not found]   ` <CANK3ZEcxuKgGCJeMxPQG6DytubWuojBieb+ApJiaW3rOrMbWzw@mail.gmail.com>
     [not found]     ` <CANK3ZEfboeXLiyTZs0nR_CnmOp_VOsKdZxfo_0ocUbumEr_kkA@mail.gmail.com>
     [not found]       ` <CANK3ZEdDRfwMSXKHHxKSHbzzxzfr1Z4dgL8eTKZSYHdKgGdjCA@mail.gmail.com>
     [not found]         ` <CANK3ZEcNN4dS1mhsWCPQmc1RaUrVacErJ0eeVG_rEYcoMWER+g@mail.gmail.com>
     [not found]           ` <CANK3ZEe8-g11nW4xsjnO8f1YX7sxOaEiVrvcTNdg3uCudgOQbw@mail.gmail.com>
     [not found]             ` <CANK3ZEfgerodJDfKZr0QOfo1SuSeMFGR+fqthi=u4urN-T7sPQ@mail.gmail.com>
     [not found]               ` <CANK3ZEeRTwNokPC8WS1VXiViQqmt6=Dpo3f_-_metsKQM3AjFg@mail.gmail.com>
2017-08-24  1:43                 ` [Buildroot] Need help with "CONFIG_CMDLINE" or setting up serial console Aseem Sharma
2017-08-24 17:24                   ` Thomas Petazzoni
2017-08-25  6:50                     ` Aseem Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.