Hi Basil,


On 28 April 2014 12:07, Basil Eljuse <Basil.Eljuse@arm.com> wrote:

Hi Ryan,

 

I was trying to rerun some tests at my end via LAVA on armv8 FVPs using 14.04 hwpack.

 

What I see is that LAVA fails prematurely stating that

 

Traceback (most recent call last):

   File "/srv/lava/.cache/git-cache/exports/lava-dispatcher/2014.03-17-g9381215/lava_dispatcher/actions/boot_control.py", line 105, in run

     client.boot_linaro_image()

   File "/srv/lava/.cache/git-cache/exports/lava-dispatcher/2014.03-17-g9381215/lava_dispatcher/client/base.py", line 508, in boot_linaro_image

     self._boot_linaro_image()

   File "/srv/lava/.cache/git-cache/exports/lava-dispatcher/2014.03-17-g9381215/lava_dispatcher/client/base.py", line 481, in _boot_linaro_image

     self.proc = self.target_device.power_on()

   File "/srv/lava/.cache/git-cache/exports/lava-dispatcher/2014.03-17-g9381215/lava_dispatcher/device/fastmodel.py", line 325, in power_on

     self._check_needed_files()

   File "/srv/lava/.cache/git-cache/exports/lava-dispatcher/2014.03-17-g9381215/lava_dispatcher/device/fastmodel.py", line 188, in _check_needed_files

     self.config.simulator_bl1)

 RuntimeError: No SECURE FLASHLOADER found, u'bl1.bin'

 

 

Looking at the 14.04 hwpack I see that now there are 2 sets of bl* images there one for FVPs and another for Juno.

 

 

LAVA default config has

 

simulator_bl1 = bl1.bin

simulator_bl2 = [bB][lL]2.*.bin

simulator_bl3 = [bB][lL]31.*.bin

simulator_uefi = uefi_fvp-base.bin

 

fastmodel.py

# SECURE FLASHLOADERs are needed only for base and cortex models

if self._bl1 is None and self.config.simulator_bl1:

         raise RuntimeError('No SECURE FLASHLOADER found, %r' %

                                            self.config.simulator_bl1)

 

 

 

which I guess gets ‘checked’ by lava whether the needed files present and results in a runtime failure.

 

With the latest hardware packs, can you please confirm how does the bl images get unpacked?

 

Are they in some new folder structure because of platform variants are present?


Due to confusion over the changes to TF, the experience isn't as smooth as I'd hoped.

In the disk image, they will be both in the boot partition and in the fvp sub-dir.  They are also now prefixed with "fvp_".  Hence why the instructions have the extra step to "ln -s fvp_bl1.bin bl1.bin", etc... or fvp_bl1.bin will not be able to load bl2.bin or bl31.bin via semihosting.  In future, they should only be in the fvp sub-dir.

We are still using the old TF for FVP.  14.05 should get the latest version available now on github, assuming it passes my tests properly.  Then we will also have the fvp_fip.bin file and semihosting will not be used at all.



 

Please advice.

 

For the moment I could not get LAVA to work with the latest hardware pack contents due to this issue.

 

Thanks

Basil Eljuse…

 

 

 


-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782