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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,550
» Latest member: jaydenlord07
» Forum threads: 16,211
» Forum posts: 116,957

Full Statistics

Latest Threads
meet women for private en...
Forum: General
Last Post: sureshpawan2010
12 minutes ago
» Replies: 0
» Views: 2
Why projects like PinePho...
Forum: General Discussion on PinePhone
Last Post: Gary2003
7 hours ago
» Replies: 5
» Views: 4,996
Unable to make or recieve...
Forum: General Discussion on PinePhone
Last Post: tracyanne
Today, 02:09 AM
» Replies: 0
» Views: 368
Brand new sealed Pinetime...
Forum: General Discussion on PineTime
Last Post: elver
09-10-2025, 06:41 AM
» Replies: 0
» Views: 1,098
Call recording?
Forum: PinePhone Pro Software
Last Post: biketool
09-09-2025, 04:14 AM
» Replies: 7
» Views: 7,678
Thoughts after a year wit...
Forum: General Discussion on Pinebook Pro
Last Post: Frank23t
09-08-2025, 10:30 PM
» Replies: 4
» Views: 2,914
more mobile linux on redd...
Forum: General Discussion on PinePhone
Last Post: biketool
09-08-2025, 12:03 PM
» Replies: 2
» Views: 2,620
Anyone selling a Pinebook
Forum: Pinebook Hardware and Accessories
Last Post: ams
09-08-2025, 09:26 AM
» Replies: 2
» Views: 2,956
Having trouble reading MP...
Forum: Getting Started
Last Post: Alex92
09-05-2025, 08:49 PM
» Replies: 1
» Views: 4,031
Special keys stopped work...
Forum: General Discussion on PineNote
Last Post: cheepeero
09-05-2025, 07:32 PM
» Replies: 0
» Views: 3,149

 
  CPU Bi-Endian support of RK3399
Posted by: mschulz - 02-15-2019, 07:12 AM - Forum: Linux on RockPro64 - Replies (2)

Hello!

According to ARM the Endian support of the ARMv8 CPUs may vary depending on architecture/model/manufacturer. Therefore I would like to learn whether the RK3399 does support big-endian mode of operation before I decide to order that board. I have written a small test code (32bit ARM!):

Code:
#include <stdio.h>

int main(int argc, char**argv)
{
   (void)argc; (void)argv;

   int tmp = 0;

   printf("Trying to switch endianess\n");

   asm volatile("setend be; str %0, %1; setend le"::"r"(0xdeadbeef),"m"(tmp));

   printf("Value in tmp is %08x, written was %08x\n", tmp, 0xdeadbeef);

   return 0;
}

The code does nothing extraordinary, it just switches the CPU mode to BE, stores variable in memory and switches back to LE, which is most likely the default mode on RK3399. I would like someone to compile this code in 32bit mode and test. There, three things can happen:
1. The "setend" instruction is obsolete and CPU is told to throw an exception on that instruction. In that case sigsegv is thrown and program ends without any output on the console.
2. The "setend" instruction is executed but the CPU does not support BE mode. In that case "Value in tmp is deadbeef, written was deadbeef" will show on the console
3. The "setend" instruction is executed and the CPU supports BE mode. In that case "Value in tmp is efbeadde, written was deadbeef" will show on the console.

Thanks for the help.


  Powering a portable HDD
Posted by: JambonLeVrai - 02-14-2019, 06:56 PM - Forum: Getting Started - Replies (3)

Hi there,
I've got a little project with my pine in which I need to use a portable HDD to it. The thing is that it seems that it's not working correctly. I'm not sure about the model of pine A64 I'm using, I'm using the one that got shipped at the release of the Kickstarter fundraising, and I'm trying to make it work with a Western Digital Portable Essentials 2To (WDBU6Y0020BBK). Actually the hard drives makes a clicking noise while my pine is trying to access it, and after a little research I've found out that it might not be receiving enough power from the usb port (since the hdd is working perfectly on my computer).
Now that I've identified the problem I'm not sure at all about how to tackle this issue. Is the easiest solution to use a powered USB hub, or is there something fancier that would take less space (or are there even single USB powered "hubs")?
Oh by the way I'm powering the Pine board with a Samsung Travel Adapter which outputs 5.0V 1.0A.


  ROCK64 Linux Development - Stalled?
