How to split bootargs in more than one line

Hi all,

During video play using a FS with Froyo and DSP, I am observing kernel
crashes that seems to be due to v4l2 buffer allocation so I am trying
the extra bootarg suggestion explained in:
http://code.google.com/p/rowboat/wiki/DSP#Boot

The problem is that my new bootargs do not fit in a single line so I
am trying to divide it in two lines. These are the bootargs I am
using:

setenv firstargs 'setenv bootargs mem=88M@0x80000000
mem=128M@0x88000000 androidboot.console=ttyS2 console=tty0
console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw init=/init rootwait
omapdss.def_disp=dvi omapfb.mode=dvi:1280x720MR-16@60'

setenv secondargs 'setenv bootargs $(bootargs)
omap_vout.vid1_static_vrfb_alloc=y omap_vout.video1_numbuffers=3
omap_vout.video2_numbuffers=0 omap_vout.video1_bufsize=1843200'

setenv bootcmd 'mmc init; fatload mmc 0 84000000 uImage; run firstargs
secondargs; bootm 84000000'

When I try to boot, the booting hangs and only the following lines get
printed:
OMAP3 beagleboard.org # boot
mmc1 is available
reading uImage

2452556 bytes read
## Booting kernel from Legacy Image at 84000000 ...
   Image Name: Linux-2.6.32
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 2452492 Bytes = 2.3 MB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing
Linux..........................................................................................................................................................
done, booting the kernel.

Can you please help me with this issue?

BTW, the U-Boot I am using is the one in http://rowboat.googlecode.com/files/u-boot.beagle.bin

Thanks in advanced,
Juan Garibay

u-boot is configured to use the dash parser. With dash enabled, there
is a difference between $(val) and ${val}. Try switching $(bootargs) to
${bootargs} and see if that helps.

Also, I'm not sure if the variable replacement will occur with the env
value placed within single quotes. You might have to remove the single
quotes around the value for secondargs.