[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [BUG] Xen build for RCAR failing



Hello Bertrand,

I tried to build Xen on RCAR with the following build configuration.

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "aarch64-poky-linux"
MACHINE           = "salvator-x"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.2"
TUNE_FEATURES     = "aarch64 cortexa57-cortexa53"
TARGET_FPU        = ""
SOC_FAMILY        = "rcar-gen3:r8a7795"
meta              
meta-poky         
meta-yocto-bsp    = "tmp:cca8dd15c8096626052f6d8d25ff1e9a606104a3"
meta-rcar-gen3    = "tmp:95cb48ba09bc7e55fd549817e3e26723409e68d5"
meta-linaro-toolchain 
meta-optee        = "tmp:2f51d38048599d9878f149d6d15539fb97603f8f"
meta-oe           = "tmp:55c8a76da5dc099a7bc3838495c672140cedb78e"
meta-virtualization = "morty:f3643212c2a87a29e2c8066a1a544612d1598de8"
meta-selinux      = "jethro:4c75d9cbcf1d75043c7c5ab315aa383d9b227510"
meta-networking   
meta-python       = "tmp:55c8a76da5dc099a7bc3838495c672140cedb78e"
meta-rcar-gen3-xen = "master:affeba788534a04dd30a21dbbb81a573bd033dfa"

Also enabled the early printk in xen 4.7 and I could able to boot Xen and Dom0.

But I couldn’t enter into the command prompt of Dom0. Attaching the complete 
log for your reference.

I could execute the special keys(0,q,e,R) in xen console. But even after 
enabling hvc0 in Dom0 commandline, am not seeing any logs after a point and I 
couldn’t do any operation on Dom0.

Am I missing something here. Thanks in advance.

Mit freundlichen Grüßen / Best regards

 Chockalingam Manikandan

ES-CM Core fn,ADIT (RBEI/ECF3)
Robert Bosch GmbH | Postfach 10 60 50 | 70049 Stuttgart | GERMANY | 
www.bosch.com
Tel. +91 80 6136-4452 | Fax +91 80 6617-0711 | 
Manikandan.Chockalingam@xxxxxxxxxxxx

Registered Office: Stuttgart, Registration Court: Amtsgericht Stuttgart, HRB 
14000;
Chairman of the Supervisory Board: Franz Fehrenbach; Managing Directors: Dr. 
Volkmar Denner, 
Prof. Dr. Stefan Asenkerschbaumer, Dr. Michael Bolle, Dr. Christian Fischer, 
Dr. Stefan Hartung,
Dr. Markus Heyn, Harald Kröger, Christoph Kübel, Rolf Najork, Uwe Raschke, 
Peter Tyroller

-----Original Message-----
From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx> 
Sent: Wednesday, July 15, 2020 1:14 PM
To: Manikandan Chockalingam (RBEI/ECF3) <Manikandan.Chockalingam@xxxxxxxxxxxx>
Cc: Oleksandr Tyshchenko <olekstysh@xxxxxxxxx>; nd <nd@xxxxxxx>; 
xen-devel@xxxxxxxxxxxxx
Subject: Re: [BUG] Xen build for RCAR failing

Hi Manikandan,

> On 15 Jul 2020, at 08:47, Manikandan Chockalingam (RBEI/ECF3) 
> <Manikandan.Chockalingam@xxxxxxxxxxxx> wrote:
> 
> Hello Oleksandr Tyshchenko,
> Thanks for your quick response. With Xen stable 4.13 branch, the mentioned 
> issue is solved.
>  
> Is there any document which I could refer to bring up Xen[DOM0] and 
> have an hands on ? because am currently seeing no output after this
>  
> (XEN) *** Serial input to DOM0 (type 'CTRL-a' three times to switch 
> input)
> (XEN) Freed 324kB init memory.
> (XEN) *** Serial input to Xen (type 'CTRL-a' three times to switch 
> input)
>  
> Attaching the complete logs for reference.

Your DOM0 is probably trying to use the wrong console.
You should add “console=hvc0” to your Dom0 linux command line (and remove any 
other console= argument)

Regards
Bertrand

>  
> Mit freundlichen Grüßen / Best regards
> 
> Chockalingam Manikandan
> 
> ES-CM Core fn,ADIT (RBEI/ECF3)
> Robert Bosch GmbH | Postfach 10 60 50 | 70049 Stuttgart | GERMANY | 
> http://www.bosch.com/ Tel. +91 80 6136-4452 | Fax +91 80 6617-0711 | 
> Manikandan.Chockalingam@xxxxxxxxxxxx
> 
> Registered Office: Stuttgart, Registration Court: Amtsgericht 
> Stuttgart, HRB 14000; Chairman of the Supervisory Board: Franz 
> Fehrenbach; Managing Directors: Dr. Volkmar Denner, Prof. Dr. Stefan 
> Asenkerschbaumer, Dr. Michael Bolle, Dr. Christian Fischer, Dr. Stefan 
> Hartung, Dr. Markus Heyn, Harald Kröger, Christoph Kübel, Rolf Najork, 
> Uwe Raschke, Peter Tyroller ​
> From: Oleksandr Tyshchenko <olekstysh@xxxxxxxxx>
> Sent: Wednesday, July 15, 2020 1:00 AM
> To: Manikandan Chockalingam (RBEI/ECF3) 
> <Manikandan.Chockalingam@xxxxxxxxxxxx>
> Cc: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>; nd <nd@xxxxxxx>; 
> xen-devel@xxxxxxxxxxxxx
> Subject: Re: [BUG] Xen build for RCAR failing
>  
> Hello
>  
> [Sorry for the possible format issues]
>  
> On Tue, Jul 14, 2020 at 4:44 PM Manikandan Chockalingam (RBEI/ECF3) 
> <Manikandan.Chockalingam@xxxxxxxxxxxx> wrote:
> Hello Bertrand,
> 
> I succeeded in building the core minimal image with dunfell and its 
> compatible branches [except xen-troops (modified some files to complete the 
> build)].
> 
> But I face the following error while booting.
> 
> (XEN) ****************************************
> (XEN) Panic on CPU 0:
> (XEN) Timer: Unable to retrieve IRQ 0 from the device tree
> (XEN) ****************************************
>  
>  
> The reason for that problem *might* be in the arch timer node in your device 
> tree which contains "interrupts-extended" property instead of just 
> "interrupts". As far as I remember Xen v4.12 doesn't have required support to 
> handle "interrupts-extended".
> It went in a bit later [1]. If this is the real reason, I think you should 
> either switch to the new Xen version or modify your arch timer node in a way 
> to use the "interrupts" property [2]. I would suggest using the new Xen 
> version if possible (at least v4.13).
>  
> [1] 
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> s.xenproject.org%2Farchives%2Fhtml%2Fxen-devel%2F2019-05%2Fmsg01775.ht
> ml&amp;data=02%7C01%7CManikandan.Chockalingam%40in.bosch.com%7C0ba1432
> c984b48dafbef08d82892eb44%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7
> C637303959344391585&amp;sdata=eGr0jg8ZE6fEZV4M4v57n2sv76d2M9F9k%2F%2Be
> uJBXMwc%3D&amp;reserved=0 [2] 
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> ub.com%2Fotyshchenko1%2Flinux%2Fcommit%2Fc25044845f2c3678f5df789881e7a
> 125556af6fc&amp;data=02%7C01%7CManikandan.Chockalingam%40in.bosch.com%
> 7C0ba1432c984b48dafbef08d82892eb44%7C0ae51e1907c84e4bbb6d648ee58410f4%
> 7C0%7C0%7C637303959344391585&amp;sdata=9kD7NODEpcd%2BtuoVdcAMgPD%2Bnoy
> gp9NC5fRBsgnTmU8%3D&amp;reserved=0
>  
> --
> Regards,
>  
> Oleksandr Tyshchenko
> <built-u-boot-xen-bootup-error_4.13.txt>

Attachment: xen_with_jethro_morty_xen_spl_keys_log.txt
Description: xen_with_jethro_morty_xen_spl_keys_log.txt


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.