All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Failed to launch xen on J6 evm
@ 2015-03-11 19:38 Korupol, Naveen (EXT)
  2015-03-11 19:46 ` M A Young
  2015-03-12  9:38 ` Ian Campbell
  0 siblings, 2 replies; 13+ messages in thread
From: Korupol, Naveen (EXT) @ 2015-03-11 19:38 UTC (permalink / raw)
  To: Ian Campbell, Korupol, Naveen (EXT)
  Cc: xen-devel@lists.xenproject.org, M A Young

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

\x01
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@ext.us.panasonic.com. The old address will be available until September 15, 2015.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Failed to launch xen on J6 evm
@ 2015-03-06 20:03 Korupol, Naveen (EXT)
  2015-03-09  9:54 ` Ian Campbell
  0 siblings, 1 reply; 13+ messages in thread
From: Korupol, Naveen (EXT) @ 2015-03-06 20:03 UTC (permalink / raw)
  To: xen-devel@lists.xenproject.org


[-- Attachment #1.1: Type: text/plain, Size: 2629 bytes --]

Hi

I am using J6 evm.

Tried to launch xen and it fails after reporting starting kernel.
I tried to change the load addresses and
played with couple different u-boots and file system images...but still on square 1.

I would like to know if this is a known issue with J6 EVM and
If there are any probable fixes/hints for bringing up XEN on J6 evm.

Here is the boot log where it hangs...

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

U-Boot SPL 2013.04 (Sep 24 2014 - 00:00:28)
DRA752 ES1.1
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2013.04 (Sep 24 2014 - 00:00:28)

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

In:    serial
Out:   serial
Err:   serial
Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot:  0

..
..
setenv dtb_addr_r 0x825f0000
setenv xen_addr_r 0x90000000
setenv kernel_addr_r 0xa0000000
..
..

fatload mmc 0:1 $dtb_addr_r dra7-evm.dtb
fatload mmc 0:1 $xen_addr_r xenuImage
..
..

DRA752 EVM # fdt print /chosen
chosen {
        xen,dom0-bootargs = "console=hvc0 root=/dev/mmcblk0p2 rw rootwait fixrtc";
        xen,xen-bootargs = "dom0_mem=128M sync_console console=dtuart dtuart=serial2 noreboot";
        #size-cells = <0x00000001>;
        #address-cells = <0x00000001>;
        module@0 {
                reg = <0xa0000000 0x004b0000>;
                compatible = "xen,linux-zimage", "xen,multiboot-module";
        };
};


DRA752 EVM # bootm $xen_addr_r - $dtb_addr_r
## Booting kernel from Legacy Image at 90000000 ...
   Image Name:   Xen.Trial.12
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    754524 Bytes = 736.8 KiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 825f0000
   Booting using the fdt blob at 0x825f0000
   Loading Kernel Image ... OK
OK
   reserving fdt memory region: addr=825f0000 size=17000
   Loading Device Tree to 83fe6000, end 83ffffff ... OK

Starting kernel ...

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Thanks
Naveen Korupol

Panasonic Automotive Systems Company of America
Panasonic Corporation of North America
37101 Corporate Drive,
Farmington Hills, MI 48331

T 248.324.6737
F 248.324.6893
korupoln@us.panasonic.com<mailto:korupoln@us.panasonic.com>





Please note my new email address Naveen.Korupol@ext.us.panasonic.com. The old address will be available until September 15, 2015.

[-- Attachment #1.2: Type: text/html, Size: 10137 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-04-15 22:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-11 19:38 Failed to launch xen on J6 evm Korupol, Naveen (EXT)
2015-03-11 19:46 ` M A Young
2015-03-12  9:38 ` Ian Campbell
2015-03-12 14:01   ` Korupol, Naveen (EXT)
2015-04-15 22:21     ` Korupol, Naveen (EXT)
  -- strict thread matches above, loose matches on Subject: below --
2015-03-06 20:03 Korupol, Naveen (EXT)
2015-03-09  9:54 ` Ian Campbell
2015-03-09 16:51   ` Korupol, Naveen (EXT)
2015-03-09 17:07     ` Ian Campbell
2015-03-10  8:24     ` M A Young
2015-03-10 20:42       ` Korupol, Naveen (EXT)
2015-03-10 20:52       ` Korupol, Naveen (EXT)
2015-03-11  9:40         ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.