Skip to content

"Unable to find program image" error even when file exists #491

@IkerGalardi

Description

@IkerGalardi

I've been using version 2.1.0 of the tool to develop the kvm port (#423). When rebasing to a newer version, the test case I was using (https://github.com/ikergalardi/sel4-webserver) started failing on the final image creation command:

$ vendor/microkit-sdk/bin/microkit webserver.system \
                                   --search-path ./build \
                                   --board qemu_virt_aarch64 \
                                   --config release \
                                   -o build/loader.img -r build/report.txt
Error: "unable to find program image: 'build/serial_driver.elf'"

From the same working directory, running the file command with the same path shows that the file is accessible.

$ file build/serial_driver.elf 
build/serial_driver.elf: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, with debug_info, not stripped

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions