bootloader icon indicating copy to clipboard operation
bootloader copied to clipboard

Error compiling with "cargo bootimage"

Open spocino opened this issue 4 years ago • 1 comments

When trying to compile a project using bootimage, I get an error as such:

Error: An error occured while trying to build the bootloader: The `bootloader` dependency has not the right format: No `package.metadata.bootloader.target` key found in Cargo.toml of bootloader

(If you're using the official bootloader crate, you need at least version 0.5.1)

Caused by:
    The `bootloader` dependency has not the right format: No `package.metadata.bootloader.target` key found in Cargo.toml of bootloader
    
    (If you're using the official bootloader crate, you need at least version 0.5.1)

I am using bootloader version 0.10.6, and the latest bootimage package.

spocino avatar Jul 30 '21 14:07 spocino

Try looking at this

NathanMcMillan54 avatar Jul 31 '21 18:07 NathanMcMillan54

The bootimage crate is no longer used with v0.10 and v0.11 of the bootloader. See also our migration guides: https://github.com/rust-osdev/bootloader/tree/main/docs/migration

phil-opp avatar Jan 02 '23 12:01 phil-opp