[U-Boot-Users] [PATCH] limit length of kernel command line in bootm

Murray.Jensen at csiro.au Murray.Jensen at csiro.au
Thu Jun 30 10:18:35 CEST 2005


This patch limits the length of the command line that the bootm command will
pass to the kernel. Note that as it stands, it uses CFG_BARGSIZE which must
be <= the size of the command line array used in the kernel (most boards have
this set to CFG_CBSIZE, which in turn is usually 256 - which is usually ok).
I use 1024 for both, and have a kernel patch which increases the command line
aray to 1024. Cheers!
								Murray...
--
Murray Jensen, CSIRO Manufacturing & Infra. Tech.      Phone: +61 3 9662 7763
Locked Bag No. 9, Preston, Vic, 3072, Australia.         Fax: +61 3 9662 7853
Internet: Murray.Jensen at csiro.au

To the extent permitted by law, CSIRO does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained or
that the communication is free of errors, virus, interception or interference.

The information contained in this e-mail may be confidential or privileged.
Any unauthorised use or disclosure is prohibited. If you have received this
e-mail in error, please delete it immediately and notify Murray Jensen on
+61 3 9662 7763. Thank you.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 699 bytes
Desc: limit-bootargs-len.patch
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050630/cdd9b7d6/attachment.bin 


More information about the U-Boot mailing list