Skip to content

Raspberry Pi 2 Support #2

@MaPePeR

Description

@MaPePeR

EDIT: This attempt does not really work or only sometimes.

For any future reader:
To get this example working on a Raspberry Pi 2 B i had to replace this function:

uintptr_t virtToUncachedPhys(void *virt, int pagemapfd) {
    return virtToPhys(virt, pagemapfd) | 0x40000000; 
}

with

uintptr_t virtToUncachedPhys(void *virt, int pagemapfd) {
    return virtToPhys(virt, pagemapfd) & ~0xC0000000;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions