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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,677
» Latest member: Charlotten
» Forum threads: 16,248
» Forum posts: 117,157

Full Statistics

Latest Threads
No touch KB after update(...
Forum: Mobian on PinePhone
Last Post: biketool
7 minutes ago
» Replies: 3
» Views: 129
compass pdf link expired:...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
Yesterday, 12:39 PM
» Replies: 4
» Views: 230
Running Pinebook (non-Pro...
Forum: Pinebook Hardware and Accessories
Last Post: guidol
11-09-2025, 04:19 AM
» Replies: 0
» Views: 77
Pinebook Pro for sale
Forum: General Discussion on Pinebook Pro
Last Post: rfm83
11-08-2025, 09:22 AM
» Replies: 0
» Views: 129
What is wrong with the Mo...
Forum: General Discussion on PinePhone
Last Post: Mahgue
11-08-2025, 05:13 AM
» Replies: 0
» Views: 93
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
11-07-2025, 01:12 PM
» Replies: 12
» Views: 5,952
Wake up Call
Forum: General Discussion on PinePhone
Last Post: biketool
11-06-2025, 06:18 AM
» Replies: 6
» Views: 501
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: victor_yeh
11-05-2025, 11:17 PM
» Replies: 0
» Views: 128
I think you can try compi...
Forum: General Discussion on Pinebook Pro
Last Post: wangyukunshan
11-05-2025, 02:25 AM
» Replies: 0
» Views: 158
Second screen mirroring
Forum: General
Last Post: OpalTromp
11-04-2025, 09:53 PM
» Replies: 2
» Views: 1,803

 
Bug Rock64 Boot-up Bug with Serial Console Cable
Posted by: MarkHaysHarris777 - 08-24-2017, 04:33 PM - Forum: Rock64 Hardware and Accessories - Replies (1)

Greetings,

The Rock64 often will not boot-up with a serial console connected to the console uart pins (6, 8, & 10).

Symptom:  lights come on, nothing happens at all.

Solution:  unplug the Tx line coming in on pin(10) prior to applying power for boot-up.




The Tx line often (if not always) has 3v3 on it when the other end is powered up, even in the idle state.  This voltage present on pin(10) of the Rock64 prevents it from booting, sadly.  I have reliably verified that unplugging the Tx line in on pin(10) of the Rock64 will allow the boot-up to start...  as it boots up , carefully plug the Tx line back onto pin(10).

Also noticed that the Tx line (if left connected to pin[10] on Rock64 power-down) will back-feed into the board, which will dimly light the red LED (small glow) !  This back-feed is preventing boot-up.

Fortunately the serial console monitor does not need this line connected to monitor as long as it has the Rx connection and a good ground,  so unplugging the line from pin(10) does not prevent monitoring the boot-up messages on the serial console.

Note:   This problem occurs on both of my boards;  dev board pre production, and the production master-piece which came last week !

Note:   At this point I don't know if the current draw on the Tx line might damage the monitor ; currently I'm using my PineA64 desk machine as the serial monitor for my Rock64 boards.



  Q4OS Pinebook Questions
Posted by: StewB - 08-24-2017, 03:53 PM - Forum: Linux on Pine A64(+) - No Replies

Nice install of Q4OS to microSD and transferred to the Pinebook internal drive. 

What is the proper procedure to log into Wireless? (I see 2 connections: waan0 and waan1)
Will the miniHDMI work?

Thanks, Stew


  CAD drawings of Rock64
Posted by: TeaPack - 08-24-2017, 02:38 PM - Forum: Rock64 Hardware and Accessories - Replies (7)

Hi everyone =) I just made first version of CAD drawings of Rock64, heights of chips are not precise for making multi chip heatsinks, but I'll fix it during next week, maybe with all-in-one masive AL heatsink...  

ver. 1  - All possible files available on my github ( https://github.com/TeaPackCZ/Rock64_drawings ) more info at Full description ver 1
ver. 2  - Added DAC board and pictures of models, more info at More info about ver. 2

[Image: 1744404_9489a23e92496f06bb62.png]

[Image: 1744403_4901d252463b1f3136d4.png]

____________________
Note: I'll edit this post to correspond with actual state...


Smile wooden case for ROCK64
Posted by: killor - 08-24-2017, 08:42 AM - Forum: Rock64 Hardware and Accessories - Replies (13)

Hi !!

Two days ago, I received the ROCK64 board. (Thank TL LIM !! ) Heart

After checking that almost all connectors are located in the same place as a Raspberry Pi 3
 
 I have made some modifications of the model case I make for Rasperry Pi 3 and here I have the first enclosure made for Rock64...

Rock64 Wooden emclosure

Soon it will be available to Amazon for sale.


Bye!!


  Boot hangs on pine64, how to debug?
Posted by: olh - 08-24-2017, 05:37 AM - Forum: Android on Pine A64(+) - Replies (1)

I have a 2GB pine64 from July 2016. It has the android-7.1-r69.img installed on a 128GB card.

Now it happend two times that boot just hangs in that aninimated logo before the "Android" text appears. This is with a stock img. How can I check what it is waiting for, or what it is missing?

Is there a way to get not only the kernel messages on serial console, but also the 'adb logcat' output, or whatever else is Android logging during boot? So far I see the filesystems are mounted, some rc scripts are executed.

Thanks.


  emmc upgrade
Posted by: Erik - 08-24-2017, 02:18 AM - Forum: Pinebook Hardware and Accessories - Replies (1)

Hi Guys,

This morning I swapped out the 16 Gb emmc module for a bigger 64Gb one. Opening the case was easy! After rebooting from a know working SD card I simply tried to run
/usr/local/sbin/pine_install_to_emmc.sh xenial-mate I get 'You should boot from SD card' ,which I did....

Any help how to continue would be appreciated. Do I need to partition the drive first? I the emmc drive broken? (I checked it is firmly inserted...)


Erik


  OMV base on Debian jessie Root Problem
Posted by: ayamy - 08-24-2017, 01:52 AM - Forum: Debian - Replies (3)

Hi,

I have downloaded and installed on my pine64+ the distro OMV_3_0_71_Pine64_3.10.105 based on Armbian_5.27_Pine64_Debian_jessie_default_3.10.105 .

After an update from OMV 3.0.71 to OMV 3.0.78 at the reboot the console shows "no interface available" so OMV hasn't an ip adress for the web ui. So i'm stuck in the consolle that is asking username and password.
The problem is that I don't know the username and the password for Debian_jessie and without logging in debian jessie as root I can't fix the problem with my ethernet ... could you help me ?
thanks


Brick Rock64 usb2.0 Power Control Floating GPIO Tutorial Files & Notes
Posted by: MarkHaysHarris777 - 08-24-2017, 12:10 AM - Forum: Rock64 Hardware and Accessories - Replies (6)

Greetings,

   The purpose of this post is to document the rock64_usb_power_service.sh script , provide instructions and notes for its correct use (tutorial) , and document the installation of the script as a systemd automated service.  

   The problem that we are solving is that the usb2.0 power regulators are controlled by a hardware line (EN) (gpio2) which is in a floating state when the Rock64 boots.   This often results in the usb2.0 ports losing power ( at least momentarily ).  

   The solution to this problem is to create an executable script , as well an automated service (systemd) , that will export the gpio2 line to user space ( setting it low & turning ON the power regulators ) while also allowing the system admin (user) to control the gpio2 for power cycling devices plugged into the usb2.0 port.  This approach to fixing this problem is a win-win in that the usb2.0 power remains on permanently after  boot-up for those who want it, and it also allows advanced users the flexibility of being able to power cycle their usb2.0 ports as designed by the Rock64 engineers ( very handy in many use cases ).

   The user has complete freedom and control because the script may be run manually (as root) or it may be installed as an automated systemd service.  The following tutorial will provide the codes first , then I will discuss how to use them , and finally how to install the usb_gpio_on.service  in systemd.  After each code section I will give instructions for 1) where to place the script, 2) what permissions to give it, 3) what ownership to give it, and finally how to run it.

The Scripts


   Before beginning switch into root operating mode ( and permissions ) with  sudo -i  (important).

rock64_usb_power_service.sh

Code:
#!/bin/bash
# rock64_usb_power_service.sh
#
# Mark H. Harris
# v0.1b
#
#
PWRON=0
PWROFF=1
GP=2
GPOUT="out"
GPPATH="/sys/class/gpio"
GPVALUE="value"
GPMODE="direction"

## remove gpio if already exported
if [ -d $GPPATH/gpio$GP ]
then
   echo $GP > $GPPATH/unexport
   sleep 2
fi

# export the gpio, and set if ready
echo $GP > $GPPATH/export
sleep 2
if [ -e $GPPATH/gpio$GP/$GPMODE ]
then
   echo $GPOUT > $GPPATH/gpio$GP/$GPMODE
   sleep 2
   echo $PWRON > $GPPATH/gpio$GP/$GPVALUE
fi

   The  rock64_usb_power_service.sh  is the executable script.  Place this script in  /usr/local/sbin/

   Check the spelling very carefully;  or things will not work when it comes time to automate the service.

   set the ownership, group, and permissions:
   
   cd  /usr/local/sbin/
   chown  root  rock64_usb_power_service.sh
   chgrp  root  rock64_usb_power_service.sh
   chmod  0754  rock64_usb_power_service.sh

   To run the script manually :

   sudo  -i
   /usr/local/sbin/rock64_usb_power_service.sh

   To power cycle the usb2.0 port's 5v :

   sudo -i
   echo 1  >  /sys/class/gpio/gpio2/value
   echo 0  >  /sys/class/gpio/gpio2/value

   The above script exports the (EN)  gpio2 mux line to user space using the sysfs method,  sets the direction "out", and sets the value 0 ( pulling the line low turns ON the usb2.0 power regulators ).


