Git Product home page Git Product logo

parabuntu's Introduction

Parallella Image scripts

TODO

  • TEST
  • ??? Add bitstream scripts to flow

Requirements

The scripts require qemu-arm-static and binfmt being set up properly.

sudo apt-get update
sudo apt-get install qemu binfmt-support qemu binfmt-support qemu-user-static
sudo apt-get install flex bison zerofree u-boot-tools

Flow

  • Build bitstreams and place in fpga_bitfiles/

Optional

export PARALLELLA_LINUX=/path/to/parallella-linux
  • Build ESDK
  • Build COPRTHR (if new release) and place in overlays/. Steps described below.

Now do

./bootfs-and-kernel.sh
sudo ./rootfs.sh path/to/esdk-tarball.tar.gz
sudo ./image.sh out/parallella_e16_headless_gpiose_7010_bootfs.tar.gz parallella_e16_headless_gpiose_7010.img
sudo ./image.sh out/parallella_e16_headless_gpiose_7020_bootfs.tar.gz parallella_e16_headless_gpiose_7020.img

Building coprthr

This step needs to be done on a Parallella board.

TODO: Currently broken. Needs missing (deprecated) libelf

git clone https://github.com/parallella/coprthr --branch esdk-2019.1
cd coprthr
./configure --enable-epiphany
make
sudo make install

Copy these files/directories to overlay

  • /etc/ocl.conf
  • /etc/OpenCL/
  • /var/clproc (permission 1777)
  • /usr/local/browndeer

ESDK

adapteva/epiphany-sdk

TODO: Not released yet. Need to build from git

wget https://github.com/adapteva/epiphany-sdk/releases/download/esdk-2019.1/esdk.2019.1.armv7l.tar.gz -O esdk.2019.1.tar.gz

*.tar.gz file name muse be the same as the folder name inside *.tar.gz.

Cross Compiler Toolchain

GCC 6

TODO: Remove section / Old version. We use arm-linux-gnueabihf-gcc 7.3 that comes with Ubuntu 18.04

Set PATH for Toolchain:

export PATH=[**THE TOOLCHAIN PATH ON YOUR PC**]gcc-linaro-6.4.1-2018.05-x86_64_arm-linux-gnueabihf/bin:$PATH

GCC 7 works for generating kernel uImage, but it doesn't work for building tools/perf. Why we need tools/perf??

parabuntu's People

Contributors

olajep avatar aolofsson avatar xuminready avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.