Tuesday, December 24, 2019

ULX3S and IceStudio

Today I learned that IceStudio supports the ULX3S! I thought I'd first try it in WSL Ubuntu.

I'm not sure if X-Windows server is needed, but I have some notes in a prior blog post to use cygwin from WSL.

sudo apt-get update  
sudo apt-get upgrade 
sudo apt-get install nodejs
sudo apt-get install npm
node -v
cd ~/workspace/

## see https://github.com/FPGAwars/icestudio#download
##
git clone https://github.com/FPGAwars/icestudio.git
cd icestudio

## Do we need to have an X-Windows server running?
##
export DISPLAY=:0 # you may wish you put in this your ~/.bashrc
cp /mnt/c/cygwin64/home/gojimmypi/.Xauthority   ~/.Xauthority

## test X-Windows
xclock

## ensure we are on the develop branch
##
git status 

npm install
npm start

Unforunately, this left me in a state of "waiting..."



gojimmypi:~/workspace/icestudio
$ npm start

> icestudio@0.5.1 start /home/gojimmypi/workspace/icestudio
> grunt serve

Running "nggettext_compile:all" (nggettext_compile) task

Running "watch:scripts" (watch) task
Waiting...
Running "wiredep:task" (wiredep) task

Running "exec:stopNW" (exec) task

Running "exec:nw" (exec) task

Done.
Completed in 3.118s at Tue Dec 24 2019 06:57:33 GMT-0800 (PST) - Waiting...


For Windows, download the NodeJS and NPM. I did get it working, but see this icestudio GitHub issue #368. More to come...

Resources and links:

2 comments:

  1. I tried to install it having looked at your post. Mine fails at NPM start...gives NPM error codes:

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! icestudio@0.5.1 start 'grunt serve'
    npm Exit Status 1
    npm ERR!
    npm ERR! Failed at the icestudio@0.5.1 start script
    npm ERR! This probably not a problem with npm. There is likely additional logging output above.

    I have no idea what is going on. To be honest I have no experience with npm or with node.js - I was just following what you have done.

    A pity as I really want to use icestudio...maybe I should buy one of the supported boards for now. I know the developers aren't keen on ULX3S as it competes with one of their boards.

    ReplyDelete
  2. hmm. I didn't see that error. I installed node and npm for Windows for the first time. Perhaps try asking either in a GitHub issue for icestudio or on the ULX3S gitter channel?

    ReplyDelete

comments are welcome, but I prefer not to allow links to promotions or other unrelated services.

Find gojimmypi at gojimmypi.github.io

I'm currently working on my new blog home at  gojimmypi.github.io After implementing a variety of features such as dark mode , syntax hi...