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

[Xen-devel] unable to boot XEN on J6 EVM



Hello

 

I am a new to XEN and am trying to boot it on J6 EVM.

 

Followed many different sources of information, and finally found the closest kin to my current board ..

http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/OMAP5432_uEVM

 

I have U-Boot, both Xen and Linux cross compiled using Linaro for arm, and device tree DRA7xx.

 

I cannot see anything beyond triggering to launch Xen Kernel from u-boot.

 

Here is the log:

 

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

 

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

 

 

DRA752 EVM # ls mmc 0:1

    60724   mlo

   256104   u-boot.img

  4911296   uimage

    93417   dra7-evm.dtb

      375   boot.scr

      360   boot.scr.emmc

      244   readme.boot.scr

   754588   xen-uimage

 

8 file(s), 0 dir(s)

 

DRA752 EVM # setenv dtb_addr_r 0x825f0000

DRA752 EVM #

DRA752 EVM # setenv xen_addr_r 0x90000000

DRA752 EVM #

DRA752 EVM # setenv kernel_addr_r 0xa0000000

DRA752 EVM #

DRA752 EVM # setenv xen_bootargs 'dom0_mem=128M sync_console console=dtuart dtuart=serial2 noreboot'

DRA752 EVM #

DRA752 EVM # setenv dom0_bootargs 'console=hvc0 root=/dev/mmcblk0p2 rw rootwait fixrtc'

DRA752 EVM #

DRA752 EVM # fatload mmc 0:1 $dtb_addr_r dra7-evm.dtb

reading dra7-evm.dtb

93417 bytes read in 20 ms (4.5 MiB/s)

DRA752 EVM #

DRA752 EVM # fatload mmc 0:1 $xen_addr_r xen-uImage

reading xen-uImage

754588 bytes read in 137 ms (5.3 MiB/s)

DRA752 EVM #

DRA752 EVM # fatload mmc 0:1 $kernel_addr_r uImage

reading uImage

4911296 bytes read in 858 ms (5.5 MiB/s)

DRA752 EVM #

DRA752 EVM # setenv fdt_high 0x84000000

DRA752 EVM #

DRA752 EVM # fdt addr $dtb_addr_r

DRA752 EVM #

DRA752 EVM # fdt resize

DRA752 EVM #

DRA752 EVM # fdt set /chosen '#address-cells' <1>

DRA752 EVM #

DRA752 EVM # fdt set /chosen '#size-cells' <1>

DRA752 EVM #

DRA752 EVM # fdt set /chosen xen,xen-bootargs \"$xen_bootargs\"

DRA752 EVM #

DRA752 EVM # fdt resize

DRA752 EVM #

DRA752 EVM # fdt set /chosen xen,dom0-bootargs \"$dom0_bootargs\"

DRA752 EVM #

DRA752 EVM # fdt mknode /chosen module@0

DRA752 EVM #

DRA752 EVM # fdt set /chosen/module@0 compatible xen,linux-zimage xen,multiboot-module

DRA752 EVM #

DRA752 EVM # fdt set /chosen/module@0 reg <$kernel_addr_r 0x4b0000>

DRA752 EVM #

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 # printenv

arch=arm

baudrate=115200

board=dra7xx

board_name=dra7xx

bootcmd=run findfdt; run mmcboot;setenv mmcdev 1; setenv bootpart 1:2; run mmcboot;

bootdelay=3

bootdir=/boot

bootfile=zImage

bootpart=0:2

bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}

console=ttyO2,115200n8

cpu=armv7

dom0_bootargs=console=hvc0 root=/dev/mmcblk0p2 rw rootwait fixrtc

dtb_addr_r=0x825f0000

eth1addr=7c:66:9d:f1:bf:07

ethact=cpsw

ethaddr=7c:66:9d:f1:bf:06

fdt_high=0x84000000

fdtaddr=825f0000

filesize=4af0c0

findfdt=if test $board_name = omap5_uevm; then setenv fdtfile omap5-uevm.dtb; fi;

importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}

kernel_addr_r=0xa0000000

loadaddr=0x82000000

loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt

loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr

loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile};

loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}

mmcargs=setenv bootargs console=${console} ${optargs} vram=${vram} root=${mmcroot} rootfstype=${mmcrootfstype}

mmcboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript;

then run bootscript; else if run loadbootenv; then run importbootenv; fi;

if test -n ${uenvcmd}; then echo Running uenvcmd ...;run uenvcmd;fi;fi;

if run loadimage; then run loadfdt; run mmcargs; bootz ${loadaddr} - ${fdtaddr};fi; fi;

mmcdev=0

mmcroot=/dev/mmcblk0p2 rw

mmcrootfstype=ext4 rootwait

soc=omap5

usbtty=cdc_acm

vendor=ti

vram=16M

xen_addr_r=0x90000000

xen_bootargs=dom0_mem=128M sync_console console=dtuart dtuart=serial2 noreboot

 

Environment size: 1720/131068 bytes

 

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 ...

 

 

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

 

I can give you specific information, once you have an idea of what I am doing is not a grave mistake.

 

Thanks

Naveen

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®.