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

Re: [BUG] Xen build for RCAR failing


  • To: "Manikandan Chockalingam (RBEI/ECF3)" <Manikandan.Chockalingam@xxxxxxxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Wed, 19 Aug 2020 14:32:18 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P6clOcgGEaM7TUlRRS0NheEzK8kd2cFP3DdfJ0zCQQ8=; b=EGG30QdUf3kYdHrE54JX+HcB5eIXFPdDshZa4VQsYKlItTez+6P2lUgbq5b6K+YUbKU1DUdraS4allhul7qcb6D+vDULRd3OoKd+GcLq26WV5UbJeorAODhQq8Iu9XHCUTiXNUOLgTShdKpe6aD0c4CZQR10EkL7c/w4CqwWFuOZf8C6T8SsZ7Wx8sf60izVWMiyYVUQ9uJnkjPDb+WILhB3MDWYpcjxV19RrYl2DZKOTG/adB3VFzOsBk4AltCHMUKTjeXwxThiQi4K3AX5twKjzMjjf8flGG7LSr7b5ZGBZ+NdRiBLtiyK1IUn/c/9IBHYU6qK4Hw/tZZHr+i7DQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G6ckUmAR+7ueIvtMcILHvZaT5L1D/6xmD1w11kvAK8ygG7G2wDMkkAEyxwU6sk5wb1Du76Q9G1MXvyjSEp+4GXQU62DrcIdBERGeZkwJKf8K6arHSGf6c5uLM3bEZdnypml/2nfYmQtFg/8Am9KTrbGdLyN6GQQAlBgj7hs7uphFSNGmenv/5NiBmSnBbBlZp3kCnn2k6rqe1+dPt5jtVu1ovA4ytTxav1o78xwBhmht/5Zkjwg//HUSanvJXWB/XiTxgTk1FYiHKDYATHpeg3kYNms/SHId9QYqGkC9RUVg69xR4es8jq8B/dLNUqm90e2/umeiptJaKF76QPzkaQ==
  • Authentication-results-original: in.bosch.com; dkim=none (message not signed) header.d=none; in.bosch.com; dmarc=none action=none header.from=arm.com;
  • Cc: Oleksandr Tyshchenko <olekstysh@xxxxxxxxx>, nd <nd@xxxxxxx>, "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 19 Aug 2020 14:32:41 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: in.bosch.com; dkim=none (message not signed) header.d=none; in.bosch.com; dmarc=none action=none header.from=arm.com;
  • Thread-index: AdZUKc5JeR7gPpESR52uLkZK1kYwOwAEsnEAAAD8OlAAAEBtgAABZtcgAANXdAAAh1iJgADaJ12wAA6tYIAAF6P1gAAB/qoABu1UhQAAAR01AA==
  • Thread-topic: [BUG] Xen build for RCAR failing

Hi Manikandan,

> On 19 Aug 2020, at 15:00, Manikandan Chockalingam (RBEI/ECF3) 
> <Manikandan.Chockalingam@xxxxxxxxxxxx> 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 :-)

 


Rackspace

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