Skip to content

Some questions about the arm64 modifications #1

Closed
@zhuowei

Description

@zhuowei

Thanks for your hard work in getting xnu to compile. I have a few questions:

  • Why specifically define -DARM64_BOARD_CONFIG_T8011?

It might be better to use -DARM64_BOARD_CONFIG_$(CURRENT_MACHINE_CONFIG) instead and populate the SUPPORTED_ARM64_MACHINE_CONFIGS, so that one can specify the board to build from the make command by running make TARGET_CONFIGS="DEBUG ARM64 T8011".

  • Where is the "correct" place to define CONFIG_EMBEDDED anyways? Should it go in config/MASTER instead?

config/MASTER.arm64 specifies config_embedded, but there's no corresponding option in config/MASTER. I tried adding

options CONFIG_EMBEDDED # <config_embedded>

and that did define CONFIG_EMBEDDED for arm64.

  • I saw that you're one of the two repositories on Github that's trying to build Apple's arm64 xnu. Have you considered helping out the RaspberryPi-XNU project?

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