Saturday, May 23, 2015

problem with debian jesse arm on cubox. apt-get update fails [SOLVED]


putting solved on it so far

here is the error:

root@cubox4:~# apt-get update
Hit http://ftp.us.debian.org jessie InRelease
Hit http://ftp.us.debian.org jessie/main Sources
Hit http://ftp.us.debian.org jessie/contrib Sources
Hit http://ftp.us.debian.org jessie/non-free Sources
Hit http://ftp.us.debian.org jessie/main armhf Packages
Hit http://ftp.us.debian.org jessie/contrib armhf Packages
Hit http://ftp.us.debian.org jessie/non-free armhf Packages
Hit http://ftp.us.debian.org jessie/contrib Translation-en
Hit http://ftp.us.debian.org jessie/main Translation-en
Hit http://ftp.us.debian.org jessie/non-free Translation-en
Reading package lists... Done
W: There is no public key available for the following key IDs:
7638D0442B90D010

proposed solution for now is here:

http://devget.net/linux/how-to-fix-no-public-key-available-for-the-following-key-ids-in-debian/

short of it for the solution is:

apt-get install debian-keyring debian-archive-keyring
 
then do the apt-get update
 

Sunday, May 3, 2015

Adafruit Raspberry Pi displays


There are two interesting displays for the Raspberry pi that complement the HDMI and Composite video outputs.  Both are available with or without touch screen capability.

One is a 2.8" or 3.5" screen for the pi that is supported by the original 26 pin connector GPIO.  Only some portion of the GPIO is used, and the support for both the touch screen and display are all thru the connector.

Another one is a Hat which only works with the 40 pin GPIO on the Pi B+ or the Pi 2 Model B.  Almost all of the GPIO is used by the hat, and no pins remain to support the touch screen, so it is brought out via USB port as a motion event device to the Raspian system.

The latter's support compiled from a series of articles from the Raspbian / Debian system and does not apparently have versions for other OS's.  I didn't track down anything to do with the other OS's anyway for either.

The Hat version is product number 2453, and a 7" display was chosen to have 800 x 480 support.  a reasonably sized display results that can run a lot of graphical displays.

The smaller version has 320 x 240, and is quite good, but most gui dialogs will only show a very small portion on the screen.

Additionally the support for the smaller piggyback displays is via loadable modules, and they are not initialized soon enough in the scheme of things in the kernel to have much of the boot dialog.  There is a point in the normal kernel bootup where the kernel switches from the initial cached console dmesg stream to the running kernel device.

Kernel traffic comes out to the small screen versions after that point, and an X capable frame buffer results from the modules and mods to the system.

The Hat version is interfaced early enough to have the full boot, including the kernel graphic raspberry logo on displayed.  It also has a frame buffer added and supported.

Support of X on bootup is much more simple with the Hat version than with the smaller displays.  The latter require a bit of familiarity with frame buffers and following hints in the support files to get the X display to be the default display.  Doable, but was messy.

Notes:

7" display:

hat
https://www.adafruit.com/product/2453
7" Display:
https://www.adafruit.com/products/2354
Howto:
https://learn.adafruit.com/adafruit-dpi-display-kippah-ttl-tft

Original work:
http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/
Drivers for display:
https://github.com/robertely/dpi666/
Pinout for GPIO (worksheet)
https://docs.google.com/spreadsheets/d/1KtH3ogHTpWotTmeRRp8acbK6KBJvc7CvKB-R7MSeMU0/edit#gid=0

Thread about B+ addon:
https://www.raspberrypi.org/forums/viewtopic.php?f=100&t=86658&start=150

480 x 320 3.5" display:

product:
https://www.adafruit.com/products/2097

INstallation of blob over Raspian
https://learn.adafruit.com/adafruit-pitft-3-dot-5-touch-screen-for-raspberry-pi

Note that the hat, and display are integrated and only a single part is necessary.

Raspberry Pi Raspian setup


With the setup prompt screen on first boot, a number of things can be set up:

Locale  Set to US English.

Keyboard  Select 105 Generic, US layout

Expand to size of media

Enable Camera, SPI, and GPIO if need be thru special menus.

Additionally after first boot, this page shows how to enable NFS and CIFS mounting if it is not already in the default.  Originally the images did not have SMB (CIFS) file system support, and it had to be added.

Also optionally NFS and NFS server can be installed.

https://www.raspbian.org/RaspbianFAQ