public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] bootelf and command line arguments
@ 2009-07-18 20:08 Thomas Dörfler
  2009-07-18 20:21 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Dörfler @ 2009-07-18 20:08 UTC (permalink / raw)
  To: u-boot

Hello,

up to now I have worked in private with U-Boot and adapted it to a
user-specific MPC5121e based board. We have worked out how we want to
use U-Boot and soon would like to commit the board specific (and not so
specific) source code changes and additions.

Now we have hit a strange point. the "bootelf" command obviously is
prepared to pass argc/argv to the called program. But in its command
list entry, the number of maximum arguments is limited to 2, which
allows only the command itself and the address of the elf image in
memory to be specified.

I have modified the maxargs field to be CONFIG_SYS_MAXARGS, which works
fine. So my questions are:

- Is there any useful reason why the bootelf command is limited to
maxargs=2?

- Would anybody mind if I commit a patch to change maxargs to
CONFIG_SYS_MAXARGS?

wkr,
Thomas Doerfler.

-- 

--------------------------------------------
Embedded Brains GmbH
Thomas Doerfler        Obere Lagerstrasse 30
D-82178 Puchheim       Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18908079-2
Fax:   +49-89-18908079-9

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

end of thread, other threads:[~2009-07-18 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-18 20:08 [U-Boot] bootelf and command line arguments Thomas Dörfler
2009-07-18 20:21 ` Wolfgang Denk

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