AnsweredAssumed Answered

Booting more than 2 partition in Topaz Hypervisor

Question asked by Amit Tomar Employee on Oct 30, 2014
Latest reply on Dec 29, 2015 by Scott Wood

I'm trying to boot more than two Linux partition with Topaz and for the same added following into HV.dts file

 

Part3 {

 

                      compatible = "partition";

                      label = "p3-linux";

                      cpus = <23 1>;

                      guest-image = <0 0x78020000 0 0 0  0x700000>;

                      linux-rootfs = <0 0x79300000 0  0 0x01300000 0 0x02800000>;

                      dtb-window = <0 0x01000000 0 0x20000>;

 

                     no-dma-disable;

                     direct-guest-tlb-miss;

                     direct-guest-tlb-management;

 

                  gpma0 {

                          compatible = "guest-phys-mem-area";

                          phys-mem = <&lnx1_pma>;

                          guest-addr = <0 0>;

                  };

 

                  gpma1 {

                          compatible = "guest-phys-mem-area";

                          phys-mem = <&pma15>;    // Interpartition between Linux1 - Linux2

                          guest-addr = <0 0x80000000>;

                          node-update {

                                  delete-prop = "device_type";

                          };

                  };

 

};

 

Following are the boot logs

 

bootm 0x78700000 - 0x78800000

WARNING: adjusting available memory to 30000000

## Booting kernel from Legacy Image at 78700000 ...

   Image Name:  

   Created:      2014-09-11  15:12:51 UTC

   Image Type:   PowerPC Linux Kernel Image (uncompressed)

   Data Size:    430848 Bytes = 420.8 KiB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 78800000

   Booting using the fdt blob at 0x78800000

   Loading Kernel Image ... OK

OK

   Loading Device Tree to 03fde000, end 03fffc40 ... OK

[0] =======================================

[0] Freescale Hypervisor 1.3-009-dirty

[0] Hypervisor command line: config-addr=0x78900000 console= ttyS0,115200

[0] malloc_init: using 14344 KiB at 0x7f131150 - 0x7ff32fff

[0] malloc_init: using 812 KiB at 0x7ff34000 - 0x7fffefff

[0] dt_read_aliases: Alias pci1 points to non-existent /pcie@ffe250000

[0] assign_callback: device buffer-pool@7 in buffer-pool@7 not found

[0] assign_callback: device buffer-pool@8 in buffer-pool@8 not found

[0] assign_callback: device buffer-pool@9 in buffer-pool@9 not found

[0] assign_callback: device buffer-pool@16 in buffer-pool@16 not found

[0] assign_callback: device buffer-pool@17 in buffer-pool@17 not found

[0] assign_callback: device /fsl,dpaa/ethernet@16 in dpa-ethernet@16 not found

[0] assign_callback: device /fsl,dpaa/dpa-fman0-oh@1 in dpa-fman0-oh@1 not found

HV>                                                                                                                                  

[23] load_image: guest p3-linux: image #1 should specify a non-zero length

[22] Loading uImage from 0x79300000 to 0x1300000

[23] Loading uImage from 0x79300000 to 0

[23] load_uimage: image size exceeds target window

[23] guest p3-linux: could not load image

[0] Loading uImage from 0x79300000 to 0x1300000

[23] Loading uImage from 0x78020000 to 0

[0] Loading uImage from 0x78020000 to 0

[22] Loading uImage from 0x78020000 to 0

[23] branching to guest p3-linux, 1 cpus

[22] branching to guest p2-linux, 1 cpus

[0] branching to guest p1-linux, 22 cpus

[0] guest p1-linux waiting for cpu 1...

HV> info

Partition   Name        State         Vcpus

-------------------------------------------

1           p1-linux    starting        22

2           p2-linux    running         1

3           p3-linux    running         1

 

Through info command, I can see third Partition is running but how do I make sure that third Partition is running fine as I see message from boot log.

 

[23] guest p3-linux: could not load image.

 

Please let me know is there any limitation on number of partition we can boot up using Topaz(max 24 Partition can be booted up on 24 VCPU's?)

 

PS: Some how I could not use mux servers to make sure that Partition are running well or not.

 

Thanks

Amit.

Outcomes