From mboxrd@z Thu Jan 1 00:00:00 1970 From: takahiro.akashi at linaro.org Date: Thu, 22 Oct 2020 18:49:34 +0900 Subject: [PATCH 1/4] serial: serial_xen: print U-Boot banner and others In-Reply-To: <2d6fa531ad0c63418223f2a97b427614ed7b4b9e.camel@epam.com> References: <20201015042516.41197-1-takahiro.akashi@linaro.org> <20201015042516.41197-2-takahiro.akashi@linaro.org> <2d6fa531ad0c63418223f2a97b427614ed7b4b9e.camel@epam.com> Message-ID: <20201022094934.GA101173@laputa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Oct 22, 2020 at 09:18:02AM +0000, Anastasiia Lukianenko wrote: > Hi, > > On Thu, 2020-10-15 at 13:25 +0900, AKASHI Takahiro wrote: > > At present, DM_FLAG_PRE_RELOC is set only if !OF_CONTROL. > > It doesn't make sense for this para-virtualized driver. > > > > With this patch applied, you will be able to see early boot messages: > > > > U-Boot 2020.10-00001-ge442e71a6c52-dirty (Oct 15 2020 - 11:02:25 > > +0900) > > xenguest > > > > Xen virtual CPU > > Model: XENVM-4.15 > > DRAM: 128 MiB > > PVBLOCK: > > (XEN) gnttab_mark_dirty not implemented yet > > pvblock: 0 > > In: hypervisor > > Out: hypervisor > > Err: hypervisor > > xenguest# > > > > Signed-off-by: AKASHI Takahiro > > --- > > drivers/serial/serial_xen.c | 2 -- > > 1 file changed, 2 deletions(-) > > > > diff --git a/drivers/serial/serial_xen.c > > b/drivers/serial/serial_xen.c > > index ba6504b94796..ed191829f059 100644 > > --- a/drivers/serial/serial_xen.c > > +++ b/drivers/serial/serial_xen.c > > @@ -175,8 +175,6 @@ U_BOOT_DRIVER(serial_xen) = { > > .priv_auto_alloc_size = sizeof(struct xen_uart_priv), > > .probe = xen_serial_probe, > > .ops = &xen_serial_ops, > > -#if !CONFIG_IS_ENABLED(OF_CONTROL) > > .flags = DM_FLAG_PRE_RELOC, > > -#endif > > }; > > > > I applied this patch and unfortunately on ARM there were no logs. I > think this series should be improved a little. I will check. Please tell me - the board that you're using - the version of Xen (and .config) Thanks, -Takahiro Akashi > Regards, > Anastasiia