Skip to contentSkip to conversation

linux-boundary: change kernel command line defaults (console, initrd)

PATCH Superseded Eric Nelson 2 participants 2 messages Aug 20, 2017 – Aug 21, 2017

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 linux-boundary: change kernel command line defaults (console, initrd)

Most boards from Boundary Devices default to using UART2 (ttymxc1) as their console. Update the default kernel command line to match.

Also remove the 'noinitrd' flag which has little practical use.

Note that these changes only change the default kernel command line and are normally overridden by U-Boot through ATAGS.

---
V2 changes the commit message to say **Most** boards from Boundary.

 recipes-kernel/linux/linux-boundary-4.1.15/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-boundary-4.1.15/defconfig +1 -1
index 9bcbd5d..b335f52 100644
@@ -42,7 +42,7 @@ CONFIG_KSM=y
 CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
 CONFIG_CMA=y
 CONFIG_SECCOMP=y
-CONFIG_CMDLINE="noinitrd console=ttymxc0,115200"
+CONFIG_CMDLINE="console=ttymxc1,115200"
 CONFIG_CPU_FREQ=y
 CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y
 CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
Signature · 1 line
2.7.4
Reviewed-by on v2 1/1
#1 lore raw

Hi Eric,

Quoted 9 lines · Eric Nelson

Most boards from Boundary Devices default to using UART2 (ttymxc1) as their console. Update the default kernel command line to match.

Also remove the 'noinitrd' flag which has little practical use.

Note that these changes only change the default kernel command line and are normally overridden by U-Boot through ATAGS.

Regards,
Gary