mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
xen, raspberrypi: bugfix early boot messages: use earlycon=xenboot
Replaces the prior use of earlyprintk which is an x86-specific option. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
b34307e2f4
commit
681591b5b8
|
@ -14,7 +14,7 @@ echo Add boot arguments for Xen
|
|||
fdt set /chosen xen,xen-bootargs "console=dtuart dtuart=/soc/serial@7e215040 dom0_mem='@@RPI_DOM0_MEM@@' @@RPI_DEBUG_XEN_ARGS@@"
|
||||
|
||||
echo Add boot arguments for dom0
|
||||
setenv dom0_bootargs "console=hvc0 earlyprintk=xen debug root=/dev/mmcblk0p2 rootwait"
|
||||
setenv dom0_bootargs "console=hvc0 earlycon=xenboot debug root=/dev/mmcblk0p2 rootwait"
|
||||
fdt set /chosen xen,dom0-bootargs \"${dom0_bootargs}\"
|
||||
|
||||
echo Add a dom0 node to chosen to put Linux boot information in
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# For a Xen-enabled distro, override the contents of cmdline.txt
|
||||
|
||||
DEFAULT_CMDLINE := "${CMDLINE}"
|
||||
XEN_LINUX_CMDLINE ?= "console=hvc0 clk_ignore_unused earlyprintk=xen debug root=/dev/mmcblk0p2 rootwait"
|
||||
XEN_LINUX_CMDLINE ?= "console=hvc0 clk_ignore_unused earlycon=xenboot debug root=/dev/mmcblk0p2 rootwait"
|
||||
CMDLINE = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', '${XEN_LINUX_CMDLINE}', '${DEFAULT_CMDLINE}', d)}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user