[oe-commits] Jason Wessel : syslinux.bbclass: Fix default serial port string
git at git.openembedded.org
git at git.openembedded.org
Fri Nov 1 17:49:56 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: fbc864241933c6f40814f47e7a85dd71ce255393
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=fbc864241933c6f40814f47e7a85dd71ce255393
Author: Jason Wessel <jason.wessel at windriver.com>
Date: Tue Oct 29 22:04:32 2013 -0500
syslinux.bbclass: Fix default serial port string
The default value of SYSLINUX_SERIAL_TTY is not correct.
It should be console=ttyS0,115200 else the boot string generated in
the syslinux menus for the serial choice is not correct. The kernel
boot parameters will get set to:
/vmlinuz initrd=/initrd LABEL=boot root=/dev/ram0 ttyS0,115200
Note that the above is missing the "console="
The default value will now work the same as the value found in
grub-efi.bbclass.
Signed-off-by: Jason Wessel <jason.wessel at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/classes/syslinux.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass
index 944bd92..2a5b766 100644
--- a/meta/classes/syslinux.bbclass
+++ b/meta/classes/syslinux.bbclass
@@ -27,7 +27,7 @@ SYSLINUXDIR = "/"
# a console=...some_tty...
SYSLINUX_DEFAULT_CONSOLE ?= ""
SYSLINUX_SERIAL ?= "0 115200"
-SYSLINUX_SERIAL_TTY ?= "ttyS0,115200"
+SYSLINUX_SERIAL_TTY ?= "console=ttyS0,115200"
ISO_BOOTIMG = "isolinux/isolinux.bin"
ISO_BOOTCAT = "isolinux/boot.cat"
MKISOFS_OPTIONS = "-no-emul-boot -boot-load-size 4 -boot-info-table"
More information about the Openembedded-commits
mailing list