Comment 8 for bug 1026780

Revision history for this message
Dave Jones (waveform) wrote :

Just going through the ancient bugs in flash-kernel and this is another one I'm *fairly* sure was fixed at some point in the history (although I'm unsure when). Anyway, the supported mechanism for injecting parameters into the kernel cmdline via flash-kernel is to edit the LINUX_KERNEL_CMDLINE or LINUX_KERNEL_CMDLINE_DEFAULTS parameters in /etc/default/flash-kernel.

During its run flash-kernel *should* incorporate anything specified in these variables into the kernel command line, typically by substituting these values into the u-boot script prior to running mkimage.

There are a few cases where this *doesn't* happen, but they're largely limited to those cases not using u-boot (the "Method: pi" case I added is one such example, although there the kernel command line is a trivially editable text file on the boot partition and I didn't want people being surprised by their customization being overwritten so it was a deliberate choice). Alternatively, there are some u-boot scripts in f-k that don't contain the necessary substitution points.

Given this bug hasn't seen any activity for 8 years, and I'm fairly sure it's fixed I'll set this to "Fix Released" but please set it back to "New" if this is still an issue for you (and the aforementioned variables in /etc/default/flash-kernel don't work in your case)!