Bug#813023: flash-kernel: quoting error with bootargs in generic U-Boot boot script
On Sat, 2016-02-20 at 16:58 +0100, Jérémy Bobbio wrote:
> > Did you ever see an actual problem related to the lack of quoting this
> > bug is about or did you just spot what looked like an error by
> > inspection?
>
> I stumbled on it because I had put in /etc/default/flash-kernel:
>
> LINUX_KERNEL_CMDLINE="$(cat /boot/cmdline.txt)"
>
> (which expands to multiple words) while trying to get U-Boot working on
> the RPi2 as close as possible to Debian generic behavior.
But as discussed/demonstrated earlier in the thread spaces in there
shouldn't cause a problem. What actual problem did you see resulting
from there being spaces here?
Let me assume that your cmdline.txt contains:
foo bar
then the above should result in
LINUX_KERNEL_CMDLINE="foo bar"
and in turn the boot.scr will have:
setenv bootargs ${bootargs} foo bar
So I'm afraid I'm still not clear exactly what issue you are seeing.
Please can you post:
* the contents of your /boot/cmdline.txt
* the contents of the flash kernel db entry you have added for the
RPi2
* the resulting generated boot.scr.
* a full serial console log booting with that boot.scr
Ian.
Reply to: