public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] omap5_common: Add optargs variable for kernel command line args
@ 2013-04-11 15:22 Tom Rini
  2013-04-15  7:10 ` Sricharan R
  2013-04-29 20:21 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 4+ messages in thread
From: Tom Rini @ 2013-04-11 15:22 UTC (permalink / raw)
  To: u-boot

Add 'optargs' variable to be set to additional kernel arguments, similar
to omap3*/am3* usage.

Cc: Sricharan R <r.sricharan@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/omap5_common.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/omap5_common.h b/include/configs/omap5_common.h
index 2751627..5384a55 100644
--- a/include/configs/omap5_common.h
+++ b/include/configs/omap5_common.h
@@ -150,10 +150,12 @@
 	"usbtty=cdc_acm\0" \
 	"vram=16M\0" \
 	"partitions=" PARTS_DEFAULT "\0" \
+	"optargs=\0" \
 	"mmcdev=0\0" \
 	"mmcroot=/dev/mmcblk0p2 rw\0" \
 	"mmcrootfstype=ext3 rootwait\0" \
 	"mmcargs=setenv bootargs console=${console} " \
+		"${optargs} " \
 		"vram=${vram} " \
 		"root=${mmcroot} " \
 		"rootfstype=${mmcrootfstype}\0" \
-- 
1.7.9.5

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

* [U-Boot] [PATCH] omap5_common: Add optargs variable for kernel command line args
  2013-04-11 15:22 [U-Boot] [PATCH] omap5_common: Add optargs variable for kernel command line args Tom Rini
@ 2013-04-15  7:10 ` Sricharan R
  2013-04-15 12:14   ` Tom Rini
  2013-04-29 20:21 ` [U-Boot] " Tom Rini
  1 sibling, 1 reply; 4+ messages in thread
From: Sricharan R @ 2013-04-15  7:10 UTC (permalink / raw)
  To: u-boot

On Thursday 11 April 2013 08:52 PM, Tom Rini wrote:
> Add 'optargs' variable to be set to additional kernel arguments, similar
> to omap3*/am3* usage.
> 
> Cc: Sricharan R <r.sricharan@ti.com>
> Signed-off-by: Tom Rini <trini@ti.com>
> ---
>  include/configs/omap5_common.h |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/configs/omap5_common.h b/include/configs/omap5_common.h
> index 2751627..5384a55 100644
> --- a/include/configs/omap5_common.h
> +++ b/include/configs/omap5_common.h
> @@ -150,10 +150,12 @@
>  	"usbtty=cdc_acm\0" \
>  	"vram=16M\0" \
>  	"partitions=" PARTS_DEFAULT "\0" \
> +	"optargs=\0" \
>  	"mmcdev=0\0" \
>  	"mmcroot=/dev/mmcblk0p2 rw\0" \
>  	"mmcrootfstype=ext3 rootwait\0" \
>  	"mmcargs=setenv bootargs console=${console} " \
> +		"${optargs} " \
 Sorry, what is this used for ?

Regards,
 Sricharan

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

* [U-Boot] [PATCH] omap5_common: Add optargs variable for kernel command line args
  2013-04-15  7:10 ` Sricharan R
@ 2013-04-15 12:14   ` Tom Rini
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2013-04-15 12:14 UTC (permalink / raw)
  To: u-boot

On Mon, Apr 15, 2013 at 12:40:19PM +0530, Sricharan R wrote:

> On Thursday 11 April 2013 08:52 PM, Tom Rini wrote:
> > Add 'optargs' variable to be set to additional kernel arguments, similar
> > to omap3*/am3* usage.
> > 
> > Cc: Sricharan R <r.sricharan@ti.com>
> > Signed-off-by: Tom Rini <trini@ti.com>
> > ---
> >  include/configs/omap5_common.h |    2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/include/configs/omap5_common.h b/include/configs/omap5_common.h
> > index 2751627..5384a55 100644
> > --- a/include/configs/omap5_common.h
> > +++ b/include/configs/omap5_common.h
> > @@ -150,10 +150,12 @@
> >  	"usbtty=cdc_acm\0" \
> >  	"vram=16M\0" \
> >  	"partitions=" PARTS_DEFAULT "\0" \
> > +	"optargs=\0" \
> >  	"mmcdev=0\0" \
> >  	"mmcroot=/dev/mmcblk0p2 rw\0" \
> >  	"mmcrootfstype=ext3 rootwait\0" \
> >  	"mmcargs=setenv bootargs console=${console} " \
> > +		"${optargs} " \
>  Sorry, what is this used for ?

The common form is you set this in uEnv.txt to whatever you happen to
need (say force the display to be some resolution) and not have to
re-write the whole of mmcargs.  Or other times you want to pass in
additional args, without modifying the rest of the boot logic.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130415/5b626201/attachment.pgp>

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

* [U-Boot] omap5_common: Add optargs variable for kernel command line args
  2013-04-11 15:22 [U-Boot] [PATCH] omap5_common: Add optargs variable for kernel command line args Tom Rini
  2013-04-15  7:10 ` Sricharan R
@ 2013-04-29 20:21 ` Tom Rini
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2013-04-29 20:21 UTC (permalink / raw)
  To: u-boot

On Thu, Apr 11, 2013 at 05:22:10AM -0000, Tom Rini wrote:

> Add 'optargs' variable to be set to additional kernel arguments, similar
> to omap3*/am3* usage.
> 
> Cc: Sricharan R <r.sricharan@ti.com>
> Signed-off-by: Tom Rini <trini@ti.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130429/b02d51c1/attachment.pgp>

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

end of thread, other threads:[~2013-04-29 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-11 15:22 [U-Boot] [PATCH] omap5_common: Add optargs variable for kernel command line args Tom Rini
2013-04-15  7:10 ` Sricharan R
2013-04-15 12:14   ` Tom Rini
2013-04-29 20:21 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox