Hi Manikandan,

> On 19 Aug 2020, at 15:00, Manikandan Chockalingam (RBEI/ECF3) 
> <manikandan.chockalin...@in.bosch.com> wrote:
> 
> 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.

Xen is booting properly here and the kernel hvc0 console is also working ([    
0.346199] console [hvc0] enabled)

It seems that all your cores are ending up in idle in Linux (all ELR are at the 
same address).

So you probably have a problem mounting a root filesystem or you network is not 
coming up.
An other solution would be that you linux is missing the hvc0 console entry in 
inittab.

I would suggest to try the following:
- pass console=ttySC1 which is probably the second serial line of your board 
and connect to it to see if linux goes further
- use an sdcard based or usb based root filesystem instead of NFS
- add rootwait option

But all in all Xen works well and you now have a linux boot issue probably not 
related to xen.

Regards
Bertrand

PS: You might want to switch to xen-user mailing list instead of xen-devel :-)

Reply via email to