360nosc0pe / scope

Siglent SDS1x0xX-E FPGA bitstreams
40 stars 6 forks source link

Allow the CPU to initialize DRAM without call to litex_term bridge. #2

Closed enjoy-digital closed 3 years ago

enjoy-digital commented 3 years ago

The LiteX's crossover UART is handling back-pressure and then stalls the CPU when the UART FIFO is full. User currently has to connect with litex_term bridge over Etherbone to let the CPU run the BIOS and initialize the DRAM.

As already discussed in LiteX, we could add a mechanism to detect this and release the UART when ready hasn't been detected for a long time to allow the CPU to execute the BIOS.

enjoy-digital commented 3 years ago

Implemented with https://github.com/enjoy-digital/litex/commit/ad1fe143cc32017589976b0934ffe73e696af9e4 and https://github.com/360nosc0pe/scope/commit/2d272911657f6adee32f0719efc18065514d9741.