Skip to content

Load kernel at specific address in v0.11 #427

Closed
@jxors

Description

@jxors

Is there any way to load the kernel at a specific address? With v0.10 I was using link-arg=--image-base=0x00001eecb3620000 to ensure that the kernel was always located at 0x00001eecb3620000, but v0.11 no longer seems to respect the offsets in the ELF file.

I'm guessing it's probably because of this code. I'm happy to write a PR that adds a config option to override the address chosen there.

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