Skip to content

ice40-stub has slightly broken instructions because prerequisites are both depreciated #14

@RGD2

Description

@RGD2

I had luck with riscv-none-elf though, which replaced it. Work-around(s) follows:

cd /opt
mkdir xPacks
cd !$
xpm init
xpm install @xpack-dev-tools/riscv-none-elf-gcc@latest
cd

Then put

export PATH="/opt/xPacks/xpacks/.bin:$PATH" # for riscv-none-elf-*

on the end of my .bashrc

  • also: YosysHQ/fpga-toolchain is depreciated for YosysHQ/oss-cad-suite-build and/or YoWASP if you really want static binaries (which are very portable). I went with oss-cad-suite-build nightly release tar xf'd into /opt, and also added (again, to .bashrc):
export PATH="/opt/oss-cad-suite/bin:$PATH"

Finally, I could build successfully with:

cd
. .bashrc
cd no2bootloader/gateware/ice40-stub
CROSS=riscv-none-elf- make bootloader

Hope this helps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions