Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,581
» Latest member: clanth
» Forum threads: 2,732
» Forum posts: 24,723

Full Statistics

Latest Threads
About the Pinebook - What...
Forum: General Discussion on Pinebook
Last Post: Luke
33 minutes ago
» Replies: 55
» Views: 10,194
Microphone / Audio In
Forum: Android
Last Post: kenjiru
2 hours ago
» Replies: 4
» Views: 125
e-Mail Client
Forum: Android
Last Post: tommypine
7 hours ago
» Replies: 1
» Views: 29
Can not get board to boot...
Forum: Debian
Last Post: Leo
7 hours ago
» Replies: 0
» Views: 18
BSP Linux woes, early ado...
Forum: General Discussion on Pinebook
Last Post: pfeerick
9 hours ago
» Replies: 6
» Views: 448
Debian Jessie with 4.x.y ...
Forum: Debian
Last Post: Luke
Yesterday, 04:30 PM
» Replies: 1
» Views: 67
Battery status on panel?
Forum: Armbian
Last Post: tommypine
Yesterday, 09:52 AM
» Replies: 1
» Views: 45
Giving the Pine a trunk, ...
Forum: Enclosures
Last Post: tommypine
Yesterday, 09:46 AM
» Replies: 5
» Views: 172
Q4OS is available
Forum: Linux
Last Post: jkmooney
04-22-2017, 02:53 PM
» Replies: 16
» Views: 961
Pre-release android 7.1 f...
Forum: Android
Last Post: Luke
04-22-2017, 10:58 AM
» Replies: 0
» Views: 79

 
Question Can not get board to boot up reliably
Posted by: Leo - 7 hours ago - Forum: Debian - No Replies

*** I have read many of the threads regarding power and firmware and tried without success

Sometimes boots up or fails due to 'soft lockup' CPU#0 stuck for 22 seconds
at a point when calling cfg80211. I have tried all the combinations below and still not reliable

Pine A64+ 1GB board (A64-DB-Rev_B 2016-03-21)
Using serial cable on EXP header with Putty terminal and Ethernet connected.
No Wi-Fi or HDMI or USB connected

Have tried two different power supply - 5V 20VA adapter and 5V 100VA ATX computer supply
Have soldered power wires (0.5mm) onto pcb directly, to bypass use of usb power connector small pins
Added 100uf capacitor at that point to help any surge or length of wire (only 30cm!)

Then tried Euler bus DC-IN (4 and 6) with same power supplies.
Tried 6V SLA battery and diode so that 5.3V and lowest 5.208V at boot and still problem - you do not get more clean power than this.
Added 100nF, 10uf and 100uf caps on Euler header and still no help
When try ATX at lowest 5.098 it works and then sometimes not

Have tried soft reset button on Euler Bus and hard power reset on power
Tried changing the AXP803 bypass cap on pin 57/58 (C45) to 10nf and adding in 10uf - no change

Experiencing same problem with
pine64-image-debianmate-310102bsp-2.img and
pine64-image-debianbase-310102bsp-2.img

Using two different types of Scandisk Micro HC I sd-cards (8GB and 16GB) that work on other small board computers
Format SD-Card for linux
Burn image to SD using Win32DiskImager.
First boot - Serial Cable and Ethernet only
Burn again and First boot Serial Cable only

Expanded image as suggested ($resize_rootfs.sh)

Updated Kernel as suggested (from 3.10.102-2 to 3.10.105-0)
$pine64_update_kernel.sh

Make sure the cfg80211 is up to date
$sudo apt-get install wireless-regdb iw crda

Disable DHCP:
$ sudo update-rc.d -f dhcpcd5 remove
$ sudo update-rc.d -f isc-dhcp-server remove

Set Network Interface:
$sudo nano /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet static



Attached Files Thumbnail(s)
   
Print this item

  e-Mail Client
Posted by: williamcolls - Yesterday, 07:06 PM - Forum: Android - Replies (1)

In the past, I have been using Thunderbird for e-mail; however this is not an option on Android. I have tried the gmail client, which works but seems to lack some of the functionality that we like and use in Thunderbird. There are a number of clients available in Google Play, but I am not familiar with any of them. Anyone have a recommendation/experience with any of them?

Thanks for your time.

William.

Print this item

Question Debian Jessie with 4.x.y kernel and complete hardware support?
Posted by: Spark - Yesterday, 01:47 PM - Forum: Debian - Replies (1)

Hi Community,

First, hello everyone and good to see some activity here.  I've been playing with my Pine64+ 2GB board and I really like the hardware capability.  I want to use it for openHAB and other embedded projects and with all the GPIO, battery charger, camera, etc. it seems really great for that.  However, I have some concerns about the software support.  

It seems that, for a while now, there still isn't a current Debian Jessie image with 4.x.y kernel supporting all the hardware (ethernet, WiFi, bluetooth, etc.) "out of the box".  For me, and probably others who just want to use the board without having to debug the hardware/software, it's a bit of a worry.  I'd love to use this board but it's hard to justify spending time on it without updated software that completely supports the hardware.

I've looked around and I'm seeing "curated" images provided by other communities (Sunxi or Armbian) or forum members -- this is a terrific contribution but I don't think it's reliable long term.  And, not to fault these voluntary contributions, but they don't appear to completely support all the hardware either.

Are the Pine64 developers planning to get behind the hardware and put together official (meaning not "community contributions") images that are up-to-date (Debian Jessie with 4.x.y kernel) and provide full support for all hardware?  Is there any intention to provide such support?  A roadmap or timeline for getting it done?

Just curious.  Am hoping for some positive news...
Spark

Print this item

  Pre-release android 7.1 for Pinebook
Posted by: Luke - 04-22-2017, 10:58 AM - Forum: Android - No Replies

You can find the pre-release android 7.1 build for android here 

I have locked the thread for now (I will wait for ayufan to make a formal announcement of his build). You can discuss everything related to his A 7.1 build in the Pine A64 main thread

Print this item

  Battery status on panel?
Posted by: Zoidiano0 - 04-22-2017, 10:29 AM - Forum: Armbian - Replies (1)

Hi guys I'm using the armbian image on my pine with Lcd and ts working
With a 6000mah battery diy it's any chance to get the battery stats on the panel?
I know that it works on Android
But can't find a way to make it work on Linus help pla
Thanks!

Sent from my Moto G (4) using Tapatalk

Print this item

Bug BSP Linux woes, early adopter information and a poll
Posted by: Luke - 04-21-2017, 06:46 AM - Forum: General Discussion on Pinebook - Replies (6)

{TL;DR} We are aware that there are issues with the BSP Linux that ships with the Pinebooks. These issues are being worked on - one got solved whilst I was writing up this post. A solution for sound out via speakers is also available. A heads-up -- be prepared to reflash your Pinebook (possibly more than once) in the coming weeks.  

This post is primarily meant as a run-down of the current state of BSP Linux on the Pinebook; that said, it also includes additional information and a poll I would appreciate if you’d fill in. I will update the post as things get resolved and progress is made as well as inform you when new builds become available. 

I hope that most if not all of you have read about what you can expect from the Pinebook at launch, and understand that challenges remain at this very early stage. As I wrote in the aforementioned thread, Linux on the A64 platform is a community undertaking and it's up to us to make it better over time. This refers both to BSP Linux as well as mainline, although I am writing about BSP Linux exclusively in the context of this thread.

The Ubuntu 16.04 image that ships with the production units has a few issues that we are aware of and, frankly speaking, it will likely take more than one iteration of software to solve all of these problems. So put your pitchforks down, take a look at the current state of BSP Linux on the Pinebook and consider if there is an area where you could contribute.

I divided the issues into three broad categories (in bold):  

Things that don't work which you can easily fix right now: 

  • Sound out via speakers 
Download this asound.state and copy to /var/lib/alsa/

Then in terminal run:

Code:
sudo alsactl restore  


Things that don’t work but will likely be solved soon (guestimate ~ beginning of May)
  • Video output via mini HDMI 
  • Audio out via the audio Jack.
  • Hall Sensor | senses the opening and closing of the lid
Things that don’t work and may take some tinkering to solve
  • The Pinebook not waking up from suspend  (solved
  • Inversion of brightness level on resume from suspend
  • kernel modules crashing on hibernation/ resume from suspend
I feel that the categories and listed issues are self-explanatory, so I will not dwell on them too much, but there are a few things I would like to highlight. During the time I was writing this post ayufan already solved the issue where the unit did not ‘waking up’ from suspend - so things are moving along quickly. He also said that he will deal with audio jack out and hall sensor next. 
So be prepared to reflash your Pinebook BSP Linux install in the next coming weeks! 

Speaking of flashing images, Pine is developing an Installer (based on Etcher; It will work on all desktop platforms) which will make flashing new images accessible to complete newcomers, but also simplify and streamline the process for the rest of us. I already gave it a spin and I am happy to say it’s super convenient; you select your device from a drop-down menu and the OS you wish to install, the utility does the rest - it downloads the OS image and walks you through the flashing process. 

If you want to follow the ongoing development on the Pinebook and other Pine devices make sure to check out the IRC logs and if you run into trouble, have questions or just want to hang out join the chat

-Luke-

Print this item

Star GPIO, SPI and I2C C++ Lib
Posted by: databit - 04-20-2017, 04:00 PM - Forum: Pi2, Euler and Exp GPIO Ports - Replies (3)

Hi to everyone! I'm a CS teacher and for some time I playing with my Pine64+. Last week, I built a C++ library (in object oriented paradigm) for manage GPIO, I2C and SPI.


https://github.com/databit/Pine64-CPP


This lib is based on the work of Eric Ptak <trouch@trouch.com>, Stefan Mavrodiev <support@olimex.com> and Kamil Trzcinski <ayufan@ayufan.eu>

I hope this library can be of help to you!

Send me yours comments and eventual bugs.

Print this item

Information Giving the Pine a trunk, a Playbox pedestal
Posted by: tommypine - 04-20-2017, 03:32 AM - Forum: Enclosures - Replies (5)

Hi, i designed a pedestal for the Playbox Enclosure.
Now Pine looks like a sweet tiny Desktop. Big Grin
It's 3D-Printed.

Update 22.04.2017
Version 1.0 now has a hinge to adjust the visual angle.

  • A stacker pocket is added to the base.
  • Full access to the Pine connectors.
  • The hole for the Ethernet jack is also there but closed with a very thin layer, you can cut it out for to use it.
  • An additioinal hole in the bracket, say for a power-cable jack to the Euler bus.

Update 23.04.2017
The STL's are available there:
http://repables.com/r/847

Have fun... Cool



Attached Files Thumbnail(s)
           
Print this item

  PINE64 + mini OLED display + Luma.OLED = PINEimus Prime
Posted by: sgjava - 04-19-2017, 01:56 PM - Forum: Projects, Ideas and Tutorials - Replies (4)

First there was CHIPtimus Prime for the CHIP SBC. Then came ODROIDtimus Prime for the ODROID C series. Now there's PINEimus Prime for the PINE64. This will work for I2C displays only at this point. I wasn't able to get SPI fired up with legacy or mainline Armbian.

[Image: Ih2xMbN822pkac4EwGeqh8KhrUojySMvKs4uNi37...6-h1134-no]

Transform your PINE64 into a PINEimus Prime for projects requiring a small OLED display. Luma.OLED makes it easy to do text, graphics and video. Both displays I used to test I bought on Amazon. I already ordered some cheaper ones on EBay. I was able to get 3 SSD1306 I2C displays for under $10! I also ordered some TFT displays as well to test.

Requirements

Do the following for I2C version of SSD1306
The 4 wire DIY display can be powered by 3.3V or 5V which makes it handy if you need the other power source for something else. Wire mapping using i2c-0 (twi0):

Code:
VCC to VCC 5V   (pin 4)
GND to GND      (pin 6)
SCL to I2C1 SCL (pin 5)
SDA to I2C1 SDA (pin 3)

Configure I2C
  • Power off PINE64, wire up display and power on
  • sudo apt-get install i2c-tools
  • sudo usermod -a -G i2c username
Test I2C and display
  • i2cdetect -l
Code:
i2c-0    i2c           twi0                                I2C adapter
i2c-1    i2c           twi1                                I2C adapter
  • i2cdetect -y 1

Code:
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --


Time to install Luma.OLED

Code:
sudo apt-get install python-dev python-pip libfreetype6-dev libjpeg-dev
sudo -H pip install --upgrade pip setuptools
sudo -H pip install --upgrade luma.oled


I2C hello world
  • cd
  • nano i2chello.py
Code:
import time
from luma.core.serial import i2c
from luma.core.render import canvas
from luma.oled.device import ssd1306

serial = i2c(port=1, address=0x3C)
device = ssd1306(serial)

with canvas(device) as draw:
    draw.rectangle(device.bounding_box, outline="white")
    draw.text((3, 3), "Hello", fill="white")

time.sleep(10)

  • python i2chello.py
Then install examples

Code:
cd
sudo apt-get install git-core libsdl-dev libportmidi-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-image1.2-dev
git clone https://github.com/rm-hull/luma.examples.git
cd luma.examples
sudo -H pip install -e .

Run example on I2C display

Code:
cd
cd luma.examples
python examples/invaders.py -d ssd1306 --i2c-port 1 --i2c-address 0x3c

Print this item

Information eMMC modules are available in-store
Posted by: Luke - 04-18-2017, 03:18 AM - Forum: General Discussion on Pinebook - No Replies

eMMC modules for the Pinebook and SoPine are now available in the Pine store

A discussion thread about eMMC modules is open in the SoPine section. This thread is locked to prevent duplicate discussion.

Print this item