summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodor Gherzan <theodor@resin.io>2016-04-21 20:42:38 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2016-04-21 22:25:53 +0200
commit3fe96d9212d6c3e5e50b6567cd76891b07531ca7 (patch)
tree4d62c38185e644e8070c3229c014e3f93db1a3a0
parentc57a7295d721e70107e6f70223e54ef02f5a973b (diff)
downloadmeta-raspberrypi-3fe96d9212d6c3e5e50b6567cd76891b07531ca7.tar.gz
linux-raspberrypi: Make use of serial aliases
The firmware will parse cmdline and replace serial aliases with the actual serial console port. Signed-off-by: Theodor Gherzan <theodor@resin.io>
-rw-r--r--recipes-kernel/linux/linux-raspberrypi.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index f8e0c92..eccbbc6 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -20,7 +20,7 @@ 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=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" 23CMDLINE = "dwc_otg.lpm_enable=0 console=serial0 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=ttyAMA0,115200", "", d)}'