no2bootloader icon indicating copy to clipboard operation
no2bootloader copied to clipboard

ice40lp8k build fails

Open dpsiddons opened this issue 5 months ago • 3 comments

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?

dpsiddons avatar Jun 13 '25 20:06 dpsiddons

There is no support for this board or this specific FPGA variant.

smunaut avatar Jun 13 '25 20:06 smunaut

Right. But is that because it's impossible?

psychogenic avatar Jun 13 '25 21:06 psychogenic

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.

smunaut avatar Jun 13 '25 22:06 smunaut