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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,470
» Latest member: pandrhola
» Forum threads: 16,196
» Forum posts: 116,873

Full Statistics

Latest Threads
fixing the ppkb mainboard...
Forum: PinePhone Pro Accessories
Last Post: zetabeta
2 hours ago
» Replies: 1
» Views: 21
Pinephone pro stuck while...
Forum: PinePhone Pro Hardware
Last Post: Supervisor
7 hours ago
» Replies: 2
» Views: 43
Compatible U.S. carriers ...
Forum: General Discussion on PinePhone
Last Post: Zebulon Walton
08-15-2025, 07:34 PM
» Replies: 2
» Views: 91
Long dialpad keypress to ...
Forum: Mobian on PinePhone
Last Post: Zebulon Walton
08-15-2025, 06:48 PM
» Replies: 3
» Views: 69
Are there plannes to crea...
Forum: PinePhone Pro Hardware
Last Post: Kevin Kofler
08-15-2025, 06:20 PM
» Replies: 4
» Views: 888
PinePhone Pro discontinue...
Forum: General Discussion of PinePhone Pro
Last Post: zetabeta
08-15-2025, 12:27 PM
» Replies: 6
» Views: 306
Pinephone Pro wont boot t...
Forum: General Discussion of PinePhone Pro
Last Post: zetabeta
08-15-2025, 04:22 AM
» Replies: 3
» Views: 131
prototyping to help someo...
Forum: General
Last Post: xerosenex
08-14-2025, 02:31 AM
» Replies: 0
» Views: 93
Password reset via u-boot...
Forum: PineNote Software
Last Post: lunnabae
08-13-2025, 01:17 AM
» Replies: 6
» Views: 1,740
incorporate a multimeter ...
Forum: General
Last Post: lalisa12
08-13-2025, 01:14 AM
» Replies: 2
» Views: 519

 
  Preferred OS
Posted by: kc9jih - 10-07-2017, 10:22 AM - Forum: Debian - Replies (4)

New to the pine 64 world was wondering what you guys would recommend for a os for use of a weather station and or security system.


Information Guide - Raid Array (Raid 0)
Posted by: Ptheven - 10-07-2017, 09:22 AM - Forum: Rock64 Tutorials - No Replies

Preface


In this guide, I will be showing how to create a raid array, using the raid 0 configuration. This allows you to have maximize storage available, however it comes at the risk of data loss in case of hardware failure. 




[Image: DifficultBitterAndeancondor-size_restricted.gif]

It also has the benefit of having really pretty "blinkenlights" effect when the USB drives are being accessed. 



Prerequisites


ROCK64 board running Debian or Ubuntu, connected to the local network

Access to terminal, either locally or via SSH


At least 2 Flash drives (or hard drives)

Recommended: USB Hub, for ease of access. 

___________________


Make sure your software and repositories are up to date: 



Code:
sudo apt update && sudo apt upgrade


Next, we install the mdadm package, used to monitor and implement software raid in linux: 

Code:
sudo apt install mdadm


After installing it, we can get our flashdrives and plug them directly into the ROCK64 board, or onto a USB hub and plug that into the board. 

The USB drives that I used were previously erased by me, and thus, don't have any partitions. We can confirm that they've been detected by the system by issuing the "lsblk" command, showing the attached blocked devices. In my case, they are sdb, sdc, and sdd: 


[Image: fJUNTyv.png]

Since we can see the 3 (in my case) flash drives recognized by the system, we can now proceed and start to create a new raid array. 

WARNING: BE VERY CAREFUL WITH THE FOLLOWING STEPS AND DOUBLE CHECK, USING THE WRONG NAMES COULD LEAD TO DATA LOSS

Code:
sudo mdadm --create --verbose /dev/md0 --level=0 --raid-devices=3 /dev/sd{b,c,d}

"--level=0" denotes the raid level, or the type of raid. "--raid-devices" flag states the number of devices. The last argument "/dev/sd{b,c,d}" is simply an easier way of saying "/dev/sdb /dev/sdc /dev/sdd" without having to type it all out (called Brace Expansion). 

[Image: LAWNB9K.png]

After the Array is created, you can invoke the "lsblk" command, to see the status of the USB drives. Notice that all three drives (sdb,sdc,sdd) are part of the partition (md0) and that the partition size is larger than the size of the physical disk: 

[Image: RejMu5C.png]

Now, we can simply create a partition on the raid array, and mount it to a suitable location. 
I created an ext4 partition on my Raid array: 

Code:
sudo mkfs.ext4 -F /dev/md0

Then, I created a mountpoint for my new Ext4 partition, and mounted it: 

Code:
sudo mkdir -p /mnt/md0

sudo mount /dev/md0 /mnt/md0

