Skip to contentSkip to conversation

omap5_common: Add optargs variable for kernel command line args

PATCH In review Tom Rini 2 participants 4 messages Apr 11, 2013 – Apr 29, 2013

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 omap5_common: Add optargs variable for kernel command line args

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

---
 include/configs/omap5_common.h |    2 ++
 1 file changed, 2 insertions(+)
include/configs/omap5_common.h +2 -0
index 2751627..5384a55 100644
@@ -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" \
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 omap5_common: Add optargs variable for kernel command line args

Quoted 14 lines · Tom Rini

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

---
 include/configs/omap5_common.h |    2 ++
 1 file changed, 2 insertions(+)
include/configs/omap5_common.h +0 -0
index 2751627..5384a55 100644

include/configs/omap5_common.h line 158

Quoted 9 lines
include/configs/omap5_common.h +2 -0
@@ -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

author
#2 lore raw

PATCH 1/1 omap5_common: Add optargs variable for kernel command line args

Quoted 10 lines · Sricharan R
Quoted 9 lines · Tom Rini

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

---
 include/configs/omap5_common.h |    2 ++
 1 file changed, 2 insertions(+)
Quoted 15 lines
Quoted 5 lines
include/configs/omap5_common.h +0 -0
index 2751627..5384a55 100644

include/configs/omap5_common.h line 158

Quoted 9 lines
include/configs/omap5_common.h +2 -0
@@ -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.

Signature · 8 lines
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>
author
#3 lore raw
In reply to Tom Rini
Quoted 5 lines · Tom Rini

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

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

Signature · 8 lines
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>