Posted by: thewonderer - 02-14-2019, 05:16 PM - Forum: Linux on Rock64 - Replies (7)

I've been waiting for new builds to appear for the rock64, but looking at github (https://github.com/ayufan-rock64) over the last few months, development seems to have stalled.  I realise Ayufan is working by himself and is working on other projects like gitlab, but with the new rock64 rev 3 coming out soon and still issues with the current builds, it would be great to get some more progress on the rock64, like in 2018.

Does anyone know if Ayufan is going to ramp up his development or if anyone can help?


Really appreciate all the work he's done, but get the feeling development has stopped and considering retiring my rock 64 hardkernel n2 when it comes out.
Thanks.


  Sopine baseboard CSI port camera not work
Posted by: olivaw - 02-14-2019, 02:49 PM - Forum: General Discussion on PINE A64-LTS / SOPINE - Replies (2)

Hi everyone,

I'm working on a project on SOPine with its Baseboard Model A. 

Currently, I want to do some test on the 5MPixel CMOS Camera module bought from the PINE store. But I can't make the camera work(I'm using Xenial Mate OS), I plug the camera in the CSI port and successfully modprobe the s5k4ec and vfe_v4l2 driver, still can't work in both g-streamer pipeline and guvcview app.


Later I found there may be a power issue by probing the CSI port, and I checked the schematic of the baseboard, seems like the power to the CSI port is disabled by default, and the power is managed by the "AXP803" PMIC. I tried to reconfigure the AXP803 to enable the power to the CSI port but I can't detect any i2c device by using the i2ctools, seems the A64 is using a private RSB to control the PMIC.

I'm pretty new to the PINE, so I may miss something. Does anyone know how to enable the CSI port on the baseboard Model A to make the camera work? Thanks in advance. Big Grin Big Grin Big Grin


  PINE A64 LTS (Prakash)
Posted by: danpurprakash@gmail.com - 02-14-2019, 12:36 PM - Forum: Linux on PINE A64-LTS / SOPINE - No Replies

Hi All,

I have one pine A64 LTS device.
I downloaded BSP for u-boot to compile and boot the u-boot in the device but I have no steps to compile the u-boot.

I downloaded BSP from this below link provided by pine.
http://wiki.pine64.org/index.php/SOPINE_...re_Release

Can anyone help me providing the complete steps to compile
1) is this the right BSP i downloaded from the shared link.
2) need the procedure to enable the BSP in u-boot.
3) Steps to compile the u-Boot with the required BSP.
4) steps required to load the u-boot image into the board.

Please help me as i am new to this environment

Thanks
Prakash


Thumbs Up Manjaro for Rock64
Posted by: Luke - 02-14-2019, 04:52 AM - Forum: Linux on Rock64 - Replies (8)

Manjaro images are now available for download directly from the project's website.


  Utility to make Android SDCard image
Posted by: jonsmirl - 02-13-2019, 12:29 PM - Forum: Android on Rock64 - Replies (2)

I've downloaded the Android source and built it. I have all of the Android partition images.

So where is the utility that combines these partitions into a bootable SDCard image?


  How to install Mali drivers?
Posted by: tenspd137 - 02-11-2019, 09:57 PM - Forum: Linux on RockPro64 - No Replies

Hi all,

Anyone know how to manually install libmali and get it working with X?  Do you also need xf86-video-armsoc?

Thanks!


  Power Switch
Posted by: AZClusterboard - 02-11-2019, 08:53 PM - Forum: Clusterboard - Replies (1)

I've connected my clusterboard but it will only stay on while I hold the normal ATX momentary switch.  Does it need a continuous switch?


  eMMC
Posted by: AZClusterboard - 02-11-2019, 08:41 PM - Forum: Clusterboard - Replies (8)

I just got my parts and I was noticing the clusterbooard has a place for eMMC.  I also noticed that the compute modules look like they don't have a place to connect eMMC chips.

Is there no way to put eMMC on to the compute modules?

Is the one on the board just some kind of Network Attached Storage?