Skip to content

booting from address 0x8000 #617

Answered by biosbob
biosbob asked this question in Q&A
May 18, 2023 · 2 comments · 10 replies
Discussion options

You must be logged in to vote

i think i found the problem.... the bootloader at 0x8000 WORKS on my cmod board, but *FAILS on my icebreaker board....

since vivado takes so long to build, i had plenty of time to review osflow/devices/ice40/neorv32_imem.ice40up_spram.vhd, which contains what i think is the issue:

  -- IO space: module base address --
  constant hi_abb_c : natural := 31; -- high address boundary bit
  constant lo_abb_c : natural := index_size_f(64*1024); -- low address boundary bit

correct me if i'm wrong, but this module assumes it controls an entire 64K address space -- into which i have inserted the bootloader into its upper 32K!!!!

somehow the IMEM_SIZE (and DMEM_SIZE) generics should ultimately dete…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@stnolting
Comment options

@biosbob
Comment options

biosbob May 20, 2023
Collaborator Author

@stnolting
Comment options

@biosbob
Comment options

biosbob May 20, 2023
Collaborator Author

Answer selected by stnolting
@stnolting
Comment options

Comment options

biosbob
May 22, 2023
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
SW Software-related troubleshooting Something is not working as expected
2 participants