Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚠️ Rework processor boot configuration #1086

Merged
merged 15 commits into from
Nov 2, 2024
Merged

⚠️ Rework processor boot configuration #1086

merged 15 commits into from
Nov 2, 2024

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Nov 1, 2024

Rework the boot configuration to make it easier to handle and more flexible for custom setups. Two new top generics are added:

  • BOOT_MODE_SELECT - boot mode select (0,1,2)
  • BOOT_ADDR_CUSTOM - custom boot address
  • ⚠️ the INT_BOOTLOADER_EN is removed.

The following boot modes are supported:

  • BOOT_MODE_SELECT = 0: internal bootloader - enable the processor-internal BOOTROM module adn start executing the build-in bootloader after reset
  • BOOT_MODE_SELECT = 1: custom - start executing at the address defined by BOOT_ADDR_CUSTOM after reset
  • BOOT_MODE_SELECT = 2: custom - enable the processor-internal IMEM, implement it as ROM, initialize it with the application image neorv32_application_image.vhd (during synthesis) and start executing from the IMEM after reset

@stnolting stnolting added the HW Hardware-related label Nov 1, 2024
@stnolting stnolting self-assigned this Nov 1, 2024
@stnolting stnolting linked an issue Nov 1, 2024 that may be closed by this pull request
@stnolting stnolting marked this pull request as ready for review November 2, 2024 18:52
@stnolting stnolting merged commit 28e1b46 into main Nov 2, 2024
7 checks passed
@stnolting stnolting deleted the dev011124 branch November 2, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HW Hardware-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rework processor boot configuration - ideas?
1 participant