usb_gpio_on.service

Code:
[Unit]
Description=set the gpio2 EN line low for usb2.0 power regulator ON

[Service]
ExecStart=/usr/local/sbin/rock64_usb_power_service.sh
Type=oneshot

[Install]
WantedBy=default.target

   The above  usb_gpio_on.service  script is called a systemd  "service unit file".  This file describes the service to systemd so that systemd knows how to find the executable, and further knows that the service executable only needs to be run once.  Again, it is very critical that all the spelling is precise;  miss spellings will result is chaos;  and of course no fix.

   Place this file  usb_gpio_on.service  in directory  /etc/systemd/system/

   Set the ownership, group, and permissions for this file :

   cd  /etc/systemd/system/
   chown  root  usb_gpio_on.service
   chgrp  root  usb_gpio_on.service
   chmod  0664  usb_gpio_on.service

   Inform systemd that a change has been made to the unit files on disk       (very critical)

   systemctl  daemon-reload
   systemctl  enable  usb_gpio_on.service

   Congratulations!   At this point the service has successfully run;  the gpio2 has been exported, and the gpio2 pin has been pulled low turning on the usb2.0 power regulators.  

   We are now done;  all that is left to do is to reboot your Rock64 ! 

   You can check that this worked after reboot by looking in  /sys/class/gpio/  for an export directory  called  gpio2!   

   At this point you may go about life on your Rock64 normally -- the usb2.0 power should not drop because the EN line is no longer floating;  however,  if you like you still have the option to power cycle the usb2.0 ports using the method I detailed above.


Caveat Emptor

If you want to try this tutorial follow two simple rules , or do so at your own risk.  Either wait for me to post on the forum that this has been tested multiple times and is 1) safe,  and 2) works;   or become a beta tester ( a guinea pig ).  That means that you contact me on irc and tell me you're testing and that you will be gracious to provide feedback ( including loss of time and|or hair )  so that I know who is using it so far, and whether I need to fix anything or make anything clearer.

Every effort has been made to ensure that this is accurate and free from defects;  but we all know the best laid plans of mice and of programmers.

We may at some future point fix this in the dts|dtb file and place in a future image;  the problem with that is that users who wish to have the advanced ability to power cycle the usb ports as designed would have to hack the dts first!  So we're going to try this and see how it goes.

This method and the script which have been provided have been tested according to this tutorial on my Rock64 production test board, and everything works on my board as described in this tutorial;  again, if I need to make anything more clear, or if something is broken ( I certainly hope not ) please let me know asap , preferably on irc.

Thanks much !    Rolleyes





  H264 hardware encoder not work
Posted by: sueshieh - 08-23-2017, 10:31 PM - Forum: Linux on Rock64 - Replies (3)

We plan to use the Rock64 to create a video conference device on linux, so we need to enable RK3328 h264 encode/decode hardware acceleration. 

I have tested the h264 decoding, it is ok. But for h264 encoding, it is not work. The output h264 data of mpp / mpi_enc_test program are all zero.

Has anybody tried the h264 encoding in Rock64?

Thanks


Lightbulb Mount a HeatSink on the Rock64 using 3M Thermal Tapes
Posted by: MarkHaysHarris777 - 08-23-2017, 07:40 PM - Forum: Rock64 Hardware and Accessories - Replies (22)

   

Tonight I'm going to be mounting a heatsink on my production Rock64 board ( using a nice heatsink I pulled from an old Epson printer stepper controller board -- the old style TO-220 heatsink ).  I'm also using thermal tape from 3M ( blue ) which serves the double function of thermal conductance as well adhesive for physical integrity.

The heatsink in the pic is about 25x15x14 mm.

   

Before you begin its a good idea to jot down the board info about your SoC if you're interested;  or like I've done here take a quick pic of it.  Once we stick the heatsink down with the 3M thermal tape, it is not going to be easy to get it off;  I've even known one guy to pull his SoC off the board because the balls gave way before the tape did !

   

I usually cut the 3M thermal tape just larger than the heatsink and then I trim it back with cuticle scissors. You do not want the heatsink (aluminum in this case) to touch any of the components on any side;  also don't worry about covering over any components. Peel the protective mylar backing away one at a time;  tape the heatsink first, then trim, then remove the other backing mylar,  and then gently place the heatsink over the SoC.

   


This pic shows the heatsink mounted and doing its thing!  With just passive cooling the temps went from mid to high 40s ℃  to mid to high 30s ℃ !  This heatsink is a little beefier than the ones I put on my Pines or Pis, and it certainly performs well even without the fan ( which is coming next week ).

   

Rolleyes