mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
c57a7295d7
commit
3fe96d9212
|
@ -20,7 +20,7 @@ KERNEL_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig"
|
||||||
KERNEL_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig"
|
KERNEL_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig"
|
||||||
|
|
||||||
# CMDLINE for raspberrypi
|
# CMDLINE for raspberrypi
|
||||||
CMDLINE = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
|
CMDLINE = "dwc_otg.lpm_enable=0 console=serial0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
|
||||||
|
|
||||||
# Add the kernel debugger over console kernel command line option if enabled
|
# Add the kernel debugger over console kernel command line option if enabled
|
||||||
CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=ttyAMA0,115200", "", d)}'
|
CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=ttyAMA0,115200", "", d)}'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user