Yeah Image, fdt.dtb, bl*.bin etc are all there in the cwd when the
simulator is started.

tgall@starbird:~/aarch64/FVP/sd-xfce$ ls
bl1.bin
bl2.bin
bl31.bin
crap
fdt.dtb
fvp-base-gicv2legacy-psci.dtb
fvp-base-gicv2-psci.dtb
fvp-base-gicv3-psci.dtb
fvp-foundation-gicv2legacy-psci.dtb
fvp-foundation-gicv2-psci.dtb
fvp-foundation-gicv3-psci.dtb
hwpack_linaro-vexpress64-rtsm_20131215-0654_armhf_supported.tar.gz
hwpack_linaro-vexpress64-rtsm_20131216-560_arm64_supported.tar.gz
Image
img.axf
img-foundation.axf
linaro-image-xfce-genericarmv8-20140115214956.rootfs.tar.gz
sd.img
t
uefi_fvp-base.bin

Guess I'll start anew in a fresh directory and see what happens.


On Thu, Jan 16, 2014 at 6:01 AM, Ryan Harkin <ryan.har...@linaro.org> wrote:
>
>
>
> On 16 January 2014 09:44, Milosz Wasilewski <milosz.wasilew...@linaro.org>
> wrote:
>>
>> On 16 January 2014 02:18, Tom Gall <tom.g...@linaro.org> wrote:
>> > To add. Here's how I'm invoking the model:
>> >
>> > + /home/tgall/aarch64/FVP/models/Linux64_GCC-4.1/FVP_Base_AEMv8A-AEMv8A
>> > -C pctl.startup=0.0.0.0 -C bp.secure_memory=0 -C cluster0.NUM_CORES=4
>> > -C cluster1.NUM_CORES=4 -C cache_state_modelled=0 -C
>> > bp.pl011_uart0.untimed_fifos=1 -C bp.secureflashloader.fname=bl1.bin
>> > -C bp.flashloader0.fname=uefi_fvp-base.bin -C
>> > bp.hostbridge.interfaceName=ARMtgall -C bp.smsc_91c111.enabled=true -C
>> > bp.smsc_91c111.mac_address=00:11:22:33:44:ff -C
>> > bp.virtioblockdevice.image_path=/home/tgall/aarch64/FVP/sd-xfce/sd.img
>> >
>> > Here is the contents of the boot partition in the image:
>> >
>> > tgall@starbird:~/aarch64/FVP/sd-xfce$ sudo mount -o loop,offset=32256
>> > sd.img  ./t
>> > tgall@starbird:~/aarch64/FVP/sd-xfce/t$ ls
>> > bl1.bin                              fvp-foundation-gicv3-psci.dtb
>> > bl2.bin                              Image
>> > bl31.bin                             img.axf
>> > fvp                                  img-foundation.axf
>> > fvp-base-gicv2legacy-psci.dtb        rtsm
>> > fvp-base-gicv2-psci.dtb              uefi_fvp-base.bin
>> > fvp-base-gicv3-psci.dtb              uefi_v2p-ca15-tc1.bin
>> > fvp-foundation-gicv2legacy-psci.dtb  uefi_v2p-ca15-tc2.bin
>> > fvp-foundation-gicv2-psci.dtb        uefi_v2p-ca5s.bin
>> >
>>
>> Some time ago there was a change in UEFI. Now it expects fdt.dtb as a
>> device tree file name. See this bug:
>> https://bugs.launchpad.net/lava-dispatcher/+bug/1255527
>
>
> ...and with the default UEFI config, both Image and fdt.dtb are loaded via
> semihosting, so they have to be in the
>
> directory where you launch the model from for UEFI to be able to read them.
> UEFI doesn't read them from the disk image, by default.
>
> But running linaro-media-create will extract Image for you, so it should
> already be there.
>>
>>
>> milosz
>>
>> >
>> >
>> > On Wed, Jan 15, 2014 at 6:39 PM, Tom Gall <tom.g...@linaro.org> wrote:
>> >> Hi,
>> >>
>> >> So I'm trying to boot an aarch64 kernel with the FVP simulator.
>> >>
>> >> Specifically I'm using the latest open embedded hwpack:
>> >>
>> >> hwpack_linaro-vexpress64-rtsm_20131216-560_arm64_supported.tar.gz
>> >>
>> >> and then an experimental OE image that I put together myself.
>> >>
>> >> The kernel however doesn't even start. Last thing I get after the count
>> >> down is
>> >>
>> >> ERROR : Did not find Linux kernel and it dumps me into the boot manager
>> >> menu.
>> >>
>> >> I used linaro-media-create to make the image.
>> >>
>> >> linaro-media-create --dev fastmodel --output-directory .
>> >> --image_size=2000M --hwpack
>> >> ./hwpack_linaro-vexpress64-rtsm_20131216-560_arm64_supported.tar.gz
>> >> --binary ./linaro-image-xfce-genericarmv8-20140115214956.rootfs.tar.gz
>> >>
>> >> Thoughts?
>> >>
>> >> --
>> >> Regards,
>> >> Tom
>> >>
>> >> "Where's the kaboom!? There was supposed to be an earth-shattering
>> >> kaboom!" Marvin Martian
>> >> Tech Lead, Graphics Working Group | Linaro.org │ Open source software
>> >> for ARM SoCs
>> >> w) tom.gall att linaro.org
>> >> h) tom_gall att mac.com
>> >
>> >
>> >
>> > --
>> > Regards,
>> > Tom
>> >
>> > "Where's the kaboom!? There was supposed to be an earth-shattering
>> > kaboom!" Marvin Martian
>> > Tech Lead, Graphics Working Group | Linaro.org │ Open source software
>> > for ARM SoCs
>> > w) tom.gall att linaro.org
>> > h) tom_gall att mac.com
>> >
>> > _______________________________________________
>> > linaro-dev mailing list
>> > linaro-dev@lists.linaro.org
>> > http://lists.linaro.org/mailman/listinfo/linaro-dev
>>
>> _______________________________________________
>> linaro-dev mailing list
>> linaro-dev@lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/linaro-dev
>
>



-- 
Regards,
Tom

"Where's the kaboom!? There was supposed to be an earth-shattering
kaboom!" Marvin Martian
Tech Lead, Graphics Working Group | Linaro.org │ Open source software
for ARM SoCs
w) tom.gall att linaro.org
h) tom_gall att mac.com

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to