This repository has been archived by the owner on May 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Testing in Ubuntu phone
Juan Gonzalez-Gomez edited this page Apr 13, 2016
·
20 revisions
- Enter into the phone with phablet-shell:
$ phablet-shell
- Download the package toolchain-icestorm-armhf-7.tar.gz with the icestorm tools compiled for the ubuntu phone
phablet@ubuntu-phablet:~$ wget https://github.com/FPGAwars/toolchain-icestorm/releases/download/0.7/toolchain-icestorm-armhf-7.tar.gz
- Extract the files:
phablet@ubuntu-phablet:~$ tar vzxf toolchain-icestorm-armhf-7.tar.gz
- Install the files in the Ubuntu phone system:
phablet@ubuntu-phablet:~$ cd toolchain-icestorm
[...]
phablet@ubuntu-phablet:~/toolchain-icestorm$ sudo cp bin/* /usr/bin
[...]
phablet@ubuntu-phablet:~/toolchain-icestorm$ sudo cp -r share/* /usr/share/
- Generate the bitstream for the t1 example:
phablet@ubuntu-phablet:~/toolchain-icestorm$ cd examples/icestick/t1
phablet@ubuntu-phablet:~/toolchain-icestorm/examples/icestick/t1$ yosys -p "synth_ice40 -blif test.blif" t1.v
[...]
phablet@ubuntu-phablet:~/toolchain-icestorm/examples/icestick/t1$ arachne-pnr -d 1k -p t1.pcf test.blif -o test.asc
[...]
phablet@ubuntu-phablet:~/toolchain-icestorm/examples/icestick/t1$ icepack test.asc t1.bin
- Connect the FPGA board to the ubuntu phone by means of an OTG cable
- Open the Terminal app:
and cd into the examples/icestick/t1 folder
phablet@ubuntu-phablet:~$ cd examples/icestick/t1
- Upload the t1.bin bitstream:
Type this command:
phablet@ubuntu-phablet:~/toolchain-icestorm/examples/icestick/t1$ iceprog t1.bin
and the bitstream will be uploaded into the FPGA board:
The whole process of generating a bitstream and uploading into the IceZUM Alhambra FPGA board can be seen on this youtube video:
Instead of typing all the commands for generating the bitstream, a shell script is used
-
Gitbook: BQ Aquaris E 4.5 Ubuntu phone. A book for UNIX/FreeBSD/Linux minded people about a mobile phone — gurucubano
-
Instalando las herramientas para Frikear con el BQ Aquaris 4.5 Ubuntu phone
-
Instalando Ubuntu desde 0 en tu BQ Aquaris 4.5 Ubuntu Edition