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

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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

All 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.

---
 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
#1 lore raw

Hi Eric,

Quoted 2 lines · Eric Nelson

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

Actually that isn't true any more, our latest boards use UART1 (tymxc0):
https://github.com/Freescale/meta-freescale-3rdparty/blob/master/conf/machine/nitrogen7.conf#L39
https://github.com/Freescale/meta-freescale-3rdparty/blob/master/conf/machine/nitrogen6sx.conf#L39

But I'm not against this patch, I would just reword to "most Boundary Devices platforms".

Regards,
Gary