scanakci / linux-on-litex-blackparrot

Linux on Litex for BlackParrot Core
7 stars 4 forks source link

Use bootrom properly #2

Closed troibe closed 3 years ago

troibe commented 3 years ago

Currently we need to modify litex_sim to set the ROM_BOOT_ADDRESS to 0x8000000 as this is the address that Blackparrot jumps to by default. With proper bootrom support we should be able to modify this default jump address to 0x10000000 which is where Litex expects the execution to continue. We therefore afterwards should be able use the default litex_sim script.

Prerequisite With https://github.com/black-parrot/black-parrot/pull/547 proper bootrom support was introduced. Therefore this requires updating blackparrot.

troibe commented 3 years ago

Modifiying litex_sim seems to be independent of the bootrom. It seems to be simply due to different memory layout.