[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] XEN on R-CAR H3
On 05.03.19 20:10, Amit Tomer wrote: Hi,Have you tried to enable early_prink?Yes, this is how we compiled it. make dist-xen XEN_TARGET_ARCH=arm64 debug=y CROSS_COMPILE=aarch64-linux-gnu- CONFIG_EARLY_PRINTK_salvator=scif,0xe6e88000 -j16 No, "CONFIG_EARLY_PRINTK_salvator=scif,0xe6e88000" is incorrect,it should be "CONFIG_EARLY_PRINTK=scif,0xe6e88000". Probably, this is why you didn't see anything in console. I have just tried to build (with early_printk support) and run that old Xen branch to see it booting. ------------------------------------------------- Starting kernel ... - UART enabled - - CPU 00000000 booting - - Current EL 00000008 - - Xen starting at EL2 - - Zero BSS - - Setting up control registers - - Turning on paging - - Ready - (XEN) Checking for initrd in /chosen (XEN) Initrd 0000000076000040-0000000077a230f7 (XEN) RAM: 0000000048000000 - 00000000bfffffff (XEN) RAM: 0000000500000000 - 000000057fffffff (XEN) RAM: 0000000600000000 - 000000067fffffff (XEN) RAM: 0000000700000000 - 000000077fffffff (XEN) (XEN) MODULE[0]: 0000000048000000 - 0000000048014080 Device Tree (XEN) MODULE[1]: 0000000076000040 - 0000000077a230f7 Ramdisk (XEN) MODULE[2]: 000000007a000000 - 000000007c000000 Kernel (XEN) MODULE[3]: 000000007c000000 - 000000007c010000 XSM (XEN) RESVD[0]: 0000000048000000 - 0000000048014000 (XEN) RESVD[1]: 0000000076000040 - 0000000077a230f7 (XEN)(XEN) Command line: dom0_mem=256M console=dtuart dtuart=serial0 dom0_max_vcpus=4 bootscrub=0 loglvl=all (XEN) Placing Xen at 0x000000077fe00000-0x0000000780000000(XEN) Update BOOTMOD_XEN from 0000000078080000-00000000781b2d81 => 000000077fe00000-000000077ff32d81 (XEN) Domain heap initialised (XEN) Booting using Device Tree (XEN) Platform: Generic System (XEN) Looking for dtuart at "serial0", options "" (XEN) Unable to initialize dtuart: -9 (XEN) Bad console= option 'dtuart' *Xen 4.9.1-pre*(XEN) Xen version 4.9.1-pre (otyshchenko@) (aarch64-poky-linux-gcc (GCC) 7.3.0) debug=y Tue Mar 5 20:57:55 EET 2019 (XEN) Latest ChangeSet: Mon May 8 13:45:21 2017 +0300 git:a438317-dirty (XEN) Processor: 411fd073: "ARM Limited", variant: 0x1, part 0xd07, rev 0x3 (XEN) 64-bit Execution: (XEN) Processor Features: 0000000000002222 0000000000000000 (XEN) Exception Levels: EL3:64+32 EL2:64+32 EL1:64+32 EL0:64+32 (XEN) Extensions: FloatingPoint AdvancedSIMD (XEN) Debug Features: 0000000010305106 0000000000000000 (XEN) Auxiliary Features: 0000000000000000 0000000000000000 (XEN) Memory Model Features: 0000000000001124 0000000000000000 (XEN) ISA Features: 0000000000011120 0000000000000000 (XEN) 32-bit Execution: (XEN) Processor Features: 00000131:00011011 (XEN) Instruction Sets: AArch32 A32 Thumb Thumb-2 Jazelle (XEN) Extensions: GenericTimer Security (XEN) Debug Features: 03010066 (XEN) Auxiliary Features: 00000000 (XEN) Memory Model Features: 10201105 40000000 01260000 02102211 (XEN) ISA Features: 02101110 13112111 21232042 01112131 00011142 00011121 (XEN) Using PSCI-1.0 for SMP bringup (XEN) SMP: Allowing 8 CPUs (XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 8333 KHz (XEN) GICv2 initialization: (XEN) gic_dist_addr=00000000f1010000 (XEN) gic_cpu_addr=00000000f1020000 (XEN) gic_hyp_addr=00000000f1040000 (XEN) gic_vcpu_addr=00000000f1060000 (XEN) gic_maintenance_irq=25 (XEN) GICv2: Adjusting CPU interface base to 0xf102f000 (XEN) GICv2: 512 lines, 8 cpus, secure (IID 0200043b). (XEN) XSM Framework v1.0.0 initialized (XEN) xsm: Policy len = 0x0000000000010000 start at 0x000000007c000000 (XEN) Flask: 128 avtab hash slots, 280 rules. (XEN) Flask: 128 avtab hash slots, 280 rules. (XEN) Flask: 4 users, 3 roles, 38 types, 2 bools (XEN) Flask: 12 classes, 280 rules (XEN) Flask: Starting in enforcing mode. (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Allocated console ring of 64 KiB. (XEN) Bringing up CPU1 - CPU 00000001 booting - - Current EL 00000008 - - Xen starting at EL2 - - Setting up control registers - - Turning on paging - - Ready - (XEN) CPU 1 booted. (XEN) Bringing up CPU2 - CPU 00000002 booting - - Current EL 00000008 - - Xen starting at EL2 - - Setting up control registers - - Turning on paging - - Ready - (XEN) CPU 2 booted. (XEN) Bringing up CPU3 - CPU 00000003 booting - - Current EL 00000008 - - Xen starting at EL2 - - Setting up control registers - - Turning on paging - - Ready - (XEN) CPU 3 booted. (XEN) Bringing up CPU4 - CPU 00000100 booting - - Current EL 00000008 - - Xen starting at EL2 - - Setting up control registers - - Turning on paging - - Ready - (XEN) CPU 4 booted. (XEN) Bringing up CPU5 - CPU 00000101 booting - - Current EL 00000008 - - Xen starting at EL2 - - Setting up control registers - - Turning on paging - - Ready - (XEN) CPU 5 booted. (XEN) Bringing up CPU6 - CPU 00000102 booting - - Current EL 00000008 - - Xen starting at EL2 - - Setting up control registers - - Turning on paging - - Ready - (XEN) CPU 6 booted. (XEN) Bringing up CPU7 - CPU 00000103 booting - - Current EL 00000008 - - Xen starting at EL2 - - Setting up control registers - - Turning on paging - - Ready - (XEN) CPU 7 booted. (XEN) Brought up 8 CPUs (XEN) P2M: 40-bit IPA with 40-bit PA and 8-bit VMID (XEN) P2M: 3 levels with order-1 root, VTCR 0x80023558 (XEN) ipmmu: /soc/mmu@e67b0000: registered root IPMMU(XEN) ipmmu: /soc/mmu@e67b0000: disable sharing P2M table between the CPU and IPMMU (XEN) ipmmu: /soc/mmu@febd0000: registered cache IPMMU (XEN) ipmmu: /soc/mmu@febd0000: found master device /soc/video@e6ef0000 (XEN) ipmmu: /soc/mmu@febd0000: found master device /soc/video@e6ef1000 (XEN) ipmmu: /soc/mmu@febd0000: found master device /soc/video@e6ef2000 (XEN) ipmmu: /soc/mmu@febd0000: found master device /soc/video@e6ef3000 (XEN) ipmmu: /soc/mmu@febd0000: found master device /soc/fcp@fea27000 (XEN) ipmmu: /soc/mmu@febd0000: found master device /soc/fcp@fea2f000 (XEN) ipmmu: /soc/mmu@febe0000: registered cache IPMMU (XEN) ipmmu: /soc/mmu@febe0000: found master device /soc/video@e6ef4000 (XEN) ipmmu: /soc/mmu@febe0000: found master device /soc/video@e6ef5000 (XEN) ipmmu: /soc/mmu@febe0000: found master device /soc/video@e6ef6000 (XEN) ipmmu: /soc/mmu@febe0000: found master device /soc/video@e6ef7000 (XEN) ipmmu: /soc/mmu@febe0000: found master device /soc/fcp@fea37000 (XEN) ipmmu: /soc/mmu@febe0000: found master device /soc/hdmi@fead0000 (XEN) ipmmu: /soc/mmu@febe0000: found master device /soc/hdmi@feae0000 (XEN) ipmmu: /soc/mmu@fe990000: registered cache IPMMU (XEN) ipmmu: /soc/mmu@fe990000: found master device /soc/vspm@fe960000 (XEN) ipmmu: /soc/mmu@fe990000: found master device /soc/vspm@fe9a0000 (XEN) ipmmu: /soc/mmu@fe990000: found master device /soc/fdpm@fe940000 (XEN) ipmmu: /soc/mmu@fe980000: registered cache IPMMU (XEN) ipmmu: /soc/mmu@fe980000: found master device /soc/vspm@fe920000 (XEN) ipmmu: /soc/mmu@fe980000: found master device /soc/vspm@fe9b0000 (XEN) ipmmu: /soc/mmu@fe980000: found master device /soc/fdpm@fe944000 (XEN) ipmmu: /soc/mmu@fe6b0000: registered cache IPMMU (XEN) ipmmu: /soc/mmu@fe6b0000: found master device /soc/imr-lx4@fe880000 (XEN) ipmmu: /soc/mmu@fe6b0000: found master device /soc/imr-lx4@fe890000 (XEN) ipmmu: /soc/mmu@fe6b0000: found master device /soc/vcp4@fe90f000 (XEN) ipmmu: /soc/mmu@fe6f0000: registered cache IPMMU (XEN) ipmmu: /soc/mmu@fe6f0000: found master device /soc/imr-lx4@fe860000 (XEN) ipmmu: /soc/mmu@fe6f0000: found master device /soc/imr-lx4@fe870000 (XEN) ipmmu: /soc/mmu@fd800000: registered cache IPMMU (XEN) ipmmu: /soc/mmu@fd800000: found master device /soc/gsx_domd (XEN) ipmmu: /soc/mmu@fd800000: found master device /soc/gsx_domu (XEN) ipmmu: /soc/mmu@fd950000: registered cache IPMMU (XEN) ipmmu: /soc/mmu@fd960000: registered cache IPMMU (XEN) ipmmu: /soc/mmu@fd970000: registered cache IPMMU (XEN) ipmmu: /soc/mmu@e6570000: registered cache IPMMU (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/usb@ee000000 (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/usb@ee020000(XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/dma-controller@e65a0000 (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/dma-controller@e65b0000 (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/dma-controller@e6460000 (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/dma-controller@e6470000 (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/usb@ee080100 (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/usb@ee0a0100 (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/usb@ee0c0100 (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/usb@ee0e0100 (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/usb@ee080000 (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/usb@ee0a0000 (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/usb@ee0c0000 (XEN) ipmmu: /soc/mmu@e6570000: found master device /soc/usb@ee0e0000 (XEN) ipmmu: /soc/mmu@ec670000: registered cache IPMMU(XEN) ipmmu: /soc/mmu@ec670000: found master device /soc/dma-controller@ec700000 (XEN) ipmmu: /soc/mmu@ec670000: found master device /soc/dma-controller@ec720000 (XEN) ipmmu: /soc/mmu@e6740000: registered cache IPMMU(XEN) ipmmu: /soc/mmu@e6740000: found master device /soc/dma-controller@e6700000 (XEN) ipmmu: /soc/mmu@e6740000: found master device /soc/ethernet@e6800000 (XEN) ipmmu: /soc/mmu@e7740000: registered cache IPMMU(XEN) ipmmu: /soc/mmu@e7740000: found master device /soc/dma-controller@e7300000 (XEN) ipmmu: /soc/mmu@e7740000: found master device /soc/dma-controller@e7310000 (XEN) ipmmu: /soc/mmu@e7740000: found master device /soc/sd@ee100000 (XEN) ipmmu: /soc/mmu@e7740000: found master device /soc/sd@ee140000 (XEN) ipmmu: /soc/mmu@e7740000: found master device /soc/sd@ee160000 (XEN) I/O virtualisation enabled (XEN) - Dom0 mode: Relaxed (XEN) Interrupt remapping enabled (XEN) build-id: f7bd09bf8c9d60ec9bf6c5e138e4fa374b4e8419(XEN) alternatives: Patching with alt table 0000000040111540 -> 0000000040111930 (XEN) ipmmu: /soc/mmu@e67b0000: d0: Set IPMMU context 0 (pgd 0x77fddf000) (XEN) *** LOADING DOMAIN 0 *** (XEN) Loading kernel from boot module @ 000000007a000000 (XEN) Loading ramdisk from boot module @ 0000000076000040 (XEN) Allocating 1:1 mappings totalling 256MB for dom0: (XEN) BANK[0] 0x00000050000000-0x00000060000000 (256MB) (XEN) Grant table range: 0x0000077fe00000-0x0000077fe7a000(XEN) Loading zImage from 000000007a000000 to 0000000050080000-0000000052080000 (XEN) Loading dom0 initrd from 0000000076000040 to 0x0000000058200000-0x0000000059c230b7 (XEN) Allocating PPI 16 for event channel interrupt (XEN) Loading dom0 DTB to 0x0000000058000000-0x000000005801143d (XEN) Std. Loglevel: All (XEN) Guest Loglevel: All(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) (XEN) Freed 292kB init memory. ------------------------------------------------- As for build without early_printk support...I should have mentioned about enabling CONFIG_HAS_SCIF option in a cover letter (in order to have full UART support). Sorry for that. Recent Xen already enables it by default [1] [1] https://patchwork.kernel.org/patch/9848913/ AFAIR, I tested that branch (ipmmu_v2) before submitting RFC patch series [1] and it was functional. But, I don't quite remember what the BSP version (U-Boot/ARM-TF) I had based on.Ok. Thanks -Amit -- Regards, Oleksandr Tyshchenko _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |