no2bootloader
no2bootloader copied to clipboard
ice40lp8k build fails
I'm trying to use no2bootloader on the tinyFPGA board, which has an 8k chip in a cm81 package. The build fails with: make DEVICE=lp8k PACKAGE=cm81 BOARD=TinyFPGA-BX CROSS=riscv-none-elf- bootloader
Info: Packing special functions.. ERROR: Unable to place cell 'osc_I_OSC' of type 'ICESTORM_HFOSC' ERROR: Packing design failed. 0 warnings, 2 errors
Why is it trying to place this item?
There is no support for this board or this specific FPGA variant.
Right. But is that because it's impossible?
Impossible, not at all. But it'll need some adaptation. See the #16 issue for details.
The ICESTORM_HFOSC is just because the stub uses the internal oscillator for simplicity but if the board has an external one, you can rewire it to use that, that's not a problem.
The more annoying part is the lack of large SRAM. In the UP5k I have SPRAM which I used liberaly, but that needs to be replaced by normal block rams to work on the lp4k. In the case of #16 they were targetting a device that only had 20 BRAM which is possible but a bit tight. Here the LP8K has 32 BRAM so it would fit with very little effort.