[Buildroot] Need help with "CONFIG_CMDLINE" or setting up serial console.

Aseem Sharma aseem.sharma19 at gmail.com
Fri Aug 25 06:50:06 UTC 2017


Thanks Thomas for your inputs and time.

Best Regards,
Aseem

On Thu, Aug 24, 2017 at 10:54 PM, Thomas Petazzoni <
thomas.petazzoni at 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-0002.html>


More information about the buildroot mailing list