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

Re: [Xen-devel] Failed to launch xen on J6 evm



Hi Ian/Team

It finally looks like xen and dom0 are stable, but the cli seems tricky.

I can switch between xen/dom0 but cannot execute xm cmds...

Any idea where I went wrong? Please find the log below - thanks

Regards
Naveen


U-Boot SPL 2015.04-rc1 (Mar 10 2015 - 13:35:08)
DRA752 ES1.1
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2015.04-rc1 (Mar 10 2015 - 13:35:08)

CPU  : DRA752 ES1.1
Board: DRA7xx
I2C:   ready
DRAM:  1.5 GiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

SCSI:  SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
** Unable to read file uEnv.txt **
** File not found /boot/zImage **
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
** Unrecognized filesystem type **
** No partition table - mmc 1 **
U-Boot# setenv dtb_addr_r 0x825f0000
U-Boot#
U-Boot# setenv xen_addr_r 0x90000000
U-Boot#
U-Boot# setenv kernel_addr_r 0xa0000000
U-Boot#
U-Boot# setenv xen_bootargs 'dom0_mem=128M console=dtuart dtuart=serial0 
dom0_max_vcpus=2 bootscrub=0 flask_enforcing=1 noreboot early_printk'
U-Boot#
U-Boot# setenv dom0_bootargs 'console=hvc0 root=/dev/mmcblk0p2 rw rootwait 
fixrtc'
U-Boot#
U-Boot# fatload mmc 0:1 $dtb_addr_r dra7-evm.dtb
reading dra7-evm.dtb
93457 bytes read in 12 ms (7.4 MiB/s)
U-Boot#
U-Boot# fatload mmc 0:1 $xen_addr_r xen-uImage
reading xen-uImage
754588 bytes read in 65 ms (11.1 MiB/s)
U-Boot#
U-Boot# fatload mmc 0:1 $kernel_addr_r uImage
reading uImage
4911296 bytes read in 398 ms (11.8 MiB/s)
U-Boot#
U-Boot# setenv fdt_high 0x84000000
U-Boot#
U-Boot# fdt addr $dtb_addr_r
U-Boot#
U-Boot# fdt resize
U-Boot#
U-Boot# fdt set /chosen '#address-cells' <1>
U-Boot#
U-Boot# fdt set /chosen '#size-cells' <1>
U-Boot#
U-Boot# fdt set /chosen xen,xen-bootargs \"$xen_bootargs\"
U-Boot#
U-Boot# fdt resize
U-Boot#
U-Boot# fdt set /chosen xen,dom0-bootargs \"$dom0_bootargs\"
U-Boot# fdt mknode /chosen module@0
U-Boot#
U-Boot# fdt set /chosen/module@0 compatible xen,linux-zimage 
xen,multiboot-module
U-Boot#
U-Boot# fdt set /chosen/module@0 reg <$kernel_addr_r 0x4b0000>
U-Boot#
U-Boot# fdt print /chosen
chosen {
        xen,dom0-bootargs = "console=hvc0 root=/dev/mmcblk0p2 rw rootwait 
fixrtc";
        xen,xen-bootargs = "dom0_mem=128M console=dtuart dtuart=serial0 
dom0_max_vcpus=2 bootscrub=0 flask_enforcing=1 noreboot early_printk";
        #size-cells = <0x00000001>;
        #address-cells = <0x00000001>;
        module@0 {
                reg = <0xa0000000 0x004b0000>;
                compatible = "xen,linux-zimage", "xen,multiboot-module";
        };
};
U-Boot# bootm $xen_addr_r - $dtb_addr_r
## Booting kernel from Legacy Image at 90000000 ...
   Image Name:   Xen.Trial.16
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    754524 Bytes = 736.8 KiB
   Load Address: 80200000
   Entry Point:  80200000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 825f0000
   Booting using the fdt blob at 0x825f0000
   Loading Kernel Image ... OK
   reserving fdt memory region: addr=825f0000 size=17000
   Loading Device Tree to 83fe6000, end 83ffffff ... OK