I also used this as an opportunity to check my RAID was succesfully created by checking the /proc/mdstat file (though, it was my mistake, I should have done this step right after creating the array. 



[Image: LPIHkQk.png?1]
Now that the RAID device is mounted, we can use the chown command to assume ownership of it so that we can write to it: 
Code:
sudo chown -R rock64: /mnt/md0/

Again, this might vary depending on your username and mount location. 
Thats all there is to it! We're done! You should be able to access that device under your mountpoint. We can confirm that the RAID array is mounted using either "lsblk" or "df -h": 
[Image: 5NRL2F7.png]
[Image: nM0D8aD.png]


  Laptop build
Posted by: jhip626 - 10-07-2017, 06:21 AM - Forum: Pine A64 Projects, Ideas and Tutorials - Replies (1)

Would I be able to use a screen like this for a display?
For Samsung Galaxy Tab 3 10.1" GT-P5200 P5210 P5200 LCD Display Panel Screen Monitor Repair Replacement
http://s.aliexpress.com/3iqMV3AV
(from AliExpress Android)
I would imagine I would need some sort of converter board, idk if something like that exists, but I need an inexpensive display that's around 10". It doesn't have to be touch screen.

Sent from my BLN-L24 using Tapatalk


  Running Netflix
Posted by: marcostt - 10-07-2017, 01:44 AM - Forum: Getting Started - Replies (4)

When I try to watch Netflix in Firefox (last version) I get an error message: 1003. Looking for fixes I see I must to allow content DRM at setup options of Firefox, but I can not find that option... What can I do? Thanks in advance.


  Bluetooth CSR8510 not working with Rock64 Android 7.1
Posted by: efreeze - 10-06-2017, 01:47 PM - Forum: Android on Rock64 - Replies (14)

Hello Guys,

I have the Rock64 with the last version of Android installed on it. All is good excepted that my CSR8510 BT dongle is not working. I tried everything i can see on my rasperry pie with no issue but not on Rock64. 
Anybody has any BT working on this platform on Android ? 

Thanks 

Seb


  Need .h includes for rk3328
Posted by: gene83 - 10-06-2017, 09:31 AM - Forum: Linux on Rock64 - Replies (4)

Does anyone know where I can source them?

Thanks, gene83


  Coming back from sleep
Posted by: roberthr - 10-06-2017, 07:13 AM - Forum: Rock64 Hardware and Accessories - Replies (12)

Does anybody know why Rock64 does not come back from sleep when pressing button on remote? It does only sometimes but success rate is 1:20.


  PINE64/ROCK64 infra receiver power on
Posted by: cserem - 10-06-2017, 06:41 AM - Forum: General Discussion on PINE A64(+) - Replies (1)

Hello,

On the PINE64 board there is an infra header. With the diode installed, is it capable of turning ON the board, or just turning it OFF?
I am interested in the answer for the ROCK64 board too, which has an infra receiver installed already: can it be used to power ON the device, or only to shut it down with the remote?

Thank you


  Dual boot microsd/eMMc?
Posted by: chitenavi - 10-06-2017, 02:26 AM - Forum: General Discussion on ROCK64 - Replies (2)

Hi all, I just received my rock64 and I want to use it mainly as a small NAS with OMV installed in the eMMc. Is it possible to have Android on the microSD and using the jumper to have both systems at the same time?

Thanks, greetings

Enviado desde mi MI 5s Plus mediante Tapatalk


Question stretch-minimal with static IP and GUI RDC
Posted by: skipper - 10-06-2017, 12:44 AM - Forum: Linux on Rock64 - Replies (1)

I prefer to operate my rock64 via putty in order to use absolute minimal CPU and RAM, as I am going to run intensive dB I/O (R/W) on an external SSD via the USB3 port.
So I downloaded this and installed it:
https://github.com/ayufan-rock64/linux-b...m64.img.xz

Due to not knowing the rock64 setup in detail, I did not manage to setup a static IP addr. so I erased and installed this:
https://github.com/ayufan-rock64/linux-b...m64.img.xz
..in order to do the static IP setup via Edit connections on the IP4 tab - and then it worked.

I did try to install - on the stretch-minimal - mate-core mate-desktop-environment and xrdp and edited the startwm.sh with mate-session, then rebooted and tried windows RDC to connect - but that didn't succeed.
I then tried to connect a keyboard, mouse and monitor to the board but was not able to get a desktop with startx.

Am I wrong in thinking that the stretch-minimal version is "better" - and has a smaller CPU/RAM footprint than xenial-mate (full GUI) - even if I install a core version desktop to the stretch version?
Does this question make sense?  Undecided

If true - how do I make stretch work with static IP and accessing it via windows RDC?