Code Monkey home page Code Monkey logo

meta-bbb's Introduction

This layer depends on:

URI: git://git.yoctoproject.org/poky.git
branch: jethro 
revision: HEAD
commit: a201ede

URI: git://git.openembedded.org/meta-openembedded
branch: jethro 
revision: HEAD
commit: c305ac5

URI: https://github.com/meta-qt5/meta-qt5.git
branch: jethro
revision: HEAD
commit: ea37a0b

meta-bbb layer maintainer: Scott Ellis <[email protected]>

Instructions for using this layer can be found on the jumpnowtek site.

Major Software Versions

  • Yocto 2.0.1 [jethro] branch
  • Linux kernel 4.4.9 (from linux-stable, 4.1.23 and 4.5.3 recipes available)
  • U-Boot 2016.01

The qt5-image includes Qt 5.5.1 built for framebuffer use only.

Launch Qt5 apps with the following args

-platform linuxfb

There is a demo qt5 app installed - tspress.

There is a spidev loopback test app installed - spiloop.

The default dtb with the example uEnv.txt enables HDMI

  • bbb-hdmi.dtb

There is a dtb without HDMI/display support, freeing up some GPIO pins and UART5

  • bbb-nohdmi.dtb

And there are dtbs for a couple of touchscreen capes

  • bbb-4dcape70.dtb - for the 4D Systems LCD, 7-inch, 800x480 touchscreen
  • bbb-nh5cape.dtb - for the NewHaven Capacitive, 5-inch, 800x480 touchscreen

All the dtbs include the following

  • /dev/spidev1.0 - pins P9.28 cs0, P9.29 d0, P9.30 d1, P9.31 sclk - d0 is MOSI
  • /dev/i2c1 - pins P9.17 scl and P9.18 sda
  • /dev/i2c2 - pins P9.19 scl and P9.20 sda

To switch between these dtbs, take a look at uEnv.txt on the boot partition.

You can mount the boot partition like this

root@beaglebone~# mount /dev/mmcblk0p1 /mnt

root@beaglebone:~# ls -l /mnt
total 466
-rwxr-xr-x 1 root root  64408 Jul 24 09:00 MLO
-rwxr-xr-x 1 root root 410860 Jul 24 09:00 u-boot.img
-rwxr-xr-x 1 root root   1112 Jul 24 09:00 uEnv.txt

You can either modify fdtfile= or you can modify touchscreen_dtb= and also add a use_touchscreen file to the /boot directory on the root filesystem.

root@beaglebone:~# touch > /boot/use_touchscreen

Those are just some examples. You can easily devise your own strategy for choosing which dtb to load at boot.

To use the nh5cape you will need the ft5x06_ts touchscreen driver

root@beaglebone:~# echo ft5x06_ts >> /dev/modules

You can load it manually with modprobe

root@beaglebone:~# modprobe ft5x06_ts

Or add it to /etc/modules to have it load every boot

root@beaglebone:~# echo ft5x06_ts >> /etc/modules

meta-bbb's People

Contributors

syntro avatar torrentalle 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.