Starting kernel ...

 Xen 4.5.0
(XEN) Xen version 4.5.0 (root@) (arm-linux-gnueabihf-gcc (Ubuntu/Linaro 
4.9.1-16ubuntu6) 4.9.1) debug=y Wed Mar 11 12:14:52 PDT 2015
(XEN) Latest ChangeSet:
(XEN) Processor: 412fc0f2: "ARM Limited", variant: 0x2, part 0xc0f, rev 0x2
(XEN) 32-bit Execution:
(XEN)   Processor Features: 00001131:00011011
(XEN)     Instruction Sets: AArch32 A32 Thumb Thumb-2 ThumbEE Jazelle
(XEN)     Extensions: GenericTimer Security
(XEN)   Debug Features: 02010555
(XEN)   Auxiliary Features: 00000000
(XEN)   Memory Model Features: 10201105 20000000 01240000 02102211
(XEN)  ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) Platform: TI DRA7
(XEN) Set AuxCoreBoot1 to 00000000dfe0004c (0020004c)
(XEN) Set AuxCoreBoot0 to 0x20
(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27
(XEN) Using generic timer at 6144 KHz
(XEN) GICv2 initialization:
(XEN)         gic_dist_addr=0000000048211000
(XEN)         gic_cpu_addr=0000000048212000
(XEN)         gic_hyp_addr=0000000048214000
(XEN)         gic_vcpu_addr=0000000048216000
(XEN)         gic_maintenance_irq=25
(XEN) GICv2: 192 lines, 2 cpus, secure (IID 0000043b).
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) I/O virtualisation disabled
(XEN) Allocated console ring of 16 KiB.
(XEN) VFP implementer 0x41 architecture 4 part 0x30 variant 0xf rev 0x0
(XEN) Bringing up CPU1
(XEN) CPU 1 booted.
(XEN) Brought up 2 CPUs
(XEN) P2M: 40-bit IPA
(XEN) P2M: 3 levels with order-1 root, VTCR 0x80003558
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Loading kernel from boot module @ 00000000a0000000
(XEN) Allocating 1:1 mappings totalling 128MB for dom0:
(XEN) BANK[0] 0x000000a8000000-0x000000b0000000 (128MB)
(XEN) Loading zImage from 00000000a0000040 to 00000000afa00000-00000000afeaf080
(XEN) Loading dom0 DTB to 0x00000000af800000-0x00000000af8158dc
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen)
(XEN) Freed 280kB init memory.
(XEN) *** Serial input -> Xen (type 'CTRL-a' three times to switch input to 
DOM0)
(XEN) Physical memory information:
(XEN)     Xen heap: 196108kB free
(XEN)     heap[20]: 1211404kB free
(XEN)     Dom heap: 1211404kB free
(XEN) Physical memory information:
(XEN)     Xen heap: 196108kB free
(XEN)     heap[20]: 1211404kB free
(XEN)     Dom heap: 1211404kB free
(XEN) Physical memory information:
(XEN)     Xen heap: 196108kB free
(XEN)     heap[20]: 1211404kB free
(XEN)     Dom heap: 1211404kB free
(XEN) Physical memory information:
(XEN)     Xen heap: 196108kB free
(XEN)     heap[20]: 1211404kB free
(XEN)     Dom heap: 1211404kB free
(XEN) Physical memory information:
(XEN)     Xen heap: 196108kB free
(XEN)     heap[20]: 1211404kB free
(XEN)     Dom heap: 1211404kB free
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen)
(XEN) *** Serial input -> Xen (type 'CTRL-a' three times to switch input to 
DOM0)
(XEN) Physical memory information:
(XEN)     Xen heap: 196108kB free
(XEN)     heap[20]: 1211404kB free
(XEN)     Dom heap: 1211404kB free

Please note my new email address Naveen.Korupol@xxxxxxxxxxxxxxxxxxxxx The old 
address will be available until September 15, 2015.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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