Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default board to iCE40 based board #134

Closed
ewenmcneill opened this issue May 11, 2019 · 2 comments
Closed

Change default board to iCE40 based board #134

ewenmcneill opened this issue May 11, 2019 · 2 comments

Comments

@ewenmcneill
Copy link
Contributor

ewenmcneill commented May 11, 2019

Now that we have a build chain that is fully open source (iCE40), we should change the default build target to a board that is iCE40 based. Maybe TinyFPGA BX now, and iCEBreaker once those are out/supported?

The reasoning here is that getting started with a Xilinx based board requires several non trivial manual steps (installing Vivado, or ISE), which are completely unnecessary for the iCE40 based boards, but users that just start following the defaults can quickly end up in the weeds doing a lot of yak shaving (eg, https://twitter.com/femtoduino/status/1126750242768969728).

By making the default (a) something it's now more likely they're trying to use and (b) something that gets to a "would work if you had that board" quickly, it's more likely they'll either get things working, or quickly figure out they're heading in the wrong direction. (Currently it takes a lot of yak shaving to determine that installing lots of Xilinx things is the wrong direction.)

Capturing a suggestion that @mithro (https://twitter.com/mithro/status/1126988574547558400) and I (https://twitter.com/ewenmcneill/status/1126998432978165760) made independently on Twitter.

@mithro
Copy link
Member

mithro commented May 11, 2019

SGTM!

ewenmcneill added a commit to ewenmcneill/litex-buildenv that referenced this issue May 16, 2019
Historically the default platform litex-buildenv was the "opsis"
video board, because of the origins of litex-buildenv in the HDMI2USB
project.  However the opsis requires Xilinx tools installed, which
require non-trivial manual steps.  Ease the path for naive users
by defaulting to a target that has all open source tooling, so that
we can install all tools easily, and thus the user will either
quickly reach a useful point, or quickly and painlessly reach a
dead end and realise they should set some environment variables.

. scripts/enter-env.sh
  -- gives "LX P=tinyfpga_bx.minimal F=micropython"

export PLATFORM=opsis
. scripts/enter-env.sh
  -- gives "LX P=opsis", as before

(fixes timvideos#134)
mithro pushed a commit to ewenmcneill/litex-buildenv that referenced this issue Jun 2, 2019
Historically the default platform litex-buildenv was the "opsis"
video board, because of the origins of litex-buildenv in the HDMI2USB
project.  However the opsis requires Xilinx tools installed, which
require non-trivial manual steps.  Ease the path for naive users
by defaulting to a target that has all open source tooling, so that
we can install all tools easily, and thus the user will either
quickly reach a useful point, or quickly and painlessly reach a
dead end and realise they should set some environment variables.

. scripts/enter-env.sh
  -- gives "LX P=tinyfpga_bx.minimal F=micropython"

export PLATFORM=opsis
. scripts/enter-env.sh
  -- gives "LX P=opsis", as before

(fixes timvideos#134)
@ewenmcneill
Copy link
Contributor Author

Closing issue, because the underlying surprise (that prompted this on IRC) got fixed by having no default platform -- see #162. More detail in #138 (comment), #99 (comment), #99 (comment), #99 (comment), and #99 (comment).

Ewen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants