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

COSIM: FullBoot needs to be updated with new BAREMETAL_PRINTF switches #4

Closed
bchetwynd opened this issue Dec 1, 2022 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@bchetwynd
Copy link
Contributor

No description provided.

@bchetwynd bchetwynd self-assigned this Dec 1, 2022
@bchetwynd bchetwynd added the bug Something isn't working label Dec 1, 2022
@bchetwynd
Copy link
Contributor Author

fullBoot functionality restored through the following:

  • Minor changes to sd_spi_model.v to properly process the offset (BBL_PARTITION_START_SECTOR) passed to it by the CEP bootrom (sd.c)
  • In cep_apis.cc, changed loadMemory to restore the destOffset parameter, allowing fullBoot to load the executable into the SD model by the BBL_PARITION_START_SECTOR offset (x512b block size)
  • Changed default BAREMETAL_PRINTF for fullBoot to be kputc (thus enabling baremetal UART printfs via UART)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant