diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2013-10-29 22:04:32 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-01 11:09:03 +0000 |
commit | a7ba2f942270619f017479491c58439e2b40ce3e (patch) | |
tree | d5dec1cc56818a06c4a33091354ebd1024722878 | |
parent | 523f2a9ea970713fb775bc48f84b67420b1106a0 (diff) | |
download | poky-a7ba2f942270619f017479491c58439e2b40ce3e.tar.gz |
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.
(From OE-Core rev: fbc864241933c6f40814f47e7a85dd71ce255393)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | 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 944bd92da2..2a5b7660bc 100644 --- a/meta/classes/syslinux.bbclass +++ b/meta/classes/syslinux.bbclass | |||
@@ -27,7 +27,7 @@ SYSLINUXDIR = "/" | |||
27 | # a console=...some_tty... | 27 | # a console=...some_tty... |
28 | SYSLINUX_DEFAULT_CONSOLE ?= "" | 28 | SYSLINUX_DEFAULT_CONSOLE ?= "" |
29 | SYSLINUX_SERIAL ?= "0 115200" | 29 | SYSLINUX_SERIAL ?= "0 115200" |
30 | SYSLINUX_SERIAL_TTY ?= "ttyS0,115200" | 30 | SYSLINUX_SERIAL_TTY ?= "console=ttyS0,115200" |
31 | ISO_BOOTIMG = "isolinux/isolinux.bin" | 31 | ISO_BOOTIMG = "isolinux/isolinux.bin" |
32 | ISO_BOOTCAT = "isolinux/boot.cat" | 32 | ISO_BOOTCAT = "isolinux/boot.cat" |
33 | MKISOFS_OPTIONS = "-no-emul-boot -boot-load-size 4 -boot-info-table" | 33 | MKISOFS_OPTIONS = "-no-emul-boot -boot-load-size 4 -boot-info-table" |