Loading hypervisor examples on P4080PCIe board.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Loading hypervisor examples on P4080PCIe board.

834 Views
traviswheatley
Contributor II

I have recently purchased a P4080PCIe board for a project. Ultimately I will need to be able to run multiple OSs in an AMP environment, but first I need to be able to get a basic hypervisor example running. Unfortunately, I am having difficulty locating any documentation or tutorials regarding the details of how to load and run the hypervisor example code bundled in the BSP.

I did find a "Building and Deploying the Embedded Hypervisor" page in the information center. In short it says to


hypervisor image: 0xe8700000

hardware device tree: 0xe8800000

hypervisor configuration tree: 0xe8900000

Then: setenv bootargs config-addr=0xe8900000 followed by booth e8700000 - e8800000

So... I'm using the hv.uImage file as my hypervisor image, the uImage-p4080n710.dtb file as my hardware device tree, and the R_RRRSS_0x16/hv-1p-lnx.dtb as my hypervisor configuration tree. When I boot I get the following:

=> bootm e8700000 - e8800000                                                   

WARNING: adjusting available memory to 30000000                                

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

   Image Name:                                                                 

   Created:      2013-06-17  15:20:45 UTC                                      

   Image Type:   PowerPC Linux Kernel Image (uncompressed)                     

   Data Size:    442648 Bytes = 432.3 KiB                                      

   Load Address: 00000000                                                      

   Entry Point:  00000000                                                      

   Verifying Checksum ... OK                                                   

## Flattened Device Tree blob at e8800000                                      

   Booting using the fdt blob at 0xe8800000                                    

   Loading Kernel Image ... OK                                                 

OK                                                                             

   Loading Device Tree to 00ff3000, end 00fff0d0 ... OK                        

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

[0] Freescale Hypervisor 1.0-001                                               

[0] Hypervisor command line: config-addr=0xe8900000                            

[0] panic: fdt too large: 4294967294 bytes 

So... am I using the wrong image or device tree, and if so, which ones should I be using?

Is there a "loading the example hypervisor code for dummies" document out there?


Labels (1)
0 Kudos
1 Reply

440 Views
lunminliang
NXP Employee
NXP Employee
0 Kudos