summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2016-04-22 11:24:37 +0200
committerAndrei Gherzan <andrei@gherzan.ro>2016-04-22 16:39:52 +0200
commit37c236672446dd76795dc3dd15b301e7d34f5f6b (patch)
treeee59bef7be83e0662f94a2805dad871c9e43b56b
parent4a2cefab666e792d63bcaa51df7243c02d8c9957 (diff)
downloadmeta-raspberrypi-37c236672446dd76795dc3dd15b301e7d34f5f6b.tar.gz
linux-raspberrypi: Set baudrate and use serial0 for kgdboc
The driver for 8250 defaults to 9600. We setup it on 115200 to be consistent with getty configuration. The firmware can do its magic with kgdboc too as it searches and replaces =serial0 and =serial1. So, use serial0 for kgdboc too. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-rw-r--r--recipes-kernel/linux/linux-raspberrypi.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index eccbbc6..4799c74 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -20,10 +20,10 @@ KERNEL_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig"
20KERNEL_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig" 20KERNEL_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig"
21 21
22# CMDLINE for raspberrypi 22# CMDLINE for raspberrypi
23CMDLINE = "dwc_otg.lpm_enable=0 console=serial0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" 23CMDLINE = "dwc_otg.lpm_enable=0 console=serial0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
24 24
25# Add the kernel debugger over console kernel command line option if enabled 25# Add the kernel debugger over console kernel command line option if enabled
26CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=ttyAMA0,115200", "", d)}' 26CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=serial0,115200", "", d)}'
27 27
28UDEV_GE_141 ?= "1" 28UDEV_GE_141 ?= "1"
29 29