Skip to contentSkip to conversation

socfpga_cyclone5.h: fix kernel console argument in default environment

PATCH New Anatolij Gustschin 2 participants 2 messages Nov 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 socfpga_cyclone5.h: fix kernel console argument in default environment

With fresh environment the kernel gets wrong console argument and boots without console output. Fix it.

---
 include/configs/socfpga_cyclone5.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/socfpga_cyclone5.h +1 -1
index 942738c..c3d958c 100644
@@ -42,7 +42,7 @@
 /* Booting Linux */
 #define CONFIG_BOOTDELAY	3
 #define CONFIG_BOOTFILE		"zImage"
-#define CONFIG_BOOTARGS		"console=ttyS0" __stringify(CONFIG_BAUDRATE)
+#define CONFIG_BOOTARGS		"console=ttyS0," __stringify(CONFIG_BAUDRATE)
 #ifdef CONFIG_SOCFPGA_VIRTUAL_TARGET
 #define CONFIG_BOOTCOMMAND	"run ramboot"
 #else
Signature · 1 line
1.7.9.5
Applied
#1 lore raw

PATCH 1/1 socfpga_cyclone5.h: fix kernel console argument in default environment

Quoted 9 lines · Anatolij Gustschin

With fresh environment the kernel gets wrong console argument and boots without console output. Fix it.

---

Applied, thanks!

Best regards,
Marek Vasut