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

adding boot from spi_slave #642

Open
davideschiavone opened this issue Feb 9, 2025 · 1 comment
Open

adding boot from spi_slave #642

davideschiavone opened this issue Feb 9, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@davideschiavone
Copy link
Member

davideschiavone commented Feb 9, 2025

Very similar to booting from JTAG - it was also implemented in PULPino back in the days (https://github.com/pulp-platform/pulpino/blob/master/tb/tb.sv#L251)

This will be implemented after (#617)

and will require to change both the testbench and the bootrom code and HW

@JuanSapriza - shall we also add boot from uart? I prefer not as the bootrom code may become too long

@davideschiavone davideschiavone added the enhancement New feature or request label Feb 9, 2025
@JuanSapriza
Copy link
Contributor

In my mind this is a small conditional in the boot rom that checks the fourth possible boot state. If it's "boot from RAM" it will jump directly to the address where it would have copied the data using the SPI FLASH -- i.e. it only by-passes the action of copying data using the SPI FLASH, but all the rest remains the same.

The only difference in the programming procedure is that you need to write in the RAM yourself using the SPI slave and then reset the chip. Also need to use the fourth state of the boot_sel pins.

I think we need to modify the bootrom, the testbench (optional), but not the hardware. Am i right?


Regarding boot from UART, i think that would indeed require HW that moves the data from the UART into memory to boot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants