AnsweredAssumed Answered

Could not load the image on P4080DS Hypervisor

Question asked by Peter Zheng on Mar 15, 2015
Latest reply on Mar 23, 2015 by Peter Zheng

Hi,

 

I was trying to create 8 partition by editing the hv.dts file. But currently after boot up into Hypervisor, it shows the error of "Could not load the image". As shown below,

 

[0] =======================================                                    
[0] Freescale Hypervisor 1.3-009                                               
[0] Hypervisor command line: config-addr=0xfe8900000 console=ttyS0,115200      
[0] malloc_init: using 14100 KiB at 0x7f130150 - 0x7fef4fff                    
[0] malloc_init: using 1060 KiB at 0x7fef6000 - 0x7fffefff                     
[0] dt_read_aliases: Alias pci1 points to non-existent /pcie@ffe201000         
[0] read_pma: phys-mem-area lnx1_pma is not a power of two                     
[6] read_pma: phys-mem-area lnx7_pma is not a power of two                     
[3] read_pma: phys-mem-area lnx4_pma is not a power of two                     
[7] read_pma: phys-mem-area lnx8_pma is not a power of two                     
[1] read_pma: phys-mem-area lnx2_pma is not a power of two                     
[2] read_pma: phys-mem-area lnx3_pma is not a power of two                     
[0] read_pma: phys-mem-area lnx1_pma is not a power of two                     
[5] read_pma: phys-mem-area lnx6_pma is not a power of two                     
[4] read_pma: phys-mem-area lnx5_pma is not a power of two                     
[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
[1] get_rpn: mem-range has unmapped guest address at 0x0.                      
[1] get_rpn: mem-range has unmapped guest address at 0x0.                      
[1] get_rpn: mem-range has unmapped guest address at 0x0.                      
[1] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] hv_pamu_config_liodn: liodn 146 or device in use                           
[0] configure_liodn: config of liodn failed (rc=-259)                          
[0] hv_pamu_config_liodn: liodn 146 or device in use                           
[0] configure_liodn: config of liodn failed (rc=-259)                          
[0] hv_pamu_config_liodn: liodn 146 or device in use                           
[0] configure_liodn: config of liodn failed (rc=-259)                          
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] get_rpn: mem-range has unmapped guest address at 0x0.                      
[0] Loading uImage from 0xfe9300000 to 0x1300000                               
[2] Loading uImage from 0xfe9300000 to 0x1300000                               
[3] Loading uImage from 0xfe9300000 to 0x1300000                               
[1] Loading uImage from 0xfe9300000 to 0x1300000                               
[2] copy_phys_to_gphys: cannot map dest 1300000, 0 bytes                       
[5] Loading uImage from 0xfe9300000 to 0x1300000                               
[2] load_uimage: cannot copy                                                   
[1] copy_phys_to_gphys: cannot map dest 1300000, 0 bytes                       
[3] copy_phys_to_gphys: cannot map dest 1300000, 0 bytes                       
[5] copy_phys_to_gphys: cannot map dest 1300000, 0 bytes                       
[6] Loading uImage from 0xfe9300000 to 0x1300000                               
[1] load_uimage: cannot copy                                                   
[3] load_uimage: cannot copy                                                   
[4] Loading uImage from 0xfe9300000 to 0x1300000                               
[6] copy_phys_to_gphys: cannot map dest 1300000, 0 bytes                       
[0] copy_phys_to_gphys: cannot map dest 1300000, 0 bytes                       
[3] guest p4-linux: could not load image                                       
[5] load_uimage: cannot copy                                                   
[7] Loading uImage from 0xfe9300000 to 0x1300000                               
[1] guest p2-linux: could not load image                                       
[2] guest p3-linux: could not load image                                       
[4] copy_phys_to_gphys: cannot map dest 1300000, 0 bytes                       
[6] load_uimage: cannot copy                                                   
[0] load_uimage: cannot copy                                                   
[3] loading binary image from 0xfe8020000 to 0                                 
[5] guest p6-linux: could not load image                                       
[6] guest p7-linux: could not load image                                       
[1] loading binary image from 0xfe8020000 to 0                                 
[7] copy_phys_to_gphys: cannot map dest 1300000, 0 bytes                       
[0] guest p1-linux: could not load image                                       
[3] copy_phys_to_gphys: cannot map dest 0, 0 bytes                             
[2] loading binary image from 0xfe8020000 to 0                                 
[1] copy_phys_to_gphys: cannot map dest 0, 0 bytes                             
[3] guest p4-linux: could not load image                                       
[6] loading binary image from 0xfe8020000 to 0                                 
[7] load_uimage: cannot copy                                                   
[4] load_uimage: cannot copy                                                   
[7] guest p8-linux: could not load image                                       
[1] guest p2-linux: could not load image                                       
[2] copy_phys_to_gphys: cannot map dest 0, 0 bytes                             
[4] guest p5-linux: could not load image                                       
[5] loading binary image from 0xfe8020000 to 0                                 
[6] copy_phys_to_gphys: cannot map dest 0, 0 bytes                             
[0] loading binary image from 0xfe8020000 to 0                                 
[2] guest p3-linux: could not load image                                       
[5] copy_phys_to_gphys: cannot map dest 0, 0 bytes                             
[0] copy_phys_to_gphys: cannot map dest 0, 0 bytes                             
[5] guest p6-linux: could not load image                                       
[4] loading binary image from 0xfe8020000 to 0                                 
[6] guest p7-linux: could not load image                                       
[4] copy_phys_to_gphys: cannot map dest 0, 0 bytes                             
[7] loading binary image from 0xfe8020000 to 0                                 
[0] guest p1-linux: could not load image                                       
[7] copy_phys_to_gphys: cannot map dest 0, 0 bytes                             
[4] guest p5-linux: could not load image                                       
[7] guest p8-linux: could not load image                                       
HV>                                                                            


I was following this document Section 4.2.1.6. Hypervisor Deployment

http://cache.freescale.com/files/soft_dev_tools/doc/support_info/QorIQ-SDK-1.6-IC-RevB.pdf


Here are the command I used, are they correct?


.2.1.6 Hypervisor Deployment


4.2.1.6.1 Introduction


At the U-Boot prompt, set the environment:

=>setenv bootargs config-addr=0xfe8900000 console=ttyS0,115200

=>setenv bootcmd 'bootm 0xfe8700000 - 0xfe8800000'

=>saveenv


4.2.1.6.2

switch to bank 4(assume alt bank)

1. Program kernel to flashtftp 1000000 /tftpboot/p4080ds/u-boot-P4080DS-2014.01+fslgit-r0.bin


=>tftp 1000000 /tftpboot/p4080ds/uImage

=>erase e8020000 +$filesize

=>cp.b 1000000 e8020000 $filesize


2. Program ramdisk filesystem to Flash


=>tftp 1000000 /tftpboot/p4080ds/fsl-image-core-p4080ds.tar.gz

=>erase e9300000 +$filesize

=>cp.b 1000000 e9300000 $filesize


3. Program Hypervisor image to Flash

=>tftp 1000000 /tftpboot/p4080ds/hv/hv.uImage

=>erase e8700000 +$filesize

=>cp.b 1000000 e8700000 $filesize


4. Program Kernel dtb to flash

=>tftp 1000000 /tftpboot/yocto/boot/p4080ds-usdpaa.dtb

=>erase e8800000 +$filesize

=>cp.b 1000000 e8800000 $filesize


5. Program HV dtb to Flash

=>tftp 1000000 /tftpboot/p4080ds/hv-cfg/R_PPSXX_0xe/hv-2p-lnx-lnx.dtb

=>erase e8900000 +$filesize

=>cp.b 1000000 e8900000 $filesize


6. Booting up DS board

=>boot

 

 

Is there anything I did wrong? Did I transfer the wrong file?

 

Thanks,

 

Peter

Outcomes